/* ==========================================================================
   खान्देशी जत्रा (Khandeshi Jatra) - Cinematic Animation Stylesheet
   Theme: Subtle, Decent, Festive Glassmorphism & Soft Floating Particles
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #0a0805;
  
  /* High-Transparency Glassmorphism */
  --bg-glass-player: rgba(10, 8, 5, 0.45);
  --bg-glass-badge: rgba(10, 8, 5, 0.45);
  --glass-blur: blur(10px);
  --border-subtle: 1px solid rgba(255, 255, 255, 0.15);

  /* Warm Brand Highlights */
  --gold-300: #fde68a;
  --gold-400: #fbbf24;
  --gold-500: #f59e0b;
  --gold-600: #d97706;
  --gold-glow: rgba(245, 158, 11, 0.22);
  --green-live: #22c55e;

  /* Typography */
  --text-primary: #ffffff;
  --text-secondary: #e6ded7;
  --text-muted: #b5a79b;

  --font-marathi: 'Tiro Devanagari Marathi', 'Noto Serif Devanagari', serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--bg-dark);
}

body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

/* --------------------------------------------------------------------------
   1. Fullscreen 16:9 Hero Background & Cinematic Motion
   -------------------------------------------------------------------------- */
.bg-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background-color: #000;
  pointer-events: none;
  animation: pageInitialFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.bg-image {
  position: absolute;
  inset: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform;
  animation: cinematicBreathing 18s ease-in-out infinite alternate;
}

/* Edge Vignette */
.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.22) 85%,
    rgba(10, 8, 5, 0.65) 100%
  );
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   2. Hanging Festival Lights & Firework Ambient Glow
   -------------------------------------------------------------------------- */
.lights-glow-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 35%;
  pointer-events: none;
  overflow: hidden;
}

.bulb-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(14px);
}

.glow-1 {
  top: 8%;
  left: 22%;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.22) 0%, transparent 70%);
  animation: ambientBulbPulse 4s ease-in-out infinite alternate;
}

.glow-2 {
  top: 5%;
  left: 50%;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 70%);
  animation: ambientBulbPulse 4.8s ease-in-out 1.2s infinite alternate;
}

.glow-3 {
  top: 9%;
  right: 24%;
  width: 95px;
  height: 95px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
  animation: ambientBulbPulse 3.8s ease-in-out 2.4s infinite alternate;
}

.firework-ambient-glow {
  position: absolute;
  top: 4%;
  right: 18%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.12) 0%, rgba(251, 191, 36, 0.08) 40%, transparent 70%);
  filter: blur(18px);
  animation: ambientFirework 7s ease-in-out infinite alternate;
}

/* --------------------------------------------------------------------------
   3. Night Sky Twinkling Stars
   -------------------------------------------------------------------------- */
.sky-stars-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 28%;
  pointer-events: none;
  overflow: hidden;
}

.sky-star {
  position: absolute;
  border-radius: 50%;
  background: #ffffff;
  pointer-events: none;
  animation: softTwinkle 4.5s ease-in-out infinite alternate;
}

/* --------------------------------------------------------------------------
   4. Floating Festive Dust Particles (Soft glowing upward float)
   -------------------------------------------------------------------------- */
.festive-dust-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.dust-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
  animation: floatUpward linear infinite;
}

.dust-gold {
  background: #fbbf24;
  box-shadow: 0 0 4px rgba(251, 191, 36, 0.55);
}

.dust-amber {
  background: #f59e0b;
  box-shadow: 0 0 3px rgba(245, 158, 11, 0.45);
}

.dust-white {
  background: #fffbf5;
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   5. Central Artwork Soft Golden Highlight Sweep
   -------------------------------------------------------------------------- */
.center-shine-sweep {
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 260px;
  background: radial-gradient(ellipse at center, rgba(251, 191, 36, 0.14) 0%, transparent 68%);
  filter: blur(20px);
  pointer-events: none;
  opacity: 0;
  animation: goldenSweep 10s ease-in-out 3s infinite;
}

/* --------------------------------------------------------------------------
   6. Top Header Badges & Tagline (Sequential Entrance)
   -------------------------------------------------------------------------- */
.top-badge {
  position: static;
  z-index: 40;
  background: var(--bg-glass-badge);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--border-subtle);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

/* Top Left Group: Listener Count + HBD SANDEEP Billboard */
.top-left-group {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  pointer-events: none;
}

.top-left-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  animation: fadeTranslateDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-live);
  box-shadow: 0 0 8px var(--green-live);
  animation: pulseGreen 2s infinite ease-in-out;
}

