/* ==========================================================================
   DASHAIN 2083 MEMORIES — STYLESHEET
   Festive Nepali Theme: Auspicious Crimson, Marigold Gold, Jamara Green & Obsidian
   ========================================================================== */

:root {
  --font-serif: 'Rozha One', 'Noto Serif Devanagari', Georgia, serif;
  --font-display: 'Cinzel Decorative', 'Outfit', serif;
  --font-sans: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Auspicious Palette */
  --crimson-deep: #5e0b17;
  --crimson-vibrant: #b71c1c;
  --crimson-bright: #e53935;
  --crimson-glow: rgba(229, 57, 53, 0.35);

  --gold-primary: #ffb800;
  --gold-light: #ffe082;
  --gold-metallic: #d4af37;
  --gold-glow: rgba(255, 184, 0, 0.4);

  --jamara-green: #2e7d32;
  --jamara-light: #81c784;

  --bg-deep: #0c080d;
  --bg-surface: #150e17;
  --bg-elevated: #1e1320;
  --bg-glass: rgba(27, 16, 29, 0.75);
  --border-glass: rgba(255, 184, 0, 0.2);
  --border-glass-hover: rgba(255, 184, 0, 0.6);

  --text-primary: #fff8f0;
  --text-secondary: #e0d0c0;
  --text-muted: #a89588;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-lux: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 184, 0, 0.08);
}

/* Base Reset & Smooth Scroll */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(183, 28, 28, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(255, 184, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(46, 125, 50, 0.08) 0%, transparent 40%);
}

/* Background Canvas for Falling Petals / Golden Sparks */
#particlesCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* Typography Helpers */
.font-serif { font-family: var(--font-serif); }
.font-display { font-family: var(--font-display); }

.gold-gradient-text {
  background: linear-gradient(135deg, #fff3c4 0%, #ffb800 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.crimson-gradient-text {
  background: linear-gradient(135deg, #ff8a80 0%, #e53935 50%, #b71c1c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 8, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.85rem 0;
  transition: var(--transition-smooth);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, #e53935, #5e0b17);
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 0 15px var(--gold-glow);
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--gold-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-nav:hover {
  background: rgba(255, 184, 0, 0.15);
  border-color: var(--gold-primary);
  transform: translateY(-1px);
}

.btn-nav-primary {
  background: linear-gradient(135deg, var(--crimson-vibrant), #8e0000);
  border-color: var(--gold-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(183, 28, 28, 0.4);
}

.btn-nav-primary:hover {
  background: linear-gradient(135deg, var(--crimson-bright), var(--crimson-vibrant));
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.4);
}

/* ==========================================================================
   HERO / INTRO SECTION
   ========================================================================== */
.hero-section {
  padding: 3rem 0 2rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(183, 28, 28, 0.25);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px rgba(183, 28, 28, 0.3);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2.25rem;
}

/* Cinema Container for Intro MP4 */
.intro-cinema-wrapper {
  max-width: 820px;
  margin: 0 auto 3rem;
  position: relative;
}

.intro-cinema-box {
  position: relative;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--gold-metallic);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px var(--gold-glow);
  aspect-ratio: 9 / 16;
  max-height: 720px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .intro-cinema-box {
    max-height: 640px;
    aspect-ratio: 9 / 14;
  }
}

.intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

/* Intro Start Overlay (Gesture Gate for Mobile Video Autoplay / Audio) */
.intro-launch-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 8, 13, 0.95) 10%, rgba(12, 8, 13, 0.4) 60%, rgba(12, 8, 13, 0.7) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 10;
  transition: opacity 0.5s ease, visibility 0.5s;
}

.intro-launch-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-pulse-btn {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--gold-primary), var(--crimson-bright));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.2rem;
  box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.7);
  animation: pulseGold 2s infinite;
  transition: var(--transition-smooth);
}

.play-pulse-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 30px rgba(255, 184, 0, 0.9);
}

@keyframes pulseGold {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 25px rgba(255, 184, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 184, 0, 0);
  }
}

