/* ==========================================
   JINGLEBELL JUNCTION - GLOBAL STYLES
========================================== */

:root {
    --green: #4f8c27;
    --green-dark: #356a18;
    --blue: #0577ad;
    --ice: #eafaff;
    --red: #d7352d;
    --ink: #155f80;
    --paper: #fff;
    --shadow: 0 10px 25px rgba(26, 91, 112, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--ice);
    color: var(--ink);
    font-family: "Trebuchet MS", Verdana, sans-serif;
    line-height: 1.55;
}
a { color: inherit; }
h1, h2, h3 { font-family: "Fredoka", sans-serif; font-weight: 600; }
.wrap { width: min(1040px, calc(100% - 36px)); margin-inline: auto; }

/* ==========================================
   HEADER AND CHRISTMAS LIGHTS
   Green ends at header-inner; transparent PNG
   reveals the pale blue header background.
========================================== */
.site-header {
    position: relative;
    background: var(--ice);
    padding: 0;
}
.header-inner {
    background: var(--green);
    text-align: center;
    padding: 24px 20px 35px;
}
.brand { display: inline-block; }
.brand img {
    display: block;
    width: min(390px, 72vw);
    height: auto;
    margin: auto;
}
.site-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.site-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    padding: 8px 13px;
    border-radius: 999px;
    text-shadow: 0 1px 1px #275414;
}
.site-nav a:hover,
.site-nav a:focus-visible { background: rgba(255, 255, 255, .16); }
.menu-toggle { display: none; }
.light-divider {
    display: block;
    width: 100%;
    height: 93px;
    object-fit: cover;
    pointer-events: none;
}
.header-lights { margin: 0; }

/* ==========================================
   WELCOME
========================================== */
.welcome { text-align: center; padding: 72px 0 38px; }
.eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
    font-weight: 900;
    color: var(--red);
    margin: 0 0 5px;
}
.welcome h1,
.category-section h2,
.featured-section h2,
.games-section h2 {
    color: var(--blue);
    margin: .1em 0 .35em;
    line-height: 1.15;
}
.welcome h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.lede { font-size: 1.08rem; max-width: 780px; margin: 0 auto; }

/* ==========================================
   CATEGORY CARDS
========================================== */
.category-section { padding: 20px 0 70px; }
.category-section > h2,
.featured-section h2,
.games-section > h2 {
    text-align: center;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 28px;
}
.category-card {
    background: rgba(255, 255, 255, .88);
    border: 2px solid rgba(5, 119, 173, .11);
    border-radius: 18px;
    padding: 24px 20px;
    text-align: center;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}
.category-card:hover {
    transform: translateY(-5px) rotate(-.3deg);
    box-shadow: 0 14px 28px rgba(26, 91, 112, .19);
}
.category-card:nth-child(even):hover { transform: translateY(-5px) rotate(.3deg); }
.category-card .icon {
    display: grid;
    place-items: center;
    margin: 0 auto 8px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f5ffd9;
    font-size: 2rem;
    font-weight: 900;
    color: var(--green-dark);
}
.category-card h3 { color: var(--green-dark); margin: 5px 0; }
.category-card p { margin: 0; font-size: .92rem; }

/* ==========================================
   FEATURED CONTENT
========================================== */
.featured-section {
    background: #fff;
    padding: 58px 0 68px;
    border-block: 1px solid #d8f0f7;
}
.featured-section .eyebrow { text-align: center; }
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 28px;
}
.feature-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    align-items: center;
    background: #f2fbfe;
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--shadow);
}
.art {
    aspect-ratio: 1;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 4rem;
    background: linear-gradient(135deg, #d8ffb7, #fff);
}
.art.search { background: linear-gradient(135deg, #c9f2ff, #fff); }
.feature-card h3 { color: var(--green-dark); margin: 0 0 6px; }
.feature-card p { font-size: .92rem; }
.feature-card a,
.game-links a { font-weight: 800; color: var(--red); }

/* ==========================================
   MOBILE GAMES
========================================== */
.games-section { padding: 65px 0 100px; }
.games-section > .eyebrow { text-align: center; }
.game-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 25px;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
    margin-top: 26px;
}
.game-icon {
    display: grid;
    place-items: center;
    min-height: 160px;
    border-radius: 18px;
    background: linear-gradient(#e7f9d7, #d5f3ff);
    font-size: 5rem;
}
.game-copy h3 { color: var(--blue); font-size: 1.45rem; margin: 0; }
.game-kicker { color: var(--red); font-weight: 800; }
.game-links { display: flex; gap: 25px; flex-wrap: wrap; }

/* ==========================================
   FOOTER AND CHRISTMAS LIGHTS
   Transparent PNG sits above green footer.
========================================== */
.site-footer {
    position: relative;
    background: var(--ice);
    color: #fff;
    text-align: center;
    padding: 0;
    min-height: 360px;
}
.footer-lights {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    transform: none;
}
.footer-inner {
    position: relative;
    background: var(--green);
    padding: 12px 20px 32px;
    min-height: 267px;
}
.anniversary { width: min(290px, 70vw); height: auto; }
.site-footer p {
    font-size: .76rem;
    margin: 2px 0;
    text-shadow: 0 1px 1px #315c1c;
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 760px) {
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        margin-top: 5px;
        background: #fff;
        color: var(--green-dark);
        border: 0;
        border-radius: 999px;
        padding: 9px 16px;
        font-weight: 900;
    }
    .site-nav {
        display: none;
        flex-direction: column;
        width: min(320px, 85%);
        margin: 12px auto 0;
    }
    .site-nav.open { display: flex; }
    .site-nav a { background: rgba(255, 255, 255, .11); }
    .category-grid { grid-template-columns: 1fr 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card { grid-template-columns: 120px 1fr; }
    .game-card { grid-template-columns: 1fr; }
    .game-icon { min-height: 130px; }
    .welcome { padding-top: 65px; }
}
@media (max-width: 500px) {
    .wrap { width: min(100% - 24px, 1040px); }
    .category-grid { grid-template-columns: 1fr; }
    .feature-card { grid-template-columns: 1fr; }
    .art { max-width: 160px; width: 100%; margin: auto; }
    .header-inner { padding-top: 15px; }
    .brand img { width: min(320px, 82vw); }
}
@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; }
}


































/* Temporary homepage announcement */

.holiday-announcement {
    max-width: 720px;
    margin: 35px auto 65px;
    padding: 35px 40px;
    background: rgba(255, 255, 255, 0.94);
    border: 2px solid #d5b46b;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.holiday-announcement-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.holiday-announcement h2 {
    margin-bottom: 20px;
    color: #285b42;
}

.holiday-announcement p {
    line-height: 1.8;
    margin-bottom: 16px;
}

.holiday-signoff {
    font-weight: 600;
    margin-top: 25px;
}

.holiday-signature {
    font-style: italic;
    color: #a02732;
    font-weight: 600;
}

@media (max-width: 600px) {
    .holiday-announcement {
        padding: 25px 20px;
        margin: 25px 15px 45px;
    }
}
