/* ============================================================
   diwali.css — Royal Amber & Radiant Gold Diwali Theme
   Extends universal master layout from christmas.css
   ============================================================ */

@import './christmas.css';

:root {
  --accent-primary:   #FF8C00;
  --accent-secondary: #f59e0b;
  --bg-deep:          #1A0C00;
  --bg-mid:           #2D1400;
  --text-primary:     #FFFFFF;
  --text-muted:       #F5D0A9;
  --glow-color:       rgba(255, 140, 0, 0.45);
  --glow-color-gold:  rgba(245, 158, 11, 0.4);
}

/* Diwali Theme Typography — Whole Page Content Except Header & Footer */
main,
.section-1,
.section-2,
.content-main,
.content-block,
.sidebar,
.s2-banner,
.holiday-name,
.location-badge,
.countdown-wrapper,
.flip-tile,
.flip-tile__face,
.countdown-unit__label,
.countdown-unit__sep,
.share-btn,
.scroll-indicator,
.timeline,
.timeline__title,
.timeline__text,
.tradition-card,
.tradition-card__title,
.tradition-card__text,
.fun-facts,
.fun-fact-text,
.quiz__question,
.quiz-option,
.quiz__option,
.quiz__feedback,
.quiz__score-number,
.quiz__score-label,
.world-slider-card,
.world-slider__country,
.world-slider__text,
h1, h2, h3, h4, h5, h6 {
  font-family: 'Rozha One', 'Cinzel Decorative', 'Playfair Display', serif !important;
}

/* Header & Footer Clean Sans-Serif Typography Exception */
.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 Background Theme */
.section-1 {
  background: radial-gradient(ellipse 100% 90% at 50% 30%, #3A1B00 0%, #241000 50%, #120700 100%) !important;
}

.section-1::before {
  background: radial-gradient(circle, rgba(255, 140, 0, 0.25) 0%, rgba(245, 158, 11, 0.16) 45%, transparent 70%) !important;
}

.section-1__vignette {
  background: radial-gradient(ellipse 85% 85% at 50% 50%, transparent 45%, rgba(18, 7, 0, 0.8) 100%) !important;
}

/* Location Badge Theme */
.location-badge {
  background: rgba(255, 140, 0, 0.18) !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  color: #ffd700 !important;
  box-shadow: 0 4px 16px rgba(255, 140, 0, 0.25) !important;
}

/* Flip Tile Theme */
.flip-tile__face {
  background: linear-gradient(160deg, rgba(255, 140, 0, 0.35) 0%, rgba(26, 12, 0, 0.95) 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  border-top: 2px solid #f59e0b !important;
  text-shadow: 0 0 25px rgba(245, 158, 11, 0.5), 0 0 35px rgba(255, 140, 0, 0.6) !important;
}

.countdown-unit__label,
.countdown-unit__sep {
  color: #f59e0b !important;
}

/* Share Button Theme */
.share-btn {
  background: rgba(255, 140, 0, 0.25) !important;
  border: 1px solid rgba(245, 158, 11, 0.6) !important;
  box-shadow: 0 4px 20px rgba(255, 140, 0, 0.3) !important;
}

.share-btn:hover {
  background: rgba(245, 158, 11, 0.3) !important;
  border-color: #ffd700 !important;
}

/* Section 2 Cards & Banner Theme */
.s2-banner {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.3) 0%, rgba(45, 20, 0, 0.95) 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
}

.content-block,
.sidebar-card {
  background: rgba(45, 20, 0, 0.75) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

.content-block:hover,
.sidebar-card:hover {
  border-color: rgba(245, 158, 11, 0.65) !important;
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.15) !important;
}

/* Scroll Indicator Theme */
.scroll-indicator,
.scroll-indicator span,
.scroll-indicator__arrow {
  color: #f59e0b !important;
  border-color: #f59e0b !important;
}

/* Theme Quiz Overrides */
.quiz-option,
.quiz__option {
  background: rgba(45, 20, 0, 0.65) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.35) !important;
}

.quiz-option:hover:not(:disabled),
.quiz__option:hover:not(:disabled) {
  background: rgba(255, 140, 0, 0.35) !important;
  border-color: #f59e0b !important;
}

/* Responsive Mobile View Overrides (< 900px) */
@media (max-width: 900px) {
  .section-1 {
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    padding: 12px 16px clamp(14px, 3.2vh, 28px) 16px !important;
  }

  .scroll-indicator {
    bottom: clamp(14px, 3.2vh, 28px) !important;
  }
}

@media (max-width: 640px) {
  .flip-tile__face {
    font-family: 'Rozha One', 'Cinzel Decorative', serif !important;
    font-size: clamp(1.4rem, 4.8vw, 2.2rem) !important;
  }

  .countdown-unit__sep {
    font-family: 'Rozha One', serif !important;
    color: #f59e0b !important;
  }

  .countdown-unit__label {
    font-family: 'Outfit', 'Inter', sans-serif !important;
    color: #f59e0b !important;
    font-size: clamp(0.7rem, 2.2vw, 0.85rem) !important;
  }

  .holiday-title {
    font-size: clamp(2rem, 6.5vw, 3rem) !important;
  }
}
