/* Christmas Holiday Theme Typography Rules
   This file is loaded ONLY by christmas/index.html — NOT imported by other holidays.
   christmas.css is the shared base layout imported by all 16 other holiday CSS files. */

/* 1. All Christmas Headings, Titles, Cards, Timeline, Quiz, Quote, and Countdown Tiles use 'Mountains of Christmas' in CRISP WHITE (#ffffff) */
h1.holiday-title, #holiday-title, .holiday-name, #holiday-name,
.content-block__heading, .timeline__title, .tradition-card__title,
.quote-block__text, .s2-banner__title,
.countdown-unit__label, .countdown-unit__sep,
.flip-tile span, .flip-card__top span, .flip-card__bottom span,
.flip-card__leaf-top span, .flip-card__leaf-bottom span {
  font-family: 'Mountains of Christmas', cursive, serif !important;
  color: #ffffff !important;
  text-shadow: 0 0 16px rgba(255, 215, 0, 0.6), 0 0 28px rgba(200, 16, 46, 0.5) !important;
}

/* 2. Top Header Bar Controls & Bottom Footer Navigation use clean Inter UI font */
.top-controls-row, .top-controls-row *,
.site-footer, .site-footer * {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}


/* ============================================================
   100% SOLID FULL-HEIGHT DIGIT CARDS — ZERO HALF CUTTING
   ============================================================ */
.flip-card__bottom,
.flip-card__leaf-top,
.flip-card__leaf-bottom,
.flip-tile::after {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
}

.flip-tile {
  position: relative !important;
  perspective: none !important;
  transform-style: flat !important;
  overflow: hidden !important;
}

.flip-card__top {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
  background: var(--bg-mid, rgba(18, 38, 30, 0.85)) !important;
  border: 1.5px solid var(--accent-secondary, rgba(245, 158, 11, 0.5)) !important;
  border-radius: var(--radius-md, 12px) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

.flip-card__top span {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  transform: none !important;
}



/* ============================================================
   100% ALWAYS VISIBLE SHARE BUTTON & CONTAINER SYSTEM
   ============================================================ */
.section-1 {
  overflow: visible !important;
}

.section-1__content {
  overflow: visible !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.share-container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0.75rem auto !important;
  position: relative !important;
  z-index: 99999 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.share-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 8px 24px !important;
  height: 42px !important;
  min-height: 42px !important;
  background: rgba(11, 25, 20, 0.9) !important;
  border: 1.5px solid #f59e0b !important;
  border-radius: 9999px !important;
  color: #ffffff !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  cursor: pointer !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35) !important;
  transition: all 0.25s ease !important;
  outline: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  -webkit-tap-highlight-color: transparent !important;
}

.share-btn:hover,
.share-btn:focus-visible {
  border-color: #ffd700 !important;
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.6) !important;
  transform: translateY(-2px) !important;
}

.share-btn.copied {
  background: #059669 !important;
  border-color: #34d399 !important;
  color: #ffffff !important;
  box-shadow: 0 0 24px rgba(52, 211, 153, 0.7) !important;
}

.share-btn svg {
  stroke: #f59e0b !important;
  width: 18px !important;
  height: 18px !important;
  transition: stroke 0.2s ease !important;
}

.share-btn:hover svg,
.share-btn.copied svg {
  stroke: #ffffff !important;
}



/* ============================================================
   ROYAL SOLSTICE FLOATING SHARE OVERLAY (OFFICIAL BRAND COLOURS)
   ============================================================ */
.share-container {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 1.25rem auto 0.5rem auto !important;
  z-index: 99999 !important;
}

.share-popover {
  position: absolute !important;
  bottom: calc(100% + 14px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 16px !important;
  background: rgba(11, 25, 20, 0.95) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.6) !important;
  border-radius: 9999px !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 158, 11, 0.3) !important;
  white-space: nowrap !important;
  z-index: 100000 !important;
  animation: popoverOverlayIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.share-popover::after {
  content: '' !important;
  position: absolute !important;
  bottom: -8px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 0 !important;
  height: 0 !important;
  border-left: 8px solid transparent !important;
  border-right: 8px solid transparent !important;
  border-top: 8px solid rgba(245, 158, 11, 0.8) !important;
}

