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

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

:root {
    --forest: #1a472a;
    --forest-light: #2d5a3f;
    --sage: #87a878;
    --gold: #c9a227;
    --cream: #faf8f0;
    --parchment: #f5f0e1;
    --text-dark: #2c3e2e;
    --text-muted: #5a6b5c;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background: var(--parchment);
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.75;
}

.site-header {
    background: var(--forest);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrap {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 1px;
}

.primary-nav {
    display: flex;
    gap: 2.5rem;
}

.primary-nav a {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.primary-nav a:hover {
    opacity: 1;
}

.nav-toggle {
    display: none;
    background: none;
    border: 2px solid var(--gold);
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--gold);
    margin: 4px 0;
}

.mobile-nav-panel {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--forest-light);
    padding: 1rem;
}

.mobile-nav-panel.expanded {
    display: block;
}

.mobile-nav-panel a {
    display: block;
    color: var(--cream);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.welcome-area {
    background: linear-gradient(135deg, var(--forest) 0%, var(--forest-light) 100%);
    padding: 6rem 2rem;
    text-align: center;
}

.welcome-area h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 1.5rem;
}

.welcome-area p {
    font-size: 1.15rem;
    color: var(--sage);
    max-width: 750px;
    margin: 0 auto 2.5rem;
}

.nature-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gold);
    color: var(--forest);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s, transform 0.2s;
}

.nature-btn:hover {
    background: #d4af37;
    transform: translateY(-2px);
}

.principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.principle-box {
    background: var(--cream);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--sage);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.principle-box .emblem {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.principle-box h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--forest);
}

.principle-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.game-showcase {
    background: var(--cream);
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.game-showcase h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--forest);
}

.game-container {
    background: var(--forest);
    padding: 1.5rem;
    border-radius: 8px;
}

.game-container iframe {
    width: 100%;
    height: 550px;
    border: none;
    border-radius: 4px;
}

.why-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.why-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--forest);
}

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

.why-item {
    text-align: center;
    padding: 1.5rem;
}

.why-item .symbol {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.why-item h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--forest);
}

.why-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.content-page {
    padding: 4rem 2rem;
    max-width: 850px;
    margin: 0 auto;
}

.content-page h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--forest);
    text-align: center;
}

.content-page h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    color: var(--forest-light);
}

.content-page p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.content-page ul {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--text-muted);
}

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

.usage-note {
    background: var(--cream);
    border-left: 4px solid var(--gold);
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 0 4px 4px 0;
}

.usage-note h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--forest);
    margin-bottom: 0.5rem;
}

.usage-note p {
    font-size: 0.9rem;
    margin: 0;
}

.site-footer {
    background: var(--forest);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-columns {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: var(--sage);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--cream);
}

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

.copyright-line {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(135, 168, 120, 0.2);
    color: var(--sage);
    font-size: 0.85rem;
    opacity: 0.7;
}

.age-check {
    position: fixed;
    inset: 0;
    background: rgba(26, 71, 42, 0.97);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.age-check.closed {
    display: none;
}

.age-dialog {
    background: var(--cream);
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    max-width: 420px;
    margin: 1rem;
    border: 3px solid var(--gold);
}

.age-dialog .badge {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.age-dialog h2 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--forest);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.age-dialog p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

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

.age-options button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.2s;
    border: none;
}

.age-options .accept {
    background: var(--forest);
    color: var(--cream);
}

.age-options .decline {
    background: transparent;
    border: 2px solid var(--forest);
    color: var(--forest);
}

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

@media (max-width: 1024px) {
    .principles {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .primary-nav {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .welcome-area h1 {
        font-size: 2.2rem;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .game-container iframe {
        height: 380px;
    }
}
