* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple: #6b46c1;
    --purple-dark: #553c9a;
    --purple-light: #9333ea;
    --teal: #14b8a6;
    --lavender: #e0b0ff;
    --cream: #faf8ff;
    --dark: #1e1b4b;
    --text-gray: #64748b;
    --border: #e2e8f0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--cream);
    color: var(--dark);
    line-height: 1.6;
}

/* Age Overlay */
.age-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.95), rgba(147, 51, 234, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(8px);
}

.age-overlay.hidden {
    display: none;
}

.age-box {
    background: white;
    padding: 50px;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 25px 70px rgba(107, 70, 193, 0.4);
    border: 3px solid var(--lavender);
}

.age-symbol {
    font-size: 80px;
    margin-bottom: 20px;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.age-title {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    color: var(--purple);
    margin-bottom: 15px;
    font-weight: 700;
}

.age-text {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
}

.age-subtext {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 30px;
    font-style: italic;
}

.age-choice {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.age-btn {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
}

.age-btn.yes {
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    color: white;
}

.age-btn.yes:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(107, 70, 193, 0.3);
}

.age-btn.no {
    background: transparent;
    border: 2px solid var(--purple);
    color: var(--purple);
}

.age-btn.no:hover {
    background: rgba(107, 70, 193, 0.1);
}

/* Header */
.top-header {
    background: white;
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-name {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--purple);
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger-line {
    width: 28px;
    height: 3px;
    background: var(--purple);
    border-radius: 3px;
    transition: all 0.3s;
}

.nav-burger.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.nav-burger.active .burger-line:nth-child(2) {
    opacity: 0;
}

.nav-burger.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.main-nav {
    display: flex;
    gap: 35px;
}

.menu-link {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple);
    transition: width 0.3s;
}

.menu-link:hover, .menu-link.active {
    color: var(--purple);
}

.menu-link:hover::after, .menu-link.active::after {
    width: 100%;
}

/* Banner Section */
.banner-section {
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    color: white;
    padding: 100px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="3" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.banner-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.main-heading {
    font-family: 'Cinzel', serif;
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.main-subheading {
    font-size: 22px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.banner-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.icon-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* Content Sections */
.intro-section, .features-panel, .important-info, .game-area, .benefits-area {
    padding: 80px 30px;
}

.content-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.intro-block {
    text-align: center;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 40px;
    color: var(--purple);
    margin-bottom: 30px;
    font-weight: 700;
}

.section-title.centered {
    text-align: center;
}

.section-text {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Feature Tiles */
.features-panel {
    background: white;
}

.feature-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.tile {
    text-align: center;
    padding: 40px 30px;
    background: var(--cream);
    border-radius: 15px;
    border: 2px solid var(--border);
    transition: all 0.3s;
}

.tile:hover {
    transform: translateY(-8px);
    border-color: var(--purple);
    box-shadow: 0 15px 40px rgba(107, 70, 193, 0.15);
}

.tile-emoji {
    font-size: 60px;
    margin-bottom: 20px;
}

.tile-title {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    color: var(--purple);
    margin-bottom: 15px;
}

.tile-desc {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Important Info */
.important-info {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.05), rgba(147, 51, 234, 0.05));
}

.info-panel {
    background: white;
    padding: 50px;
    border-radius: 15px;
    border: 2px solid var(--lavender);
}

.info-heading {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    color: var(--purple);
    margin-bottom: 30px;
    text-align: center;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--cream);
    border-radius: 10px;
    border-left: 4px solid var(--purple);
}

.item-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.item-content {
    line-height: 1.7;
    color: var(--dark);
}

.item-content strong {
    color: var(--purple);
    font-weight: 600;
}

/* Game Area */
.game-area {
    background: white;
}

.game-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 50px;
}

.game-box {
    max-width: 950px;
    margin: 0 auto;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--purple);
    box-shadow: 0 20px 60px rgba(107, 70, 193, 0.25);
}

.game-player {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.game-note {
    text-align: center;
    margin-top: 30px;
    font-size: 16px;
    color: var(--text-gray);
}

/* Benefits Area */
.benefits-area {
    background: var(--cream);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    background: white;
    padding: 35px;
    border-radius: 12px;
    border: 2px solid var(--border);
    transition: all 0.3s;
}

.benefit-item:hover {
    border-color: var(--purple);
    box-shadow: 0 10px 35px rgba(107, 70, 193, 0.12);
}

.benefit-marker {
    flex-shrink: 0;
}

.benefit-text h4 {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    color: var(--purple);
    margin-bottom: 10px;
}

.benefit-text p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Footer */
.page-footer {
    background: var(--dark);
    color: white;
    padding: 60px 30px 30px;
}

.footer-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-heading {
    font-family: 'Cinzel', serif;
    color: var(--lavender);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-para {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 15px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
}

.footer-nav a:hover {
    color: var(--lavender);
}

.footer-base {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.7;
}

/* Legal Pages */
.legal-content {
    background: white;
    min-height: 70vh;
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 30px;
}

.legal-heading {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    color: var(--purple);
    margin-bottom: 10px;
}

.legal-date {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 50px;
}

.legal-article {
    margin-bottom: 40px;
}

.legal-article h2 {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    color: var(--purple);
    margin-bottom: 15px;
}

.legal-article h3 {
    font-size: 22px;
    color: var(--purple-dark);
    margin: 20px 0 12px;
}

.legal-article ul {
    margin-left: 25px;
    margin-top: 15px;
}

.legal-article li {
    margin-bottom: 10px;
    color: var(--dark);
}

.legal-article a {
    color: var(--purple);
    text-decoration: none;
}

.legal-article a:hover {
    text-decoration: underline;
}

.warning-article {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.08), rgba(147, 51, 234, 0.08));
    border: 3px solid var(--purple);
    padding: 30px;
    border-radius: 12px;
}

.strong-text {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.8;
}

/* Play Page */
.play-content {
    background: white;
}

.play-banner {
    background: var(--cream);
    padding: 60px 30px;
    text-align: center;
    border-bottom: 2px solid var(--border);
}

.play-title {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    color: var(--purple);
    margin-bottom: 20px;
}

.play-description {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.play-game-section {
    background: #000;
    padding: 0;
}

.play-game-container {
    max-width: 1400px;
    margin: 0 auto;
}

.play-game-frame {
    width: 100%;
    height: 750px;
    border: none;
    display: block;
}

.play-instructions {
    padding: 80px 30px;
}

.instruction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.instruction-box h3 {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    color: var(--purple);
    margin-bottom: 15px;
}

.instruction-box p {
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-burger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: white;
        padding: 30px;
        gap: 0;
        transition: left 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        left: 0;
    }

    .menu-link {
        padding: 15px 0;
        border-bottom: 1px solid var(--border);
    }

    .main-heading {
        font-size: 36px;
    }

    .main-subheading {
        font-size: 18px;
    }

    .site-name {
        font-size: 24px;
    }

    .section-title {
        font-size: 32px;
    }

    .game-player {
        height: 450px;
    }

    .play-game-frame {
        height: 550px;
    }

    .feature-tiles {
        grid-template-columns: 1fr;
    }

    .instruction-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .age-box {
        padding: 30px 20px;
        margin: 20px;
    }

    .age-choice {
        flex-direction: column;
    }

    .age-btn {
        width: 100%;
    }

    .info-panel {
        padding: 30px 20px;
    }

    .benefit-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 28px;
    }

    .game-player {
        height: 400px;
    }

    .play-game-frame {
        height: 450px;
    }
}
