/* ============================================================
   christmas.css — Christmas page theme
   ============================================================ */

:root {
  --accent-primary:   #c8102e;
  --accent-secondary: #ffd700;
  --bg-deep:          #040e04;
  --bg-mid:           #0a1a0a;
  --text-primary:     #f0ffe0;
  --text-muted:       #8aab8a;
  --glow-color:       rgba(200, 16, 46, 0.45);
  --glow-color-gold:  rgba(255, 215, 0, 0.4);
}

/* Universal Christmas Theme Font for Page Content & Countdown */
body,
.section-1, .section-1 *,
.section-2, .section-2 *,
.content-main, .content-main *,
.content-sidebar, .content-sidebar *,
h1, h2, h3, h4, h5, h6,
p, span, a, button, input, select, option, label, li, ul, ol, div, blockquote, cite {
  font-family: 'Mountains of Christmas', 'Cinzel Decorative', cursive, serif !important;
}

/* Header, Footer & Interlinking Cards Normal Clean Sans-Serif Typography */
.top-controls-row, .top-controls-row *,
.breadcrumb-pill, .breadcrumb-pill *,
.header-location-picker, .header-location-picker *,
.header-search-picker, .header-search-picker *,
.city-selector-header, .header-search-input,
.footer, .footer *,
.site-footer, .site-footer *,
.holiday-interlink-grid, .holiday-interlink-grid *,
.interlink-card, .interlink-card *,
.interlink-card__title, .interlink-card__date,
#heading-interlink + p {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

/* Section 1 — Full screen countdown */
.section-1 {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse 100% 90% at 50% 30%, #8b0c1b 0%, #520510 50%, #240206 85%, #120002 100%);
}

/* Ambient Candlelight / Gold Warmth Spotlight */
.section-1::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.18) 0%, rgba(200, 16, 46, 0.12) 45%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 1;
}

/* Canvas particle layer */
#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

/* Vignette overlay */
.section-1__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse 85% 85% at 50% 50%, transparent 45%, rgba(18, 0, 2, 0.75) 100%);
  pointer-events: none;
}

/* Single Breadcrumb Header */
.breadcrumb {
  position: absolute;
  top: var(--space-lg);
  left: var(--space-lg);
  z-index: var(--z-content);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 4px 14px;
  height: 31px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.breadcrumb:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.28);
  transform: translateX(-2px);
}
.breadcrumb svg { width: 14px; height: 14px; }

/* Hero content */
.section-1__content {
  position: relative;
  z-index: var(--z-content);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}

.holiday-icon {
  font-size: 4rem;
  display: block;
  filter: drop-shadow(0 0 24px rgba(225,29,72,0.6)) drop-shadow(0 0 48px rgba(255,215,0,0.4));
  animation: floatIcon 4s ease-in-out infinite;
}
@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%       { transform: translateY(-10px) rotate(3deg); }
}

.holiday-name {
  font-family: 'Mountains of Christmas', 'Cinzel Decorative', serif;
  font-size: clamp(2.8rem, 6.8vw, 4.8rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.45);
}

/* Live Location Badge */
.location-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: rgba(225, 29, 72, 0.14);
  border: 1px solid rgba(225, 29, 72, 0.35);
  font-family: 'Inter', sans-serif;
  font-size: var(--text-xs);
  font-weight: 600;
  color: #ffe4e6;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.2);
}

/* --- Flip countdown --- */
.countdown-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(8px, 2vw, 24px);
  margin: var(--space-md) auto;
  width: fit-content;
  text-align: center;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.flip-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* Individual flip tile with Crimson Red top accent */
.flip-tile {
  width: clamp(50px, 10vw, 90px);
  height: clamp(70px, 14vw, 124px);
  position: relative;
  perspective: 600px;
  font-variant-numeric: lining-figures tabular-nums !important;
}

