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

:root {
    --forest-dark: #0d1f12;
    --forest-mid: #1a3320;
    --emerald: #10b981;
    --emerald-light: #34d399;
    --sage: #6ee7b7;
    --ivory: #fefdf8;
    --cream: #e8e4d9;
    --text-dark: #1c2e1f;
}

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

body {
    font-family: 'Source Sans 3', sans-serif;
    background: var(--ivory);
    color: var(--text-dark);
    line-height: 1.8;
}

.site-wrap {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.header-bar {
    background: var(--forest-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1500px;
    margin: 0 auto;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-link svg {
    width: 48px;
    height: 48px;
}

.brand-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--emerald-light);
}

.site-nav ul {
    display: flex;
    list-style: none;
    gap: 38px;
}

.site-nav a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.site-nav a:hover {
    color: var(--emerald);
}

.nav-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--emerald);
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Area */
.hero-area {
    background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest-mid) 100%);
    padding: 100px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='40' r='2' fill='%2310b981' opacity='0.1'/%3E%3C/svg%3E");
    background-size: 40px 40px;
}

.hero-area h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--ivory);
    margin-bottom: 25px;
    position: relative;
}

.hero-area .intro-text {
    font-size: 1.15rem;
    color: var(--sage);
    max-width: 720px;
    margin: 0 auto 40px;
    position: relative;
}

.badges-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
}

.badge-item {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid var(--emerald);
    color: var(--emerald-light);
    padding: 12px 26px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Game Display */
.game-display {
    padding: 80px 0;
}

.game-holder {
    background: var(--forest-dark);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(13, 31, 18, 0.25);
}

.game-holder iframe {
    width: 100%;
    height: 660px;
    border: none;
    display: block;
}

/* Features */
.features-section {
    padding: 60px 0 80px;
}

.features-flex {
    display: flex;
    gap: 35px;
}

.feature-item {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(13, 31, 18, 0.08);
    border-top: 4px solid var(--emerald);
}

.feature-item .ico {
    font-size: 2.6rem;
    margin-bottom: 18px;
}

.feature-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--forest-dark);
    margin-bottom: 12px;
}

.feature-item p {
    color: #5a6e5c;
    font-size: 0.95rem;
}

/* Content Boxes */
.content-box {
    background: white;
    border-radius: 16px;
    padding: 55px;
    margin: 50px 0;
    box-shadow: 0 10px 40px rgba(13, 31, 18, 0.06);
}

.content-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--forest-dark);
    margin-bottom: 22px;
    border-left: 4px solid var(--emerald);
    padding-left: 20px;
}

.content-box p {
    color: #4a5c4c;
    margin-bottom: 16px;
    font-size: 1.02rem;
}

/* Page Headers */
.page-top {
    background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest-mid) 100%);
    padding: 100px 40px 60px;
    text-align: center;
}

.page-top h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    color: var(--ivory);
}

.page-top p {
    color: var(--sage);
    margin-top: 12px;
}

/* Article Box */
.article-box {
    background: white;
    border-radius: 16px;
    padding: 55px;
    margin: 50px auto;
    max-width: 1200px;
    box-shadow: 0 10px 40px rgba(13, 31, 18, 0.06);
}

.article-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--forest-dark);
    margin: 35px 0 15px;
    border-left: 4px solid var(--emerald);
    padding-left: 18px;
}

.article-box h2:first-child {
    margin-top: 0;
}

.article-box p {
    color: #4a5c4c;
    margin-bottom: 15px;
}

.article-box ul {
    list-style: none;
    margin: 20px 0;
}

.article-box li {
    color: #4a5c4c;
    padding: 10px 0 10px 28px;
    position: relative;
}

.article-box li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--emerald);
    font-size: 0.8rem;
}

/* Footer */
.site-footer {
    background: var(--forest-dark);
    padding: 70px 40px 35px;
    margin-top: 80px;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 45px;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-brand .brand-title {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--sage);
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-nav h4 {
    font-family: 'Playfair Display', serif;
    color: var(--emerald-light);
    margin-bottom: 18px;
    font-size: 1rem;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav a {
    color: var(--sage);
    opacity: 0.8;
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    padding: 6px 0;
    transition: 0.3s;
}

.footer-nav a:hover {
    color: var(--emerald);
    opacity: 1;
}

.footer-line {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(16, 185, 129, 0.15);
    color: var(--sage);
    opacity: 0.6;
    font-size: 0.85rem;
}

/* Age Gate */
.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(13, 31, 18, 0.97);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.age-gate.gone {
    display: none;
}

.age-dialog {
    background: var(--ivory);
    border-radius: 16px;
    padding: 50px;
    text-align: center;
    max-width: 440px;
    margin: 20px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.age-dialog h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--forest-dark);
    margin-bottom: 15px;
}

.age-dialog p {
    color: #4a5c4c;
    margin-bottom: 30px;
}

.age-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.age-btns button {
    padding: 14px 38px;
    border: none;
    border-radius: 8px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-yes {
    background: var(--emerald);
    color: white;
}

.btn-yes:hover {
    background: var(--emerald-light);
}

.btn-no {
    background: #e8e4d9;
    color: #4a5c4c;
}

.btn-no:hover {
    background: #d9d5ca;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-flex {
        flex-wrap: wrap;
    }
    
    .feature-item {
        flex: 1 1 45%;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .site-nav {
        position: fixed;
        top: 88px;
        left: 0;
        right: 0;
        background: var(--forest-dark);
        padding: 30px;
        transform: translateY(-150%);
        transition: transform 0.3s;
    }
    
    .site-nav.active {
        transform: translateY(0);
    }
    
    .site-nav ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .hero-area {
        padding: 70px 20px;
    }
    
    .hero-area h1 {
        font-size: 2.2rem;
    }
    
    .features-flex {
        flex-direction: column;
    }
    
    .feature-item {
        flex: 1 1 100%;
    }
    
    .game-holder iframe {
        height: 400px;
    }
    
    .content-box, .article-box {
        padding: 35px 25px;
    }
    
    .footer-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .header-inner {
        padding: 15px 20px;
    }
    
    .site-wrap {
        padding: 0 20px;
    }
    
    .age-dialog {
        padding: 35px 25px;
    }
    
    .age-btns {
        flex-direction: column;
    }
}
