/* ==========================================================================
   DAILY THOUGHTS - PRODUCTION STYLESHEET (v6.0)
   ========================================================================== */
/* ==========================================================================
   DESIGN TOKENS — LIGHT, AIRY, EDITORIAL, ALIVE (WHITE-FIRST)
   ========================================================================== */
:root {
  --bg-page: #FFFFFF;
  --bg-warm: #FBFAF7;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F6F4F0;
  --bg-glass: rgba(255, 255, 255, 0.88);
  
  --hairline: #EEEAF5;
  --border-subtle: rgba(27, 24, 64, 0.08);
  --border-hover: rgba(67, 56, 202, 0.25);
  
  --text-ink: #1B1840;
  --text-body: #4A4668;
  --text-muted: #8E8AA8;
  
  --indigo: #4338CA;
  --indigo-soft: #EEF2FF;
  --saffron: #F59E0B;
  --saffron-soft: #FEF3C7;
  --coral: #F43F5E;
  --coral-soft: #FFE4E6;
  --teal: #14B8A6;
  --teal-soft: #CCFBF1;
  --violet: #8B5CF6;
  --violet-soft: #F3E8FF;
  --gold: #D97706;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-ui: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-gu: 'Noto Sans Gujarati', 'Shruti', 'Gujarati Sangam MN', 'Nirmala UI', sans-serif;
  --font-hi: 'Noto Sans Devanagari', 'Mangal', 'Devanagari Sangam MN', 'Nirmala UI', sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(27, 24, 64, 0.04);
  --shadow-md: 0 10px 25px -4px rgba(27, 24, 64, 0.06), 0 4px 10px -2px rgba(27, 24, 64, 0.03);
  --shadow-lg: 0 20px 40px -8px rgba(27, 24, 64, 0.08), 0 8px 16px -4px rgba(27, 24, 64, 0.04);
  --shadow-glow: 0 0 40px rgba(67, 56, 202, 0.15);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --bg-page: #0B0A17;
  --bg-warm: #110F24;
  --bg-surface: #171530;
  --bg-subtle: #211E42;
  --bg-glass: rgba(23, 21, 48, 0.9);
  
  --hairline: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(139, 92, 246, 0.45);
  
  --text-ink: #F9FAFB;
  --text-body: #D1D5DB;
  --text-muted: #9CA3AF;
  
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 50px rgba(139, 92, 246, 0.25);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ui);
  background-color: #FAF6F0;
  background-image: 
    radial-gradient(ellipse 75% 55% at 88% -5%, rgba(245, 158, 11, 0.30) 0%, transparent 65%),
    radial-gradient(ellipse 65% 50% at 8% 22%, rgba(244, 63, 94, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 75% 55% at 92% 62%, rgba(99, 102, 241, 0.24) 0%, transparent 60%),
    radial-gradient(ellipse 65% 50% at 10% 88%, rgba(20, 184, 166, 0.22) 0%, transparent 60%),
    radial-gradient(circle at 50% 40%, rgba(254, 243, 199, 0.35) 0%, transparent 75%),
    linear-gradient(180deg, #FFFDFB 0%, #FAF5EE 45%, #F4ECE1 100%);
  background-attachment: fixed;
  color: var(--text-ink);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
  padding-bottom: 90px;
}

[data-theme="dark"] body {
  background-color: #070614;
  background-image: 
    radial-gradient(ellipse 80% 55% at 88% -5%, rgba(245, 158, 11, 0.38) 0%, transparent 65%),
    radial-gradient(ellipse 65% 50% at 8% 25%, rgba(139, 92, 246, 0.42) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 92% 65%, rgba(67, 56, 202, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse 65% 50% at 12% 90%, rgba(14, 165, 233, 0.32) 0%, transparent 60%),
    linear-gradient(180deg, #070614 0%, #120E2E 45%, #050410 100%);
  background-attachment: fixed;
}

@media (min-width: 1024px) {
  body { padding-bottom: 0; }
}

/* Subtle Grain Overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Reading Progress Bar */
#progressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--saffron), var(--coral), var(--indigo));
  z-index: 1000;
  transition: width 0.1s linear;
}

/* Cursor Spotlight for PC */
.spotlight {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, rgba(245, 158, 11, 0.03) 45%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
@media (min-width: 1024px) {
  .spotlight { opacity: 1; }
}

/* Typography */
h1, h2, h3, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--text-ink);
}
.lang-gu { font-family: var(--font-gu) !important; line-height: 1.7; }
.lang-hi { font-family: var(--font-hi) !important; line-height: 1.7; }

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .container { padding: 0 36px; }
}

