* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4a148c;
    --secondary-color: #ffd700;
    --accent-color: #7b1fa2;
    --dark-bg: #1a0033;
    --light-text: #ffffff;
    --sidebar-width: 280px;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #1a0033 0%, #2d0052 100%);
    color: var(--light-text);
    min-height: 100vh;
    line-height: 1.6;
}

/* Age Verification Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-modal.hidden {
    display: none;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
    border: 3px solid var(--secondary-color);
}

.age-modal-logo {
    margin-bottom: 1.5rem;
}

.age-modal-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.age-modal-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.age-disclaimer {
    font-size: 0.95rem;
    opacity: 0.8;
    font-style: italic;
}

.age-modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.age-btn {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.age-yes {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.age-yes:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
}

.age-no {
    background: #666;
    color: white;
}

.age-no:hover {
    background: #555;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-color) 0%, #2d0052 100%);
    padding: 2rem 0;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 0 1.5rem 2rem;
    border-bottom: 2px solid var(--secondary-color);
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo span {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--secondary-color);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.sidebar-close {
    display: none;
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.sidebar-nav a {
    padding: 1rem 1.5rem;
    color: var(--light-text);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.sidebar-nav a:hover {
    background: rgba(255, 215, 0, 0.1);
    border-left-color: var(--secondary-color);
    padding-left: 2rem;
}

.sidebar-nav a.active {
    background: rgba(255, 215, 0, 0.2);
    border-left-color: var(--secondary-color);
    color: var(--secondary-color);
}

.sidebar-footer {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    padding: 0 1.5rem;
    text-align: center;
}

.age-notice, .free-notice {
    background: rgba(255, 215, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    border: 1px solid var(--secondary-color);
}

/* Mobile Header */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    padding: 1rem;
    z-index: 999;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--secondary-color);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 3rem;
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.hero-section h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 215, 0, 0.2);
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid var(--secondary-color);
}

/* Info Section */
.info-section {
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.info-card {
    background: rgba(74, 20, 140, 0.3);
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.info-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.info-card p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.notice-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--secondary-color);
}

.notice-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.notice-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Game Section */
.game-section {
    max-width: 1200px;
    margin: 3rem auto;
    text-align: center;
}

.game-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.game-intro {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.game-container {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 3px solid var(--secondary-color);
}

.game-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
}

.game-controls {
    margin-top: 2rem;
}

.btn-play {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-play:hover {
    background: #ffed4e;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

/* Features Section */
.features-section {
    max-width: 1200px;
    margin: 4rem auto;
}

.features-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(74, 20, 140, 0.3);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.feature-card p {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Responsibility Section */
.responsibility-section {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 2.5rem;
    background: rgba(74, 20, 140, 0.3);
    border-radius: 15px;
    border: 2px solid var(--secondary-color);
}

.responsibility-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    text-align: center;
}

.responsibility-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.support-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.support-links a {
    padding: 0.8rem 1.5rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.support-links a:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

/* Play Page Styles */
.play-header {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.play-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.game-info {
    max-width: 1000px;
    margin: 0 auto 2rem;
}

.info-banner {
    background: rgba(74, 20, 140, 0.3);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--secondary-color);
}

.info-banner h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.info-banner ul {
    list-style: none;
}

.info-banner li {
    padding: 0.5rem 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.game-section-play {
    margin: 2rem 0;
}

.game-container-fullscreen {
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 15px;
    border: 3px solid var(--secondary-color);
}

.game-iframe-full {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 10px;
}

.play-disclaimer {
    max-width: 800px;
    margin: 2rem auto;
}

.disclaimer-box {
    background: rgba(255, 215, 0, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--secondary-color);
    text-align: center;
}

.disclaimer-box h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.disclaimer-box p {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

/* Legal Pages */
.legal-header {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--secondary-color);
}

.legal-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.last-updated {
    font-size: 1rem;
    opacity: 0.7;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    background: rgba(74, 20, 140, 0.2);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.legal-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.legal-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin: 1.5rem 0 1rem;
}

.legal-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.legal-notice-box {
    background: rgba(255, 215, 0, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--secondary-color);
    margin: 2rem 0;
}

.legal-notice-box h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.warning-box {
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid #ff6b6b;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.highlight-box {
    background: rgba(255, 215, 0, 0.2);
    border-left: 4px solid var(--secondary-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 5px;
}

.resource-links {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.resource-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--secondary-color);
}

.resource-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.resource-item a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.resource-item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    margin-top: 4rem;
    padding: 3rem 0 2rem;
    border-top: 2px solid var(--secondary-color);
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-logo span {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--secondary-color);
}

.footer p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-disclaimer {
    font-weight: 600;
    color: var(--secondary-color);
    margin: 1rem 0 !important;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-support {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
}

.footer-support p {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-support a {
    display: inline-block;
    margin: 0 1rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.footer-support a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 968px) {
    :root {
        --sidebar-width: 0;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar-close {
        display: block;
    }

    .mobile-header {
        display: flex;
    }

    .main-content {
        margin-left: 0;
        padding: 2rem 1.5rem;
        padding-top: 5rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .game-iframe {
        height: 400px;
    }

    .game-iframe-full {
        height: 500px;
    }

    .features-grid,
    .notice-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }

    .game-iframe {
        height: 300px;
    }

    .game-iframe-full {
        height: 400px;
    }

    .age-modal-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .age-modal-buttons {
        flex-direction: column;
    }
}
