@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&family=Open+Sans:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --vintage-cream: #f4efe4;
    --warm-brown: #5c4033;
    --rust-orange: #bf6a3d;
    --mustard-gold: #d4a84b;
    --sage-green: #7a9e7e;
    --dusty-rose: #c4a4a4;
    --charcoal: #3a3a3a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--vintage-cream);
    color: var(--charcoal);
    min-height: 100vh;
    line-height: 1.85;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
}

a {
    color: var(--rust-orange);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--warm-brown);
}

/* Retro Header */
.retro-header {
    background: var(--warm-brown);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 15px rgba(92, 64, 51, 0.3);
}

.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 35px;
    max-width: 1500px;
    margin: 0 auto;
}

.retro-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.retro-logo svg {
    width: 50px;
    height: 50px;
}

.retro-logo span {
    font-family: 'Merriweather', serif;
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--mustard-gold);
}

.toggle-menu {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.toggle-menu span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--mustard-gold);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.retro-nav ul {
    display: flex;
    list-style: none;
    gap: 38px;
}

.retro-nav a {
    color: var(--vintage-cream);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 0;
    position: relative;
}

.retro-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--mustard-gold);
    transition: width 0.3s ease;
}

.retro-nav a:hover {
    color: var(--mustard-gold);
}

.retro-nav a:hover::after {
    width: 100%;
}

/* Vintage Hero */
.vintage-hero {
    padding: 150px 35px 90px;
    background: linear-gradient(180deg, var(--warm-brown) 0%, var(--warm-brown) 30%, var(--vintage-cream) 100%);
    text-align: center;
}

.vintage-hero h1 {
    font-size: 3.2rem;
    color: var(--vintage-cream);
    margin-bottom: 25px;
}

.vintage-hero h1 span {
    color: var(--mustard-gold);
}

.hero-blurb {
    font-size: 1.15rem;
    color: var(--dusty-rose);
    max-width: 680px;
    margin: 0 auto;
}

/* Bulletin Boards */
.bulletin-boards {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 60px 35px;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 0 auto;
}

.bulletin {
    background: white;
    border: 3px solid var(--rust-orange);
    border-radius: 8px;
    padding: 35px 28px;
    text-align: center;
    flex: 1;
    min-width: 260px;
    max-width: 350px;
    box-shadow: 5px 5px 0 var(--warm-brown);
    transition: transform 0.3s ease;
}

.bulletin:hover {
    transform: translate(-3px, -3px);
}

.bulletin .bulletin-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
}

.bulletin h3 {
    font-size: 1.15rem;
    color: var(--warm-brown);
    margin-bottom: 12px;
}

.bulletin p {
    color: var(--charcoal);
    font-size: 0.95rem;
}

/* Game Parlor */
.game-parlor {
    padding: 70px 35px;
    background: var(--vintage-cream);
}

.game-parlor h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 40px;
    color: var(--warm-brown);
}

.parlor-frame {
    background: var(--warm-brown);
    border: 5px solid var(--mustard-gold);
    border-radius: 12px;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 8px 8px 0 var(--charcoal);
}

.parlor-frame iframe {
    width: 100%;
    height: 560px;
    border: none;
    display: block;
}

/* Classic Features */
.classic-features {
    padding: 80px 35px;
    background: linear-gradient(180deg, var(--vintage-cream) 0%, #ebe5d8 100%);
}

.classic-features h2 {
    text-align: center;
    font-size: 2.1rem;
    margin-bottom: 50px;
    color: var(--warm-brown);
}

.classic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1350px;
    margin: 0 auto;
}

.classic-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border: 2px solid var(--sage-green);
    border-radius: 8px;
}

.classic-item .classic-symbol {
    font-size: 3.2rem;
    margin-bottom: 18px;
}

.classic-item h4 {
    color: var(--rust-orange);
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.classic-item p {
    color: var(--charcoal);
    font-size: 0.9rem;
}

/* About Story */
.about-story {
    padding: 80px 35px;
    background: var(--sage-green);
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.story-content h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--vintage-cream);
}

.story-content p {
    margin-bottom: 20px;
    color: var(--vintage-cream);
    font-size: 1.05rem;
}

/* Retro Footer */
.retro-footer {
    background: var(--warm-brown);
    padding: 50px 35px;
    text-align: center;
}