/* ==========================================================================
   SHARED HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-page);
  border-bottom: 1px solid var(--hairline);
  transition: all 0.3s var(--ease);
}
.site-header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* Brand Logo with animated Diya */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-ink);
}
.brand-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #FEF3C7 0%, #FEE2E2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
  position: relative;
}
[data-theme="dark"] .brand-icon-box {
  background: linear-gradient(135deg, #2D1B4E 0%, #1E1B4B 100%);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

/* Flickering Flame SVG Animation */
.flame-path {
  transform-origin: 50% 90%;
  animation: flickerFlame 2.2s infinite ease-in-out;
}
@keyframes flickerFlame {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.95; }
  25% { transform: scale(1.08, 0.92) rotate(-2deg); opacity: 1; }
  50% { transform: scale(0.94, 1.06) rotate(2deg); opacity: 0.9; }
  75% { transform: scale(1.04, 0.96) rotate(-1deg); opacity: 1; }
}
.diya-glow {
  animation: pulseGlow 3s infinite ease-in-out;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; filter: blur(3px); }
  50% { opacity: 0.85; filter: blur(6px); }
}

.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brand-tagline {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Nav Links (Desktop) */
.nav-menu {
  display: none;
  align-items: center;
  gap: 32px;
  list-style: none;
}
@media (min-width: 1024px) {
  .nav-menu { display: flex; }
}
.nav-link {
  text-decoration: none;
  color: var(--text-body);
  font-size: 0.93rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav-link:hover, .nav-link.active {
  color: var(--indigo);
}
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--indigo);
  border-radius: var(--radius-pill);
}
.badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--coral-soft);
  color: var(--coral);
  margin-left: 6px;
}

/* Header Actions: Language Pills + Theme Toggle */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switcher {
  display: inline-flex;
  background: var(--bg-subtle);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  padding: 3px;
}
.lang-pill {
  border: none;
  background: transparent;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.lang-pill.active {
  background: var(--bg-surface);
  color: var(--indigo);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
  background: var(--bg-surface);
  color: var(--text-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.icon-btn:hover {
  border-color: var(--border-hover);
  color: var(--indigo);
  transform: translateY(-1px);
}

/* Mobile Bottom Navigation Bar */
.mobile-tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 900;
  padding: 0 8px;
}
@media (min-width: 1024px) {
  .mobile-tab-bar { display: none; }
}
.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease);
}
.tab-item.active {
  color: var(--indigo);
}
.tab-item svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

/* ==========================================================================
   BUTTONS & CHIPS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s var(--ease);
}
.btn-primary {
  background: var(--indigo);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(67, 56, 202, 0.3);
}
.btn-primary:hover {
  background: #3730A3;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(67, 56, 202, 0.4);
}
.btn-secondary {
  background: var(--bg-subtle);
  color: var(--text-ink);
  border: 1px solid var(--hairline);
}
.btn-secondary:hover {
  background: var(--bg-page);
  border-color: var(--border-hover);
  color: var(--indigo);
  transform: translateY(-1px);
}
.btn-saffron {
  background: var(--saffron);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.btn-saffron:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
}

/* ==========================================================================
   HERO SECTION — WHITE FIRST WITH ANIMATED DIYA & FLOATING CLUSTER
   ========================================================================== */
.hero-section {
  padding: 56px 0 40px;
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(67, 56, 202, 0.04) 0%, transparent 50%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    padding: 40px 0 60px;
  }
}

