* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --teal: #14b8a6;
    --teal-dark: #0d9488;
    --navy: #1e293b;
    --slate: #334155;
    --light: #f8fafc;
    --white: #ffffff;
    --gray: #64748b;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--navy);
    background: var(--light);
}

.section-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.legal-narrow {
    max-width: 900px;
}

/* Age Screen */
.age-screen {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.98), rgba(51, 65, 85, 0.98));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-screen.hidden {
    display: none;
}

.verify-container {
    background: var(--white);
    padding: 55px 50px;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}

.verify-icon {
    font-size: 4.5em;
    margin-bottom: 25px;
}

.verify-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 20px;
}

.verify-container p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: var(--slate);
}

.verify-subtext {
    font-size: 1em;
    color: var(--gray);
}

.verify-actions {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.verify-actions button {
    flex: 1;
    padding: 16px 30px;
    font-size: 1.05em;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.btn-verify {
    background: var(--teal);
    color: white;
}

.btn-verify:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}

.btn-exit {
    background: #e2e8f0;
    color: var(--navy);
}

.btn-exit:hover {
    background: #cbd5e0;
}

/* Navigation */
.top-nav {
    background: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    font-size: 2em;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    font-weight: 900;
    color: var(--teal);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--slate);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05em;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--teal);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--teal);
    border-radius: 3px;
    transition: all 0.3s;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5em;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-desc {
    font-size: 1.35em;
    margin-bottom: 40px;
    line-height: 1.7;
    opacity: 0.95;
}

.hero-tags {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-cta {
    display: inline-block;
    background: white;
    color: var(--teal);
    padding: 18px 45px;
    font-size: 1.2em;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Featured Section */
.featured {
    padding: 100px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5em;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.2em;
    color: var(--gray);
}

.game-frame-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.game-iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

/* Highlights */
.highlights {
    padding: 100px 0;
    background: var(--light);
}

.highlights h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5em;
    font-weight: 900;
    color: var(--navy);
    text-align: center;
    margin-bottom: 70px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.highlight-card {
    background: white;
    padding: 45px 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(20, 184, 166, 0.15);
}

.card-icon {
    font-size: 3.5em;
    margin-bottom: 25px;
}

.highlight-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 15px;
}

.highlight-card p {
    line-height: 1.8;
    color: var(--gray);
}

/* Philosophy */
.philosophy {
    padding: 100px 0;
    background: white;
}

.philosophy-inner {
    max-width: 850px;
}

.philosophy h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5em;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 40px;
    text-align: center;
}

.philosophy p {
    font-size: 1.15em;
    line-height: 1.9;
    color: var(--slate);
    margin-bottom: 25px;
}

/* Play Page */
.page-hero {
    background: var(--teal);
    color: white;
    padding: 90px 0;
    text-align: center;
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4em;
    font-weight: 900;
    margin-bottom: 15px;
}

.play-section {
    padding: 100px 0;
    background: white;
}

.play-info-box {
    background: var(--light);
    padding: 45px;
    border-radius: 15px;
    margin-bottom: 50px;
}

.play-info-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 35px;
}

.info-list {
    list-style: none;
    margin-bottom: 35px;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 10px;
}

.list-num {
    background: var(--teal);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3em;
    flex-shrink: 0;
}

.info-notice {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 20px;
    border-radius: 8px;
}

/* Legal Page */
.legal-page {
    padding: 100px 0;
    background: white;
}

.legal-page h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4em;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 15px;
}

.legal-date {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 50px;
}

.legal-page h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2em;
    font-weight: 700;
    color: var(--navy);
    margin-top: 45px;
    margin-bottom: 15px;
}

.legal-page p,
.legal-page li {
    font-size: 1.05em;
    line-height: 1.9;
    color: var(--slate);
    margin-bottom: 18px;
}

.legal-page ul {
    margin-left: 35px;
    margin-bottom: 25px;
}

.notice-box {
    background: #fef2f2;
    border: 2px solid #ef4444;
    border-radius: 15px;
    padding: 35px;
    margin-bottom: 50px;
}

.notice-box h2 {
    color: #dc2626;
    margin-top: 0;
}

/* Footer */
.main-footer {
    background: var(--navy);
    color: var(--light);
    padding: 70px 0 30px;
}

.footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-bottom: 50px;
}

.footer-block h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6em;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 20px;
}

.footer-block ul {
    list-style: none;
}

.footer-block li {
    margin-bottom: 12px;
}

.footer-block a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-block a:hover {
    color: var(--teal);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(248, 250, 252, 0.1);
    color: var(--gray);
}

/* Mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 76px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 76px);
        background: white;
        flex-direction: column;
        padding: 40px 30px;
        gap: 25px;
        transition: right 0.3s;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .hero h1 {
        font-size: 2.8em;
    }

    .hero-desc {
        font-size: 1.15em;
    }

    .hero-tags {
        flex-direction: column;
        align-items: center;
    }

    .section-title h2,
    .highlights h2,
    .philosophy h2 {
        font-size: 2.5em;
    }

    .game-iframe {
        height: 400px;
    }

    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .verify-container {
        margin: 20px;
        padding: 40px 30px;
    }

    .verify-actions {
        flex-direction: column;
    }
}
