/* ===========================================================
   הפרשת חלה — אוֹרִי · נשי, ורוד עתיק, טקסטים גדולים
   =========================================================== */

:root {
  --cream: #fbf3ec;
  --cream-soft: #f6e6dc;
  --ivory: #fefaf6;
  --blush: #f8e4dc;

  --rose-pale: #fbdce0;
  --rose-soft: #f4c8ce;
  --rose-dust: #e8b3b8;
  --rose: #d68f96;
  --rose-deep: #b86b72;
  --mauve: #c89aa0;

  --sky-soft: #d8e3e5;
  --sage: #c8d4bf;

  --wood-light: #d4b896;
  --wood: #ab8466;
  --wood-deep: #76533a;
  --beige: #ead7c5;

  --gold: #cea35a;
  --gold-deep: #a07a30;
  --gold-soft: #e5cc91;
  --gold-shimmer: #d4b86a;

  --ink: #4a2c24;
  --ink-soft: #6b443a;
  --muted: #95766a;

  --line: rgba(184, 107, 114, 0.18);
  --line-gold: rgba(206, 163, 90, 0.32);
  --line-rose: rgba(214, 143, 150, 0.3);
  --shadow: 0 30px 80px rgba(74, 44, 36, 0.10);
  --shadow-soft: 0 8px 30px rgba(74, 44, 36, 0.07);
  --shadow-pink: 0 10px 35px rgba(184, 107, 114, 0.15);

  --serif: 'Frank Ruhl Libre', Georgia, 'David', serif;
  --sans: 'Assistant', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html, body {
  height: 100%;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

body {
  background:
    radial-gradient(ellipse 90% 70% at 15% 0%, rgba(248, 228, 220, 0.7) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 90% 100%, rgba(244, 200, 206, 0.45) 0%, transparent 55%),
    var(--cream);
}

.deck { position: relative; width: 100vw; height: 100vh; }

.slide {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(2rem, 5vh, 4.5rem) clamp(2.5rem, 8vw, 8rem);
  text-align: center;
  overflow: hidden;
  opacity: 1;
}

.slide.active {
  display: flex;
  opacity: 1;
  animation: slide-fade-in 0.5s ease;
}

@keyframes slide-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============ TYPOGRAPHY ============ */

.overline {
  font-family: var(--sans);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--rose-deep);
  margin-bottom: 2rem;
}

.overline::before,
.overline::after {
  content: '·';
  margin: 0 0.8rem;
  color: var(--gold);
  font-size: 1.4em;
  vertical-align: middle;
}

.title-huge {
  font-family: var(--serif);
  font-size: clamp(5rem, 14vw, 13rem);
  font-weight: 500;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 50%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  filter: drop-shadow(0 4px 18px rgba(160, 122, 48, 0.18));
  margin-bottom: 1.5rem;
}

.title-xxl {
  font-family: var(--serif);
  font-size: clamp(5rem, 14vw, 13rem);
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.title-xl {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1rem;
}

.title-l {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.lead {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  color: var(--ink-soft);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  max-width: 950px;
}

.lead-soft { font-weight: 400; color: var(--rose-deep); font-style: italic; }

.body-text {
  font-family: var(--sans);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  color: var(--ink-soft);
  font-weight: 400;
  line-height: 1.75;
  max-width: 900px;
  margin: 0 auto 1.4rem;
}

.body-text:last-child { margin-bottom: 0; }

.footnote {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--muted);
  font-weight: 400;
  margin-top: 2rem;
  font-style: italic;
}

.emphasis { color: var(--rose-deep); font-weight: 700; }
.emphasis-light { color: var(--gold-soft); font-weight: 600; }

.brc-gold {
  color: var(--gold-deep);
  font-weight: 700;
  background: linear-gradient(180deg, transparent 60%, rgba(229, 204, 145, 0.5) 60%);
  padding: 0 0.2em;
}

.aside-line {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--muted);
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line-rose);
  display: inline-block;
}

.aside-label {
  font-weight: 700;
  color: var(--gold-deep);
  margin-left: 0.4rem;
}

/* ============ 1. WELCOME — רקע מלא ============ */

.welcome-fullbg {
  padding: 0;
  position: relative;
  overflow: hidden;
}

.welcome-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  z-index: 0;
}

.welcome-vignette {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%,
      rgba(254, 250, 240, 0.4) 0%,
      rgba(254, 248, 235, 0.45) 40%,
      rgba(252, 240, 224, 0.35) 70%,
      rgba(248, 220, 200, 0.2) 100%),
    linear-gradient(180deg,
      rgba(252, 240, 224, 0.0) 0%,
      rgba(252, 240, 224, 0.0) 60%,
      rgba(252, 240, 224, 0.15) 85%,
      rgba(252, 240, 224, 0.4) 100%);
}

