* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #2d5016;
    --light-green: #4a7c28;
    --sage: #8ba888;
    --cream: #f5f5eb;
    --white: #ffffff;
    --dark: #1a1a1a;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--cream);
    color: var(--dark);
    line-height: 1.7;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    border-bottom: 1px solid rgba(45, 80, 22, 0.1);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--green);
}

.logo-leaf {
    font-size: 1.6rem;
}

.main-nav {
    display: flex;
    gap: 2.5rem;
}

.nav-item {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-item:hover,
.nav-item.active {
    color: var(--light-green);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--green);
    transition: all 0.3s;
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Split Hero */
.split-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    align-items: center;
}

.split-left {
    background: var(--green);
    color: var(--cream);
    padding: 5rem 3rem;
}

.split-left h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.split-left p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-link {
    display: inline-block;
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--cream);
    padding-bottom: 0.3rem;
    transition: opacity 0.3s;
}

.cta-link:hover {
    opacity: 0.8;
}

.split-right {
    background: var(--sage);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.hero-decoration {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.deco-circle {
    width: 120px;
    height: 120px;
    border: 3px solid var(--white);
    border-radius: 50%;
    opacity: 0.6;
}

/* Features */
.features-section {
    padding: 5rem 0;
    background: var(--white);
}

.section-heading {
    text-align: center;
    font-size: 2.5rem;
    color: var(--green);
    margin-bottom: 3rem;
}

.features-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-box {
    text-align: center;
    padding: 2rem;
}

.feature-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-box h3 {
    font-size: 1.5rem;
    color: var(--green);
    margin-bottom: 1rem;
}

/* Disclaimers */
.disclaimers-section {
    padding: 5rem 0;
    background: var(--cream);
}

.disclaimer-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.disclaimer-item {
    display: flex;
    gap: 1.5rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid;
}

.warning-type {
    border-color: #dc2626;
}

.info-type {
    border-color: #2563eb;
}

.alert-type {
    border-color: #d97706;
}

.disclaimer-badge {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.disclaimer-text h4 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

/* Game Section */
.game-section {
    padding: 5rem 0;
    background: var(--white);
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--dark);
    opacity: 0.8;
}

.game-container {
    max-width: 1000px;
    margin: 0 auto;
}

.game-embed-box {
    background: var(--cream);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 2px solid var(--sage);
}

.game-iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.game-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.info-pill {
    background: var(--cream);
    padding: 1.2rem;
    border-radius: 8px;
    border: 1px solid var(--sage);
}

/* Philosophy */
.philosophy-section {
    padding: 5rem 0;
    background: var(--cream);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.philosophy-block h3 {
    font-size: 2rem;
    color: var(--green);
    margin-bottom: 1.5rem;
}

.philosophy-block p {
    margin-bottom: 1.2rem;
}

/* Play Page */
.play-hero {
    background: var(--green);
    color: var(--cream);
    padding: 4rem 0;
    text-align: center;
}

.play-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.instructions-section {
    padding: 4rem 0;
    background: var(--white);
}

.instructions-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.instruction-step {
    background: var(--cream);
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--sage);
}

.step-num {
    display: inline-block;
    background: var(--green);
    color: var(--cream);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.instruction-step h3 {
    color: var(--green);
    margin-bottom: 0.8rem;
}

.play-game-section {
    padding: 4rem 0;
    background: var(--cream);
}

.play-reminder {
    padding: 3rem 0;
    background: var(--white);
}

.reminder-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--cream);
    padding: 2.5rem;
    border-radius: 10px;
    border: 2px solid var(--light-green);
    text-align: center;
}

.reminder-card h3 {
    color: var(--green);
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

/* Legal Pages */
.legal-header {
    background: var(--green);
    color: var(--cream);
    padding: 4rem 0;
    text-align: center;
}

.legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.meta-date {
    opacity: 0.85;
}

.legal-body {
    padding: 4rem 0;
    background: var(--white);
}

.legal-article {
    max-width: 850px;
    margin: 0 auto;
}

.legal-article h2 {
    font-size: 1.8rem;
    color: var(--green);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-article p,
.legal-article li {
    margin-bottom: 1.2rem;
}

.legal-article ul {
    margin-left: 2.5rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--cream);
    padding: 3.5rem 0 1.5rem;
}

.footer-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section h4 {
    color: var(--sage);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-meta {
    font-size: 0.9rem;
    opacity: 0.75;
    margin-top: 0.6rem;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.6rem;
}

.footer-list a {
    color: var(--cream);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-list a:hover {
    opacity: 1;
}

.footer-base {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(245, 245, 235, 0.2);
    opacity: 0.7;
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.show {
    display: flex;
}

.age-modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
    margin: 1rem;
    border: 3px solid var(--green);
}

.age-modal-icon {
    font-size: 4rem;
    margin-bottom: 1.2rem;
}

.age-modal-content h2 {
    font-size: 2rem;
    color: var(--green);
    margin-bottom: 1rem;
}

.age-modal-content p {
    margin-bottom: 1rem;
}

.age-disclaimer {
    font-size: 0.9rem;
    opacity: 0.7;
}

.age-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.age-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s;
    font-family: 'Space Grotesk', sans-serif;
}

.age-btn:hover {
    transform: translateY(-2px);
}

.age-yes {
    background: var(--green);
    color: var(--cream);
}

.age-no {
    background: #dc2626;
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 20px;
        gap: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s, opacity 0.3s;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-item {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(45, 80, 22, 0.1);
    }

    .split-hero {
        grid-template-columns: 1fr;
    }

    .split-left {
        padding: 3rem 2rem;
    }

    .split-left h1 {
        font-size: 2rem;
    }

    .split-right {
        display: none;
    }

    .game-iframe {
        height: 400px;
    }

    .age-modal-content {
        padding: 2rem;
    }

    .age-modal-buttons {
        flex-direction: column;
    }

    .age-btn {
        width: 100%;
    }
}