.flip-tile__face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: 'Mountains of Christmas', 'Cinzel Decorative', cursive, serif !important;
  font-size: clamp(2.3rem, 6.5vw, 5.5rem);
  font-weight: 700;
  font-variant-numeric: lining-figures tabular-nums !important;
  -webkit-font-feature-settings: "lnum" 1, "tnum" 1 !important;
  font-feature-settings: "lnum" 1, "tnum" 1 !important;
  color: #ffffff;
  background: linear-gradient(160deg, rgba(225, 29, 72, 0.15) 0%, rgba(10, 26, 10, 0.95) 100%);
  border: 1px solid rgba(225, 29, 72, 0.35);
  border-top: 2px solid #e11d48;
  border-radius: var(--radius-sm);
  backface-visibility: hidden;
  line-height: 1;
  text-shadow: 0 0 25px rgba(255, 215, 0, 0.4), 0 0 35px rgba(225, 29, 72, 0.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 4px 16px rgba(0,0,0,0.5);
}
.flip-tile__face--back { transform: rotateX(180deg); }

.flip-tile.flipping .flip-tile__face--front {
  animation: flipFront 0.3s ease-in forwards;
}
.flip-tile.flipping .flip-tile__face--back {
  animation: flipBack 0.3s ease-out 0.25s forwards;
}

@keyframes flipFront {
  from { transform: rotateX(0deg); }
  to   { transform: rotateX(-90deg); }
}
@keyframes flipBack {
  from { transform: rotateX(90deg); }
  to   { transform: rotateX(0deg); }
}

/* Shelf line across middle */
.flip-tile::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0,0,0,0.5);
  z-index: 2;
  pointer-events: none;
}

.countdown-unit__sep {
  font-family: 'Mountains of Christmas', 'Cinzel Decorative', cursive, serif !important;
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #ffd700;
  margin-top: clamp(8px, 2vw, 16px);
  line-height: 1;
  text-shadow: 0 0 16px rgba(255, 215, 0, 0.4);
}

.countdown-unit__label {
  font-family: 'Mountains of Christmas', 'Cinzel Decorative', cursive, serif !important;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffd700;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
}

/* Celebration state */
.celebration-banner {
  display: none;
  font-family: 'Mountains of Christmas', 'Cinzel Decorative', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--accent-secondary);
  text-shadow: 0 0 60px var(--glow-color-gold);
  animation: celebPulse 1.5s ease-in-out infinite;
}
.celebration-banner.visible { display: block; }
@keyframes celebPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.8; transform: scale(1.03); }
}

/* Live clock */
.live-clock {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
}

