* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cosmic-primary: #667eea;
    --cosmic-secondary: #764ba2;
    --cosmic-dark: #1a1a2e;
    --cosmic-darker: #0f0f1e;
    --cosmic-light: #eef1ff;
    --cosmic-accent: #a78bfa;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, var(--cosmic-darker) 0%, var(--cosmic-dark) 100%);
    color: var(--cosmic-light);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.age-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--cosmic-dark), var(--cosmic-darker));
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 2px solid var(--cosmic-primary);
    box-shadow: 0 0 50px rgba(102, 126, 234, 0.3);
}

.age-modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.age-modal-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--cosmic-accent);
}

.age-modal-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.age-question {
    font-weight: 600;
    color: var(--cosmic-primary);
    margin-top: 2rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.age-buttons button {
    padding: 1rem 2rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-yes {
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-secondary));
    color: white;
}

.btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-no {
    background: rgba(255, 255, 255, 0.1);
    color: var(--cosmic-light);
}

.btn-no:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--cosmic-dark) 0%, var(--cosmic-darker) 100%);
    padding: 2rem 1.5rem;
    border-right: 2px solid var(--cosmic-primary);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.logo-container {
    text-align: center;
    margin-bottom: 3rem;
}

.logo {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
}

.logo-container h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}

.close-btn {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--cosmic-light);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    line-height: 40px;
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 0.5rem;
}

.nav-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--cosmic-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-secondary));
    transform: translateX(5px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-secondary));
    border: none;
    padding: 0.8rem;
    border-radius: 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    padding: 3rem;
    min-height: 100vh;
}

.page-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--cosmic-primary);
}

.page-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--cosmic-accent);
    font-weight: 300;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 1px solid var(--cosmic-primary);
}

.hero-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--cosmic-accent);
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--cosmic-light);
}

/* Notices Section */
.notices-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.notice-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--cosmic-primary);
}

.notice-card.important {
    border-left-color: #f87171;
}

.notice-card.recreational {
    border-left-color: #34d399;
}

.notice-card.age {
    border-left-color: #fbbf24;
}

.notice-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.notice-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--cosmic-accent);
}

.notice-card p {
    line-height: 1.6;
    color: var(--cosmic-light);
}

/* Game Section */
.game-section {
    margin-bottom: 3rem;
}

.game-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--cosmic-accent);
}

.game-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--cosmic-light);
}

.game-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--cosmic-darker);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--cosmic-primary);
    box-shadow: 0 10px 50px rgba(102, 126, 234, 0.2);
}

.game-container iframe {
    width: 100%;
    height: 700px;
    display: block;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--cosmic-primary);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.info-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--cosmic-accent);
}

.info-card p {
    line-height: 1.6;
    color: var(--cosmic-light);
}

/* Play Info Section */
.play-info {
    margin-bottom: 3rem;
}

.info-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--cosmic-primary);
}

.info-box h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--cosmic-accent);
}

.controls-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.controls-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    line-height: 1.6;
}

.controls-list li:last-child {
    border-bottom: none;
}

.reminder {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.15);
    border-radius: 10px;
    border-left: 4px solid var(--cosmic-primary);
}

/* Legal Content */
.legal-content {
    max-width: 900px;
}

.legal-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: 15px;
    border-left: 3px solid var(--cosmic-primary);
}

.legal-section.highlight {
    border-left: 3px solid var(--cosmic-accent);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

.legal-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--cosmic-accent);
}

.legal-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--cosmic-light);
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Footer */
.site-footer {
    margin-top: 5rem;
    padding: 3rem 0;
    border-top: 2px solid var(--cosmic-primary);
}

.footer-content {
    text-align: center;
}

.footer-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--cosmic-accent);
}

.footer-text {
    margin-bottom: 1.5rem;
    color: var(--cosmic-light);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--cosmic-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.footer-links a:hover {
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-secondary));
    color: white;
}

.footer-copyright {
    color: rgba(238, 241, 255, 0.6);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .close-btn {
        display: block;
    }

    .menu-toggle {
        display: flex;
    }

    .main-content {
        margin-left: 0;
        padding: 5rem 1.5rem 2rem;
    }

    .page-header h2 {
        font-size: 2rem;
    }

    .hero-section {
        padding: 2rem;
    }

    .hero-content h3 {
        font-size: 1.5rem;
    }

    .notices-section {
        grid-template-columns: 1fr;
    }

    .game-container iframe {
        height: 500px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .age-modal-content {
        padding: 2rem;
        margin: 1rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