.listener-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}


/* Top Right: Date/Clock Widget & Fullscreen Button Group */
.top-right-group {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.top-right-badge {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  gap: 0.1rem;
  animation: fadeTranslateDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
  pointer-events: none;
}

.widget-time {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.widget-date {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gold-300);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Fullscreen Toggle Button (Icon Only, Placed Before Time Label) */
.top-fullscreen-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass-badge);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--border-subtle);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  color: #ffffff;
  cursor: pointer;
  outline: none;
  transition: transform var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  animation: fadeTranslateDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.top-fullscreen-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-400);
  color: var(--gold-300);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 12px var(--gold-glow);
}

.top-fullscreen-btn:active {
  transform: translateY(1px) scale(0.98);
}

.top-fullscreen-btn .fullscreen-icon {
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.top-fullscreen-btn:hover .fullscreen-icon {
  transform: scale(1.1);
}

.top-fullscreen-btn.is-fullscreen {
  border-color: rgba(251, 191, 36, 0.4);
  color: var(--gold-300);
}

/* Top Center: Main Website Title */
.top-center-title-container {
  position: fixed;
  top: 18px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 40;
  pointer-events: none;
  text-align: center;
  padding: 0 1rem;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  animation: titleFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.top-center-title-container.hidden-on-scroll {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-8px) !important;
}

.main-top-title {
  font-family: 'Rozha One', 'Yatra One', var(--font-marathi);
  font-size: clamp(1.35rem, 2.7vw, 1.95rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #FFF8E7;
  line-height: 1.25;
  margin: 0;
  padding: 0.38rem 1.4rem;
  text-align: center;
  background: rgba(14, 10, 6, 0.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(251, 191, 36, 0.32);
  border-radius: 9999px;
  box-shadow: 
    0 6px 24px rgba(0, 0, 0, 0.55),
    0 0 20px rgba(245, 158, 11, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.95),
    0 4px 16px rgba(0, 0, 0, 0.8),
    0 0 22px rgba(251, 191, 36, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  animation: titleGlowPulse 4.5s ease-in-out infinite alternate;
}

.main-top-title::before,
.main-top-title::after {
  content: "◆";
  font-size: 0.58em;
  color: var(--gold-400);
  opacity: 0.85;
  vertical-align: middle;
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.8));
}

@keyframes titleGlowPulse {
  0% {
    border-color: rgba(251, 191, 36, 0.28);
    box-shadow: 
      0 6px 24px rgba(0, 0, 0, 0.55),
      0 0 16px rgba(245, 158, 11, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
  100% {
    border-color: rgba(251, 191, 36, 0.48);
    box-shadow: 
      0 6px 26px rgba(0, 0, 0, 0.6),
      0 0 26px rgba(251, 191, 36, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }
}

@keyframes titleFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   6B. Animated Festival Digital Billboard Banner ("HBD SANDEEP")
   -------------------------------------------------------------------------- */
.festive-ad-banner-container {
  position: static;
  display: inline-flex;
  align-items: center;
  padding: 0;
  width: auto;
  pointer-events: none;
  animation: fadeTranslateDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

.festive-billboard {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.38rem 0.85rem;
  border-radius: 10px;
  background: var(--bg-glass-badge);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 215, 0, 0.45);
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.4),
    0 0 12px rgba(255, 140, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
  user-select: none;
  animation: billboardBorderGlow 3s ease-in-out infinite alternate;
}

/* Shimmer Light Sweep Across Billboard */
.billboard-shine {
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), rgba(255, 215, 0, 0.4), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
  animation: billboardShimmerSweep 4.5s ease-in-out 1.2s infinite;
}

.billboard-text {
  font-family: 'Plus Jakarta Sans', var(--font-primary), sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFF8E7;
  display: inline-block;
  white-space: nowrap;
  animation: neonTextPulse 2.8s ease-in-out infinite alternate;
}

.billboard-sparkle {
  font-size: 0.82em;
  color: #FFD700;
  display: inline-block;
  animation: sparkleTwinkle 2s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.9));
}

.left-sparkle {
  animation-delay: 0s;
}

.right-sparkle {
  animation-delay: 1s;
}

@keyframes bannerSlideEntrance {
  0% {
    opacity: 0;
    transform: translateY(-16px) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes billboardFloat {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-3px);
  }
}

@keyframes billboardBorderGlow {
  0% {
    border-color: rgba(255, 215, 0, 0.35);
    box-shadow: 
      0 4px 18px rgba(0, 0, 0, 0.6),
      0 0 12px rgba(255, 140, 0, 0.22),
      inset 0 1px 1px rgba(255, 255, 255, 0.2);
  }
  100% {
    border-color: rgba(255, 215, 0, 0.65);
    box-shadow: 
      0 6px 24px rgba(0, 0, 0, 0.7),
      0 0 22px rgba(255, 140, 0, 0.45),
      0 0 35px rgba(255, 215, 0, 0.25),
      inset 0 1px 1px rgba(255, 255, 255, 0.35);
  }
}

@keyframes neonTextPulse {
  0% {
    color: #FFF3D6;
    text-shadow: 
      0 0 4px rgba(255, 215, 0, 0.7),
      0 0 10px rgba(255, 140, 0, 0.5),
      0 1px 3px rgba(0, 0, 0, 0.9);
  }
  50% {
    color: #FFFFFF;
    text-shadow: 
      0 0 8px #FFD700,
      0 0 18px #FF8C00,
      0 0 28px rgba(255, 140, 0, 0.75),
      0 0 40px rgba(255, 215, 0, 0.45),
      0 1px 4px rgba(0, 0, 0, 0.95);
  }
  100% {
    color: #FFF8E7;
    text-shadow: 
      0 0 6px rgba(255, 215, 0, 0.8),
      0 0 14px rgba(255, 140, 0, 0.6),
      0 0 22px rgba(255, 100, 0, 0.4),
      0 1px 3px rgba(0, 0, 0, 0.9);
  }
}

@keyframes billboardShimmerSweep {
  0% {
    left: -120%;
  }
  40%, 100% {
    left: 140%;
  }
}

@keyframes sparkleTwinkle {
  0% {
    transform: scale(0.85) rotate(0deg);
    opacity: 0.75;
  }
  100% {
    transform: scale(1.15) rotate(15deg);
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 1));
  }
}

