@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Cairo:wght@400;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,600;1,500;1,600&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  --bg-deep: #0b0408;
  --bg-velvet: #160711;
  --bg-card: rgba(32, 12, 24, 0.72);
  --rose-primary: #ff4d79;
  --rose-soft: #ff8fa3;
  --rose-glow: rgba(255, 77, 121, 0.45);
  --gold-primary: #f5d08a;
  --gold-deep: #d4a359;
  --gold-glow: rgba(245, 208, 138, 0.35);
  --text-cream: #fff5f7;
  --text-muted: #e2bfc8;
  --border-glass: rgba(255, 182, 193, 0.18);
  --border-gold: rgba(245, 208, 138, 0.35);
  --shadow-luxury: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(255, 77, 121, 0.14);

  timeline-scope: --tl-1, --tl-2, --tl-3, --tl-4, --tl-5, --tl-6, --tl-7, --tl-8, --tl-9, --tl-10;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-cream);
  font-family: 'Tajawal', 'Cairo', sans-serif;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 77, 121, 0.16) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(245, 208, 138, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 75%, rgba(255, 77, 121, 0.14) 0%, transparent 50%),
    linear-gradient(180deg, #0b0408 0%, #170812 35%, #12060e 70%, #090306 100%);
  min-height: 100vh;
  line-height: 1.75;
  position: relative;
  overflow-x: hidden;
}

body.locked {
  overflow: hidden;
  height: 100vh;
}

/* ==========================================================================
   Scroll Progress Indicator (Modern Web Guidance: scroll-progress-indicator)
   ========================================================================== */
#progress {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--gold-primary), var(--rose-primary), #ff9ebb);
  box-shadow: 0 0 18px var(--rose-glow);
  transform-origin: 100% 50%;
  transform: scaleX(0);
  z-index: 9999;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    @keyframes grow-progress {
      from { transform: scaleX(0); }
      to { transform: scaleX(1); }
    }

    #progress {
      animation: grow-progress auto linear;
      animation-timeline: scroll(root block);
    }
  }
}

/* Ambient Particle Canvas */
#ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   1. SURPRISE GIFT INTRO OVERLAY
   ========================================================================== */
#surprise-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background:
    radial-gradient(circle at 50% 45%, rgba(65, 15, 38, 0.92) 0%, rgba(11, 4, 8, 0.98) 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  text-align: center;
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), visibility 1s;
}

#surprise-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.surprise-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 77, 121, 0.14);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 25px rgba(245, 208, 138, 0.15);
  animation: float-slow 3.5s ease-in-out infinite;
}

.surprise-title {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #ffd6e0 45%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.6rem;
  text-shadow: 0 10px 30px rgba(255, 77, 121, 0.3);
}

.surprise-subtitle {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  max-width: 540px;
  margin-bottom: 2.5rem;
}

/* Interactive 3D Luxury Gift Box */
.gift-stage {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  margin: 0.5rem 0 2rem;
}

.gift-aura {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 121, 0.42) 0%, rgba(245, 208, 138, 0.2) 45%, transparent 72%);
  filter: blur(18px);
  animation: pulse-aura 2.4s ease-in-out infinite;
}

.gift-box-container {
  position: relative;
  width: 170px;
  height: 155px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: gift-heartbeat 2.2s ease-in-out infinite;
}

.gift-stage:hover .gift-box-container {
  transform: scale(1.07) translateY(-5px);
}

