@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=DM+Serif+Display&display=swap');

:root {
    --forest-green: #2D6A4F;
    --mint: #40916C;
    --light-mint: #74C69D;
    --pale-green: #D8F3DC;
    --off-white: #FAFDF7;
    --charcoal: #1B1B1B;
    --warm-gray: #4A4A4A;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--off-white);
    color: var(--charcoal);
    line-height: 1.75;
}

h1, h2, h3 {
    font-family: 'DM Serif Display', serif;
}

.topnav {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(250, 253, 247, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--pale-green);
}

.topnav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-mark {
    width: 42px;
    height: 42px;
    background: var(--forest-green);
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: white;
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    font-weight: 400;
}

.logo-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: var(--charcoal);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--warm-gray);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--forest-green);
}

.menu-btn {
    display: none;
    width: 30px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.menu-btn span {
    height: 3px;
    background: var(--forest-green);
    border-radius: 2px;
    transition: 0.3s;
}

.menu-btn.active span:first-child {
    transform: rotate(45deg) translate(6px, 7px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:last-child {
    transform: rotate(-45deg) translate(6px, -7px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--pale-green);
    padding: 6rem 2rem;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.4s;
}

.mobile-nav.show {
    transform: translateY(0);
}

.mobile-nav a {
    display: block;
    font-size: 1.5rem;
    font-family: 'DM Serif Display', serif;
    color: var(--charcoal);
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(45, 106, 79, 0.2);
}

.intro-banner {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, var(--pale-green) 0%, var(--off-white) 100%);
}

.intro-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.intro-text h1 em {
    color: var(--forest-green);
    font-style: normal;
}

.intro-text > p {
    font-size: 1.1rem;
    color: var(--warm-gray);
    margin-bottom: 2rem;
    max-width: 480px;
}

.btn-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.btn-primary {
    padding: 1rem 2rem;
    background: var(--forest-green);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: 0.3s;
}

.btn-primary:hover {
    background: var(--mint);
    transform: translateY(-2px);
}

.btn-outline {
    padding: 1rem 2rem;
    border: 2px solid var(--forest-green);
    color: var(--forest-green);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: 0.3s;
}

.btn-outline:hover {
    background: var(--forest-green);
    color: white;
}

.trust-indicators {
    display: flex;
    gap: 2rem;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--warm-gray);
}

.indicator-icon {
    font-size: 1.3rem;
}

.game-frame-wrapper {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(45, 106, 79, 0.15);
}

.game-frame-wrapper iframe {
    width: 100%;
    height: 480px;
    border: none;
    display: block;
}

.content-block {
    padding: 5rem 2rem;
}

.content-block.alt {
    background: white;
}

.block-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.block-title {
    text-align: center;
    margin-bottom: 3rem;
}

.block-title h2 {
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
}

.block-title p {
    color: var(--warm-gray);
    max-width: 550px;
    margin: 0 auto;
}

.feature-boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-box {
    background: var(--pale-green);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-box h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--warm-gray);
}

.notice-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.notice-item {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--mint);
}

.notice-item h3 {
    font-size: 1.2rem;
    color: var(--forest-green);
    margin-bottom: 0.75rem;
}

.notice-item p {
    font-size: 0.95rem;
    color: var(--warm-gray);
}

.bottom-footer {
    background: var(--charcoal);
    color: white;
    padding: 3rem 2rem;
}

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

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: white;
}

.help-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1.5rem;
}

.help-links a {
    color: var(--light-mint);
    text-decoration: none;
    font-size: 0.85rem;
}

.help-links a:hover {
    text-decoration: underline;
}

.footer-copy {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* Age Modal */
.age-screen {
    position: fixed;
    inset: 0;
    background: rgba(27, 27, 27, 0.95);
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.age-screen.off {
    display: none;
}

.age-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 440px;
}

.age-card h2 {
    font-size: 1.75rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.age-card p {
    color: var(--warm-gray);
    margin-bottom: 2rem;
}

.age-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-action {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.age-confirm {
    background: var(--forest-green);
    color: white;
}

.age-deny {
    background: var(--pale-green);
    color: var(--charcoal);
}

.age-action:hover {
    transform: scale(1.03);
}

.blocked-text {
    display: none;
    color: #d9534f;
}

/* Inner Pages */
.page-top {
    padding: 9rem 2rem 4rem;
    background: var(--pale-green);
    text-align: center;
}

.page-top h1 {
    font-size: 2.8rem;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
}

.page-top p {
    color: var(--warm-gray);
    max-width: 500px;
    margin: 0 auto;
}

.page-content {
    padding: 4rem 2rem;
}

.content-prose {
    max-width: 800px;
    margin: 0 auto;
}

.content-prose h2 {
    font-size: 1.6rem;
    color: var(--forest-green);
    margin: 2rem 0 1rem;
}

.content-prose h3 {
    font-size: 1.25rem;
    color: var(--charcoal);
    margin: 1.5rem 0 0.75rem;
}

.content-prose p {
    color: var(--warm-gray);
    margin-bottom: 1rem;
}

.content-prose ul {
    color: var(--warm-gray);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-prose li {
    margin-bottom: 0.5rem;
}

.play-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.play-box {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(45, 106, 79, 0.12);
}

.play-box iframe {
    width: 100%;
    height: 560px;
    border: none;
    display: block;
}

.play-info {
    padding: 1.5rem 2rem;
    background: var(--pale-green);
}

.play-info h3 {
    font-size: 1.1rem;
    color: var(--forest-green);
    margin-bottom: 0.5rem;
}

.play-info p {
    font-size: 0.95rem;
    color: var(--warm-gray);
}

@media (max-width: 1100px) {
    .intro-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .intro-text > p {
        margin: 0 auto 2rem;
    }
    
    .btn-group {
        justify-content: center;
    }
    
    .trust-indicators {
        justify-content: center;
    }
    
    .feature-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-btn {
        display: flex;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .intro-text h1 {
        font-size: 2.5rem;
    }
    
    .feature-boxes {
        grid-template-columns: 1fr;
    }
    
    .notice-row {
        grid-template-columns: 1fr;
    }
    
    .game-frame-wrapper iframe {
        height: 400px;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }
    
    .page-top h1 {
        font-size: 2.2rem;
    }
    
    .play-box iframe {
        height: 420px;
    }
}

@media (max-width: 480px) {
    .topnav-inner {
        padding: 1rem;
    }
    
    .logo-name {
        font-size: 1.2rem;
    }
    
    .intro-banner {
        padding: 7rem 1rem 3rem;
    }
    
    .content-block {
        padding: 3rem 1rem;
    }
    
    .age-card {
        padding: 2rem 1.5rem;
    }
    
    .age-actions {
        flex-direction: column;
    }
}