/* Time of Day Sky Badge + Hero Badges Single-Line Row */
.hero-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .hero-badges-row {
    flex-wrap: nowrap;
  }
}
.time-sky-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: var(--saffron-soft);
  color: #92400E;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.2);
}
[data-theme="dark"] .time-sky-badge {
  background: rgba(245, 158, 11, 0.16);
  color: #FCD34D;
  border-color: rgba(245, 158, 11, 0.3);
}
.festival-alert-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(244, 63, 94, 0.10) 100%);
  color: #B45309;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.10);
  border: 1px solid rgba(245, 158, 11, 0.35);
  text-decoration: none;
  transition: all 0.25s var(--ease);
}
.festival-alert-pill:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(244, 63, 94, 0.18) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.20);
}
[data-theme="dark"] .festival-alert-pill {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(244, 63, 94, 0.18) 100%);
  color: #FCD34D;
  border-color: rgba(245, 158, 11, 0.45);
}
.fest-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F59E0B;
  flex-shrink: 0;
  animation: festPulse 2s infinite;
}
@keyframes festPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}
.sky-badge-icon {
  width: 18px;
  height: 18px;
  animation: rotateSlow 20s infinite linear;
}
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Hero Typography */
.hero-headline {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-ink);
}
.hero-headline .highlight-word {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 50%, var(--coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 580px;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Floating Card Cluster + Animated Diya Scene */
.hero-visual-stage {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Drifting Marigold Petals (Inline CSS Keyframes) */
.petal {
  position: absolute;
  width: 14px;
  height: 18px;
  background: radial-gradient(circle at 40% 40%, #F59E0B 0%, #D97706 100%);
  border-radius: 50% 50% 50% 10%;
  pointer-events: none;
  opacity: 0.7;
  filter: drop-shadow(0 2px 4px rgba(217, 119, 6, 0.3));
  animation: driftPetal 8s infinite linear;
}
.petal:nth-child(1) { top: -20px; left: 15%; animation-duration: 9s; animation-delay: 0s; transform: scale(0.9); }
.petal:nth-child(2) { top: -20px; left: 45%; animation-duration: 11s; animation-delay: 2.5s; transform: scale(1.2) rotate(45deg); }
.petal:nth-child(3) { top: -20px; left: 75%; animation-duration: 10s; animation-delay: 5s; transform: scale(0.8) rotate(-30deg); }
.petal:nth-child(4) { top: -20px; left: 90%; animation-duration: 12s; animation-delay: 1s; transform: scale(1) rotate(60deg); }
@keyframes driftPetal {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  15% { opacity: 0.85; }
  85% { opacity: 0.85; }
  100% { transform: translateY(460px) rotate(360deg); opacity: 0; }
}

/* Diya Aura Centerpiece */
.hero-diya-stage {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 3;
  filter: drop-shadow(0 8px 24px rgba(245, 158, 11, 0.45));
}

/* Floating Card Cluster (3 Overlapping Gradient Cards) */
.floating-cards-box {
  position: relative;
  width: 320px;
  height: 420px;
  perspective: 1000px;
}
@media (min-width: 480px) {
  .floating-cards-box { width: 340px; }
}

.float-card {
  position: absolute;
  width: 100%;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  color: #FFFFFF;
  box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(14px);
  user-select: none;
}
/* Fanned 5-Card Deck Positions (Distinct & Visibly Layered) */
.float-card.pos-0, .float-card.pos-front {
  top: 0;
  left: 0;
  z-index: 12;
  transform: translateY(0) scale(1) rotate(0deg);
  opacity: 1;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}
.float-card.pos-1 {
  top: 14px;
  left: 48px;
  z-index: 9;
  transform: translateY(0) scale(0.96) rotate(4.5deg);
  opacity: 0.95;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.28));
}
.float-card.pos-2 {
  top: 14px;
  left: -48px;
  z-index: 8;
  transform: translateY(0) scale(0.96) rotate(-4.5deg);
  opacity: 0.95;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.28));
}
.float-card.pos-3 {
  top: 28px;
  left: 88px;
  z-index: 6;
  transform: translateY(0) scale(0.91) rotate(9deg);
  opacity: 0.88;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.22));
}
.float-card.pos-4 {
  top: 28px;
  left: -88px;
  z-index: 5;
  transform: translateY(0) scale(0.91) rotate(-9deg);
  opacity: 0.88;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.22));
}

/* Interactive Cursor Spread (when hovering over stack, cards smoothly fan out wider) */
.floating-cards-box:hover .pos-0 {
  transform: translateY(-12px) scale(1.03);
}
.floating-cards-box:hover .pos-1 {
  transform: translateY(-8px) translateX(14px) scale(0.98) rotate(6deg);
  opacity: 1;
}
.floating-cards-box:hover .pos-2 {
  transform: translateY(-8px) translateX(-14px) scale(0.98) rotate(-6deg);
  opacity: 1;
}
.floating-cards-box:hover .pos-3 {
  transform: translateY(-4px) translateX(24px) scale(0.93) rotate(11deg);
  opacity: 0.96;
}
.floating-cards-box:hover .pos-4 {
  transform: translateY(-4px) translateX(-24px) scale(0.93) rotate(-11deg);
  opacity: 0.96;
}

