@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+Pro:wght@300;400;600&display=swap');

:root {
    --forest-green: #2d5a27;
    --emerald: #50c878;
    --cream: #faf8f0;
    --warm-brown: #8b4513;
    --gold-accent: #c9a227;
    --dark-text: #2c2c2c;
    --muted-text: #5a5a5a;
    --light-bg: #f5f2e8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background: var(--cream);
    color: var(--dark-text);
    min-height: 100vh;
    line-height: 1.7;
}

.top-bar {
    background: var(--forest-green);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.top-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-emblem {
    width: 42px;
    height: 42px;
    background: var(--gold-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1.3rem;
}

.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--cream);
    letter-spacing: 1px;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--cream);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.mobile-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:last-child {
    transform: rotate(-45deg) translate(6px, -9px);
}

.site-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.site-nav a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.site-nav a:hover {
    color: var(--gold-accent);
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    transition: width 0.3s;
}

.site-nav a:hover::after {
    width: 100%;
}

main {
    padding-top: 75px;
}

.welcome-banner {
    background: linear-gradient(135deg, var(--forest-green) 0%, #1a3518 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.welcome-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.welcome-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--cream);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.welcome-content p {
    font-size: 1.2rem;
    color: rgba(250, 248, 240, 0.85);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.primary-btn {
    display: inline-block;
    background: var(--gold-accent);
    color: var(--dark-text);
    padding: 1rem 3rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.primary-btn:hover {
    background: #dab534;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.info-strip {
    background: var(--light-bg);
    padding: 4rem 2rem;
}

.info-cards {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-top: 4px solid var(--forest-green);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--forest-green);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.info-card p {
    color: var(--muted-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.game-showcase {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.showcase-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    color: var(--forest-green);
    margin-bottom: 3rem;
}

.game-frame {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 3px solid var(--forest-green);
}

.game-frame iframe {
    width: 100%;
    height: 620px;
    border: none;
    display: block;
}

.features-row {
    background: var(--forest-green);
    padding: 4rem 2rem;
}

.features-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.feature-box {
    color: var(--cream);
}

.feature-box-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.feature-box h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-box p {
    font-size: 0.9rem;
    opacity: 0.85;
}

.text-section {
    padding: 5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.text-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--forest-green);
    margin-bottom: 1.5rem;
}

.text-section p {
    color: var(--muted-text);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.text-section ul {
    list-style: none;
    margin: 1.5rem 0;
}

.text-section li {
    color: var(--muted-text);
    padding: 0.5rem 0 0.5rem 1.8rem;
    position: relative;
}

.text-section li::before {
    content: '🌿';
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

.page-footer {
    background: #1a3518;
    padding: 4rem 2rem 2rem;
    color: var(--cream);
}

.footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: var(--gold-accent);
}

.support-links {
    margin-bottom: 2rem;
}

.support-links h4 {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.support-links a {
    color: rgba(250, 248, 240, 0.7);
    text-decoration: none;
    margin: 0 1.2rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.support-links a:hover {
    color: var(--gold-accent);
}

.footer-info {
    border-top: 1px solid rgba(250, 248, 240, 0.1);
    padding-top: 2rem;
    color: rgba(250, 248, 240, 0.6);
    font-size: 0.85rem;
}

.age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 53, 24, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-overlay.hidden {
    display: none;
}

.age-box {
    background: var(--cream);
    padding: 3.5rem;
    border-radius: 12px;
    text-align: center;
    max-width: 460px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.age-box h2 {
    font-family: 'Playfair Display', serif;
    color: var(--forest-green);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.age-box p {
    color: var(--muted-text);
    margin-bottom: 2rem;
}

.age-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-yes, .age-no {
    padding: 1rem 2.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.age-yes {
    background: var(--forest-green);
    color: var(--cream);
}

.age-yes:hover {
    background: #3a7033;
}

.age-no {
    background: transparent;
    color: var(--muted-text);
    border: 2px solid var(--muted-text);
}

.age-no:hover {
    border-color: #c0392b;
    color: #c0392b;
}

.page-banner {
    background: linear-gradient(135deg, var(--forest-green) 0%, #1a3518 100%);
    padding: 9rem 2rem 4rem;
    text-align: center;
}

.page-banner h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--cream);
    margin-bottom: 1rem;
}

.page-banner p {
    color: rgba(250, 248, 240, 0.8);
    font-size: 1.1rem;
}

.legal-text {
    max-width: 850px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
}

.legal-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--forest-green);
    margin: 2.5rem 0 1rem;
}

.legal-text h3 {
    color: var(--warm-brown);
    margin: 2rem 0 1rem;
    font-size: 1.15rem;
}

.legal-text p {
    color: var(--muted-text);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-text ul {
    list-style: none;
    margin: 1rem 0;
}

.legal-text li {
    color: var(--muted-text);
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.legal-text li::before {
    content: '•';
    color: var(--forest-green);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.play-info {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid var(--forest-green);
}

.play-info h3 {
    font-family: 'Playfair Display', serif;
    color: var(--forest-green);
    margin-bottom: 1rem;
}

.play-info p {
    color: var(--muted-text);
}

@media (max-width: 992px) {
    .info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--forest-green);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.3s;
    }
    
    .site-nav.open {
        right: 0;
    }
    
    .site-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .site-nav a {
        font-size: 1.3rem;
    }
    
    .welcome-content h1 {
        font-size: 2.3rem;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .features-inner {
        grid-template-columns: 1fr;
    }
    
    .game-frame iframe {
        height: 480px;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .age-box {
        margin: 1rem;
        padding: 2.5rem;
    }
    
    .age-btns {
        flex-direction: column;
    }
    
    .support-links a {
        display: block;
        margin: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .top-bar-inner {
        padding: 1rem;
    }
    
    .logo-name {
        font-size: 1.3rem;
    }
    
    .logo-emblem {
        width: 35px;
        height: 35px;
    }
    
    .welcome-content h1 {
        font-size: 1.9rem;
    }
    
    .primary-btn {
        padding: 0.9rem 2rem;
    }
    
    .game-frame iframe {
        height: 380px;
    }
    
    .showcase-title {
        font-size: 1.8rem;
    }
}
