/* ==========================================================================
   WhereAreYouChristmas.com - Modern Festive Stylesheet
   Crafted for performance, zero layout shift (CLS), and maximum holiday magic.
   ========================================================================== */

:root {
    --bg-deep: #091426;
    --bg-spruce: #05241b;
    --card-red: linear-gradient(145deg, #c9183b 0%, #98102a 100%);
    --card-green: linear-gradient(145deg, #0d5e3c 0%, #063c25 100%);
    --gold: #f59e0b;
    --gold-light: #fde68a;
    --gold-dark: #b45309;
    --snow-white: #f8fafc;
    --text-muted: #cbd5e1;
    --glass-bg: rgba(15, 23, 42, 0.65);
    --glass-border: rgba(245, 158, 11, 0.35);
    --border-radius-card: 1.25rem;
    --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: radial-gradient(circle at 50% 15%, #0d2b24 0%, var(--bg-deep) 60%, #030811 100%);
    background-attachment: fixed;
    color: var(--snow-white);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Top Garland & Animated Christmas Lights
   -------------------------------------------------------------------------- */
.christmas-lights {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    z-index: 1000;
    background: repeating-linear-gradient(
        90deg,
        #ef4444 0px, #ef4444 20px,
        #f59e0b 20px, #f59e0b 40px,
        #10b981 40px, #10b981 60px,
        #3b82f6 60px, #3b82f6 80px,
        #ec4899 80px, #ec4899 100px
    );
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.8), 0 0 30px rgba(239, 68, 68, 0.5);
    animation: lightsTwinkle 4s ease-in-out infinite alternate;
}

@keyframes lightsTwinkle {
    0% { filter: brightness(1) saturate(1); }
    50% { filter: brightness(1.3) saturate(1.4); }
    100% { filter: brightness(0.9) saturate(1.1); }
}

/* --------------------------------------------------------------------------
   Top Festive Toolbar
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Two-Tier Site Header
   Tier 1: Top Utility & Tagline Bar (Scrolls away, NON-sticky)
   Tier 2: Main Site Navbar (Sticky at top: 6px under garland)
   -------------------------------------------------------------------------- */

/* Tier 1: Micro Utility Bar (Non-Sticky) */
.top-utility-bar {
    position: relative;
    z-index: 998;
    background: rgba(2, 6, 15, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.85rem 0 0.65rem 0; /* Expanded top breathing room below rainbow lights line */
    margin-top: 6px; /* Sits directly beneath top lights garland */
    transition: var(--transition-smooth);
}

.utility-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.utility-tagline {
    color: #94a3b8;
    font-size: 0.82rem;
    font-style: italic;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.utility-tagline span:first-child {
    font-style: normal;
}

.utility-tools {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.utility-tool-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.22);
    color: #e2e8f0;
    padding: 0.22rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition-smooth);
    user-select: none;
    font-family: inherit;
}

.utility-tool-btn:hover {
    border-color: var(--gold);
    background: rgba(245, 158, 11, 0.15);
    color: #ffffff;
    transform: translateY(-1px);
}

.utility-tool-btn.active {
    background: rgba(245, 158, 11, 0.25);
    color: var(--gold-light);
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.35);
}

/* Tier 2: Main Site Navbar (Sticky at top: 6px) */
.site-header {
    position: sticky;
    top: 6px; /* Sticks right beneath top garland lights */
    z-index: 1000;
    background: rgba(4, 10, 22, 0.90);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.55rem 0;
    margin-top: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
    transition: var(--transition-smooth);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.header-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--gold-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.header-brand:hover {
    color: var(--snow-white);
    transform: scale(1.02);
}

/* Desktop Clean Typographic Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.4rem 0.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    position: relative;
}

.nav-link:hover {
    color: var(--gold-light);
    border-bottom-color: rgba(245, 158, 11, 0.5);
}

.nav-link.active {
    color: var(--gold-light);
    border-bottom-color: var(--gold);
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.nav-badge-new {
    background: linear-gradient(135deg, #c9183b, #b91c1c);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 9999px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    animation: badgePulse 2s infinite alternate;
}

@keyframes badgePulse {
    0% { transform: scale(1); box-shadow: 0 0 4px rgba(201, 24, 59, 0.4); }
    100% { transform: scale(1.06); box-shadow: 0 0 10px rgba(201, 24, 59, 0.8); }
}

.nav-btn-personalize {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(201, 24, 59, 0.15));
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
    margin-left: 0.5rem;
}

.nav-btn-personalize:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0f172a;
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.45);
}

/* Header Actions & Mobile Quick Music / Hamburger */
.header-actions {
    display: none;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.mobile-only {
    display: none;
}

/* Mobile Top Bar Quick Music Button */
.quick-tool-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    border-radius: 0.6rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: var(--gold-light);
    font-size: 1.15rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    line-height: 1;
}

.quick-tool-btn:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: var(--gold);
    color: #ffffff;
}

.quick-tool-btn.active {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.35), rgba(201, 24, 59, 0.35)) !important;
    border-color: var(--gold) !important;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.5) !important;
    color: #ffffff !important;
}