.welcome-fullbg-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: clamp(2rem, 5vh, 4rem) clamp(2rem, 8vw, 6rem);
  gap: clamp(0.3rem, 0.6vh, 0.9rem);
}

.welcome-greeting-big {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 10vw, 9rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  text-shadow: 0 3px 18px rgba(254, 250, 240, 0.85), 0 0 32px rgba(254, 248, 235, 0.5);
}

.welcome-decor {
  width: clamp(120px, 16vw, 200px);
  height: 18px;
  color: var(--gold-deep);
  margin: 0.4rem 0 1rem;
  opacity: 0.9;
}

.welcome-event-big {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 500;
  color: var(--wood-deep);
  line-height: 1.1;
  letter-spacing: 0;
  margin-bottom: 1rem;
  text-shadow: 0 3px 16px rgba(254, 250, 240, 0.85);
}

.welcome-of-text {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 400;
  color: var(--rose-deep);
  font-style: italic;
  line-height: 1;
  margin-bottom: 0.3rem;
  text-shadow: 0 2px 12px rgba(254, 250, 240, 0.75);
}

.welcome-bride-big {
  font-family: var(--serif);
  font-size: clamp(7rem, 20vw, 19rem);
  font-weight: 600;
  background: linear-gradient(135deg, #b48030 0%, #e8c875 25%, #92651e 55%, #d4af5d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 1rem;
  filter: drop-shadow(0 6px 28px rgba(160, 122, 48, 0.35));
}

.welcome-fullbg .audio-control { margin-top: 1rem; }
.welcome-fullbg .audio-label {
  color: var(--wood-deep);
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(254, 250, 240, 0.7);
}

/* ============ AUDIO CONTROL ============ */

.audio-control {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1rem;
}

.play-button {
  width: clamp(64px, 7vw, 80px);
  height: clamp(64px, 7vw, 80px);
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 60%, var(--gold-deep) 100%);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 28px rgba(206, 163, 90, 0.45), inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.play-button:hover { transform: scale(1.08); }

.play-button svg { width: 45%; height: 45%; display: block; }

.play-button .icon-stop { display: none; }
.audio-control.playing .play-button .icon-play { display: none; }
.audio-control.playing .play-button .icon-stop { display: block; }

.audio-control.playing .play-button {
  background: linear-gradient(135deg, var(--rose-soft) 0%, var(--rose) 60%, var(--rose-deep) 100%);
  border-color: var(--rose-deep);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 8px 28px rgba(184, 107, 114, 0.45); }
  50% { box-shadow: 0 12px 40px rgba(184, 107, 114, 0.65); }
}

.audio-label {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 500;
  color: var(--rose-deep);
  letter-spacing: 0.08em;
}

.audio-control.playing .audio-label::after {
  content: ' ♪';
  color: var(--gold);
}

.audio-iframe-host {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

/* ============ 2. THREE MITZVOT ============ */

.three-mitzvot-slide {
  background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(244, 200, 206, 0.35) 0%, transparent 70%);
}

.mitzvot-grid {
  display: flex;
  align-items: stretch;
  gap: clamp(1rem, 2.5vw, 2.2rem);
  margin-top: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.mitzvah-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: clamp(1.7rem, 3vw, 2.8rem) clamp(2.2rem, 3.5vw, 3.2rem);
  background: linear-gradient(180deg, rgba(254, 250, 246, 0.92) 0%, rgba(248, 228, 220, 0.6) 100%);
  border: 1px solid var(--line-rose);
  border-radius: 10px;
  min-width: 220px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.mitzvah-card.highlighted {
  padding: clamp(2.2rem, 4vw, 3.8rem) clamp(2.7rem, 4.5vw, 4.2rem);
  background: linear-gradient(180deg, rgba(254, 250, 246, 0.97) 0%, rgba(229, 204, 145, 0.35) 100%);
  border: 2px solid var(--gold);
  box-shadow: 0 18px 50px rgba(206, 163, 90, 0.28);
  transform: scale(1.06);
  z-index: 2;
}

.mitzvah-card.secondary { opacity: 0.82; transform: scale(0.92); }

.mitzvah-letter-big {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 9vw, 8rem);
  font-weight: 500;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.mitzvah-letter {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 5.5vw, 5rem);
  font-weight: 500;
  color: var(--rose);
  line-height: 1;
}