.overlay-title {
  margin-top: 1.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.overlay-sub {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--gold-light);
}

/* Skip Intro Button */
.btn-skip-intro {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(12, 8, 13, 0.85);
  border: 1.5px solid var(--gold-primary);
  color: #fff;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7), 0 0 15px var(--gold-glow);
  transition: var(--transition-smooth);
}

.btn-skip-intro:hover {
  background: var(--gold-primary);
  color: #000;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 22px rgba(255, 184, 0, 0.6);
}

/* Sound Gate Overlay (if browser blocks unmuted autoplay) */
.sound-gate-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 8, 13, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 15;
  cursor: pointer;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.sound-gate-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-sound-btn {
  background: linear-gradient(135deg, var(--gold-primary), var(--crimson-bright));
  border: none;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(229, 57, 53, 0.5), 0 0 25px var(--gold-glow);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  animation: pulseGold 2s infinite;
  transition: var(--transition-smooth);
}

.play-sound-btn:hover {
  transform: scale(1.06);
}

/* Hidden / Revealed state for other memories */
.memories-section.hidden,
.download-section.hidden {
  display: none !important;
}

.memories-section.revealed,
.download-section.revealed {
  display: block !important;
  animation: revealFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealFadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom Video Controls Bar */
.video-custom-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
  padding: 1.5rem 1rem 0.8rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.intro-cinema-box:hover .video-custom-controls,
.video-custom-controls.visible,
.video-custom-controls.active {
  opacity: 1;
}

/* Progress bar */
.video-progress-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  cursor: pointer;
  position: relative;
  transition: height 0.2s ease;
}

.video-progress-container:hover {
  height: 10px;
}

.video-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--crimson-bright), var(--gold-primary));
  border-radius: var(--radius-full);
  position: relative;
}

.video-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.controls-left, .controls-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ctrl-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.ctrl-btn:hover {
  color: var(--gold-primary);
  transform: scale(1.1);
}

.video-time {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.skip-btn {
  background: rgba(255, 184, 0, 0.2);
  border: 1px solid var(--gold-primary);
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.skip-btn:hover {
  background: var(--gold-primary);
  color: #000;
}

/* Clean Gallery Grid without captions or clutter */
.clean-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .clean-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.clean-photo-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border-glass);
  background: #000;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.clean-photo-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px var(--gold-glow);
}

.clean-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.clean-photo-card:hover .clean-photo-img {
  transform: scale(1.08);
}

.photo-overlay-icon {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.clean-photo-card:hover .photo-overlay-icon {
  opacity: 1;
}

.view-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(12, 8, 13, 0.8);
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transform: scale(0.85);
  transition: transform 0.3s ease;
}

.clean-photo-card:hover .view-badge {
  transform: scale(1);
}

/* Completion Celebration Banner */
.intro-celebration-toast {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(21, 14, 23, 0.95);
  border: 1px solid var(--gold-primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 20px var(--gold-glow);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-light);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  z-index: 12;
  white-space: nowrap;
}

.intro-celebration-toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   MEMORIES GALLERY SECTION
   ========================================================================== */
.memories-section {
  padding: 4rem 0 5rem;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.tab-btn:hover {
  border-color: var(--gold-primary);
  color: #fff;
  background: rgba(255, 184, 0, 0.08);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--crimson-vibrant), #8e0000);
  border-color: var(--gold-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(183, 28, 28, 0.4), 0 0 10px var(--gold-glow);
}

.tab-badge {
  font-size: 0.75rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.4);
}

/* Gallery Masonry / Responsive Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Memory Card */
.memory-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

.memory-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-lux);
}

.card-media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.memory-card:hover .card-img {
  transform: scale(1.06);
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(12, 8, 13, 0.8);
  border: 1px solid var(--gold-primary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-light);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.card-actions-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 8, 13, 0.95) 0%, rgba(12, 8, 13, 0.2) 50%, transparent 100%);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.card-media-wrapper:hover .card-actions-overlay {
  opacity: 1;
}