/* --------------------------------------------------------------------------
   7. Ultra-Transparent Floating Music Controller Bar
   -------------------------------------------------------------------------- */
.player-container {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 470px;
  z-index: 50;
  animation: fadeTranslateUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

.mini-player-bar {
  background: var(--bg-glass-player);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--border-subtle);
  border-radius: 14px;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.5), 0 0 16px var(--gold-glow);
  padding: 0.55rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-normal);
}

.mini-player-bar:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(10, 8, 5, 0.52);
}

/* Top Row: Track Info Section (Left) & Volume Control (Right) */
.player-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: 100%;
}

.track-info-section {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1;
  cursor: pointer;
  border-radius: 8px;
  padding: 3px 6px;
  margin: -3px -6px;
  transition: background var(--transition-fast), transform var(--transition-fast);
  user-select: none;
}

.track-info-section:hover {
  background: rgba(255, 255, 255, 0.08);
}

.track-info-section:active {
  transform: scale(0.985);
}

.track-thumb {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(20, 14, 10, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.track-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mini Soundwave inside thumb */
.mini-soundwave {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 5, 0.65);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  padding-bottom: 5px;
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.mini-soundwave.active {
  opacity: 1;
}

.mini-soundwave span {
  width: 2.5px;
  background: var(--gold-400);
  border-radius: 1px;
  height: 3px;
  transition: height var(--transition-fast);
}

.mini-soundwave.active span {
  animation: wave 0.8s ease-in-out infinite alternate;
}

.mini-soundwave.active span:nth-child(2) { animation-delay: 0.2s; }
.mini-soundwave.active span:nth-child(3) { animation-delay: 0.4s; }

.track-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  overflow: hidden;
}

.track-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-marathi);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.track-artist {
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(255, 230, 160, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  letter-spacing: 0.01em;
  max-width: 100%;
}

/* Bottom Mini Row: Playback Buttons + Scrubber + Volume */
.player-main-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

/* Playback Buttons */
.playback-btn-group {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}

.ctrl-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.ctrl-btn:hover {
  color: #ffffff;
  transform: scale(1.12);
}

.ctrl-btn:active {
  transform: scale(0.95);
}

.play-toggle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  border: none;
  color: #140a05;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 8px var(--gold-glow);
  transition: transform var(--transition-fast), box-shadow var(--transition-normal);
  flex-shrink: 0;
}

