@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sky: #e0f2fe;
    --azure: #0ea5e9;
    --lavender: #a78bfa;
    --pearl: #fafafa;
    --cloud: #ffffff;
    --slate: #334155;
    --mist: #94a3b8;
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(180deg, var(--sky) 0%, var(--pearl) 100%);
    color: var(--slate);
    min-height: 100vh;
    line-height: 1.8;
}

.masthead {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(15px);
    z-index: 900;
    box-shadow: 0 2px 20px rgba(14, 165, 233, 0.1);
}

.masthead-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--azure), var(--lavender));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--azure);
    border-radius: 8px;
    padding: 0.5rem 0.8rem;
    color: var(--azure);
    font-size: 1.3rem;
    cursor: pointer;
}

.site-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.site-nav a {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--slate);
    text-decoration: none;
    transition: color 0.3s;
}

.site-nav a:hover {
    color: var(--azure);
}

.main-content {
    padding-top: 80px;
}

.welcome-section {
    padding: 8rem 2rem;
    text-align: center;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(167, 139, 250, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
}

.welcome-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--slate);
    margin-bottom: 1rem;
}

.welcome-section h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--azure), var(--lavender));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-tagline {
    font-size: 1.3rem;
    color: var(--mist);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.info-chips {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.chip {
    background: var(--cloud);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 50px;
    padding: 0.8rem 1.8rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--azure);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.1);
}

.content-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem;
    text-align: center;
    color: var(--slate);
    margin-bottom: 2.5rem;
}

.section-title span {
    color: var(--azure);
}

.game-display {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.2);
    background: var(--cloud);
}

.game-display iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.benefit-item {
    background: var(--cloud);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(14, 165, 233, 0.15);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--sky), rgba(167, 139, 250, 0.3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.benefit-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--slate);
    margin-bottom: 1rem;
}

.benefit-item p {
    color: var(--mist);
    font-weight: 300;
}

.prose-block {
    background: var(--cloud);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.06);
}

.prose-block h2 {
    font-family: 'Playfair Display', serif;
    color: var(--azure);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.prose-block p {
    color: var(--slate);
    margin-bottom: 1rem;
}

.prose-block ul {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--slate);
}

.prose-block li {
    margin-bottom: 0.5rem;
}

.site-footer {
    background: var(--cloud);
    border-top: 1px solid rgba(14, 165, 233, 0.2);
    padding: 3rem 2rem;
    text-align: center;
}

.support-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.support-links a {
    color: var(--azure);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

.support-links a:hover {
    color: var(--lavender);
}

.footer-note {
    color: var(--mist);
    font-size: 0.9rem;
}

.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(224, 242, 254, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-gate-card {
    background: var(--cloud);
    border-radius: 24px;
    padding: 3.5rem;
    text-align: center;
    max-width: 450px;
    margin: 1rem;
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.2);
}

.age-gate-card h2 {
    font-family: 'Playfair Display', serif;
    color: var(--slate);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.age-gate-card p {
    color: var(--mist);
    margin-bottom: 2rem;
}

.gate-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.gate-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Lato', sans-serif;
}

.gate-btn.confirm {
    background: linear-gradient(135deg, var(--azure), var(--lavender));
    color: white;
    border: none;
}

.gate-btn.deny {
    background: transparent;
    border: 2px solid var(--mist);
    color: var(--slate);
}

.gate-btn:hover {
    transform: scale(1.05);
}

.invisible {
    display: none !important;
}

.page-hero {
    padding: 7rem 2rem 4rem;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.1), transparent 70%);
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--slate);
}

.page-hero h1 span {
    color: var(--azure);
}

.document-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 2rem;
}

.document-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--azure);
    margin: 2.5rem 0 1rem;
    font-size: 1.4rem;
}

.document-content p {
    color: var(--slate);
    margin-bottom: 1rem;
    line-height: 1.9;
}

.game-instructions {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(167, 139, 250, 0.1));
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
}

.game-instructions strong {
    color: var(--azure);
}

@media (max-width: 1024px) {
    .benefit-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cloud);
        display: none;
        box-shadow: 0 10px 30px rgba(14, 165, 233, 0.1);
    }

    .site-nav.active {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem;
    }

    .site-nav li {
        padding: 1rem;
        border-bottom: 1px solid var(--sky);
    }

    .welcome-section h1 {
        font-size: 2.4rem;
    }

    .welcome-tagline {
        font-size: 1.1rem;
    }

    .info-chips {
        flex-direction: column;
        align-items: center;
    }

    .gate-buttons {
        flex-direction: column;
    }

    .gate-btn {
        width: 100%;
    }
}