.card-zoom-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border: 1px solid var(--gold-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.card-zoom-btn:hover {
  background: var(--gold-primary);
  color: #000;
  transform: scale(1.1);
}

/* Card Content / Details */
.card-content {
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-grow: 1;
}

.card-title-ne {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.card-title-en {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-light);
}

.card-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 0.25rem;
}

.card-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.like-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
}

.like-btn:hover {
  color: var(--crimson-bright);
  background: rgba(229, 57, 53, 0.1);
}

.like-btn.liked {
  color: var(--crimson-bright);
}

.like-btn.liked .heart-icon {
  fill: var(--crimson-bright);
  animation: heartPop 0.4s ease;
}

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.download-single-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-smooth);
}

.download-single-btn:hover {
  border-color: var(--gold-primary);
  color: #fff;
  background: rgba(255, 184, 0, 0.1);
}

/* ==========================================================================
   DOWNLOAD ALL MEMORIES SECTION (THE FINALE)
   ========================================================================== */
.download-section {
  padding: 4rem 0 6rem;
  position: relative;
}

.download-card {
  background: radial-gradient(circle at 50% 0%, rgba(183, 28, 28, 0.25) 0%, rgba(21, 14, 23, 0.95) 70%);
  border: 2px solid var(--gold-metallic);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px var(--gold-glow);
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), var(--crimson-bright), transparent);
}

.download-crest {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gold-primary), var(--crimson-vibrant));
  border-radius: var(--radius-full);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  box-shadow: 0 0 30px var(--gold-glow);
  animation: pulseGold 3s infinite;
}

.download-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.download-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 2rem;
}

.download-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.btn-download-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, var(--crimson-bright), #b71c1c);
  border: 1.5px solid var(--gold-primary);
  color: #fff;
  box-shadow: 0 8px 25px rgba(229, 57, 53, 0.4), 0 0 20px var(--gold-glow);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-download-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(229, 57, 53, 0.6), 0 0 30px var(--gold-glow);
  background: linear-gradient(135deg, #ff5252, var(--crimson-bright));
}

.btn-download-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-download-secondary:hover {
  background: rgba(255, 184, 0, 0.15);
  color: #fff;
  transform: translateY(-2px);
}

.download-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.stat-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.stat-item strong {
  color: var(--gold-light);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 3, 6, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-glass);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 1010;
}

.lightbox-close-btn:hover {
  background: var(--crimson-bright);
  transform: rotate(90deg);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-glass);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 1010;
}

.lightbox-nav-btn:hover {
  background: var(--gold-primary);
  color: #000;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev-btn { left: 1.5rem; }
.lightbox-next-btn { right: 1.5rem; }

.lightbox-content-box {
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lightbox-image-container {
  max-height: 72vh;
  max-width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold-metallic);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px var(--gold-glow);
}

.lightbox-img {
  max-height: 72vh;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.lightbox-details {
  text-align: center;
  color: #fff;
}

.lightbox-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.lightbox-subtitle {
  font-size: 0.9rem;
  color: var(--gold-light);
  margin-top: 0.2rem;
}

.lightbox-counter {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ==========================================================================
   NOTIFICATION TOAST
   ========================================================================== */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(21, 14, 23, 0.95);
  border: 1px solid var(--gold-primary);
  color: #fff;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px var(--gold-glow);
  z-index: 2000;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  pointer-events: none;
}

.toast-msg.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-glass);
  padding: 3rem 0;
  background: #090509;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-greeting {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.footer-blessing {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 1.5rem;
}

.footer-meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   RESPONSIVE OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 640px) {
  .hero-section {
    padding: 2rem 0 1.5rem;
  }
  .intro-cinema-box {
    border-radius: var(--radius-md);
  }
  .play-pulse-btn {
    width: 75px;
    height: 75px;
    font-size: 1.8rem;
  }
  .download-card {
    padding: 2.5rem 1.25rem;
  }
  .btn-download-primary, .btn-download-secondary {
    width: 100%;
    justify-content: center;
  }
  .lightbox-prev-btn { left: 0.5rem; }
  .lightbox-next-btn { right: 0.5rem; }
}