.gift-lid {
  position: absolute;
  top: 0;
  left: -10px;
  width: 190px;
  height: 44px;
  background: linear-gradient(135deg, #ff5c8a 0%, #c9184a 60%, #800f2f 100%);
  border-radius: 10px;
  border: 1.5px solid rgba(245, 208, 138, 0.6);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  z-index: 4;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
}

.gift-lid::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 34px;
  height: 100%;
  background: linear-gradient(90deg, #d4a359, #fff1c1, #d4a359);
  box-shadow: 0 0 12px rgba(245, 208, 138, 0.5);
}

/* Satin Bow on top of Lid */
.gift-bow {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 42px;
  z-index: 5;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
}

.bow-loop {
  position: absolute;
  width: 46px;
  height: 36px;
  border: 6px solid var(--gold-primary);
  border-radius: 50% 50% 12% 50%;
  background: rgba(255, 77, 121, 0.35);
  box-shadow: inset 0 0 10px rgba(245, 208, 138, 0.5), 0 4px 12px rgba(0,0,0,0.4);
}

.bow-loop.left {
  left: 2px;
  transform: rotate(-18deg);
}

.bow-loop.right {
  right: 2px;
  border-radius: 50% 50% 50% 12%;
  transform: rotate(18deg);
}

.bow-knot {
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff3c4, #d4a359);
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.gift-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 170px;
  height: 118px;
  background: linear-gradient(145deg, #b51743 0%, #6e0b28 100%);
  border-radius: 0 0 14px 14px;
  border: 1.5px solid rgba(245, 208, 138, 0.45);
  border-top: none;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), inset 0 -10px 25px rgba(0,0,0,0.4);
  z-index: 2;
  overflow: hidden;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.gift-body::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 34px;
  height: 100%;
  background: linear-gradient(90deg, #d4a359, #fff1c1, #d4a359);
}

.gift-seal {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffe6a3, #c28b38 75%, #8a5a14);
  border: 2px solid #fff5d6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.55), 0 0 20px rgba(245, 208, 138, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #5c0920;
  z-index: 3;
}

.gift-light-beam {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%) scaleY(0);
  transform-origin: bottom center;
  width: 240px;
  height: 260px;
  background: radial-gradient(ellipse at bottom, rgba(255, 240, 200, 0.95) 0%, rgba(255, 77, 121, 0.5) 45%, transparent 75%);
  filter: blur(12px);
  opacity: 0;
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
}

/* Gift Opened State */
.gift-stage.opened .gift-box-container {
  animation: none;
}

.gift-stage.opened .gift-lid {
  transform: translateY(-135px) rotate(-16deg) scale(1.08);
  opacity: 0;
}

.gift-stage.opened .gift-bow {
  transform: translate(-50%, -155px) rotate(22deg) scale(1.15);
  opacity: 0;
}

.gift-stage.opened .gift-light-beam {
  transform: translateX(-50%) scaleY(1.3);
  opacity: 1;
}

.gift-stage.opened .gift-body {
  transform: translateY(35px) scale(0.92);
  opacity: 0;
}

.gift-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 2.2rem;
  border-radius: 999px;
  border: 1.5px solid var(--gold-primary);
  background: linear-gradient(135deg, rgba(255, 77, 121, 0.9) 0%, rgba(181, 23, 67, 0.95) 100%);
  color: #fff;
  font-family: 'Cairo', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(255, 77, 121, 0.45), 0 0 20px rgba(245, 208, 138, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gift-cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(255, 77, 121, 0.65), 0 0 30px rgba(245, 208, 138, 0.5);
}

/* ==========================================================================
   2. FLOATING NAVIGATION & AUDIO / AUTO-STORY CONTROLS
   ========================================================================== */
.floating-nav {
  position: fixed;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(20, 7, 15, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  max-width: 95vw;
  overflow-x: auto;
  scrollbar-width: none;
}

.floating-nav::-webkit-scrollbar {
  display: none;
}

.nav-pill {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.nav-pill:hover,
.nav-pill.active {
  color: #fff;
  background: linear-gradient(135deg, var(--rose-primary), #b51743);
  box-shadow: 0 4px 14px rgba(255, 77, 121, 0.4);
}

/* Bottom Floating Experience Bar */
.experience-bar {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(22, 8, 17, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 77, 121, 0.2);
}

.exp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-cream);
  font-family: 'Cairo', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.exp-btn:hover {
  background: rgba(255, 77, 121, 0.25);
  border-color: var(--rose-soft);
  transform: translateY(-2px);
}

.exp-btn.active {
  background: linear-gradient(135deg, var(--rose-primary), #b51743);
  border-color: var(--gold-primary);
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 77, 121, 0.45);
}

/* ==========================================================================
   3. HERO & ROYAL LOVE LETTER (الملف الأساسي في البداية)
   ========================================================================== */
main {
  position: relative;
  z-index: 2;
  padding-bottom: 6rem;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6.5rem 1.25rem 4rem;
  position: relative;
}

.hero-crown {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.35rem;
  border-radius: 999px;
  background: rgba(245, 208, 138, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.hero-main-title {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 900;
  text-align: center;
  line-height: 1.25;
  background: linear-gradient(135deg, #fff 0%, #ffc2d1 45%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.75rem;
}

.hero-names {
  font-family: 'Amiri', serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  color: var(--rose-soft);
  text-align: center;
  margin-bottom: 2.2rem;
  letter-spacing: 0.04em;
}

/* Royal Love Letter Card (Exact Word Document Text) */
.royal-letter-card {
  position: relative;
  max-width: 820px;
  width: 100%;
  background:
    radial-gradient(circle at top right, rgba(245, 208, 138, 0.14), transparent 55%),
    radial-gradient(circle at bottom left, rgba(255, 77, 121, 0.15), transparent 55%),
    rgba(28, 10, 21, 0.84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid var(--border-gold);
  border-radius: 28px;
  padding: clamp(1.75rem, 4.5vw, 3.25rem);
  box-shadow: var(--shadow-luxury), inset 0 0 40px rgba(245, 208, 138, 0.06);
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.royal-letter-card::before {
  content: '❝';
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
  font-family: 'Amiri', serif;
  font-size: 6rem;
  color: rgba(245, 208, 138, 0.12);
  line-height: 1;
  pointer-events: none;
}

.letter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 1.15rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(245, 208, 138, 0.22);
}

.letter-to {
  font-family: 'Cairo', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.letter-date-badge {
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(255, 77, 121, 0.18);
  border: 1px solid rgba(255, 77, 121, 0.4);
  color: #ffd6e0;
  font-weight: 700;
  font-size: 0.9rem;
  direction: ltr;
}

.letter-body-text {
  font-family: 'Amiri', 'Tajawal', serif;
  font-size: clamp(1.3rem, 2.7vw, 1.72rem);
  line-height: 2.05;
  color: #fff8fa;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.75rem;
}

.letter-body-text .highlight-word {
  color: var(--gold-primary);
  font-weight: 700;
  text-shadow: 0 0 16px rgba(245, 208, 138, 0.35);
}

.letter-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--rose-soft);
}

/* Live Love Counter Since 19/9/2025 */
.love-counter-box {
  max-width: 760px;
  width: 100%;
  text-align: center;
  margin-bottom: 2.5rem;
}

.counter-label {
  font-size: 1rem;
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.counter-item {
  background: rgba(32, 12, 24, 0.78);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 1rem 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.counter-num {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(1.55rem, 3.8vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff, var(--gold-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.counter-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.btn-primary-journey {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.05rem 2.3rem;
  border-radius: 999px;
  border: 1.5px solid var(--gold-primary);
  background: linear-gradient(135deg, #ff4d79 0%, #a3123b 100%);
  color: #fff;
  font-family: 'Cairo', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(255, 77, 121, 0.45);
  transition: all 0.3s ease;
}

.btn-primary-journey:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 44px rgba(255, 77, 121, 0.65);
}

.btn-secondary-journey {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
  background: rgba(245, 208, 138, 0.1);
  color: var(--gold-primary);
  font-family: 'Cairo', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary-journey:hover {
  background: rgba(245, 208, 138, 0.22);
  transform: translateY(-2px);
}

/* ==========================================================================
   4. CHAPTER SECTIONS & SONG QUOTES (مراحل حياتنا واقتباسات الأغاني)
   ========================================================================== */
.story-chapter {
  max-width: 1140px;
  margin: 0 auto;
  padding: 5.5rem 1.25rem 2rem;
  position: relative;
}

.chapter-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.chapter-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 77, 121, 0.16);
  border: 1px solid rgba(255, 77, 121, 0.4);
  color: var(--rose-soft);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.chapter-title {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.65rem;
  text-shadow: 0 6px 25px rgba(255, 77, 121, 0.3);
}

.chapter-desc {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
}

/* Musical Vinyl Quote Banner */
.song-quote-card {
  max-width: 740px;
  margin: 0 auto 3.5rem;
  padding: 1.65rem 2rem;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(40, 14, 30, 0.88) 0%, rgba(22, 8, 17, 0.92) 100%);
  border: 1px solid var(--border-gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.vinyl-disc {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--gold-primary) 0%, var(--gold-primary) 16%, #1a0913 17%, #111 38%, #2b1321 40%, #111 62%, #2b1321 64%, #0d050a 100%);
  border: 2px solid rgba(245, 208, 138, 0.45);
  box-shadow: 0 0 20px rgba(255, 77, 121, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin-slow 9s linear infinite;
}

.vinyl-center {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-primary), var(--gold-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.song-quote-content {
  flex: 1;
}

.song-lyric {
  font-family: 'Amiri', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.75;
  margin-bottom: 0.45rem;
}

.song-lyric.ltr-lyric {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  direction: ltr;
  text-align: left;
}

.song-artist {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.song-artist.ltr-artist {
  direction: ltr;
  justify-content: flex-start;
}

/* ==========================================================================
   5. TIMELINE & VIDEO SCENE CARDS (Scrollytelling + Lazy Video)
   ========================================================================== */
.timeline-List {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

/* Glowing center spine on desktop */
.timeline-List::before {
  content: '';
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: linear-gradient(180deg, transparent 0%, var(--rose-primary) 10%, var(--gold-primary) 50%, var(--rose-primary) 90%, transparent 100%);
  box-shadow: 0 0 15px var(--rose-glow);
  opacity: 0.45;
  pointer-events: none;
}

.scene-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.scene-row:nth-child(even) {
  direction: ltr;
}

.scene-row:nth-child(even) .scene-narrative {
  direction: rtl;
}

/* Video Phone / Cinema Frame */
.scene-media-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

.cinema-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 16;
  border-radius: 32px;
  padding: 10px;
  background: linear-gradient(145deg, rgba(245, 208, 138, 0.45), rgba(255, 77, 121, 0.35), rgba(25, 9, 19, 0.9));
  box-shadow:
    0 28px 65px rgba(0, 0, 0, 0.75),
    0 0 45px rgba(255, 77, 121, 0.22);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.cinema-frame.playing {
  box-shadow:
    0 30px 75px rgba(0, 0, 0, 0.85),
    0 0 65px rgba(255, 77, 121, 0.55),
    0 0 25px rgba(245, 208, 138, 0.45);
  transform: translateY(-6px) scale(1.015);
}

.cinema-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #090306;
}

.story-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Custom Video Overlay Controls */
.video-overlay-bar {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem 0.95rem;
  background: linear-gradient(0deg, rgba(8, 2, 6, 0.9) 0%, rgba(8, 2, 6, 0.45) 60%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  z-index: 3;
}

.video-ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(20, 7, 15, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: 'Cairo', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.video-ctrl-btn:hover {
  background: var(--rose-primary);
  border-color: var(--gold-primary);
}

.scene-badge-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 5, 11, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  font-family: 'Cairo', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
}

/* Scene Narrative Card */
.scene-narrative {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: 26px;
  padding: clamp(1.6rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-luxury);
  position: relative;
}

.scene-tag {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 0.55rem;
}

.scene-heading {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.scene-text {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: #f3dce2;
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.scene-mini-quote {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 182, 193, 0.14);
  font-family: 'Amiri', serif;
  font-size: 1.15rem;
  color: var(--rose-soft);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Scrollytelling CSS Scroll-Driven Animations (Modern Web Guidance: scrollytelling) */
#tracked section:nth-of-type(1) { view-timeline: --tl-1 block; }
#tracked section:nth-of-type(2) { view-timeline: --tl-2 block; }
#tracked section:nth-of-type(3) { view-timeline: --tl-3 block; }
#tracked section:nth-of-type(4) { view-timeline: --tl-4 block; }
#tracked section:nth-of-type(5) { view-timeline: --tl-5 block; }
#tracked section:nth-of-type(6) { view-timeline: --tl-6 block; }
#tracked section:nth-of-type(7) { view-timeline: --tl-7 block; }
#tracked section:nth-of-type(8) { view-timeline: --tl-8 block; }
#tracked section:nth-of-type(9) { view-timeline: --tl-9 block; }
#tracked section:nth-of-type(10) { view-timeline: --tl-10 block; }

@keyframes scene-animate-in {
  from {
    opacity: 0.15;
    transform: translateY(48px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  .scene-row {
    animation: scene-animate-in auto linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 35%;
    backface-visibility: hidden;
  }
}

/* MANDATORY Copy-Paste Safety: Disable continuous storytelling motion for sensitive users */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .scene-row {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    translate: 0 0 !important;
  }
}

/* ==========================================================================
   6. THE REAL PHOTO CLIMAX SECTION (احنا في الحقيقة.png)
   ========================================================================== */
.reality-climax-section {
  max-width: 1020px;
  margin: 4rem auto 0;
  padding: 5rem 1.25rem 3rem;
  position: relative;
}

.reality-card {
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 208, 138, 0.22) 0%, transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(255, 77, 121, 0.22) 0%, transparent 60%),
    rgba(24, 8, 18, 0.9);
  border: 2px solid var(--gold-primary);
  border-radius: 36px;
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.85),
    0 0 60px rgba(245, 208, 138, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.reality-stage-container {
  position: relative;
  max-width: 500px;
  margin: 2.25rem auto;
  border-radius: 26px;
  padding: 14px;
  background: linear-gradient(135deg, #fff3c4 0%, #d4a359 50%, #ff7597 100%);
  box-shadow:
    0 25px 65px rgba(0, 0, 0, 0.75),
    0 0 50px rgba(245, 208, 138, 0.4);
  transition: transform 0.35s ease;
}

.reality-inner-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #12060c;
  aspect-ratio: 3 / 4;
}

.real-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.04) saturate(1.06);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), filter 1.2s ease;
}

.reality-stage-container.revealed .real-photo-img {
  transform: scale(1.03);
}

/* Interactive Golden Stardust Curtain Overlay */
.magic-curtain {
  position: absolute;
  inset: 0;
  z-index: 5;
  background:
    radial-gradient(circle at 50% 42%, rgba(74, 18, 43, 0.94) 0%, rgba(16, 5, 11, 0.98) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: pointer;
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1), visibility 1s;
}

.magic-curtain.revealed {
  opacity: 0;
  transform: scale(1.12);
  visibility: hidden;
  pointer-events: none;
}

.curtain-heart-lock {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe8a3 0%, #c9933b 100%);
  border: 3px solid #fff;
  box-shadow: 0 0 35px rgba(245, 208, 138, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
  margin-bottom: 1.4rem;
  animation: gift-heartbeat 2s infinite;
}

.curtain-title {
  font-family: 'Cairo', sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--gold-primary);
  margin-bottom: 0.6rem;
}

.curtain-hint {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.curtain-reveal-btn {
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  border: 1.5px solid var(--gold-primary);
  background: linear-gradient(135deg, var(--rose-primary), #9e1136);
  color: #fff;
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(255, 77, 121, 0.5);
}

.polaroid-caption-bar {
  background: #fff9f5;
  color: #3d0c1e;
  padding: 1.1rem 1rem 0.9rem;
  border-radius: 0 0 14px 14px;
  margin-top: -6px;
  position: relative;
  z-index: 2;
  font-family: 'Amiri', serif;
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.reality-message-box {
  max-width: 740px;
  margin: 2rem auto 0;
  font-family: 'Amiri', serif;
  font-size: clamp(1.3rem, 2.7vw, 1.68rem);
  line-height: 2;
  color: #fff5f8;
}

/* ==========================================================================
   7. GRAND FINALE PROMISE SECTION
   ========================================================================== */
.finale-section {
  text-align: center;
  max-width: 780px;
  margin: 4rem auto 2rem;
  padding: 2rem 1.25rem;
}

.finale-heart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.1rem 2.5rem;
  border-radius: 999px;
  border: 2px solid var(--gold-primary);
  background: linear-gradient(135deg, #ff4d79, #b51743);
  color: #fff;
  font-family: 'Cairo', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 15px 40px rgba(255, 77, 121, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  margin-top: 1.5rem;
}

.finale-heart-btn:hover {
  transform: scale(1.06) translateY(-3px);
  box-shadow: 0 20px 50px rgba(255, 77, 121, 0.75);
}

/* Keyframes */
@keyframes gift-heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.06) rotate(-1.5deg); }
  28% { transform: scale(1) rotate(1.5deg); }
  42% { transform: scale(1.04); }
  70% { transform: scale(1); }
}

@keyframes pulse-aura {
  0%, 100% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Responsive Adjustments */
@media (max-width: 860px) {
  .timeline-List::before {
    display: none;
  }
  .scene-row,
  .scene-row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    direction: rtl;
  }
  .song-quote-card {
    flex-direction: column;
    text-align: center;
    padding: 1.4rem;
  }
  .song-lyric.ltr-lyric {
    text-align: center;
  }
  .song-artist,
  .song-artist.ltr-artist {
    justify-content: center;
  }
  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