.share-popover[hidden] {
  display: none !important;
}

@keyframes popoverOverlayIn {
  from { opacity: 0; transform: translate(-50%, 10px) scale(0.92); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

.share-popover-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 7px 14px !important;
  border-radius: 9999px !important;
  color: #ffffff !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  outline: none !important;
  border: none !important;
}

.share-popover-item:hover {
  transform: translateY(-3px) scale(1.05) !important;
  filter: brightness(1.15) !important;
}

/* Original Platform Brand Colors */
.share-wa {
  background: #25D366 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45) !important;
}

.share-tw {
  background: #000000 !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2) !important;
}

.share-rd {
  background: #FF4500 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(255, 69, 0, 0.45) !important;
}

.share-fb {
  background: #1877F2 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45) !important;
}

.share-copy {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #0b1914 !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45) !important;
}

.share-copy.copied {
  background: #059669 !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.7) !important;
}



/* ============================================================
   ROYAL SOLSTICE CIRCULAR SHARE ICONS (42px Round Circles)
   ============================================================ */
.share-popover {
  position: absolute !important;
  bottom: calc(100% + 14px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 18px !important;
  background: rgba(11, 25, 20, 0.95) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.6) !important;
  border-radius: 9999px !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 158, 11, 0.3) !important;
  white-space: nowrap !important;
  z-index: 100000 !important;
}

.share-popover-item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  outline: none !important;
  border: none !important;
  box-sizing: border-box !important;
}

.share-popover-item:hover {
  transform: translateY(-3px) scale(1.12) !important;
  filter: brightness(1.18) !important;
}



/* ============================================================
   1:1 MATCHED MOCKUP — FLOATING CIRCULAR SHARE BAR CONTAINER
   ============================================================ */
.share-container {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 1.25rem auto 0.5rem auto !important;
  z-index: 99999 !important;
}

.share-popover {
  position: absolute !important;
  bottom: calc(100% + 14px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  padding: 10px 22px !important;
  background: #091712 !important;
  border: 1.5px solid #f59e0b !important;
  border-radius: 9999px !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.35) !important;
  white-space: nowrap !important;
  z-index: 100000 !important;
}

.share-popover[hidden] {
  display: none !important;
}

.share-popover-item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, filter 0.2s ease !important;
  outline: none !important;
  border: none !important;
  box-sizing: border-box !important;
}

.share-popover-item:hover {
  transform: translateY(-2px) scale(1.08) !important;
  filter: brightness(1.15) !important;
}

.share-wa {
  background: #25D366 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45) !important;
}

.share-fb {
  background: #1877F2 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45) !important;
}

.share-tw {
  background: #000000 !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2) !important;
}

.share-rd {
  background: #FF4500 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(255, 69, 0, 0.45) !important;
}

.share-copy {
  background: #ffd700 !important;
  color: #0b1914 !important;
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.45) !important;
}

.share-copy.copied {
  background: #059669 !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.7) !important;
}



/* ============================================================
   PERFECT MOBILE RESPONSIVE COUNTDOWN SCALING (ZERO OVERFLOW)
   ============================================================ */