/* Individual Card Hover */
.float-card:hover {
  z-index: 25 !important;
  transform: translateY(-16px) scale(1.05) rotate(0deg) !important;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.45)) !important;
  opacity: 1 !important;
}

/* Stack Indicator Dots below hero cards */
.stack-dots-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.stack-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(67, 56, 202, 0.16);
  border: 2px solid var(--indigo);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.stack-dot:hover {
  transform: scale(1.25);
  background: var(--indigo-soft);
}
.stack-dot.active {
  width: 32px;
  border-radius: var(--radius-pill);
  background: var(--indigo);
  box-shadow: 0 0 12px rgba(67, 56, 202, 0.45);
}

.card-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.card-quote-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 24px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.card-signature-seal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 14px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}
.signature-badge {
  font-weight: 600;
  color: #FEF08A;
}

/* ==========================================================================
   INFINITE MARQUEE RIBBON
   ========================================================================== */
.marquee-container {
  width: 100%;
  overflow: hidden;
  background: var(--bg-warm);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 16px 0;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: marqueeScroll 35s infinite linear;
}
.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  white-space: nowrap;
}
.marquee-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--saffron);
}

/* ==========================================================================
   TODAY'S SPECIAL CELEBRATION (FESTIVAL-MATCHED DYNAMIC LUXURY BANNER)
   ========================================================================== */
.special-celebration-wrap {
  margin: 48px auto 0;
}
.celebration-card {
  background: linear-gradient(135deg, #064E3B 0%, #047857 52%, #D97706 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 40px -10px rgba(15, 23, 42, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  color: #FFFFFF;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.celebration-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.22) 0%, transparent 55%);
  pointer-events: none;
}
.celebration-card::after,
.category-card-tile::after,
.timeline-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 65%;
  height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.16) 50%, transparent 80%);
  transform: skewX(-18deg);
  transition: left 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.celebration-card:hover::after,
.category-card-tile:hover::after,
.timeline-card:hover::after {
  left: 165%;
}
@media (min-width: 768px) {
  .celebration-card {
    flex-direction: row;
    align-items: center;
  }
}
.celebration-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -10px rgba(15, 23, 42, 0.34);
  border-color: rgba(255, 255, 255, 0.45);
}
.celebration-accent-pill {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  padding: 26px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  min-width: 195px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.celebration-accent-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
}
.celebration-body {
  padding: 26px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2;
}
@media (min-width: 768px) {
  .celebration-body {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.celebration-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.celebration-info h3 {
  font-size: 1.52rem;
  margin-bottom: 2px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 10px;
}
.celebration-info p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
}
.celebration-cta-btn {
  background: rgba(255, 255, 255, 0.94);
  color: #0F172A;
  border: 1px solid #FFFFFF;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.celebration-cta-btn:hover {
  background: #FFFFFF;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}
.celebration-bg-art {
  position: absolute;
  right: 12%;
  top: 50%;
  width: 190px;
  height: 190px;
  transform: translateY(-50%);
  opacity: 0.14;
  pointer-events: none;
  color: #FFFFFF;
  z-index: 1;
  transition: transform 0.7s var(--ease), opacity 0.4s var(--ease);
}
.celebration-card:hover .celebration-bg-art {
  transform: translateY(-50%) rotate(8deg) scale(1.06);
  opacity: 0.2;
}
.urgency-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FDE047;
  margin-right: 6px;
  vertical-align: middle;
  animation: urgencyPulse 1.8s infinite;
}
@keyframes urgencyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(253, 224, 71, 0.8); transform: scale(1); }
  60% { box-shadow: 0 0 0 7px rgba(253, 224, 71, 0); transform: scale(1.15); }
}

/* ==========================================================================
   BENTO GRID TILES
   ========================================================================== */
.section-title-wrap {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--indigo);
  margin-bottom: 8px;
  display: block;
}
.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 12px;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 64px;
}
@media (min-width: 768px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 240px;
  }
}

.bento-tile {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s var(--ease);
}
.bento-tile:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