.retro-footer h4 {
    color: var(--mustard-gold);
    margin-bottom: 25px;
    font-size: 1rem;
}

.footer-resources {
    display: flex;
    justify-content: center;
    gap: 45px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.footer-resources a {
    color: var(--dusty-rose);
    font-size: 0.95rem;
}

.footer-resources a:hover {
    color: var(--mustard-gold);
}

.footer-note {
    border-top: 1px solid rgba(212, 168, 75, 0.3);
    padding-top: 25px;
    color: var(--dusty-rose);
    font-size: 0.85rem;
}

/* Age Check */
.age-check {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(92, 64, 51, 0.97);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.age-card {
    background: var(--vintage-cream);
    border: 4px solid var(--mustard-gold);
    border-radius: 12px;
    padding: 50px;
    text-align: center;
    max-width: 440px;
    box-shadow: 8px 8px 0 var(--charcoal);
}

.age-card h2 {
    color: var(--warm-brown);
    margin-bottom: 20px;
    font-size: 1.7rem;
}

.age-card p {
    color: var(--charcoal);
    margin-bottom: 30px;
}

.age-options {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.btn-yes, .btn-no {
    padding: 14px 38px;
    border: none;
    border-radius: 8px;
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-yes {
    background: var(--rust-orange);
    color: white;
}

.btn-yes:hover {
    background: var(--warm-brown);
    transform: scale(1.05);
}

.btn-no {
    background: transparent;
    border: 2px solid var(--charcoal);
    color: var(--charcoal);
}

.btn-no:hover {
    background: var(--charcoal);
    color: white;
}

.check-hidden {
    display: none !important;
}

/* Page Styles */
.page-banner {
    padding: 140px 35px 60px;
    background: linear-gradient(180deg, var(--warm-brown) 0%, var(--sage-green) 100%);
    text-align: center;
}

.page-banner h1 {
    font-size: 2.5rem;
    color: var(--vintage-cream);
}

.page-text {
    padding: 50px 35px 80px;
    max-width: 920px;
    margin: 0 auto;
}

.page-text h2 {
    margin: 45px 0 20px;
    font-size: 1.6rem;
    color: var(--warm-brown);
}

.page-text h3 {
    margin: 35px 0 15px;
    font-size: 1.3rem;
    color: var(--rust-orange);
}

.page-text p {
    margin-bottom: 18px;
    color: var(--charcoal);
}

.page-text ul {
    margin: 20px 0 25px 32px;
    color: var(--charcoal);
}

.page-text li {
    margin-bottom: 12px;
}

/* Play Page */
.play-banner {
    padding: 130px 35px 50px;
    background: linear-gradient(180deg, var(--warm-brown) 0%, var(--rust-orange) 100%);
    text-align: center;
}

.play-banner h1 {
    font-size: 2.4rem;
    color: var(--vintage-cream);
    margin-bottom: 15px;
}

.game-help {
    max-width: 780px;
    margin: 35px auto;
    padding: 28px;
    background: white;
    border-radius: 8px;
    border-left: 5px solid var(--rust-orange);
    box-shadow: 4px 4px 0 var(--charcoal);
}

.game-help h3 {
    color: var(--warm-brown);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .classic-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .toggle-menu {
        display: block;
    }
    
    .retro-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--warm-brown);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }
    
    .retro-nav.open {
        max-height: 380px;
    }
    
    .retro-nav ul {
        flex-direction: column;
        padding: 20px 35px;
        gap: 0;
    }
    
    .retro-nav li {
        border-bottom: 1px solid rgba(212, 168, 75, 0.3);
    }
    
    .retro-nav a {
        display: block;
        padding: 15px 0;
    }
    
    .vintage-hero h1 {
        font-size: 2.1rem;
    }
    
    .bulletin-boards {
        flex-direction: column;
        align-items: center;
    }
    
    .bulletin {
        max-width: 100%;
    }
    
    .classic-grid {
        grid-template-columns: 1fr;
    }
    
    .parlor-frame iframe {
        height: 420px;
    }
    
    .footer-resources {
        flex-direction: column;
        gap: 15px;
    }
    
    .age-card {
        margin: 20px;
        padding: 35px 25px;
    }
    
    .age-options {
        flex-direction: column;
    }
}