/* --- Share Container & Popover Card --- */
.share-container {
  position: relative;
  display: inline-block;
  margin-top: clamp(12px, 2vw, 24px);
  z-index: 100;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: 'Inter', sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.share-btn:hover,
.share-btn.active {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.share-btn svg {
  width: 16px;
  height: 16px;
}

.share-popover[hidden] {
  display: none !important;
}

.share-popover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 250;
  width: max-content;
  background: rgba(8, 22, 8, 0.96);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 6px 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.85), 0 0 24px rgba(34, 197, 94, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: popoverCenterPop 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popoverCenterPop {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.share-popover__logos {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-logo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.share-logo-btn svg {
  width: 20px;
  height: 20px;
}

.share-logo-btn:hover {
  transform: scale(1.15);
  filter: brightness(1.2);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Brand Colors */
.share-logo-btn--wa { background: #25D366; }
.share-logo-btn--fb { background: #1877F2; }
.share-logo-btn--tw { background: #000000; border: 1px solid rgba(255, 255, 255, 0.3); }
.share-logo-btn--rd { background: #FF4500; }
.share-logo-btn--copy { background: #ffd700; color: #040e04; }

.share-logo-btn--copy.copied {
  background: #22c55e !important;
  color: #ffffff !important;
}

.share-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: 'Inter', sans-serif;
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.share-pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.share-pill:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Hover Brand colors */
.share-pill--wa:hover { background: #25D366; border-color: #25D366; color: #fff; }
.share-pill--fb:hover { background: #1877F2; border-color: #1877F2; color: #fff; }
.share-pill--tw:hover { background: #1DA1F2; border-color: #1DA1F2; color: #fff; }
.share-pill--rd:hover { background: #FF4500; border-color: #FF4500; color: #fff; }
.share-pill--copy:hover { background: var(--accent-gold); border-color: var(--accent-gold); color: #040e04; }

.share-pill.copied {
  background: #22c55e !important;
  border-color: #22c55e !important;
  color: #ffffff !important;
}

/* Scroll indicator (Desktop & Mobile: Arrow stacked just below text) */
.scroll-indicator {
  position: absolute;
  bottom: clamp(28px, 4.5vh, 52px);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-content);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #f59e0b;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  opacity: 1;
  transition: opacity var(--transition-slow);
  cursor: pointer;
  text-align: center;
}
.scroll-indicator.hidden { opacity: 0; pointer-events: none; }
.scroll-indicator span {
  display: block;
  text-align: center;
  margin: 0 auto;
  color: #f59e0b;
}
.scroll-indicator__arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid #f59e0b;
  border-bottom: 2px solid #f59e0b;
  transform: rotate(45deg);
  animation: bounce 2s ease-in-out infinite;
  display: block;
  margin: 2px auto 0 auto;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(5px); }
}

/* Section 2 Christmas overrides */
.section-2 { background: #120002; }
.content-block { border-color: rgba(225,29,72,0.15); }
.content-block:hover { border-color: rgba(225,29,72,0.3); background: rgba(225,29,72,0.04); transition: border-color var(--transition-base), background var(--transition-base); }

/* All Christmas Section 2 Headings (History & Origins, Celebrations & Traditions, Did You Know?, Christmas Trivia Quiz, Christmas Essentials, etc.) */
.content-block__heading,
.s2-banner__title,
.tradition-card__title,
.world-slider__title,
.section-2 h2,
.section-2 h3 {
  font-family: 'Mountains of Christmas', 'Cinzel Decorative', cursive, serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  color: #ffffff;
}

/* Christmas-specific section 2 hero banner */
.s2-banner {
  background: linear-gradient(135deg, rgba(200,16,46,0.12), rgba(255,215,0,0.08));
  border: 1px solid rgba(200,16,46,0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.s2-banner__icon { font-size: 3rem; flex-shrink: 0; }
.s2-banner__text { flex: 1; }
.s2-banner__title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 4px;
}
.s2-banner__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Top Controls Row Header Overlay on Countdown Page (Matching User Screenshot Layout) */
.section-1 .top-controls-row {
  position: absolute !important;
  top: 1.5rem !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 38px !important;
  padding: 0 2rem !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  z-index: 100 !important;
  box-sizing: border-box !important;
}

/* Search Button Centered Dead-Middle Between Left and Right Buttons */
.section-1 .header-search-center {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 10 !important;
}

.section-1 .breadcrumb-pill,
.section-1 .breadcrumb,
.section-1 .header-search-picker,
.section-1 .header-location-picker {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  align-self: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  border-radius: 9999px !important;
  padding: 0 16px !important;
  color: #ffffff !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  vertical-align: middle !important;
}

.section-1 .breadcrumb-pill:hover,
.section-1 .breadcrumb:hover,
.section-1 .header-search-picker:hover,
.section-1 .header-location-picker:hover {
  border-color: #f59e0b !important;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.45) !important;
  color: #ffd700 !important;
}

/* Responsive Layouts (iPad & Mobile Single Top Line Header) */
@media (max-width: 900px) {
  .top-controls-row {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 1rem 1rem;
    box-sizing: border-box;
    z-index: 100;
  }

  .top-controls-row .breadcrumb {
    position: static !important;
    flex: 0 0 auto !important;
    padding: 4px 6px !important;
    font-size: 11px !important;
    height: 30px !important;
    margin: 0 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    width: auto !important;
    max-width: none !important;
  }

  .top-controls-row .header-location-picker {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    order: 2 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    justify-content: center !important;
  }

  .top-controls-row .header-search-center {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    order: 3 !important;
    flex: 0 0 auto !important;
    width: 30px !important;
    height: 30px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .top-controls-row .header-search-picker,
  .header-search-center .header-search-picker {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
  }

  .top-controls-row .header-search-icon {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }

  .top-controls-row .header-search-input {
    display: none !important;
  }

  .share-container {
    margin-top: 4px;
    margin-bottom: 4px;
  }
  .section-1 {
    position: relative !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    overflow: hidden !important;
    padding: 8px 12px 16px 12px !important;
    box-sizing: border-box !important;
  }
  .section-1__content {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    gap: clamp(4px, 1.2vh, 10px) !important;
    padding-bottom: 40px !important;
  }
  /* Line 7: Mobile View Transparent Scroll Indicator inside Section 1 */
  .scroll-indicator {
    position: absolute !important;
    bottom: clamp(14px, 3.2vh, 28px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: auto !important;
    gap: 4px !important;
    box-sizing: border-box !important;
    z-index: 100 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .scroll-indicator span {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: #f59e0b !important;
    white-space: nowrap !important;
    display: block !important;
  }

  .scroll-indicator__arrow {
    width: 9px !important;
    height: 9px !important;
    border-right: 2px solid #f59e0b !important;
    border-bottom: 2px solid #f59e0b !important;
    transform: rotate(45deg) !important;
    animation: bounce 2s ease-in-out infinite !important;
    display: block !important;
    margin: 2px auto 0 auto !important;
  }
  @keyframes bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50%       { transform: rotate(45deg) translateY(5px); }
  }
}

@media (max-width: 640px) {
  .countdown-wrapper {
    gap: clamp(2px, 1.2vw, 6px);
    margin-top: 14px;
    margin-bottom: 14px;
    margin-left: 0.25rem !important;
    margin-right: 0.25rem !important;
    width: auto;
    justify-content: center;
    box-sizing: border-box;
  }
  .flip-group {
    gap: 2px;
  }
  .flip-tile {
    width: clamp(30px, 8.5vw, 42px);
    height: clamp(46px, 12.5vw, 64px);
  }
  .flip-tile__face {
    font-family: 'Mountains of Christmas', 'Cinzel Decorative', cursive, serif !important;
    font-size: clamp(1.4rem, 4.8vw, 2.2rem);
    border-radius: 4px;
  }
  .countdown-unit__sep {
    font-family: 'Mountains of Christmas', 'Cinzel Decorative', cursive, serif !important;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    margin-top: 4px;
    color: #ffd700;
  }
  .countdown-unit__label {
    font-family: 'Mountains of Christmas', 'Cinzel Decorative', cursive, serif !important;
    font-size: clamp(0.75rem, 2.4vw, 0.95rem);
    letter-spacing: 0.08em;
    color: #ffd700;
  }
  .holiday-icon { font-size: 2.8rem; }
  .holiday-name { font-size: clamp(2.2rem, 7vw, 3.2rem); }
  .location-badge { font-size: 11px; padding: 3px 10px; margin-bottom: 12px; }
  .s2-banner { flex-direction: column; text-align: center; }
}

/* --- Sidebar Around the World Carousel --- */
.world-slider-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 20px;
  min-height: 270px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.world-slider__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.world-slider__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.world-slider__counter {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.world-slider__slide {
  min-height: 135px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: slideFadeIn 0.3s ease-out;
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: translateX(8px); }
  to   { opacity: 1; transform: translateX(0); }
}

.world-slider__country-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.world-slider__flag {
  font-size: 1.8rem;
  line-height: 1;
}

.world-slider__country {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.world-slider__text {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.world-slider__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.world-slider__btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  transition: all var(--transition-fast);
}

.world-slider__btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.08);
}

.world-slider__dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.world-slider__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.2s ease;
}

.world-slider__dot.active {
  background: var(--accent-gold);
  width: 16px;
  border-radius: 4px;
}
