* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --fox-orange: #E67E22;
    --forest-green: #27AE60;
    --earth-brown: #8B4513;
    --leaf-green: #52A858;
    --autumn-red: #C0392B;
    --sunset-gold: #F39C12;
    --cream-white: #FFF8E7;
    --bark-dark: #3E2723;
    --moss-light: #A8D5BA;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(180deg, #FFF8E7 0%, #E8F5E9 100%);
    color: var(--bark-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
}

.wrapper {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px;
}

/* Age Verification */
.age-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(231, 126, 34, 0.92) 0%, rgba(142, 68, 173, 0.92) 100%);
    backdrop-filter: blur(12px);
}

.age-box {
    background: var(--cream-white);
    margin: 7% auto;
    padding: 48px;
    border-radius: 30px;
    max-width: 520px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    border: 5px solid var(--fox-orange);
}

.fox-emoji {
    font-size: 75px;
    margin-bottom: 22px;
    animation: wiggle 2.5s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.age-box h2 {
    color: var(--fox-orange);
    margin-bottom: 18px;
    font-size: 34px;
}

.age-box p {
    color: var(--earth-brown);
    margin-bottom: 14px;
    font-size: 17px;
}

.verify-text {
    font-size: 21px !important;
    font-weight: 700 !important;
    color: var(--bark-dark) !important;
    margin-top: 22px !important;
}

.verify-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 32px;
}

.accept-btn, .reject-btn {
    padding: 17px 38px;
    font-size: 17px;
    font-weight: 700;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Fredoka', sans-serif;
}

.accept-btn {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--leaf-green) 100%);
    color: white;
}

.accept-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(39, 174, 96, 0.4);
}

.reject-btn {
    background: white;
    color: var(--autumn-red);
    border: 3px solid var(--autumn-red);
}

.reject-btn:hover {
    background: var(--autumn-red);
    color: white;
}

/* Header */
.site-header {
    background: rgba(255, 248, 231, 0.97);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--fox-orange);
}

.navigation {
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--fox-orange);
    font-size: 26px;
    font-weight: 700;
    font-family: 'Fredoka', sans-serif;
}

.logo-fox {
    font-size: 34px;
}

.nav-burger {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-burger .line {
    width: 26px;
    height: 3px;
    background: var(--fox-orange);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 4px;
}

.nav-items {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-items a {
    color: var(--bark-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 6px 0;
    position: relative;
}

.nav-items a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--fox-orange);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-items a:hover::after,
.nav-items a.active::after {
    width: 100%;
}

.nav-items a:hover,
.nav-items a.active {
    color: var(--fox-orange);
}

/* Hero Area */
.hero-area {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #52A858 0%, #27AE60 100%);
    overflow: hidden;
}

.forest-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 300"><polygon points="100,250 150,100 200,250" fill="rgba(46,125,50,0.4)"/><polygon points="300,250 360,80 420,250" fill="rgba(56,142,60,0.3)"/><polygon points="500,250 570,120 640,250" fill="rgba(46,125,50,0.35)"/><polygon points="700,250 780,90 860,250" fill="rgba(67,160,71,0.3)"/><polygon points="900,250 980,110 1060,250" fill="rgba(46,125,50,0.4)"/></svg>') repeat-x bottom;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding: 45px 28px;
}

.hero-headline {
    font-size: 58px;
    color: white;
    margin-bottom: 22px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
}

.hero-subtext {
    font-size: 20px;
    color: var(--cream-white);
    margin-bottom: 32px;
    font-weight: 400;
}

.hero-cta {
    display: inline-block;
    padding: 18px 45px;
    background: var(--fox-orange);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 19px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(230, 126, 34, 0.35);
    font-family: 'Fredoka', sans-serif;
}

.hero-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(230, 126, 34, 0.5);
}

/* Welcome Section */
.welcome-section {
    padding: 85px 0;
    background: var(--cream-white);
}