/* Dedicated Responsive Grid for Categories Page */
.category-tiles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 36px;
}
@media (min-width: 640px) {
  .category-tiles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .category-tiles-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
@media (min-width: 1280px) {
  .category-tiles-grid { grid-template-columns: repeat(4, 1fr); }
}

.category-card-tile {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  color: #FFFFFF;
  box-shadow: 0 14px 32px -8px rgba(15, 23, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.category-card-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.24) 0%, transparent 52%);
  pointer-events: none;
}
.category-card-tile:hover {
  box-shadow: 0 22px 44px -10px rgba(15, 23, 42, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.45);
}
.category-card-tile.active {
  border-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.35), 0 18px 36px -8px rgba(15, 23, 42, 0.28);
}
.cat-emoji-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.3s var(--ease);
}
.category-card-tile:hover .cat-emoji-badge,
.timeline-card:hover .timeline-card-icon-badge {
  transform: scale(1.08) translateY(-2px);
}
.category-card-bg-svg {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 155px;
  height: 155px;
  opacity: 0.14;
  pointer-events: none;
  color: #FFFFFF;
  transition: transform 0.65s var(--ease), opacity 0.35s var(--ease);
}
.category-card-tile:hover .category-card-bg-svg {
  transform: rotate(9deg) scale(1.07);
  opacity: 0.22;
}
.cat-count-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}
@keyframes cardRevealUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.card-stagger-in {
  animation: cardRevealUp 0.45s var(--ease) both;
}

/* Specific Bento Tile Sizing */
.bento-thought-day {
  grid-column: span 12;
  background: radial-gradient(circle at 85% 15%, rgba(254, 240, 138, 0.40) 0%, transparent 45%), linear-gradient(135deg, #3730A3 0%, #6366F1 28%, #8B5CF6 55%, #DB2777 82%, #F43F5E 100%);
  color: #FFFFFF;
  min-height: 280px;
  box-shadow: 0 16px 36px -8px rgba(99, 102, 241, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
@media (min-width: 1024px) {
  .bento-thought-day {
    grid-column: span 7;
    grid-row: span 2;
  }
}
.bento-thought-day h3 { color: #FFFFFF; }
.bento-thought-day p { color: rgba(255, 255, 255, 0.9); }

.bento-mood-carousel {
  grid-column: span 12;
}
@media (min-width: 1024px) {
  .bento-mood-carousel {
    grid-column: span 5;
    grid-row: span 1;
  }
}

.bento-card-builder {
  grid-column: span 12;
}
@media (min-width: 1024px) {
  .bento-card-builder {
    grid-column: span 5;
    grid-row: span 2;
  }
}

.bento-languages {
  grid-column: span 12;
}
@media (min-width: 768px) {
  .bento-languages { grid-column: span 6; }
}
@media (min-width: 1024px) {
  .bento-languages {
    grid-column: span 4;
    grid-row: span 1;
  }
}

.bento-counters {
  grid-column: span 12;
}
@media (min-width: 768px) {
  .bento-counters { grid-column: span 6; }
}
@media (min-width: 1024px) {
  .bento-counters {
    grid-column: span 3;
    grid-row: span 1;
  }
}

/* Thought of the Day Styling */
.totd-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.4;
  margin: 16px 0 24px;
  font-weight: 600;
}
.totd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.totd-btn {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s var(--ease);
}
.totd-btn:hover {
  background: #FFFFFF;
  color: var(--indigo);
}

/* Live Card Builder Tile */
.builder-input {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  background: var(--bg-warm);
  color: var(--text-ink);
  margin-bottom: 12px;
}
.builder-preview-box {
  border-radius: var(--radius-md);
  padding: 20px;
  color: #FFFFFF;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  transition: transform 0.3s var(--ease);
}
.builder-preview-box:hover {
  transform: perspective(600px) rotateX(4deg) rotateY(-4deg);
}

/* Languages Animated Script Letters (Aa / અ / अ) */
.script-letters-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 20px 0;
}
.script-bubble {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease);
}
.script-bubble:hover {
  transform: scale(1.15) rotate(5deg);
}
.bubble-en { background: linear-gradient(135deg, var(--indigo), var(--violet)); }
.bubble-gu { background: linear-gradient(135deg, var(--saffron), var(--coral)); font-family: var(--font-gu); }
.bubble-hi { background: linear-gradient(135deg, var(--teal), var(--indigo)); font-family: var(--font-hi); }

/* Counter Numbers */
.counter-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--indigo);
  line-height: 1;
}