.play-toggle-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.5);
}

.play-toggle-btn.playing {
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.55);
}

.play-toggle-btn:active {
  transform: scale(0.94);
}

/* Progress Bar & Time */
.progress-section {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.time-display {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  min-width: 28px;
}

.current-time {
  text-align: right;
  color: var(--gold-300);
}

.progress-bar-wrapper {
  flex: 1;
  position: relative;
  padding: 8px 0;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
}

.progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  position: relative;
  overflow: hidden;
  transition: height var(--transition-fast);
  pointer-events: none;
}

.progress-bar-wrapper:hover .progress-track,
.progress-bar-wrapper.seeking .progress-track {
  height: 6px;
}

.progress-buffered {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400));
  border-radius: 9999px;
}

.progress-thumb {
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--gold-500);
  box-shadow: 0 0 8px var(--gold-glow);
  transition: transform var(--transition-fast);
}

.progress-bar-wrapper:hover .progress-thumb,
.progress-bar-wrapper.seeking .progress-thumb {
  transform: translateY(-50%) scale(1);
}

/* Range input layer for smooth native touch & mouse scrubbing */
.progress-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
  z-index: 5;
  -webkit-appearance: none;
  appearance: none;
}

.scrub-tooltip {
  position: absolute;
  top: -20px;
  left: 0%;
  transform: translateX(-50%);
  background: rgba(10, 8, 5, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1px 4px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gold-300);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.progress-bar-wrapper:hover .scrub-tooltip {
  opacity: 1;
}

/* Mini Volume Box */
.mini-volume-box {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}

.vol-btn {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
}

.vol-btn:hover {
  color: var(--gold-300);
}

.mini-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 44px;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  outline: none;
  cursor: pointer;
}

.mini-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 4px var(--gold-glow);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.mini-volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.3);
  background: #ffffff;
}

.mini-volume-slider::-moz-range-thumb {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
  border: none;
  box-shadow: 0 0 4px var(--gold-glow);
  cursor: pointer;
}

/* Playlist Toggle Button */
.playlist-btn {
  color: var(--text-muted);
}

.playlist-btn:hover {
  color: var(--gold-300);
}

/* --------------------------------------------------------------------------
   8. Glassmorphic Playlist Drawer Modal
   -------------------------------------------------------------------------- */
.playlist-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 4, 3, 0.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s;
  padding-bottom: 5.5rem;
}

.playlist-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.playlist-drawer {
  width: calc(100% - 1.5rem);
  max-width: 470px;
  max-height: min(72vh, 560px);
  background: rgba(14, 10, 8, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 215, 120, 0.28);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 185, 50, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(30px) scale(0.96);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.playlist-modal-backdrop.open .playlist-drawer {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Header */
.playlist-header {
  padding: 0.95rem 1.15rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.playlist-header-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.playlist-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.playlist-icon {
  font-size: 1.1rem;
}

.playlist-title {
  font-family: var(--font-marathi);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.01em;
}

.playlist-count-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: #140a05;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  box-shadow: 0 1px 6px rgba(245, 158, 11, 0.35);
}

.playlist-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.playlist-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: scale(1.08);
}

/* Search Box */
.playlist-search-box {
  position: relative;
  padding: 0.65rem 1.15rem;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
}

.playlist-search-box .search-icon {
  position: absolute;
  left: 1.85rem;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.playlist-search-input {
  width: 100%;
  padding: 0.48rem 2rem 0.48rem 2.2rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-family: var(--font-marathi);
  font-size: 0.84rem;
  color: #ffffff;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.playlist-search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.playlist-search-input:focus {
  border-color: var(--gold-400);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.25);
}

.playlist-search-clear {
  position: absolute;
  right: 1.7rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 4px;
}

.playlist-search-clear:hover {
  color: #ffffff;
}

/* Items Container */
.playlist-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  scroll-behavior: smooth;
}

