@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');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cream: #fefef8;
    --soft-gold: #d4a853;
    --warm-brown: #4a3f35;
    --muted-sage: #8b9a7d;
    --blush-pink: #e8c4c4;
    --deep-charcoal: #2d2926;
    --light-tan: #f5f0e8;
    --accent-coral: #d97b5c;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    background: var(--cream);
    color: var(--deep-charcoal);
    line-height: 1.75;
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Header */
.header {
    background: var(--cream);
    border-bottom: 1px solid rgba(74, 63, 53, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.site-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--warm-brown);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--soft-gold), var(--accent-coral));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
}

.menu-btn span {
    width: 26px;
    height: 2px;
    background: var(--warm-brown);
    transition: 0.3s;
}

.menu-btn.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

.navigation ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.navigation a {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    color: var(--warm-brown);
    text-decoration: none;
    position: relative;
    padding: 5px 0;
}

.navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--soft-gold);
    transition: width 0.3s;
}

.navigation a:hover::after,
.navigation a.active::after {
    width: 100%;
}

/* Hero */
.hero {
    padding: 90px 0 70px;
    background: linear-gradient(180deg, var(--light-tan) 0%, var(--cream) 100%);
}

.hero-inner {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-label {
    display: inline-block;
    padding: 8px 22px;
    background: var(--blush-pink);
    color: var(--warm-brown);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
    letter-spacing: 1px;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--warm-brown);
    line-height: 1.2;
    margin-bottom: 22px;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--deep-charcoal);
    opacity: 0.85;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 60px 0;
}

.info-card {
    background: white;
    border: 1px solid rgba(74, 63, 53, 0.08);
    border-radius: 16px;
    padding: 35px 28px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 18px;
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--warm-brown);
    margin-bottom: 12px;
}

.info-card p {
    font-size: 0.95rem;
    color: var(--deep-charcoal);
    opacity: 0.8;
}

/* Game Area */
.game-area {
    padding: 50px 0 70px;
}

.area-header {
    text-align: center;
    margin-bottom: 40px;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: var(--warm-brown);
    margin-bottom: 12px;
}

.area-desc {
    color: var(--deep-charcoal);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.game-box {
    background: var(--light-tan);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.game-iframe {
    width: 100%;
    height: 580px;
    border: none;
    border-radius: 14px;
    background: #1a1a1a;
}

/* Features */
.features {
    padding: 70px 0;
    background: var(--light-tan);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature-item {
    background: white;
    border-radius: 16px;
    padding: 32px 22px;
    text-align: center;
    border: 1px solid rgba(74, 63, 53, 0.06);
}

.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.feature-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--accent-coral);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--deep-charcoal);
    opacity: 0.75;
}

/* Text Content */
.text-section {
    padding: 60px 0;
}

.text-block {
    background: white;
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(74, 63, 53, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
}

.text-block h2 {
    text-align: left;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.text-block p {
    margin-bottom: 18px;
    color: var(--deep-charcoal);
    opacity: 0.85;
}

.text-block ul {
    list-style: none;
    margin: 22px 0;
}

.text-block li {
    padding: 14px 0 14px 28px;
    position: relative;
    border-bottom: 1px solid rgba(74, 63, 53, 0.08);
}

.text-block li:last-child {
    border-bottom: none;
}

.text-block li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--soft-gold);
}

/* Page Header */
.page-top {
    padding: 80px 0 45px;
    background: var(--light-tan);
    text-align: center;
    border-bottom: 1px solid rgba(74, 63, 53, 0.08);
}

.page-top h1 {
    font-size: 2.6rem;
}

/* Footer */
.footer {
    background: var(--warm-brown);
    color: var(--cream);
    padding: 55px 0 30px;
    margin-top: 70px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand .site-logo {
    color: var(--cream);
    margin-bottom: 15px;
}

.footer-brand p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-menu h4,
.footer-support h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    margin-bottom: 18px;
}

.footer-menu ul {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a,
.footer-support a {
    color: var(--cream);
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-menu a:hover,
.footer-support a:hover {
    opacity: 1;
}

.support-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(254, 254, 248, 0.15);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Age Popup */
.age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(45, 41, 38, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-overlay.closed {
    display: none;
}

.age-box {
    background: var(--cream);
    border-radius: 24px;
    padding: 50px 45px;
    text-align: center;
    max-width: 460px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.age-box h2 {
    color: var(--warm-brown);
    margin-bottom: 18px;
    font-size: 1.7rem;
}

.age-box p {
    color: var(--deep-charcoal);
    margin-bottom: 30px;
    opacity: 0.85;
}

.age-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-enter,
.btn-exit {
    padding: 14px 38px;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-enter {
    background: linear-gradient(135deg, var(--soft-gold), var(--accent-coral));
    color: white;
}

.btn-enter:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 168, 83, 0.4);
}

.btn-exit {
    background: transparent;
    border: 2px solid var(--warm-brown);
    color: var(--warm-brown);
}

.btn-exit:hover {
    background: var(--warm-brown);
    color: var(--cream);
}

.age-small {
    font-size: 0.8rem;
    color: var(--deep-charcoal);
    opacity: 0.65;
    margin-top: 25px;
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }
    
    .navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--cream);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.4s;
        z-index: 999;
    }
    
    .navigation.open {
        transform: translateX(0);
    }
    
    .navigation ul {
        flex-direction: column;
        text-align: center;
        gap: 28px;
    }
    
    .navigation a {
        font-size: 1.4rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .game-iframe {
        height: 400px;
    }
    
    .text-block {
        padding: 32px 22px;
    }
    
    .age-box {
        margin: 20px;
        padding: 35px 25px;
    }
    
    .age-btns {
        flex-direction: column;
    }
}