.welcome-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(168, 213, 186, 0.2) 100%);
    padding: 42px;
    border-radius: 22px;
    margin-bottom: 48px;
    border-left: 6px solid var(--forest-green);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.welcome-content h2 {
    color: var(--forest-green);
    margin-bottom: 22px;
    font-size: 36px;
}

.welcome-content p {
    color: var(--earth-brown);
    margin-bottom: 16px;
    font-size: 17px;
    line-height: 1.8;
}

.warning-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 32px;
    margin-top: 42px;
}

.warn-card {
    background: white;
    padding: 34px;
    border-radius: 20px;
    text-align: center;
    border: 4px solid;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.warn-card.forest-green {
    border-color: var(--forest-green);
}

.warn-card.autumn-red {
    border-color: var(--autumn-red);
}

.warn-card.sunset-gold {
    border-color: var(--sunset-gold);
}

.warn-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
}

.warn-icon {
    font-size: 52px;
    margin-bottom: 18px;
}

.warn-card h3 {
    margin-bottom: 16px;
    font-size: 23px;
    color: var(--bark-dark);
}

.warn-card p {
    color: var(--earth-brown);
    font-size: 15px;
    line-height: 1.7;
}

/* Game Section */
.game-section {
    padding: 85px 0;
    background: linear-gradient(180deg, #E8F5E9 0%, #C8E6C9 100%);
}

.section-header {
    text-align: center;
    font-size: 42px;
    margin-bottom: 52px;
    color: var(--forest-green);
}

.game-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 42px;
    align-items: start;
}

.game-player {
    background: white;
    padding: 22px;
    border-radius: 22px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--fox-orange);
}

.player-frame iframe {
    width: 100%;
    height: 620px;
    border-radius: 14px;
}

.game-sidebar {
    background: white;
    padding: 32px;
    border-radius: 22px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.game-sidebar h3 {
    color: var(--fox-orange);
    margin-bottom: 16px;
    font-size: 25px;
}

.game-sidebar p {
    color: var(--earth-brown);
    margin-bottom: 22px;
    line-height: 1.7;
}

.game-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.game-highlights li {
    color: var(--earth-brown);
    font-size: 15px;
    padding: 7px 0;
    border-left: 3px solid var(--forest-green);
    padding-left: 14px;
}

/* Benefits Section */
.benefits-section {
    padding: 85px 0;
    background: var(--cream-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 32px;
    margin-top: 42px;
}

.benefit-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(168, 213, 186, 0.3) 100%);
    padding: 32px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-6px);
    border-color: var(--forest-green);
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.18);
}

.benefit-emoji {
    font-size: 52px;
    margin-bottom: 18px;
}

.benefit-card h3 {
    color: var(--forest-green);
    margin-bottom: 14px;
    font-size: 21px;
}

.benefit-card p {
    color: var(--earth-brown);
    font-size: 15px;
}

/* Responsible Play */
.responsible-play {
    padding: 68px 0;
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--leaf-green) 100%);
    text-align: center;
}

.responsible-play h2 {
    color: white;
    margin-bottom: 22px;
    font-size: 36px;
}

.responsible-play p {
    color: var(--cream-white);
    max-width: 820px;
    margin: 0 auto 20px;
    font-size: 17px;
    line-height: 1.8;
}

/* Play Page */
.play-page {
    padding: 68px 0;
    min-height: 100vh;
    background: linear-gradient(180deg, #E8F5E9 0%, #C8E6C9 100%);
}

.title-main {
    text-align: center;
    font-size: 50px;
    margin-bottom: 16px;
    color: var(--forest-green);
}

.subtitle-main {
    text-align: center;
    color: var(--earth-brown);
    font-size: 19px;
    margin-bottom: 42px;
}

.main-game-area {
    background: white;
    padding: 22px;
    border-radius: 22px;
    margin-bottom: 52px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--fox-orange);
}

.main-game-area iframe {
    width: 100%;
    height: 720px;
    border-radius: 14px;
}