@media (max-width: 600px) {
  .section-1 {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    padding-top: 4.5rem !important;
    padding-bottom: 2rem !important;
    box-sizing: border-box !important;
  }

  .section-1__content {
    padding: 0 0.5rem !important;
    gap: 0.6rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .countdown-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: clamp(2px, 1.2vw, 6px) !important;
    margin: 0.4rem auto !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .countdown-unit {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .flip-group {
    display: flex !important;
    flex-direction: row !important;
    gap: 2px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .flip-tile {
    width: clamp(28px, 7.8vw, 40px) !important;
    height: clamp(42px, 11.5vw, 60px) !important;
    min-width: unset !important;
    max-width: unset !important;
    border-radius: 8px !important;
    margin: 0 !important;
  }

  .flip-card__top span,
  .flip-card__bottom span,
  .flip-card__leaf-top span,
  .flip-card__leaf-bottom span,
  .flip-tile span,
  .flip-tile__face {
    font-size: clamp(1.3rem, 5.2vw, 2.0rem) !important;
    line-height: 1 !important;
  }

  .countdown-unit__sep {
    font-size: clamp(1.1rem, 4.2vw, 1.6rem) !important;
    padding: 0 1px !important;
    margin-top: 10px !important;
    line-height: 1 !important;
  }

  .countdown-unit__label {
    font-size: clamp(0.55rem, 1.8vw, 0.70rem) !important;
    letter-spacing: 0.06em !important;
    margin-top: 4px !important;
    white-space: nowrap !important;
  }

  .share-container {
    margin: 0.6rem auto 0.2rem auto !important;
    width: 100% !important;
  }

  .share-now-btn {
    height: 38px !important;
    padding: 6px 20px !important;
    font-size: 0.82rem !important;
  }

  .share-circle-overlay {
    gap: 8px !important;
    padding: 8px 12px !important;
    max-width: 95vw !important;
  }

  .share-circle-item {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
  }

  .share-circle-item svg {
    width: 18px !important;
    height: 18px !important;
  }

  .location-badge {
    padding: 4px 12px !important;
    font-size: 0.75rem !important;
    margin-bottom: 0.2rem !important;
  }
}

@media (max-width: 380px) {
  .flip-tile {
    width: clamp(24px, 7.2vw, 32px) !important;
    height: clamp(36px, 10.5vw, 48px) !important;
  }

  .flip-card__top span,
  .flip-tile span {
    font-size: clamp(1.1rem, 4.8vw, 1.6rem) !important;
  }

  .countdown-unit__label {
    font-size: 0.52rem !important;
    letter-spacing: 0.04em !important;
  }
}



/* ============================================================
   CLEAN RECTANGULAR COUNTDOWN TILES (NO EGG / OVAL SHAPE)
   ============================================================ */
.flip-tile {
  width: clamp(52px, 7.5vw, 84px) !important;
  height: clamp(72px, 10.5vw, 116px) !important;
  border-radius: 12px !important;
  border: 1.5px solid rgba(245, 158, 11, 0.6) !important;
  border-top: 3px solid #f59e0b !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  aspect-ratio: 3 / 4.2 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.flip-card__top,
.flip-card__bottom,
.flip-card__leaf-top,
.flip-card__leaf-bottom,
.flip-tile__face {
  border-radius: 10px !important;
}

.flip-card__top span,
.flip-card__bottom span,
.flip-tile span,
.flip-tile__face span {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem) !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@media (max-width: 600px) {
  .flip-tile {
    width: clamp(34px, 8.8vw, 44px) !important;
    height: clamp(48px, 12.2vw, 62px) !important;
    border-radius: 6px !important;
    aspect-ratio: 3 / 4.2 !important;
  }

  .flip-card__top,
  .flip-card__bottom,
  .flip-tile__face {
    border-radius: 5px !important;
  }

  .flip-card__top span,
  .flip-tile span,
  .flip-tile__face span {
    font-size: clamp(1.4rem, 5.5vw, 2.2rem) !important;
    line-height: 1 !important;
  }
}

@media (max-width: 380px) {
  .flip-tile {
    width: clamp(28px, 7.8vw, 36px) !important;
    height: clamp(40px, 11vw, 52px) !important;
    border-radius: 5px !important;
  }

  .flip-card__top span,
  .flip-tile span {
    font-size: clamp(1.2rem, 5vw, 1.8rem) !important;
  }
}