/* Mobile Hamburger Button */
.hamburger-btn {
    display: none;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 0.6rem;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: var(--transition-smooth);
}

.hamburger-btn:hover {
    border-color: var(--gold);
    background: rgba(245, 158, 11, 0.2);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background-color: var(--gold-light);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
    display: none;
    max-height: 0;
    overflow: hidden;
    background: rgba(7, 14, 28, 0.98);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--glass-border);
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
}

.mobile-drawer.active {
    max-height: 550px;
    opacity: 1;
}

/* Mobile Drawer Holiday Atmosphere Controls */
.mobile-drawer-controls {
    padding: 1rem 1.25rem 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-controls-heading {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    margin-bottom: 0.65rem;
    text-align: left;
}

.mobile-controls-row {
    display: flex;
    gap: 0.5rem;
}

.mobile-ctrl-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 0.35rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 0.65rem;
    color: var(--snow-white);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: inherit;
    text-align: center;
}

.mobile-ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
}

.mobile-ctrl-btn.active {
    background: rgba(245, 158, 11, 0.25);
    border-color: var(--gold);
    color: var(--gold-light);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.mobile-nav {
    padding: 1rem 1.25rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition-smooth);
    width: 100%;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--gold);
    color: var(--gold-light);
}

.mobile-nav-highlight {
    background: linear-gradient(135deg, rgba(201, 24, 59, 0.35), rgba(245, 158, 11, 0.25));
    border-color: var(--gold);
    color: var(--snow-white);
    margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   Container & Typography
   -------------------------------------------------------------------------- */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.hero-section {
    padding: 3rem 0 2rem 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.main-title {
    font-family: 'Berkshire Swash', cursive, serif;
    font-size: clamp(2.5rem, 7vw, 5.2rem);
    line-height: 1.15;
    color: var(--snow-white);
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.5), 0 4px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--gold);
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 1.75rem;
}

.custom-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(201, 24, 59, 0.35), rgba(13, 94, 60, 0.35));
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: 0.95rem;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
}

/* --------------------------------------------------------------------------
   Format Switcher (Pill Tabs)
   -------------------------------------------------------------------------- */
.format-switcher-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.format-switcher {
    display: inline-flex;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    padding: 0.35rem;
    border-radius: 9999px;
    gap: 0.35rem;
    max-width: 100%;
    overflow-x: auto;
}

.format-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.55rem 1.25rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.format-tab:hover {
    color: var(--snow-white);
}