/* Sleek Custom Scrollbar */
.playlist-items-container::-webkit-scrollbar {
  width: 5px;
}
.playlist-items-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}
.playlist-items-container::-webkit-scrollbar-thumb {
  background: rgba(255, 200, 80, 0.35);
  border-radius: 3px;
}
.playlist-items-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 200, 80, 0.6);
}

/* Single Song Item */
.playlist-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.48rem 0.7rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  user-select: none;
}

.playlist-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(2px);
}

.playlist-item.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.15);
}

.item-index-wrap {
  width: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.item-num {
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}

.playlist-item.active .item-num {
  display: none;
}

.item-playing-equalizer {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.playlist-item.active .item-playing-equalizer {
  display: flex;
}

.item-playing-equalizer span {
  width: 2.5px;
  height: 12px;
  background: var(--gold-400);
  border-radius: 1px;
  animation: wave 0.8s ease-in-out infinite alternate;
}
.item-playing-equalizer span:nth-child(2) { animation-delay: 0.2s; }
.item-playing-equalizer span:nth-child(3) { animation-delay: 0.4s; }

.item-thumb {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.item-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.item-title {
  font-family: var(--font-marathi);
  font-size: 0.84rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.playlist-item.active .item-title {
  color: var(--gold-300);
}

.item-singer {
  font-size: 0.72rem;
  color: rgba(255, 225, 160, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.item-action-icon {
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.playlist-item:hover .item-action-icon {
  color: var(--gold-400);
  transform: scale(1.15);
}

.playlist-item.active .item-action-icon {
  color: var(--gold-400);
}

.playlist-empty-state {
  padding: 2.5rem 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-marathi);
  font-size: 0.88rem;
}

/* YouTube Player container (active and unobtrusive) */
.hidden-yt-frame {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  opacity: 0.001;
  pointer-events: none;
  z-index: -999;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   8. Keyframes & Subtle Cinematic Animations
   -------------------------------------------------------------------------- */
@keyframes pageInitialFadeIn {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes cinematicBreathing {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.015);
  }
}


@keyframes fadeTranslateDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeTranslateUp {
  from {
    opacity: 0;
    transform: translate(-50%, 15px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes ambientBulbPulse {
  0% {
    opacity: 0.4;
    transform: scale(0.95);
  }
  100% {
    opacity: 0.8;
    transform: scale(1.08);
  }
}

@keyframes ambientFirework {
  0% {
    opacity: 0.15;
    transform: scale(0.95);
  }
  100% {
    opacity: 0.38;
    transform: scale(1.06);
  }
}

@keyframes softTwinkle {
  0% {
    opacity: 0.15;
    transform: scale(0.85);
  }
  100% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

@keyframes floatUpward {
  0% {
    transform: translateY(105vh) translateX(0) scale(0.6);
    opacity: 0;
  }
  12% {
    opacity: var(--p-opacity, 0.6);
  }
  50% {
    transform: translateY(50vh) translateX(var(--drift-x, 15px)) scale(1);
    opacity: var(--p-opacity, 0.6);
  }
  85% {
    opacity: var(--p-opacity, 0.6);
  }
  100% {
    transform: translateY(-8vh) translateX(var(--drift-end, -10px)) scale(0.85);
    opacity: 0;
  }
}

@keyframes goldenSweep {
  0%, 82% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  88% {
    opacity: 0.45;
    transform: translate(-50%, -50%) scale(1.05);
  }
  95%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

@keyframes pulseGreen {
  0%, 100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
    box-shadow: 0 0 10px var(--green-live);
  }
}

@keyframes wave {
  0% { height: 3px; }
  100% { height: 11px; }
}

/* --------------------------------------------------------------------------
   8. Section 1: Hero Screen & Scroll Down Indicator
   -------------------------------------------------------------------------- */
.hero-screen {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 7.2rem;
  overflow: hidden;
  z-index: 10;
  background-color: var(--bg-dark);
}

/* Bottom Edge Soft Blend: Subtle, low-height fade at the very bottom edge (Preserves full artwork, menu card, & text clarity) */
.hero-screen::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(80px, 11vh, 115px);
  background: linear-gradient(
    to bottom,
    rgba(10, 8, 5, 0) 0%,
    rgba(10, 8, 5, 0) 45%,
    rgba(10, 8, 5, 0.12) 68%,
    rgba(10, 8, 5, 0.45) 86%,
    rgba(10, 8, 5, 0.85) 96%,
    #0a0805 100%
  );
  pointer-events: none;
  z-index: 5;
}

.scroll-indicator {
  position: relative;
  z-index: 12;
  pointer-events: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  color: var(--gold-300);
  background: rgba(10, 8, 5, 0.45);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background var(--transition-fast), border-color var(--transition-fast);
  animation: gentleScrollPulse 2.8s ease-in-out infinite;
  cursor: pointer;
}

.scroll-indicator.hidden-on-scroll {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(8px) !important;
  animation: none !important;
}

.scroll-indicator:hover {
  background: rgba(20, 14, 10, 0.65);
  border-color: var(--gold-400);
  transform: translateY(2px);
}

.scroll-text {
  font-family: var(--font-marathi);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gold-300);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.scroll-arrow {
  font-size: 0.88rem;
  line-height: 1;
  color: var(--gold-400);
  animation: arrowBounce 1.8s ease-in-out infinite;
}

@keyframes gentleScrollPulse {
  0%, 100% {
    opacity: 0.85;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  }
  50% {
    opacity: 1;
    box-shadow: 0 4px 20px var(--gold-glow);
  }
}

@keyframes arrowBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

/* --------------------------------------------------------------------------
   9. Scrollable Cultural Content Wrapper & Welcome Section
   -------------------------------------------------------------------------- */
.content-scroll-container {
  position: relative;
  z-index: 20;
  width: 100%;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #0a0805;
  background: linear-gradient(
    180deg,
    #0a0805 0%,
    #090704 40%,
    #080603 100%
  );
  margin-top: -1px;
  padding-top: 3.5rem;
  padding-bottom: 9.5rem; /* Generous clearance for fixed music player */
}

.cultural-section {
  position: relative;
  width: 100%;
  max-width: 860px;
  padding: 3rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Reveal Animation on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* SECTION 2: WELCOME */
.welcome-heading {
  font-family: 'Rozha One', 'Yatra One', var(--font-marathi);
  font-size: clamp(1.85rem, 4.4vw, 2.85rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 1.6rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85), 0 0 24px rgba(251, 191, 36, 0.28);
  letter-spacing: 0.02em;
}

.welcome-lead {
  font-family: var(--font-marathi);
  font-size: clamp(1.08rem, 2.4vw, 1.4rem);
  color: var(--gold-300);
  line-height: 1.9;
  font-weight: 500;
  margin-bottom: 1.6rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.section-ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.2rem 0 1.8rem;
  width: 100%;
  max-width: 260px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.45), transparent);
}

.divider-gem {
  color: var(--gold-400);
  font-size: 0.65rem;
  opacity: 0.85;
}

.welcome-body {
  font-family: var(--font-marathi);
  font-size: clamp(0.95rem, 1.85vw, 1.12rem);
  color: var(--text-secondary);
  line-height: 2;
  max-width: 680px;
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.heart-accent {
  display: inline-block;
  filter: drop-shadow(0 0 6px rgba(244, 63, 94, 0.65));
}

/* --------------------------------------------------------------------------
   10. Follow Us & Minimal Professional Credit Line
   -------------------------------------------------------------------------- */
.site-credit-line {
  width: 100%;
  max-width: 740px;
  padding: 2.8rem 1.5rem 0.5rem;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.follow-us-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.4rem;
}

.follow-us-label {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-300);
  opacity: 0.92;
}

.social-links-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  text-decoration: none;
  transition: transform var(--transition-normal), border-color var(--transition-normal), color var(--transition-normal), background var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.social-icon-link:hover {
  transform: translateY(-2px) scale(1.08);
  color: var(--gold-300);
  border-color: var(--gold-400);
  background: rgba(245, 158, 11, 0.14);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.28), 0 0 10px rgba(251, 191, 36, 0.4);
}

.social-icon-link:active {
  transform: scale(0.95);
}

.social-svg-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.credit-divider-line {
  width: 100%;
  max-width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  margin: 0.4rem 0 0.6rem;
}

.credit-lead {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  opacity: 0.85;
}

.credit-names {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.6vw, 0.95rem);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  line-height: 1.8;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.2rem 0.4rem;
}

.credit-person {
  white-space: nowrap;
  display: inline-block;
}

.credit-bullet {
  color: var(--gold-400);
  opacity: 0.65;
  margin: 0 0.15rem;
  font-size: 0.72rem;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   11. Mobile Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .player-container {
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 1.25rem);
    max-width: 440px;
  }

  .cultural-section {
    padding: 2.5rem 1.25rem 2rem;
  }

  .site-credit-line {
    padding: 2rem 1rem 2.5rem;
    margin-top: 0.8rem;
    gap: 0.45rem;
  }

  .follow-us-label {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  .social-icon-link {
    width: 42px;
    height: 42px;
  }

  .credit-lead {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .credit-names {
    font-size: 0.82rem;
    line-height: 1.8;
    max-width: 380px;
  }

  .credit-bullet {
    margin: 0 0.25rem;
  }

  .content-scroll-container {
    padding-bottom: 13rem;
  }
}

@media (max-width: 680px) {
  .bg-image {
    background-image: url('assets/khandeshi-jatra-mobile-bg.jpg') !important;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    animation: none; /* Keep background static on mobile for performance */
  }

  .top-center-title-container {
    top: calc(clamp(90px, 13.5vh, 112px) + env(safe-area-inset-top, 0px));
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0.75rem;
    white-space: normal;
  }

  .main-top-title {
    font-size: 1.15rem;
    padding: 0.32rem 0.95rem;
    line-height: 1.35;
    letter-spacing: 0.03em;
    gap: 0.35rem;
  }

  .top-left-group {
    top: calc(14px + env(safe-area-inset-top, 0px));
    left: 12px;
    gap: 0.4rem;
  }

  .top-left-badge {
    padding: 0.3rem 0.55rem;
  }

  .festive-ad-banner-container {
    top: auto;
    padding: 0;
  }

  .festive-billboard {
    padding: 0.3rem 0.65rem;
    gap: 0.35rem;
    border-radius: 8px;
  }

  .billboard-text {
    font-size: 0.64rem;
    letter-spacing: 0.05em;
  }

  .billboard-sparkle {
    font-size: 0.72em;
  }

  .listener-text {
    font-size: 0.64rem;
    letter-spacing: 0.03em;
  }

  .top-right-group {
    top: calc(14px + env(safe-area-inset-top, 0px));
    right: 12px;
    gap: 0.35rem;
  }

  .top-right-badge {
    padding: 0.25rem 0.5rem;
  }

  .widget-time {
    font-size: 0.68rem;
  }

  .widget-date {
    font-size: 0.6rem;
  }

  .top-fullscreen-btn {
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
  }

  .top-fullscreen-btn .fullscreen-icon {
    width: 14px;
    height: 14px;
  }

  /* Compact 2-Layer Mobile Music Player (Touch-Friendly & Non-Obtrusive) */
  .player-container {
    margin-top: 8px;
    margin-bottom: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 1rem);
    max-width: 460px;
    z-index: 50;
  }

  .mini-player-bar {
    position: relative;
    padding: 12px;
    gap: 0.55rem;
    border-radius: 16px;
    background: rgba(14, 10, 6, 0.90);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 215, 120, 0.25);
    box-shadow: 0 8px 26px -4px rgba(0, 0, 0, 0.8), 0 0 16px rgba(251, 191, 36, 0.14);
  }

  /* Line 1: Song Info (Left) + Mute/Volume Button (Right) */
  .player-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    width: 100%;
  }

  .track-info-section {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 2px 4px;
    margin: -2px -4px;
    min-width: 0;
    flex: 1;
    cursor: pointer;
  }

  .track-thumb {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
  }

  .track-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1px;
    overflow: hidden;
    min-width: 0;
    flex: 1;
  }

  .track-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.22;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .track-artist {
    font-size: 0.74rem;
    color: rgba(255, 230, 160, 0.9);
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  /* Volume Mute Button on Line 1 */
  .mini-volume-box {
    position: static;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
  }

  .vol-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
  }

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

  .mini-volume-slider {
    display: none;
  }

  /* Line 2: Playback Buttons (Left) + Progress/Seek Bar (Center/Right) */
  .player-main-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
  }

  .playback-btn-group {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    flex-shrink: 0;
    margin: 0;
  }

  .play-toggle-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #140a05;
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
  }

  .play-toggle-btn svg {
    width: 18px;
    height: 18px;
  }

  .play-toggle-btn:active {
    transform: scale(0.92);
  }

  .ctrl-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
  }

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

  .ctrl-btn:active {
    color: #ffffff;
    transform: scale(0.92);
  }

  .progress-section {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
  }

  .time-display {
    font-size: 0.68rem;
    font-weight: 600;
    min-width: 28px;
  }

  .current-time {
    color: var(--gold-300);
  }

  .progress-bar-wrapper {
    flex: 1;
    padding: 8px 0;
    cursor: pointer;
  }

  .progress-track {
    height: 4px;
    border-radius: 9999px;
  }

  .progress-thumb {
    width: 10px;
    height: 10px;
    right: -5px;
    transform: translateY(-50%) scale(1);
    box-shadow: 0 0 6px var(--gold-glow);
  }
}