.mitzvah-name-big {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--gold-deep);
}

.mitzvah-name {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.3vw, 1.9rem);
  font-weight: 500;
  color: var(--rose-deep);
}

.mitzvah-card .mitzvah-desc {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--muted);
  font-weight: 400;
  margin-top: 0.4rem;
}

.mitzvah-card.highlighted .mitzvah-desc {
  color: var(--rose-deep);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
}

.card-ribbon {
  position: absolute;
  top: -16px;
  right: 50%;
  transform: translateX(50%);
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(160, 122, 48, 0.5);
}

/* ============ HERO SPLIT ============ */

.hero-split {
  flex-direction: row;
  padding: 0;
  text-align: right;
  background: var(--ivory);
}

.hero-split.reverse { flex-direction: row-reverse; }

.split-image {
  flex: 1 1 50%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #2a1a14;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 8s ease;
}

.slide.active .split-image img { transform: scale(1.08); }

.split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(254, 250, 246, 0.0) 60%, rgba(254, 250, 246, 0.5) 100%);
  pointer-events: none;
}

.hero-split.reverse .split-image::after {
  background: linear-gradient(270deg, rgba(254, 250, 246, 0.0) 60%, rgba(254, 250, 246, 0.5) 100%);
}

.split-content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vh, 4rem) clamp(2.5rem, 6vw, 5rem);
  position: relative;
}

.split-content.center-content {
  align-items: center;
  text-align: center;
}

.split-content .overline { margin-bottom: 1.2rem; }

.split-content .body-text {
  margin: 0 0 1.2rem 0;
  text-align: right;
  max-width: 100%;
}

.content-sprig {
  width: clamp(80px, 12vw, 140px);
  height: 24px;
  color: var(--gold);
  opacity: 0.7;
  margin-top: 2rem;
}

.split-content .content-sprig { align-self: flex-start; }
.split-content.center-content .content-sprig { align-self: center; }

.ingredient .split-content { align-items: flex-start; }

.ingredient-word {
  font-family: var(--serif);
  font-size: clamp(4rem, 8.5vw, 7.5rem);
  font-weight: 500;
  color: var(--wood-deep);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.ingredient-meaning {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 500;
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--rose-deep) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.05;
  margin-bottom: 2.2rem;
  letter-spacing: -0.01em;
}

.ingredient .body-text {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ============ TRANSITION SLIDE — מתכון לחיים ============ */

.transition-slide {
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(229, 204, 145, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(244, 200, 206, 0.3) 0%, transparent 70%);
}

/* ============ RECIPE ============ */

.recipe-slide {
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(229, 204, 145, 0.18) 0%, transparent 70%);
}

.recipe-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem 3rem;
  margin-top: 2rem;
  font-family: var(--sans);
  background: rgba(254, 250, 246, 0.85);
  padding: clamp(1.8rem, 3.5vw, 3rem) clamp(2.2rem, 5vw, 4.5rem);
  border-radius: 12px;
  border: 1px solid var(--line-rose);
  box-shadow: var(--shadow-pink);
  max-width: 950px;
}

.recipe-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 400;
  color: var(--ink-soft);
  padding: 0.6rem 0;
  border-bottom: 1px dotted var(--line);
}

.recipe-list .amount {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--gold-deep);
}

.recipe-list .ingredient {
  font-weight: 500;
  color: var(--rose-deep);
}

/* ============ 12. HEAVENS — שמי לילה דרמטיים ============ */

.heavens-slide { padding: 0; color: white; }

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay { position: absolute; inset: 0; z-index: 1; }

.heavens-overlay {
  background:
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 10, 30, 0.35) 0%, rgba(0, 5, 20, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: clamp(2rem, 6vh, 5rem) clamp(2rem, 8vw, 6rem);
}

.overline-light {
  font-family: var(--sans);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  color: #fff5cf;
  margin-bottom: 2rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85), 0 0 24px rgba(255, 220, 120, 0.4);
}

.title-welcome {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 10vw, 9rem);
  font-weight: 600;
  background: linear-gradient(180deg, #ffffff 0%, #fff8e0 40%, #ffe09a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  filter: drop-shadow(0 4px 30px rgba(255, 220, 130, 0.5)) drop-shadow(0 2px 16px rgba(0, 0, 0, 0.7));
}

.welcome-divider {
  width: clamp(100px, 14vw, 160px);
  height: 18px;
  color: var(--gold-soft);
  margin: 1rem 0 1.5rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.heavens-text {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  color: #fffaf0;
  font-weight: 500;
  font-style: italic;
  margin: 0.5rem 0 1.5rem;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 0, 0, 0.5);
  max-width: 900px;
  line-height: 1.5;
}