.format-tab.active {
    background: linear-gradient(135deg, #c9183b 0%, #0d5e3c 100%);
    color: var(--snow-white);
    box-shadow: 0 4px 15px rgba(201, 24, 59, 0.4);
    border: 1px solid rgba(245, 158, 11, 0.5);
}

/* Format Tab Labels - Desktop Default (Prevents duplicate text on desktop) */
.tab-label-short {
    display: none;
}

.tab-label-full {
    display: inline;
}

.tab-icon {
    margin-right: 0.35rem;
}

/* --------------------------------------------------------------------------
   Countdown Cards Grid
   -------------------------------------------------------------------------- */
.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto 2rem auto;
}

.countdown-grid.format-single {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto 2rem auto;
}

.countdown-grid.format-two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 650px;
    margin: 0 auto 2rem auto;
}

.countdown-grid.format-three {
    grid-template-columns: repeat(3, 1fr);
    max-width: 820px;
    margin: 0 auto 2rem auto;
}

.countdown-card {
    background: var(--card-red);
    border: 3px solid var(--gold);
    border-radius: var(--border-radius-card);
    padding: 2rem 1rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(245, 158, 11, 0.25);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.countdown-card:nth-child(even) {
    background: var(--card-green);
}

.countdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(
        115deg,
        transparent 0%,
        rgba(255, 255, 255, 0.03) 25%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(255, 255, 255, 0.03) 75%,
        transparent 100%
    );
    transform: skewX(-20deg);
    animation: cardShine 6s ease-in-out infinite;
    pointer-events: none;
}

/* Stagger the starlight wave across cards: Days -> Hours -> Minutes -> Seconds */
.countdown-card:nth-child(1)::before { animation-delay: 0s; }
.countdown-card:nth-child(2)::before { animation-delay: 0.25s; }
.countdown-card:nth-child(3)::before { animation-delay: 0.5s; }
.countdown-card:nth-child(4)::before { animation-delay: 0.75s; }

@keyframes cardShine {
    0% {
        left: -120%;
    }
    28% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

.countdown-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(245, 158, 11, 0.4);
}

.countdown-number {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    font-weight: 700;
    color: var(--snow-white);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.countdown-label {
    font-size: clamp(0.9rem, 2vw, 1.25rem);
    font-weight: 700;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 0.75rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

/* --------------------------------------------------------------------------
   Timezone Bar & Actions
   -------------------------------------------------------------------------- */
.timezone-wrap {
    max-width: 580px;
    margin: 0 auto 1.5rem auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 9999px;
    padding: 0.6rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    backdrop-filter: blur(8px);
}

.timezone-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gold);
}

.timezone-select {
    background: rgba(255, 255, 255, 0.1);
    color: var(--snow-white);
    border: 1px solid var(--gold);
    border-radius: 0.5rem;
    padding: 0.35rem 0.8rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    transition: var(--transition-smooth);
}

.timezone-select option {
    background: #0f172a;
    color: var(--snow-white);
}

.timezone-select:focus {
    border-color: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

/* --------------------------------------------------------------------------
   AdSense Containers (Zero Cumulative Layout Shift)
   -------------------------------------------------------------------------- */
.ad-slot-wrapper {
    margin: 2rem auto;
    max-width: 970px;
    min-height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    padding: 0;
    position: relative;
    z-index: 10;
}

/* --------------------------------------------------------------------------
   Content Cards & SEO Sections
   -------------------------------------------------------------------------- */
.content-section {
    padding: 3rem 0;
    position: relative;
    z-index: 10;
}

.section-heading {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gold-light);
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.section-lead {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem auto;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Live Time Breakdown Grid (Symmetric 3x2 on desktop) */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto 2rem auto;
}

.fact-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

.fact-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.fact-icon {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.fact-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.fact-title {
    font-size: 1rem;
    color: var(--snow-white);
    font-weight: 600;
}

.fact-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   Interactive Christmas Cracker Joke Widget
   -------------------------------------------------------------------------- */
.cracker-box {
    max-width: 680px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(201, 24, 59, 0.25) 0%, rgba(13, 94, 60, 0.25) 100%);
    border: 2px solid var(--gold);
    border-radius: 1.5rem;
    padding: 2.25rem 1.75rem;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.cracker-icon {
    font-size: 3.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.cracker-icon.pulling {
    animation: crackerPull 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes crackerPull {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.15) rotate(-10deg); }
    50% { transform: scale(1.2) rotate(10deg); }
    75% { transform: scale(1.25) rotate(-5deg); }
}

.joke-setup {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--snow-white);
    margin: 1.25rem 0 0.75rem 0;
    min-height: 3rem;
}

.joke-punchline {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    min-height: 2.5rem;
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition-smooth);
}

