* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #2d1b4e;
    --secondary-purple: #6c46a9;
    --accent-gold: #e1ce9e;
    --dark-bg: #1a171c;
    --text-light: #ffffff;
    --text-muted: #b8b8b8;
    --border-gold: #d4af37;
    --card-bg: #2a2435;
    --hover-purple: #433363;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Age Banner - Sticky */
.age-banner {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 14px;
}

.age-banner span {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    border-bottom: 3px solid var(--accent-gold);
    position: sticky;
    top: 48px;
    z-index: 999;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--border-gold) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(225, 206, 158, 0.3);
}

.logo h1 {
    color: var(--accent-gold);
    font-size: 24px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.menu-toggle {
    display: none;
    background: var(--accent-gold);
    color: var(--primary-purple);
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: var(--border-gold);
    transform: scale(1.05);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 5px;
}

nav a:hover {
    color: var(--accent-gold);
    background: rgba(225, 206, 158, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a171c 0%, var(--primary-purple) 50%, #1a171c 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(225, 206, 158, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(108, 70, 169, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 48px;
    color: var(--accent-gold);
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--border-gold) 100%);
    color: var(--primary-purple);
    padding: 18px 50px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(225, 206, 158, 0.4);
    border: 2px solid var(--border-gold);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(225, 206, 158, 0.6);
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: var(--dark-bg);
}

.features h3 {
    text-align: center;
    font-size: 42px;
    color: var(--accent-gold);
    margin-bottom: 60px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--primary-purple) 100%);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(225, 206, 158, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(225, 206, 158, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(225, 206, 158, 0.3));
}

.feature-card h4 {
    font-size: 24px;
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* Policy Pages */
.policy-page {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.policy-page h2 {
    color: var(--accent-gold);
    font-size: 42px;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.policy-page h3 {
    color: var(--accent-gold);
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.policy-page p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.policy-page ul {
    color: var(--text-muted);
    margin-left: 30px;
    margin-bottom: 20px;
}

.policy-page li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.policy-page strong {
    color: var(--accent-gold);
}

/* Game Page */
.game-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 48px - 70px);
    background: var(--dark-bg);
}

.game-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #1a171c 100%);
    border-top: 3px solid var(--accent-gold);
    padding: 40px 20px 30px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 25px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

footer p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-purple);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }

    nav.active {
        max-height: 400px;
        border-top: 2px solid var(--accent-gold);
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }

    nav a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid rgba(225, 206, 158, 0.1);
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 18px;
    }

    .features h3 {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .policy-page h2 {
        font-size: 32px;
    }

    .policy-page h3 {
        font-size: 24px;
    }

    .logo h1 {
        font-size: 18px;
    }

    .age-banner {
        font-size: 12px;
        padding: 10px;
    }

    .age-banner span {
        display: block;
        margin: 5px 0 0 0;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 10px 0;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .logo h1 {
        font-size: 16px;
    }

    .hero {
        padding: 50px 20px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .features {
        padding: 50px 20px;
    }
}