.emphasis-light {
  color: #ffd97a;
  font-weight: 700;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85), 0 0 22px rgba(255, 200, 100, 0.45);
}

.heavens-sub {
  font-family: var(--sans);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  color: #fff5e0;
  font-weight: 500;
  max-width: 850px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
  line-height: 1.5;
}

/* ============ 13. BLESS SLIDE — couple frame ============ */

.bless-slide {
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(248, 228, 220, 0.55) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(229, 204, 145, 0.25) 0%, transparent 70%);
}

.bless-frame {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 6rem);
  background: rgba(254, 250, 246, 0.6);
  border-radius: 4px;
  max-width: 1100px;
  width: 100%;
}

.bless-corner {
  position: absolute;
  width: 50px;
  height: 50px;
  border: 2px solid var(--gold);
}

.bless-corner.top-right { top: 0; right: 0; border-bottom: none; border-left: none; }
.bless-corner.top-left { top: 0; left: 0; border-bottom: none; border-right: none; }
.bless-corner.bottom-right { bottom: 0; right: 0; border-top: none; border-left: none; }
.bless-corner.bottom-left { bottom: 0; left: 0; border-top: none; border-right: none; }

.couple-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin: 2rem 0;
  flex-wrap: wrap;
}

.couple-half {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.couple-label {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--gold-deep);
  text-transform: none;
  margin-bottom: 0.5rem;
}

.couple-name {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7.5vw, 6rem);
  font-weight: 500;
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 50%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.05;
  letter-spacing: -0.01em;
  filter: drop-shadow(0 4px 14px rgba(160, 122, 48, 0.2));
}

.couple-parent {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  font-weight: 400;
  color: var(--rose-deep);
  font-style: italic;
  margin-top: 0.4rem;
}

.couple-heart {
  display: flex;
  align-items: center;
  color: var(--rose);
  filter: drop-shadow(0 2px 8px rgba(184, 107, 114, 0.3));
  animation: heartbeat 2.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.bless-wish {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  color: var(--ink-soft);
  line-height: 1.5;
  font-weight: 400;
  font-style: italic;
  max-width: 900px;
  margin: 2rem auto 0;
}

/* ============ 14. NIGGUN — נגן פס דק ============ */

.niggun-slide {
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(216, 227, 229, 0.4) 0%, transparent 70%);
}

.chuppah-art {
  width: clamp(180px, 22vw, 280px);
  height: clamp(135px, 17vw, 210px);
  color: var(--gold-deep);
  margin-bottom: 1.5rem;
  opacity: 0.92;
  filter: drop-shadow(0 4px 14px rgba(160, 122, 48, 0.18));
}

.audio-bar {
  margin-top: 3rem;
  width: min(720px, 85vw);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.85rem 1.4rem 0.85rem 1rem;
  background: linear-gradient(180deg, rgba(254, 250, 246, 0.95) 0%, rgba(248, 228, 220, 0.85) 100%);
  border: 1px solid var(--line-gold);
  border-radius: 100px;
  box-shadow: 0 12px 36px rgba(184, 107, 114, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  position: relative;
}

.bar-play {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 60%, var(--gold-deep) 100%);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(206, 163, 90, 0.4);
}

.bar-play:hover { transform: scale(1.06); }
.bar-play svg { width: 50%; height: 50%; display: block; }
.bar-icon-pause { display: none; }
.audio-bar.playing .bar-icon-play { display: none; }
.audio-bar.playing .bar-icon-pause { display: block; }

.audio-bar.playing .bar-play {
  background: linear-gradient(135deg, var(--rose-soft) 0%, var(--rose) 60%, var(--rose-deep) 100%);
  border-color: var(--rose-deep);
}

.bar-seek {
  flex: 1 1 auto;
  height: 8px;
  background: rgba(184, 107, 114, 0.18);
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  overflow: visible;
}

.bar-seek-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(to left, var(--gold-deep), var(--gold), var(--rose));
  border-radius: 100px;
  transition: width 0.15s linear;
  pointer-events: none;
}