@media (max-width: 380px) {
  .player-container {
    width: calc(100% - 0.65rem);
  }

  .mini-player-bar {
    padding: 10px;
    gap: 0.45rem;
  }

  .top-left-group {
    left: 8px;
    gap: 0.3rem;
  }

  .festive-billboard {
    padding: 0.25rem 0.5rem;
    gap: 0.25rem;
  }

  .billboard-text {
    font-size: 0.58rem;
    letter-spacing: 0.03em;
  }

  .track-title {
    font-size: 0.86rem;
  }

  .play-toggle-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
  }

  .ctrl-btn {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
  }
}

/* --------------------------------------------------------------------------
   10. Click/Tap Interactive Heart & "जय खान्देश" Celebration
   -------------------------------------------------------------------------- */
.click-heart-element {
  position: fixed;
  pointer-events: none;
  z-index: 999;
  font-size: 1.4rem;
  line-height: 1;
  user-select: none;
  filter: drop-shadow(0 0 8px rgba(244, 63, 94, 0.7));
  animation: heartFloat 1s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

@keyframes heartFloat {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4) rotate(var(--rot, 0deg));
  }
  18% {
    opacity: 1;
    transform: translate(calc(-50% + var(--drift-x, 0px) * 0.3), calc(-50% - 16px)) scale(1.2) rotate(var(--rot, 0deg));
  }
  55% {
    opacity: 0.95;
    transform: translate(calc(-50% + var(--drift-x, 0px) * 0.7), calc(-50% - 46px)) scale(1) rotate(var(--rot, 0deg));
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--drift-x, 0px)), calc(-50% - 72px)) scale(0.85) rotate(var(--rot, 0deg));
  }
}

.click-khandesh-text {
  position: fixed;
  pointer-events: none;
  z-index: 1000;
  font-family: var(--font-marathi);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fef08a;
  text-shadow: 0 0 16px rgba(251, 191, 36, 0.9), 0 2px 8px rgba(0, 0, 0, 0.95);
  white-space: nowrap;
  user-select: none;
  animation: khandeshFloat 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes khandeshFloat {
  0% {
    opacity: 0;
    transform: translate(-50%, -30%) scale(0.6);
  }
  16% {
    opacity: 1;
    transform: translate(-50%, -75%) scale(1.12);
  }
  45% {
    opacity: 1;
    transform: translate(-50%, -105%) scale(1);
  }
  80% {
    opacity: 0.9;
    transform: translate(-50%, -140%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -170%) scale(0.92);
  }
}