.game-guide h2 {
    color: var(--forest-green);
    margin-bottom: 32px;
    font-size: 34px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
    gap: 26px;
}

.guide-box {
    background: white;
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--fox-orange);
}

.guide-box h3 {
    color: var(--fox-orange);
    margin-bottom: 14px;
    font-size: 21px;
}

.guide-box p {
    color: var(--earth-brown);
    font-size: 15px;
    line-height: 1.7;
}

/* Terms/Legal Pages */
.terms-page {
    padding: 68px 0;
    min-height: 100vh;
    background: var(--cream-white);
}

.date-updated {
    text-align: center;
    color: var(--earth-brown);
    font-style: italic;
    margin-bottom: 42px;
    font-size: 15px;
}

.terms-document {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(168, 213, 186, 0.25) 100%);
    padding: 52px;
    border-radius: 22px;
    max-width: 920px;
    margin: 0 auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.terms-document h2 {
    color: var(--forest-green);
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 27px;
}

.terms-document h2:first-of-type {
    margin-top: 0;
}

.terms-document p {
    color: var(--earth-brown);
    margin-bottom: 16px;
    line-height: 1.85;
    font-size: 16px;
}

.terms-document ul {
    color: var(--earth-brown);
    margin-left: 28px;
    margin-bottom: 16px;
}

.terms-document ul li {
    margin-bottom: 9px;
    line-height: 1.7;
}

.terms-reminder {
    background: white;
    border-left: 6px solid var(--forest-green);
    padding: 24px;
    margin-top: 32px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.terms-reminder p {
    color: var(--bark-dark);
    font-weight: 700;
    margin-bottom: 0;
}

.alert-box {
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.12) 0%, rgba(230, 126, 34, 0.12) 100%);
    border: 4px solid var(--autumn-red);
    padding: 32px;
    border-radius: 20px;
    margin-bottom: 32px;
}

.alert-box h2 {
    color: var(--autumn-red);
    margin-top: 0;
}

.key-points {
    list-style: none;
    margin: 22px 0;
}

.key-points li {
    padding: 11px 0;
    font-size: 16px;
    color: var(--bark-dark);
    font-weight: 600;
}

.final-note {
    margin-top: 22px;
    font-weight: 700;
    color: var(--autumn-red);
    font-size: 17px;
}

/* Footer */
.site-footer {
    background: var(--bark-dark);
    padding: 52px 0 22px;
    color: var(--cream-white);
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 42px;
    margin-bottom: 32px;
}

.footer-block h4 {
    color: var(--fox-orange);
    margin-bottom: 16px;
    font-size: 19px;
}

.footer-block p {
    color: var(--moss-light);
    font-size: 15px;
}

.footer-block ul {
    list-style: none;
}

.footer-block a {
    color: var(--moss-light);
    text-decoration: none;
    display: block;
    margin-bottom: 9px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.footer-block a:hover {
    color: var(--fox-orange);
    padding-left: 7px;
}

.footer-legal {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid rgba(168, 213, 186, 0.3);
    color: var(--moss-light);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-burger {
        display: flex;
    }

    .nav-items {
        position: fixed;
        left: -100%;
        top: 72px;
        flex-direction: column;
        background: rgba(255, 248, 231, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 32px 0;
        gap: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .nav-items.active {
        left: 0;
    }

    .nav-items li {
        margin: 16px 0;
    }

    .hero-headline {
        font-size: 38px;
    }

    .hero-subtext {
        font-size: 17px;
    }

    .game-grid {
        grid-template-columns: 1fr;
    }

    .player-frame iframe {
        height: 420px;
    }

    .main-game-area iframe {
        height: 520px;
    }

    .age-box {
        margin: 12% auto;
        padding: 32px 22px;
    }

    .age-box h2 {
        font-size: 27px;
    }

    .terms-document {
        padding: 32px 22px;
    }

    .footer-sections {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 30px;
    }

    .section-header {
        font-size: 30px;
    }

    .title-main {
        font-size: 34px;
    }
}