.joke-punchline.revealed {
    opacity: 1;
    transform: translateY(0);
}

.festive-action-btn {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #0f172a;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.festive-action-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.6);
    background: linear-gradient(135deg, #fde68a 0%, var(--gold) 100%);
}

/* --------------------------------------------------------------------------
   Milestone Timeline
   -------------------------------------------------------------------------- */
.milestones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.milestone-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.milestone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold);
}

.milestone-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.milestone-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0.25rem 0 0.5rem 0;
}

.milestone-info {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   FAQ Accordion Section
   -------------------------------------------------------------------------- */
.faq-wrap,
.faq-accordion {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.faq-summary,
.faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    color: var(--snow-white);
}

.faq-summary::-webkit-details-marker,
.faq-question::-webkit-details-marker {
    display: none;
}

.faq-summary::after,
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform 0.25s ease;
}

.faq-item[open] .faq-summary::after,
.faq-item[open] .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-content,
.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #cbd5e1;
    font-size: 1.02rem;
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
}

/* --------------------------------------------------------------------------
   SEO Text & Educational Content Block
   -------------------------------------------------------------------------- */
.seo-text-block {
    max-width: 860px;
    margin: 2rem auto;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1.25rem;
    padding: 2.25rem 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.seo-text-block h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    color: var(--gold-light);
    margin: 2rem 0 0.85rem 0;
    line-height: 1.35;
    position: relative;
    padding-bottom: 0.5rem;
}

.seo-text-block h3:first-child {
    margin-top: 0;
}

.seo-text-block h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.seo-text-block p {
    color: #e2e8f0;
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 1.15rem;
}

.seo-text-block ul {
    margin: 1.25rem 0 1.5rem 0;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.seo-text-block li {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.65;
    position: relative;
    padding-left: 1.75rem;
    list-style: none;
}

.seo-text-block li::before {
    content: '🎄';
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 0.95rem;
}

.seo-text-block li strong {
    color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   Personalize Modal
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 8, 17, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #0f2420;
    border: 2px solid var(--gold);
    border-radius: 1.5rem;
    max-width: 480px;
    width: 100%;
    padding: 2rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.modal-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--gold);
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    font-size: 1.1rem;
    color: var(--snow-white);
    margin: 1.5rem 0 1.25rem 0;
    outline: none;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.modal-input:focus {
    border-color: #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
}

.modal-result-box {
    margin-top: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    padding: 0.75rem;
    word-break: break-all;
    font-size: 0.85rem;
    color: var(--gold-light);
    display: none;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    position: relative;
    z-index: 10;
    background: #040d18;
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0 2rem 0;
    margin-top: 4rem;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--gold);
}

