* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --secondary: #8b5cf6;
    --dark: #0f0f1e;
    --darker: #050510;
    --light: #f8f9fa;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
}

.logo-icon {
    color: var(--primary);
    font-size: 1.8rem;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--light);
    transition: all 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    background: var(--gradient);
    padding: 6rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--light);
    color: var(--dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* Info Section */
.info-section {
    padding: 4rem 0;
    background: var(--darker);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-card {
    background: rgba(99, 102, 241, 0.1);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: transform 0.3s, border-color 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Notices Section */
.notices {
    padding: 4rem 0;
    background: var(--dark);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.notice-grid {
    display: grid;
    gap: 1.5rem;
}

.notice-box {
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.notice-box.warning {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

.notice-box.info {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
}

.notice-box.alert {
    background: rgba(245, 158, 11, 0.1);
    border-color: #f59e0b;
}

.notice-box h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Game Section */
.game-section {
    padding: 4rem 0;
    background: var(--darker);
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.game-container {
    max-width: 900px;
    margin: 0 auto 2rem;
    background: var(--dark);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(99, 102, 241, 0.3);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.game-info {
    text-align: center;
    margin-top: 1rem;
}

.game-info p {
    margin: 0.5rem 0;
    opacity: 0.8;
}

/* Extra Content */
.extra-content {
    padding: 4rem 0;
    background: var(--dark);
}

.content-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.content-col h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.content-col p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Play Page */
.play-hero {
    background: var(--gradient);
    padding: 3rem 0;
    text-align: center;
}

.play-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.play-content {
    padding: 3rem 0;
    background: var(--dark);
}

.game-instructions {
    max-width: 900px;
    margin: 0 auto 2rem;
}

.game-instructions h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.instruction-item {
    background: rgba(99, 102, 241, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.play-reminder {
    max-width: 900px;
    margin: 2rem auto 0;
    text-align: center;
    padding: 1.5rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 8px;
    border: 1px solid #f59e0b;
}

/* Legal Pages */
.legal-page {
    padding: 4rem 0;
    background: var(--dark);
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.updated {
    opacity: 0.7;
    margin-bottom: 2rem;
}

.legal-content {
    max-width: 800px;
}

.legal-content h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p,
.legal-content li {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.legal-content ul {
    margin-left: 2rem;
}

/* Footer */
.footer {
    background: var(--darker);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-legal {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    opacity: 0.7;
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.show {
    display: flex;
}

.age-modal-content {
    background: var(--dark);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    border: 2px solid var(--primary);
}

.age-modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.age-modal-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.age-modal-content p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.age-disclaimer {
    font-size: 0.9rem;
    opacity: 0.7;
}

.age-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.age-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s;
    font-family: 'Rajdhani', sans-serif;
}

.age-btn:hover {
    transform: translateY(-2px);
}

.age-yes {
    background: var(--primary);
    color: white;
}

.age-no {
    background: #ef4444;
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--darker);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s, opacity 0.3s;
        border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        padding: 1rem;
        border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .game-frame {
        height: 400px;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2rem;
    }

    .age-modal-buttons {
        flex-direction: column;
    }

    .age-btn {
        width: 100%;
    }
}