.bar-seek-handle {
  position: absolute;
  top: 50%;
  /* In RTL layout, "right" aligns with the start of the bar */
  right: 0%;
  transform: translate(50%, -50%);
  width: 16px;
  height: 16px;
  background: white;
  border: 2px solid var(--gold-deep);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(160, 122, 48, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.audio-bar:hover .bar-seek-handle,
.audio-bar.playing .bar-seek-handle {
  opacity: 1;
}

.bar-time {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: var(--wood-deep);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  min-width: 100px;
  text-align: center;
  letter-spacing: 0.03em;
  direction: ltr;
}

.bar-yt-host {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

/* גרסה קומפקטית — לפתיחה ומזל טוב */
.audio-bar.compact {
  margin-top: 1.2rem;
  width: min(460px, 88vw);
  gap: 0.9rem;
  padding: 0.55rem 1.1rem 0.55rem 0.55rem;
}

.audio-bar.compact .bar-play {
  width: 42px;
  height: 42px;
}

.audio-bar.compact .bar-time {
  font-size: 0.85rem;
  min-width: 88px;
}

.audio-bar.compact .bar-seek {
  height: 6px;
}

/* על הפתיחה — רקע בהיר מעט יותר אטום */
.welcome-fullbg .audio-bar.compact {
  background: linear-gradient(180deg, rgba(254, 250, 246, 0.97) 0%, rgba(248, 228, 220, 0.92) 100%);
  box-shadow: 0 12px 36px rgba(118, 83, 58, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* על מזל טוב — רקע זהוב חם */
.mazaltov-slide .audio-bar.compact {
  background: linear-gradient(180deg, rgba(255, 250, 230, 0.97) 0%, rgba(248, 236, 200, 0.92) 100%);
  border-color: var(--gold-deep);
  box-shadow: 0 14px 40px rgba(160, 122, 48, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* ============ 15. THREE STEPS — icons ============ */

.three-steps {
  background: radial-gradient(ellipse 50% 50% at 50% 100%, rgba(244, 200, 206, 0.32) 0%, transparent 70%);
}

.steps-grid {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: clamp(2rem, 3.5vw, 3rem) clamp(2.5rem, 4vw, 3.5rem);
  background: rgba(254, 250, 246, 0.92);
  border: 1px solid var(--line-rose);
  border-radius: 12px;
  min-width: 240px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(184, 107, 114, 0.15);
}

.step-icon {
  width: clamp(60px, 7vw, 80px);
  height: clamp(60px, 7vw, 80px);
  color: var(--gold-deep);
  opacity: 0.85;
}

.step-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  font-weight: 500;
  color: var(--rose-deep);
}

/* ============ BLESSING — נקי, מרכזי, ברור ============ */

.blessing-slide {
  background:
    radial-gradient(ellipse 75% 65% at 50% 50%, rgba(229, 204, 145, 0.4) 0%, transparent 70%),
    radial-gradient(ellipse 45% 35% at 50% 100%, rgba(244, 200, 206, 0.35) 0%, transparent 70%),
    var(--ivory);
  align-items: center;
  justify-content: center;
  text-align: center;
  /* generous internal padding so the text is never near the edges */
  padding: clamp(2rem, 5vh, 4rem) clamp(1.5rem, 4vw, 4rem);
}

.blessing-overline {
  margin-bottom: 1.2rem;
}

.blessing-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 500;
  color: var(--rose-deep);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.blessing-divider {
  width: clamp(120px, 16vw, 200px);
  height: clamp(25px, 3vw, 40px);
  color: var(--gold);
  opacity: 0.75;
  margin: 0.5rem 0 2rem;
}

.hebrew-blessing {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: 0.012em;
  max-width: 100%;
  margin: 0;
  padding: 0 1rem;
}

.brc-gold {
  color: var(--gold-deep);
  font-weight: 700;
  background: linear-gradient(180deg, transparent 60%, rgba(229, 204, 145, 0.55) 60%);
  padding: 0 0.25em;
}

/* ============ HAREI ZO CHALLAH ============ */

.harei-slide {
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(229, 204, 145, 0.35) 0%, transparent 70%),
    var(--ivory);
}

.harei-slide .title-xxl {
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 50%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 1.5rem 0;
  filter: drop-shadow(0 2px 14px rgba(160, 122, 48, 0.22));
}

.harei-sprig {
  width: clamp(110px, 14vw, 170px);
  height: 18px;
  color: var(--gold);
  margin: 1rem 0;
}

/* ============ PRAYER ============ */

.prayer-slide { padding: 0; align-items: stretch; justify-content: stretch; }

.prayer-scroll {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: clamp(3rem, 7vh, 5rem) clamp(3rem, 10vw, 12rem);
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  align-items: center;
  text-align: center;
  scroll-behavior: smooth;
}

.prayer-scroll::-webkit-scrollbar { width: 6px; }
.prayer-scroll::-webkit-scrollbar-track { background: transparent; }
.prayer-scroll::-webkit-scrollbar-thumb { background: var(--line-rose); border-radius: 3px; }

.center-overline { margin-top: 0; }

.prayer-heading {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 500;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.2rem;
}

.prayer-text {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.65;
  max-width: 1150px;
}

.prayer-text.amen {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 500;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 1.2rem;
}

/* ============ 19. MAZAL TOV — קלאסי, ממורכז ============ */

.mazaltov-slide {
  padding: 0;
  /* keep .slide's position: absolute - do NOT override */
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 75% 65% at 50% 50%, #fffaf0 0%, #f8ecd0 30%, #e8d4a0 60%, #c8a868 100%);
}

/* רקע זוהר נע — זהוב קלאסי */
.mazal-bg-glow {
  position: absolute;
  inset: -20%;
  z-index: 1;
  background:
    radial-gradient(ellipse 40% 30% at 30% 30%, rgba(255, 220, 130, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 35% 25% at 70% 65%, rgba(255, 235, 180, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse 30% 20% at 50% 80%, rgba(232, 200, 130, 0.45) 0%, transparent 60%);
  animation: slow-spin 22s linear infinite;
  filter: blur(8px);
  pointer-events: none;
}

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

.mazal-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 6vh, 5rem) clamp(2rem, 8vw, 6rem);
  width: 100%;
}

/* כותרת מזל טוב ענקית */
.mazal-title {
  font-family: var(--serif);
  font-size: clamp(7rem, 22vw, 20rem);
  font-weight: 700;
  background:
    linear-gradient(135deg, #c97c1f 0%, #f5d77a 25%, #fff0c0 50%, #b87014 70%, #f5c95e 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0;
  filter: drop-shadow(0 8px 36px rgba(160, 80, 20, 0.45));
  animation: bounce-in 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) both, shimmer-gold 6s ease-in-out infinite 1.2s;
}

@keyframes bounce-in {
  0% { opacity: 0; transform: scale(0.3) rotate(-5deg); }
  50% { opacity: 1; transform: scale(1.1) rotate(2deg); }
  70% { transform: scale(0.95) rotate(-1deg); }
  100% { transform: scale(1) rotate(0); }
}

@keyframes shimmer-gold {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.mazal-divider {
  color: var(--gold-deep);
  margin: 1.8rem 0 1.3rem;
  filter: none;
  width: clamp(160px, 22vw, 240px);
  height: 22px;
}

/* "לאוֹרִי ולחֵן" — גדול ובולט */
.mazal-sub {
  font-family: var(--serif);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 1.2rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 14px rgba(255, 240, 200, 0.6);
}

/* הברכה — קלאסי, חום-זהוב */
.mazal-bless {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--wood-deep);
  font-style: italic;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
  max-width: 1000px;
  text-shadow: 0 2px 10px rgba(255, 240, 200, 0.5);
}

.mazaltov-slide .audio-control { margin-top: 2.5rem; }
.mazaltov-slide .audio-control .play-button {
  width: clamp(72px, 8vw, 90px);
  height: clamp(72px, 8vw, 90px);
}
.mazaltov-slide .audio-label {
  color: var(--wood-deep);
  font-weight: 600;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

/* קונפטי — כוכבים, עיגולים, נצנצים בפלטה זהובה קלאסית */
.confetti {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.confetti span {
  position: absolute;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  animation: fall-confetti 9s ease-in-out infinite;
  animation-delay: var(--d);
  opacity: 0;
  display: inline-block;
  filter: drop-shadow(0 2px 6px rgba(160, 122, 48, 0.18));
}

.conf-circle { font-size: clamp(0.9rem, 1.8vw, 1.6rem); }
.conf-spark { font-size: clamp(1.2rem, 2.5vw, 2.2rem); }

/* פיזור על פני המסך — פלטה זהב/שמפניה/ברונזה (קלאסי) */
.confetti span:nth-child(1)  { top: -5%; left: 5%;  color: #c9a85c; }
.confetti span:nth-child(2)  { top: -5%; left: 12%; color: #b88c3f; }
.confetti span:nth-child(3)  { top: -5%; left: 20%; color: #e8c875; }
.confetti span:nth-child(4)  { top: -5%; left: 28%; color: #d4af37; }
.confetti span:nth-child(5)  { top: -5%; left: 36%; color: #f5d77a; }
.confetti span:nth-child(6)  { top: -5%; left: 44%; color: #a07a30; }
.confetti span:nth-child(7)  { top: -5%; left: 52%; color: #cea35a; }
.confetti span:nth-child(8)  { top: -5%; left: 60%; color: #e3c98f; }
.confetti span:nth-child(9)  { top: -5%; left: 68%; color: #b88c3f; }
.confetti span:nth-child(10) { top: -5%; left: 76%; color: #d4af37; }
.confetti span:nth-child(11) { top: -5%; left: 84%; color: #c9a85c; }
.confetti span:nth-child(12) { top: -5%; left: 92%; color: #a07a30; }
.confetti span:nth-child(13) { top: -5%; left: 8%;  color: #f5d77a; animation-duration: 11s; }
.confetti span:nth-child(14) { top: -5%; left: 16%; color: #cea35a; animation-duration: 10s; }
.confetti span:nth-child(15) { top: -5%; left: 24%; color: #d4af37; animation-duration: 12s; }
.confetti span:nth-child(16) { top: -5%; left: 32%; color: #e3c98f; animation-duration: 9.5s; }
.confetti span:nth-child(17) { top: -5%; left: 40%; color: #b88c3f; animation-duration: 11.5s; }
.confetti span:nth-child(18) { top: -5%; left: 48%; color: #f5d77a; animation-duration: 10.5s; }
.confetti span:nth-child(19) { top: -5%; left: 56%; color: #c9a85c; animation-duration: 12.5s; }
.confetti span:nth-child(20) { top: -5%; left: 64%; color: #a07a30; animation-duration: 9.8s; }
.confetti span:nth-child(21) { top: -5%; left: 72%; color: #e8c875; animation-duration: 11.2s; }
.confetti span:nth-child(22) { top: -5%; left: 80%; color: #d4af37; animation-duration: 10.8s; }
.confetti span:nth-child(23) { top: -5%; left: 88%; color: #b88c3f; animation-duration: 11.8s; }
.confetti span:nth-child(24) { top: -5%; left: 96%; color: #cea35a; animation-duration: 12.2s; }

@keyframes fall-confetti {
  0% { transform: translateY(-10vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* ============ UI CONTROLS ============ */

.ui {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(254, 250, 246, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-rose);
  border-radius: 100px;
  padding: 0.4rem 0.6rem;
  box-shadow: 0 6px 24px rgba(184, 107, 114, 0.18);
  z-index: 100;
  opacity: 0;
  transition: opacity 0.4s ease;
  font-family: var(--sans);
}

body:hover .ui, .ui:hover, .ui.show { opacity: 1; }

.ui-btn {
  width: 2.4rem;
  height: 2.4rem;
  border: none;
  background: transparent;
  color: var(--rose-deep);
  font-size: 1.4rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui-btn:hover { background: rgba(214, 143, 150, 0.15); }
.ui-btn.small { font-size: 1rem; width: 2rem; height: 2rem; }

.counter {
  font-size: 0.85rem;
  color: var(--rose-deep);
  font-weight: 500;
  padding: 0 0.6rem;
  min-width: 4rem;
  text-align: center;
  letter-spacing: 0.05em;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  z-index: 99;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(to left, var(--gold), var(--rose), var(--rose-deep));
  width: 0%;
  transition: width 0.5s ease;
  box-shadow: 0 0 8px rgba(206, 163, 90, 0.4);
}

.menu {
  position: fixed;
  inset: 0;
  background: rgba(74, 44, 36, 0.93);
  backdrop-filter: blur(20px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.menu[hidden] { display: none; }
.menu.visible { opacity: 1; }

.menu-inner {
  width: 100%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  color: var(--cream);
  position: relative;
}

.menu-title {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--gold-soft);
  margin-bottom: 2rem;
  text-align: center;
}

.menu-list { display: flex; flex-direction: column; gap: 0.5rem; }

.menu-item {
  background: transparent;
  border: 1px solid rgba(206, 163, 90, 0.32);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 400;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  text-align: right;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-item:hover { background: rgba(206, 163, 90, 0.15); border-color: var(--gold); }
.menu-item.current { background: rgba(206, 163, 90, 0.27); border-color: var(--gold); }

.menu-item .menu-item-num {
  color: var(--gold);
  font-weight: 600;
  margin-left: 1rem;
  font-size: 0.9rem;
}

.menu-close {
  position: absolute;
  top: -0.5rem;
  left: 0;
  background: transparent;
  border: none;
  color: var(--cream);
  font-size: 1.8rem;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.menu-close:hover { background: rgba(255, 255, 255, 0.1); }

.help-toast {
  position: fixed;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(74, 44, 36, 0.92);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  display: flex;
  gap: 1.5rem;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  pointer-events: none;
  border: 1px solid rgba(206, 163, 90, 0.3);
}

.help-toast.show { opacity: 1; visibility: visible; }

/* ============ FLOATING PLAYER — ניגון ממשיך לרוץ במעבר שקפים ============ */

.floating-player {
  position: fixed;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 0.55rem 0.55rem 1rem;
  background: linear-gradient(180deg, rgba(254, 250, 246, 0.97) 0%, rgba(248, 228, 220, 0.92) 100%);
  border: 1px solid var(--line-gold);
  border-radius: 100px;
  box-shadow: 0 16px 50px rgba(184, 107, 114, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  z-index: 110;
  backdrop-filter: blur(12px);
  font-family: var(--sans);
  min-width: 360px;
  max-width: 90vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
}

.floating-player[hidden] { display: none; }
.floating-player.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.float-play {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 60%, var(--gold-deep) 100%);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(206, 163, 90, 0.4);
}

.float-play:hover { transform: scale(1.08); }
.float-play svg { width: 50%; height: 50%; display: block; }
.float-play .bar-icon-pause { display: none; }
.floating-player.playing .float-play .bar-icon-play { display: none; }
.floating-player.playing .float-play .bar-icon-pause { display: block; }

.floating-player.playing .float-play {
  background: linear-gradient(135deg, var(--rose-soft) 0%, var(--rose) 60%, var(--rose-deep) 100%);
  border-color: var(--rose-deep);
}

.float-info {
  flex: 1 1 auto;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  padding: 0;
  gap: 0.1rem;
  font-family: var(--sans);
}

.float-info:hover .float-title { color: var(--gold-deep); }

.float-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--rose-deep);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.float-time {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  letter-spacing: 0.03em;
}

.float-close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-rose);
  background: rgba(254, 250, 246, 0.7);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.float-close:hover {
  background: rgba(214, 143, 150, 0.15);
  color: var(--rose-deep);
}

.float-seek-thin {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: -2px;
  height: 8px;
  padding: 3px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.float-seek-thin::before {
  content: '';
  flex: 1;
  height: 3px;
  background: rgba(184, 107, 114, 0.15);
  border-radius: 100px;
  position: relative;
}

.float-seek-thin-fill {
  position: absolute;
  right: 0.8rem;
  bottom: 3px;
  height: 3px;
  width: 0%;
  background: linear-gradient(to left, var(--gold-deep), var(--gold), var(--rose));
  border-radius: 100px;
  transition: width 0.15s linear;
  pointer-events: none;
}

.float-seek-thin:hover::before {
  background: rgba(184, 107, 114, 0.25);
}

/* ============ ANIMATIONS ============ */

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

.slide.active .overline,
.slide.active .overline-light,
.slide.active .title-welcome,
.slide.active .title-xl,
.slide.active .title-xxl,
.slide.active .title-l,
.slide.active .title-huge,
.slide.active .lead,
.slide.active .body-text,
.slide.active .ingredient-word,
.slide.active .ingredient-meaning,
.slide.active .hebrew-blessing,
.slide.active .prayer-heading,
.slide.active .welcome-bride,
.slide.active .heavens-text,
.slide.active .audio-control,
.slide.active .couple-name,
.slide.active .bless-wish {
  animation: fadeUp 1s ease both;
}

.slide.active .body-text { animation-delay: 0.2s; }
.slide.active .ingredient-meaning { animation-delay: 0.15s; }
.slide.active .lead { animation-delay: 0.1s; }
.slide.active .audio-control { animation-delay: 0.5s; }
.slide.active .couple-name { animation-delay: 0.3s; }

/* ============ RESPONSIVE ============ */

@media (max-width: 900px) {
  .slide { padding: 2rem 1.5rem; }
  .hero-split, .hero-split.reverse { flex-direction: column; }
  .split-image { flex: 0 0 40vh; width: 100%; }
  .split-content { flex: 1 1 auto; padding: 1.5rem; align-items: center !important; text-align: center; }
  .split-content .body-text { text-align: center; }
  .mitzvot-grid { gap: 0.8rem; }
  .mitzvah-card { min-width: 140px; padding: 1.2rem 1rem; }
  .mitzvah-card.highlighted { transform: scale(1); }
  .mitzvah-card.secondary { transform: scale(0.95); }
  .recipe-list { grid-template-columns: 1fr; gap: 0.4rem; }
  .couple-block { flex-direction: column; }
  .steps-grid { gap: 0.8rem; }
  .step-card { min-width: 160px; padding: 1.5rem 1rem; }
}