.footer-badge {
    color: var(--gold-light);
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-copyright {
    color: #64748b;
    font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Canvas & Snow Animation
   -------------------------------------------------------------------------- */
#snow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .desktop-nav {
        display: none !important;
    }
    .header-actions {
        display: flex !important;
    }
    .hamburger-btn {
        display: flex !important;
    }
    .mobile-only {
        display: inline-flex !important;
    }
    .mobile-drawer {
        display: block;
    }
    .countdown-grid,
    .countdown-grid.format-three {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 0.75rem;
    }

    /* Hide Tier 1 on mobile phones to eliminate clutter */
    .top-utility-bar {
        display: none !important;
    }

    /* Prevent header horizontal blowout */
    .site-header {
        top: 6px;
        padding: 0.4rem 0;
        overflow-x: hidden;
    }

    .header-inner {
        padding: 0 0.75rem;
        gap: 0.5rem;
    }

    .header-brand {
        font-size: 1.02rem;
        max-width: calc(100vw - 95px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .quick-tool-btn {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
        border-radius: 0.55rem;
    }

    .hamburger-btn {
        width: 34px;
        height: 34px;
        border-radius: 0.55rem;
    }

    /* Hero section: balanced mobile spacing */
    .hero-section {
        padding: 1rem 0 0.75rem 0;
    }

    .main-title {
        font-size: clamp(2.1rem, 9vw, 3rem);
        margin-bottom: 0.25rem;
    }

    .subtitle {
        font-size: clamp(0.95rem, 3.8vw, 1.25rem);
        margin-bottom: 1.15rem;
    }

    /* 4-Segment Responsive Format Switcher - fills width cleanly */
    .format-switcher-wrap {
        margin-bottom: 1.25rem;
        padding: 0;
        width: 100%;
    }

    .format-switcher {
        display: flex;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0.25rem;
        gap: 0.2rem;
        overflow-x: visible;
        box-sizing: border-box;
    }

    .format-tab {
        flex: 1;
        min-width: 0;
        padding: 0.5rem 0.2rem;
        font-size: 0.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.25rem;
        white-space: nowrap;
    }

    .tab-label-full {
        display: none !important;
    }

    .tab-label-short {
        display: inline !important;
    }

    /* Countdown Cards: edge-to-edge proportions (no shrunken zoomed-out look) */
    .countdown-grid,
    .countdown-grid.format-three {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.65rem;
        width: 100%;
        max-width: 100%;
        margin: 0 auto 1.25rem auto;
        box-sizing: border-box;
    }

    .countdown-card {
        padding: 1.15rem 0.5rem;
        border-radius: 1rem;
    }

    .countdown-number {
        font-size: clamp(2.4rem, 11.5vw, 3.2rem);
    }

    .countdown-label {
        font-size: 0.82rem;
        letter-spacing: 0.12em;
        margin-top: 0.5rem;
    }

    /* Timezone Bar */
    .timezone-wrap {
        margin: 0.5rem auto 1.25rem auto;
        font-size: 0.85rem;
        padding: 0.45rem 0.85rem;
        width: 100%;
        max-width: 320px;
        box-sizing: border-box;
    }

    .timezone-select {
        font-size: 0.8rem;
        padding: 0.35rem 0.75rem;
        max-width: 180px;
    }

    /* Facts Grid */
    .facts-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .fact-card {
        padding: 1.25rem 1rem;
    }
}

@media (max-width: 360px) {
    .header-brand {
        font-size: 0.92rem;
    }
    .format-tab {
        font-size: 0.72rem;
        padding: 0.45rem 0.1rem;
    }
    .countdown-card {
        padding: 0.9rem 0.35rem;
    }
    .countdown-number {
        font-size: 2.1rem;
    }
}

/* --------------------------------------------------------------------------
   Advent Calendar Section & Interactive 24 Doors Grid
   -------------------------------------------------------------------------- */
.advent-status-bar {
    max-width: 860px;
    margin: 1.5rem auto 1.25rem auto;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    padding: 0.85rem 1.25rem;
    border-radius: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.advent-status-text {
    font-size: 0.95rem;
    color: var(--gold-light);
    line-height: 1.5;
}

.advent-planner-prompt {
    display: inline-block;
    margin-left: 0.35rem;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.advent-text-link {
    background: transparent;
    border: none;
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
    transition: var(--transition-smooth);
}

.advent-text-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

.advent-planner-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.planner-active-badge {
    background: linear-gradient(135deg, rgba(201, 24, 59, 0.4), rgba(245, 158, 11, 0.3));
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
}

.advent-mini-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--snow-white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: inherit;
}

.advent-mini-btn:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: var(--gold);
    color: var(--gold-light);
}

.advent-controls {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.advent-progress-container {
    max-width: 860px;
    margin: 0 auto 1.5rem auto;
}

.advent-progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.advent-progress-meta strong {
    color: var(--gold);
}

.advent-progress-track {
    width: 100%;
    height: 12px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}

.advent-progress-fill {
    height: 100%;
    border-radius: 9999px;
    background: repeating-linear-gradient(
        -45deg,
        #c9183b,
        #c9183b 10px,
        #0d5e3c 10px,
        #0d5e3c 20px
    );
    box-shadow: 0 0 10px rgba(201, 24, 59, 0.6);
    transition: width 0.4s ease;
}

/* 24 Doors Grid */
.advent-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    max-width: 1080px;
    margin: 0 auto;
}

.advent-door {
    position: relative;
    aspect-ratio: 1 / 1.25;
    background: linear-gradient(160deg, rgba(22, 34, 56, 0.85) 0%, rgba(11, 19, 34, 0.95) 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.25);
    border-radius: 1rem;
    padding: 0.85rem 0.6rem 0.75rem 0.6rem;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    user-select: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.advent-door:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.35);
    border-color: var(--gold);
}

.door-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.door-ribbon {
    display: none;
}

.door-day-number {
    font-family: 'Berkshire Swash', cursive, serif;
    font-size: clamp(2rem, 3.2vw, 2.7rem);
    color: var(--gold-light);
    line-height: 1;
    margin-top: 0.15rem;
    margin-bottom: 0.35rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.door-tag-badge {
    font-size: 0.74rem;
    font-weight: 600;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    width: 100%;
    line-height: 1.25;
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 2.2em;
    padding: 0 0.25rem;
}

.door-status-icon {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.status-locked-icon,
.status-open-icon,
.status-opened-icon {
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    line-height: 1;
    transition: var(--transition-smooth);
    letter-spacing: 0.03em;
}

/* Door States */
.advent-door.door-locked {
    opacity: 0.65;
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.advent-door.door-locked .door-day-number {
    color: #64748b;
    text-shadow: none;
}

.advent-door.door-locked .status-open-icon,
.advent-door.door-locked .status-opened-icon {
    display: none;
}

.advent-door.door-locked .status-locked-icon {
    display: inline-flex;
    background: rgba(15, 23, 42, 0.6);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.advent-door.door-openable {
    background: linear-gradient(160deg, rgba(168, 28, 52, 0.4) 0%, rgba(15, 23, 42, 0.95) 100%);
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 18px rgba(245, 158, 11, 0.25);
}

.advent-door.door-openable:hover {
    border-color: var(--gold);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.5);
}

.advent-door.door-openable .door-day-number {
    color: #fbbf24;
    text-shadow: 0 0 14px rgba(245, 158, 11, 0.6), 0 2px 6px rgba(0, 0, 0, 0.9);
}

.advent-door.door-openable .status-locked-icon,
.advent-door.door-openable .status-opened-icon {
    display: none;
}

.advent-door.door-openable .status-open-icon {
    display: inline-flex;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.advent-door.door-openable:hover .status-open-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.65);
    transform: scale(1.05);
}

.advent-door.door-opened {
    background: linear-gradient(160deg, rgba(13, 94, 60, 0.45) 0%, rgba(10, 24, 20, 0.95) 100%);
    border-color: rgba(52, 211, 153, 0.5);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 16px rgba(16, 185, 129, 0.2);
}

.advent-door.door-opened:hover {
    border-color: #34d399;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6), 0 0 22px rgba(16, 185, 129, 0.4);
}

.advent-door.door-opened .door-day-number {
    color: #6ee7b7;
    text-shadow: 0 0 12px rgba(16, 185, 129, 0.5), 0 2px 6px rgba(0, 0, 0, 0.9);
}

.advent-door.door-opened .status-locked-icon,
.advent-door.door-opened .status-open-icon {
    display: none;
}

.advent-door.door-opened .status-opened-icon {
    display: inline-flex;
    background: rgba(16, 185, 129, 0.25);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.door-shake {
    animation: doorShakeKeyframes 0.5s ease-in-out;
}

@keyframes doorShakeKeyframes {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* Modal Dialog for Opened Door */
.advent-modal-card {
    background: linear-gradient(150deg, #0b1a2e 0%, #040d18 100%);
    border: 2px solid var(--gold);
    border-radius: 1.5rem;
    padding: 2.25rem;
    max-width: 560px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(245, 158, 11, 0.35);
    position: relative;
    text-align: center;
    overflow: hidden;
    animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.advent-modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.advent-modal-day-badge {
    background: linear-gradient(135deg, #c9183b, #b91c1c);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.advent-modal-tag {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
}

.advent-modal-icon-wrap {
    font-size: 3.5rem;
    margin: 0.5rem 0;
    line-height: 1;
    animation: gentleBounce 2s infinite ease-in-out;
}

@keyframes gentleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.advent-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 4vw, 1.85rem);
    color: var(--gold-light);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.advent-modal-body {
    color: #cbd5e1;
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
    text-align: left;
    max-height: 45vh;
    overflow-y: auto;
    padding-right: 0.4rem;
}

.advent-modal-body p {
    margin-bottom: 0.85rem;
}

.advent-confetti-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    pointer-events: none;
    z-index: 10;
    animation: confettiFall 1.2s forwards ease-out;
}

@keyframes confettiFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(350px) rotate(720deg); opacity: 0; }
}

.advent-link-btn {
    background: transparent;
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: var(--gold-light);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.65rem 1rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: inherit;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.advent-link-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
    color: #ffffff;
}

/* Floating Toast Notification */
.advent-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(14px);
    border: 1.5px solid var(--gold);
    color: var(--gold-light);
    padding: 0.85rem 1.6rem;
    border-radius: 9999px;
    font-size: 0.92rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(245, 158, 11, 0.35);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    text-align: center;
    max-width: 90vw;
}

.advent-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Homepage Spotlight Card for Advent Calendar */
.advent-spotlight-card {
    max-width: 900px;
    margin: 2.5rem auto 1.5rem auto;
    background: linear-gradient(135deg, rgba(201, 24, 59, 0.25) 0%, rgba(13, 94, 60, 0.25) 100%);
    border: 1.5px solid var(--gold);
    border-radius: 1.25rem;
    padding: 1.75rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.2);
    position: relative;
    overflow: hidden;
}

.advent-spotlight-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.25rem 0.85rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.advent-spotlight-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--snow-white);
    margin-bottom: 0.5rem;
}

.advent-spotlight-desc {
    color: #e2e8f0;
    font-size: 1rem;
    max-width: 680px;
    margin: 0 auto 1.25rem auto;
    line-height: 1.6;
}

/* Responsive Grid Breakpoints for Advent Calendar */
@media (max-width: 992px) {
    .advent-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .advent-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.65rem;
    }
    .advent-status-bar {
        flex-direction: column;
        text-align: center;
        padding: 0.75rem 1rem;
    }
    .advent-controls {
        justify-content: center;
        width: 100%;
    }
    .door-day-number {
        font-size: 1.8rem;
    }
    .door-tag-badge {
        font-size: 0.65rem;
    }
    .door-status-icon {
        font-size: 0.68rem;
        padding: 0.15rem 0.4rem;
    }
    .advent-modal-card {
        padding: 1.5rem 1.15rem;
        width: 95%;
    }
}

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