/* ==========================================================================
   LATEST THOUGHTS CARDS GRID (MASONRY)
   ========================================================================== */
.thoughts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 60px;
}
@media (min-width: 640px) {
  .thoughts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .thoughts-grid { grid-template-columns: repeat(3, 1fr); }
}

.thought-card {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  color: #FFFFFF;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  box-shadow: 0 10px 25px -4px rgba(27, 24, 64, 0.08), 0 4px 10px -2px rgba(27, 24, 64, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: all 0.35s var(--ease);
  overflow: hidden;
}
.thought-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.35) 0%, transparent 60%);
  pointer-events: none;
}
.thought-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 20px 42px -6px rgba(27, 24, 64, 0.16), 0 0 28px rgba(255, 255, 255, 0.22);
}

/* 16 ULTRA-MODERN GRADIENT COLORWAYS */
.card-grad-amber, .card-grad-golden-amber { background: linear-gradient(135deg, #92400E 0%, #D97706 45%, #F59E0B 100%); }
.card-grad-indigo, .card-grad-velvet-night { background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 45%, #4338CA 100%); }
.card-grad-emerald, .card-grad-royal-emerald { background: linear-gradient(135deg, #022C22 0%, #047857 45%, #10B981 100%); }
.card-grad-ruby, .card-grad-ruby-wine { background: linear-gradient(135deg, #4C0519 0%, #9F1239 45%, #E11D48 100%); }
.card-grad-violet, .card-grad-mystic-violet { background: linear-gradient(135deg, #3B0764 0%, #6B21A8 45%, #8B5CF6 100%); }
.card-grad-teal, .card-grad-aurora-teal { background: linear-gradient(135deg, #064E3B 0%, #0D9488 45%, #14B8A6 100%); }
.card-grad-sunset-coral { background: linear-gradient(135deg, #9F1239 0%, #E11D48 40%, #F97316 100%); }
.card-grad-sapphire-cyan { background: linear-gradient(135deg, #1E3A8A 0%, #0284C7 50%, #06B6D4 100%); }
.card-grad-terracotta-sun { background: linear-gradient(135deg, #9A3412 0%, #EA580C 50%, #FB923C 100%); }
.card-grad-electric-plum { background: linear-gradient(135deg, #581C87 0%, #9333EA 50%, #C084FC 100%); }
.card-grad-solar-flare { background: linear-gradient(135deg, #7C2D12 0%, #C2410C 40%, #FBBF24 100%); }
.card-grad-rose-gold { background: linear-gradient(135deg, #831843 0%, #BE185D 50%, #F472B6 100%); }
.card-grad-celestial-blue { background: linear-gradient(135deg, #172554 0%, #1D4ED8 50%, #38BDF8 100%); }
.card-grad-spring-meadow { background: linear-gradient(135deg, #14532D 0%, #15803D 50%, #84CC16 100%); }
.card-grad-diwali-fire { background: linear-gradient(135deg, #701A75 0%, #A21CAF 40%, #F59E0B 100%); }
.card-grad-deep-abyss { background: linear-gradient(135deg, #030712 0%, #111827 50%, #312E81 100%); }

/* Swatch Picker inside Builder Tile */
.swatch-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.swatch-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.swatch-btn:hover, .swatch-btn.active {
  transform: scale(1.22);
  border-color: var(--text-ink);
}

.card-content {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 18px 0 24px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.card-signature {
  font-size: 0.88rem;
  font-weight: 600;
  color: #FEF08A;
}
.card-btn-cluster {
  display: flex;
  gap: 7px;
  overflow: visible;
}
.card-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  position: relative;
}
.card-btn:hover {
  background: #FFFFFF;
  color: var(--text-ink);
  transform: scale(1.1);
}
.card-btn.favorited {
  background: #FFFFFF;
  color: var(--coral);
}
.card-btn.favorited svg,
.totd-btn.favorited svg {
  animation: heartPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.totd-btn.favorited {
  background: rgba(255, 255, 255, 0.94);
  color: #E11D48;
  border-color: #FFFFFF;
}
@keyframes heartPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.36); }
  100% { transform: scale(1); }
}

/* Animated Frosted Dark Hover Tooltips */
[data-tooltip] {
  position: relative;
}
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%) translateY(4px) scale(0.95);
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  z-index: 40;
}
[data-tooltip]::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  border-width: 6px 5px 0 5px;
  border-style: solid;
  border-color: rgba(15, 23, 42, 0.94) transparent transparent transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  z-index: 40;
}
[data-tooltip]:hover::after,
[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}
[data-tooltip]:hover::before,
[data-tooltip]:focus-visible::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
[data-tooltip-edge="end"]::after {
  left: auto;
  right: -2px;
  transform: translateY(4px) scale(0.95);
}
[data-tooltip-edge="end"]:hover::after,
[data-tooltip-edge="end"]:focus-visible::after {
  transform: translateY(0) scale(1);
}

/* ==========================================================================
   MODAL / BOTTOM SHEET (THOUGHT POPUP)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 38, 0.65);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-shell {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.96);
  transition: all 0.3s var(--ease);
  border: 1px solid var(--hairline);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-backdrop.open .modal-shell {
  transform: translateY(0) scale(1);
}

.modal-preview-card {
  padding: 40px 32px;
  border-radius: var(--radius-md);
  color: #FFFFFF;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}
.modal-quote {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.45;
  font-weight: 600;
}

/* Confetti Canvas */
#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2000;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--hairline);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-link {
  text-decoration: none;
  color: var(--text-body);
  font-size: 0.92rem;
  transition: color 0.2s var(--ease);
}
.footer-link:hover {
  color: var(--indigo);
}
.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==========================================================================
   INNER PAGES STYLING (Editorial Reading Layout)
   ========================================================================== */
.page-header {
  padding: 48px 0 32px;
  text-align: center;
}
.page-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 12px;
}
.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumbs a {
  color: var(--indigo);
  text-decoration: none;
}

/* Timeline for Festivals */
.timeline-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 32px 0 56px;
}
@media (min-width: 768px) {
  .timeline-strip { grid-template-columns: repeat(3, 1fr); }
}
.timeline-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #701A75 0%, #9F1239 50%, #F59E0B 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  color: #FFFFFF;
  box-shadow: 0 14px 32px -8px rgba(15, 23, 42, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
  cursor: pointer;
}
.timeline-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.22) 0%, transparent 50%);
  pointer-events: none;
}
.timeline-card:hover {
  box-shadow: 0 22px 42px -10px rgba(15, 23, 42, 0.32);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.48);
}
.timeline-card.active {
  border-color: #FDE047;
  box-shadow: 0 0 0 3px #F59E0B, 0 20px 40px -10px rgba(245, 158, 11, 0.45);
  transform: translateY(-5px);
}
.timeline-card-bg-svg {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 152px;
  height: 152px;
  opacity: 0.15;
  pointer-events: none;
  color: #FFFFFF;
  transition: transform 0.65s var(--ease), opacity 0.35s var(--ease);
}
.timeline-card:hover .timeline-card-bg-svg {
  transform: rotate(9deg) scale(1.07);
  opacity: 0.22;
}
.timeline-card-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.3s var(--ease);
}
.timeline-countdown-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  padding: 5px 14px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  backdrop-filter: blur(6px);
}

/* Legal Pages (Clean White Reading View with TOC) */
.legal-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin: 32px 0 64px;
}
@media (min-width: 1024px) {
  .legal-layout { grid-template-columns: 280px 1fr; }
}
.legal-toc {
  position: sticky;
  top: 100px;
  height: fit-content;
  background: var(--bg-warm);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 24px;
}
.legal-article {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  line-height: 1.8;
  color: var(--text-body);
}
.legal-article h2 {
  margin: 28px 0 12px;
  font-size: 1.6rem;
  color: var(--text-ink);
}
.legal-article p {
  margin-bottom: 16px;
}

/* 404 Diya Animation */
.diya-404 {
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
}

/* Toast Notification */
.toast-pill {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: var(--text-ink);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease);
}
.toast-pill.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
@media (min-width: 1024px) {
  .toast-pill { bottom: 32px; }
}

/* Hide Inactive Hash Pages */
.page-view {
  display: none;
}
.page-view.active {
  display: block;
  animation: fadeInPage 0.4s var(--ease);
}
@keyframes fadeInPage {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
