:root {
  --bg: #09090b;
  --bg-soft: #101014;
  --text: #f7f2ed;
  --muted: #b7adb0;
  --line: rgba(239, 190, 167, 0.22);
  --line-hot: #e8b197;
  --accent: #efb9a1;
  --accent-soft: rgba(239, 185, 161, 0.16);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-border: rgba(255, 255, 255, 0.105);
  --shadow: 0 24px 70px rgba(0,0,0,.42);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --timeline-x: 24px;
  --character-h: min(34vh, 260px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 8%, rgba(109, 65, 79, .13), transparent 31rem),
    radial-gradient(circle at 90% 85%, rgba(117, 78, 57, .10), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: Vazirmatn, "IRANSansX", Tahoma, Arial, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .035;
  background-image: radial-gradient(rgba(255,255,255,.95) .42px, transparent .55px);
  background-size: 7px 7px;
  mix-blend-mode: soft-light;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 54vw;
  height: 54vw;
  max-width: 540px;
  max-height: 540px;
  border-radius: 50%;
  filter: blur(95px);
  pointer-events: none;
  opacity: .12;
  transition: background 1.2s ease, opacity 1.2s ease, transform 1.2s ease;
}
.ambient-a { top: -16vw; right: -18vw; background: #a65d70; }
.ambient-b { bottom: -18vw; left: -18vw; background: #af7c58; }
body[data-tone="purple"] .ambient-a { background:#7f4aa2; opacity:.17; }
body[data-tone="warm"] .ambient-b { background:#b17b45; opacity:.15; }
body[data-tone="amber"] .ambient-a { background:#a6684d; opacity:.14; }
body[data-tone="metal"] .ambient-a { background:#68657c; opacity:.11; }
body[data-tone="theatre"] .ambient-a { background:#7a1728; opacity:.16; }
body[data-tone="snow"] .ambient-a { background:#8aa7ba; opacity:.13; }
body[data-tone="earth"] .ambient-b { background:#8e7950; opacity:.14; }
body[data-tone="gold"] .ambient-b { background:#c58b46; opacity:.16; }
body[data-tone="rose"] .ambient-a { background:#a85872; opacity:.17; }

.story-progress {
  position: fixed;
  top: 0;
  right: var(--timeline-x);
  bottom: 0;
  width: 1px;
  z-index: 9;
  pointer-events: none;
}
.story-progress__track,
.story-progress__fill {
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  transform-origin: top;
}
.story-progress__track { background: rgba(255,255,255,.065); }
.story-progress__fill {
  background: linear-gradient(to bottom, rgba(238,185,160,.08), var(--line-hot), rgba(238,185,160,.4));
  box-shadow: 0 0 18px rgba(232,177,151,.26);
  transform: scaleY(0);
}

#story { position: relative; }
.scene {
  position: relative;
  min-height: 132svh;
  display: flex;
  align-items: center;
  padding: 14vh 22px calc(31vh + var(--safe-bottom));
  isolation: isolate;
}
.scene::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--timeline-x) - 5px);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(235,183,160,.35);
  background: #0d0d10;
  box-shadow: 0 0 0 6px rgba(232,177,151,.045);
  z-index: 10;
}
.scene--hero { min-height: 120svh; text-align: center; }
.scene--hero::before { opacity: 0; }
.scene--text { min-height: 105svh; }
.scene--compact { min-height: 118svh; }
.scene--future,
.scene--anniversary,
.scene--final { min-height: 125svh; text-align:center; }

.scene__inner {
  width: min(100%, 860px);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.scene__inner--wide { width: min(100%, 980px); }

.eyebrow,
.scene-index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .09em;
  color: var(--accent);
  margin-bottom: 12px;
}
.scene-index::after,
.eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(to left, var(--accent), transparent);
}

h1, h2, h3, p { margin: 0; }
h1 {
  font-size: clamp(48px, 15vw, 90px);
  line-height: 1.28;
  letter-spacing: -.025em;
}
h2 {
  font-size: clamp(30px, 9vw, 54px);
  line-height: 1.55;
  letter-spacing: -.018em;
}
h3 { font-size: clamp(20px, 5.4vw, 30px); line-height: 1.8; }
p {
  color: #ded6d4;
  font-size: clamp(15px, 4.35vw, 18px);
  line-height: 2.15;
}
.lead { margin-top: 24px; font-size: clamp(17px, 5vw, 21px); color:#f3ebe7; }
.hero-copy > p + p { margin-top: 18px; color:var(--muted); }

.scroll-hint {
  margin: 46px auto 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  color: #8f878a;
  font-size: 12px;
}
.scroll-hint i {
  width: 1px;
  height: 52px;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.09);
}
.scroll-hint i::after {
  content:"";
  position:absolute;
  top:-65%; left:0;
  width:1px; height:55%;
  background:var(--accent);
  animation: hintLine 2.1s ease-in-out infinite;
}
@keyframes hintLine { 0%{transform:translateY(0);opacity:0} 20%{opacity:1} 80%{opacity:1} 100%{transform:translateY(290%);opacity:0} }

.narrative-card,
.memory-copy,
.future-copy,
.final-message {
  padding: 28px 22px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.057), rgba(255,255,255,.022));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.narrative-card p,
.memory-copy p { margin-top: 15px; }
.memory-copy { margin-bottom: 34px; }

.photo-card {
  margin: 0;
  overflow: hidden;
  border-radius: 27px;
  border: 1px solid rgba(255,255,255,.12);
  background: #121217;
  box-shadow: 0 24px 66px rgba(0,0,0,.44);
  will-change: transform, opacity, filter;
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.025);
}

.scroll-fade {
  --fade-opacity: 0;
  --fade-y: 46px;
  --fade-scale: .97;
  opacity: var(--fade-opacity);
  transform: translate3d(0,var(--fade-y),0) scale(var(--fade-scale));
  filter: blur(calc((1 - var(--fade-opacity)) * 5px));
}
.reveal-text {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1);
}
.reveal-text.is-visible { opacity:1; transform:translateY(0); }

.photo-pair {
  position: relative;
  height: min(104vw, 560px);
  max-height: 560px;
  margin: 10px 0 34px;
}
.photo-pair .photo-card { position:absolute; }
.photo-pair--car .photo-card--a { right:0; top:4%; width:68%; height:78%; transform-origin:center; }
.photo-pair--car .photo-card--b { left:0; bottom:2%; width:57%; height:65%; }
.photo-pair--elevator .photo-card--a { right:0; top:1%; width:68%; height:82%; }
.photo-pair--elevator .photo-card--b { left:0; bottom:1%; width:57%; height:68%; }

.photo-stack {
  position: relative;
  height: min(122vw, 650px);
  max-height: 650px;
  margin-top: 22px;
}
.photo-stack .photo-card { position:absolute; }
.photo-stack--cafe .stack-1 { right:0; top:12%; width:61%; height:73%; transform:rotate(2.4deg); }
.photo-stack--cafe .stack-2 { left:2%; top:0; width:57%; height:67%; transform:rotate(-3deg); }
.photo-stack--cafe .stack-3 { left:15%; bottom:0; width:62%; height:66%; transform:rotate(2deg); }

.standalone-quote {
  position: relative;
  margin: 46px auto 0;
  max-width: 700px;
  padding: 28px 20px;
  text-align:center;
  color:#f5ded2;
  font-size: clamp(19px, 5.5vw, 28px);
  font-weight: 700;
  line-height: 1.95;
}
.standalone-quote::before,
.standalone-quote::after {
  content:"";
  position:absolute;
  left:18%; right:18%;
  height:1px;
  background:linear-gradient(to right,transparent,rgba(234,180,155,.36),transparent);
}
.standalone-quote::before { top:0; }
.standalone-quote::after { bottom:0; }
.standalone-quote--large { margin-top:70px; }

.scene--concert { overflow:hidden; }
.concert-lights { position:absolute; inset:0; pointer-events:none; opacity:.36; }
.concert-lights i { position:absolute; top:-18%; width:3px; height:70%; filter:blur(4px); transform-origin:top; }
.concert-lights i:nth-child(1){left:13%;background:#ff4d91;transform:rotate(-14deg)}
.concert-lights i:nth-child(2){left:39%;background:#736aff;transform:rotate(10deg)}
.concert-lights i:nth-child(3){right:28%;background:#ffbd66;transform:rotate(-8deg)}
.concert-lights i:nth-child(4){right:6%;background:#d65dff;transform:rotate(14deg)}
.concert-stage {
  height: min(72vw, 420px);
  min-height: 260px;
  border-radius: 30px;
  overflow:hidden;
  position:relative;
  border:1px solid rgba(255,255,255,.1);
  background:
    radial-gradient(circle at 50% 84%, rgba(255,194,122,.18), transparent 27%),
    linear-gradient(135deg,#26101e,#141328 50%,#081317);
  box-shadow: var(--shadow);
}
.beam { position:absolute; top:-8%; width:5px; height:86%; filter:blur(5px); opacity:.55; transform-origin:top; }
.beam--1 {left:17%;background:#ff4d8b;transform:rotate(-16deg)}
.beam--2 {left:48%;background:#807aff;transform:rotate(8deg)}
.beam--3 {right:19%;background:#ffc16a;transform:rotate(17deg)}
.concert-glow { position:absolute; left:50%; bottom:-15%; width:60%; aspect-ratio:1; transform:translateX(-50%); background:#e45f8c; opacity:.10; filter:blur(48px); border-radius:50%; }

.theatre-grid {
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.theatre-stage-photo { height:min(118vw,610px); }
.theatre-us-photo { height:min(85vw,450px); width:78%; margin:-68px 0 0 auto; }
.theatre-curtain {
  position:absolute; inset:0;
  pointer-events:none;
  background: linear-gradient(90deg,rgba(93,13,27,.20),transparent 26%,transparent 74%,rgba(93,13,27,.20));
  opacity:.55;
}

.photo-card--wide { height:min(122vw,650px); margin-top:10px; }
.scene--snow { overflow:hidden; }
.snow-layer { position:absolute; inset:0; pointer-events:none; overflow:hidden; z-index:1; }
.snowflake {
  position:absolute;
  top:-5vh;
  width:4px;
  height:4px;
  background:rgba(255,255,255,.65);
  border-radius:50%;
  filter:blur(.2px);
  animation: snowFall linear infinite;
}
@keyframes snowFall { to { transform:translate3d(12vw,115vh,0) rotate(360deg); } }

.photo-card--polaroid {
  width:min(92%,650px);
  margin: 0 auto;
  padding: 10px 10px 42px;
  border-radius: 9px;
  background:#e7e0d8;
  border:none;
  transform:rotate(1.8deg);
}
.photo-card--polaroid img { height:min(98vw,560px); border-radius:4px; }

.us-copy { text-align:center; max-width:780px; margin:0 auto 45px; }
.us-copy > p { color:#b8afb1; font-size:clamp(17px,4.8vw,22px); }
.us-copy > p + p { margin-top:8px; }
.us-copy h2 { margin-top:18px; }
.us-gallery {
  position:relative;
  height:min(170vw,900px);
  max-height:900px;
}
.us-gallery .photo-card { position:absolute; }
.us-1 { right:1%; top:4%; width:54%; height:43%; transform:rotate(2deg); }
.us-2 { left:1%; top:0; width:51%; height:39%; transform:rotate(-3deg); }
.us-3 { right:7%; bottom:5%; width:61%; height:48%; transform:rotate(-1deg); z-index:4; }
.us-4 { left:4%; bottom:13%; width:48%; height:39%; transform:rotate(3deg); z-index:3; }

.birthday-grid {
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height:min(135vw,720px);
}
.birthday-main { grid-row:1 / span 2; height:100%; }
.birthday-side { height:100%; }

.future-copy { text-align:center; max-width:780px; }
.future-copy > p { margin-top:24px; }
.future-highlight {
  margin:42px 0;
  padding:32px 16px;
  border-block:1px solid rgba(232,177,151,.17);
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:center;
}
.future-highlight span { color:#aaa0a4; font-size:14px; }
.future-highlight strong { color:#f1bda5; font-size:clamp(23px,6vw,34px); line-height:1.8; }

.final-message { text-align:center; max-width:800px; }
.final-message > p { margin-top:24px; }
.final-message strong { color:#f1bda5; }
.anniversary-line { width:58%; height:1px; background:linear-gradient(to right,transparent,rgba(239,185,161,.5),transparent); margin:38px auto; }
.final-message h3 + h3 { margin-top:4px; }
.accent-text { color:#f0b79e; }

.final-frame { text-align:center; }
.final-hug {
  width:min(96%,720px);
  margin: 24px auto 0;
  border:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
}
.final-hug img {
  width:100%;
  max-height:72vh;
  object-fit:contain;
  filter:drop-shadow(0 30px 44px rgba(0,0,0,.55));
}
.signature { margin-top:12px; color:#a99fa2; font-size:13px; letter-spacing:.02em; direction:ltr; }

.character-stage {
  position:fixed;
  z-index:8;
  left:0; right:0;
  bottom:calc(5px + var(--safe-bottom));
  height:var(--character-h);
  pointer-events:none;
  transition: opacity .65s ease, transform .65s ease;
}
.character-stage.is-hidden { opacity:0; transform:translateY(24px); }
.character-stage__inner { position:relative; width:min(100%,1000px); height:100%; margin:0 auto; }
.character {
  position:absolute;
  bottom:0;
  height:100%;
  width:auto;
  object-fit:contain;
  filter:drop-shadow(0 18px 20px rgba(0,0,0,.42));
  transition:
    left 1.15s cubic-bezier(.2,.75,.2,1),
    right 1.15s cubic-bezier(.2,.75,.2,1),
    transform 1.15s cubic-bezier(.2,.75,.2,1),
    opacity .5s ease;
  will-change:left,right,transform,opacity;
}
.character--farbod { left:-4%; }
.character--yasmin { right:-4%; }

.character-stage[data-stage="0"] .character--farbod { left:-5%; transform:translateX(-7%) scale(.92); }
.character-stage[data-stage="0"] .character--yasmin { right:-5%; transform:translateX(7%) scale(.88); }
.character-stage[data-stage="1"] .character--farbod { left:1%; transform:scale(.94); }
.character-stage[data-stage="1"] .character--yasmin { right:1%; transform:scale(.90); }
.character-stage[data-stage="2"] .character--farbod { left:7%; transform:scale(.96); }
.character-stage[data-stage="2"] .character--yasmin { right:7%; transform:scale(.92); }
.character-stage[data-stage="3"] .character--farbod { left:14%; transform:scale(.98); }
.character-stage[data-stage="3"] .character--yasmin { right:14%; transform:scale(.94); }
.character-stage[data-stage="4"] .character--farbod { left:20%; transform:scale(1); }
.character-stage[data-stage="4"] .character--yasmin { right:20%; transform:scale(.96); }
.character-stage[data-stage="5"] .character--farbod { left:27%; transform:scale(1); }
.character-stage[data-stage="5"] .character--yasmin { right:27%; transform:scale(.96); }
.character-stage[data-stage="6"] .character--farbod { left:31%; transform:scale(1); }
.character-stage[data-stage="6"] .character--yasmin { right:31%; transform:scale(.96); }
.character-stage[data-stage="7"] { opacity:0; transform:translateY(30px); }

@media (min-width: 760px) {
  :root { --timeline-x: max(32px, calc((100vw - 980px)/2 + 4px)); --character-h:min(35vh,320px); }
  .scene { padding-inline:48px; padding-bottom:calc(34vh + var(--safe-bottom)); }
  .memory-copy { max-width:670px; }
  .photo-pair { height:560px; }
  .photo-pair--car .photo-card--a { width:58%; }
  .photo-pair--car .photo-card--b { width:49%; }
  .photo-stack--cafe .stack-1 { width:48%; }
  .photo-stack--cafe .stack-2 { width:44%; }
  .photo-stack--cafe .stack-3 { width:46%; left:26%; }
  .theatre-grid { grid-template-columns:1.2fr .8fr; align-items:end; }
  .theatre-stage-photo { height:620px; }
  .theatre-us-photo { width:100%; height:410px; margin:0 0 38px; }
  .photo-card--wide { height:650px; }
  .photo-card--polaroid img { height:560px; }
  .us-gallery { height:820px; }
  .birthday-grid { height:720px; gap:18px; }
  .character-stage[data-stage="0"] .character--farbod { left:1%; }
  .character-stage[data-stage="0"] .character--yasmin { right:1%; }
  .character-stage[data-stage="1"] .character--farbod { left:8%; }
  .character-stage[data-stage="1"] .character--yasmin { right:8%; }
  .character-stage[data-stage="2"] .character--farbod { left:15%; }
  .character-stage[data-stage="2"] .character--yasmin { right:15%; }
  .character-stage[data-stage="3"] .character--farbod { left:22%; }
  .character-stage[data-stage="3"] .character--yasmin { right:22%; }
  .character-stage[data-stage="4"] .character--farbod { left:29%; }
  .character-stage[data-stage="4"] .character--yasmin { right:29%; }
  .character-stage[data-stage="5"] .character--farbod { left:34%; }
  .character-stage[data-stage="5"] .character--yasmin { right:34%; }
  .character-stage[data-stage="6"] .character--farbod { left:37%; }
  .character-stage[data-stage="6"] .character--yasmin { right:37%; }
}

@media (max-width: 390px) {
  .scene { padding-inline:18px; }
  .narrative-card,.memory-copy,.future-copy,.final-message { padding:24px 18px; border-radius:24px; }
  .birthday-grid { grid-template-columns:1fr; grid-template-rows:auto; height:auto; }
  .birthday-main,.birthday-side { height:72vw; }
  .birthday-main { grid-row:auto; height:118vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
  .scroll-fade { opacity:1 !important; transform:none !important; filter:none !important; }
  .reveal-text { opacity:1 !important; transform:none !important; }
}

/* =========================================================
   INTRO + MUSIC
   ========================================================= */
body.is-before-start {
  overflow: hidden;
  height: 100svh;
  touch-action: none;
}

.start-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 28px 22px calc(28px + var(--safe-bottom));
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(239,185,161,.14), transparent 34%),
    radial-gradient(circle at 14% 86%, rgba(112,84,126,.12), transparent 34%),
    #09090b;
  transition: opacity 1.15s cubic-bezier(.2,.75,.2,1), visibility 1.15s step-end;
}

.start-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .3;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at center, #000 10%, transparent 75%);
  mask-image: radial-gradient(circle at center, #000 10%, transparent 75%);
}

.start-screen.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.start-screen__glow {
  position: absolute;
  width: min(82vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(231,164,140,.11);
  filter: blur(70px);
  animation: startGlow 5s ease-in-out infinite alternate;
}

.start-screen__content {
  position: relative;
  z-index: 2;
  width: min(100%, 620px);
  text-align: center;
}

.start-screen__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #efb9a1;
  font-size: 13px;
  letter-spacing: .02em;
}

.start-screen h1 {
  font-size: clamp(36px, 10vw, 68px);
  line-height: 1.55;
  font-weight: 800;
}

.start-screen p {
  margin: 14px auto 0;
  color: #b9afb2;
  font-size: clamp(14px, 4.1vw, 17px);
}

.start-button {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(239,185,161,.26);
  outline: none;
  margin: 38px auto 0;
  min-height: 58px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff7f3;
  background: linear-gradient(135deg, rgba(239,185,161,.18), rgba(255,255,255,.055));
  box-shadow: 0 16px 52px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.07);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.start-button:active { transform: scale(.975); }
.start-button i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  font-style: normal;
  animation: startArrow 1.9s ease-in-out infinite;
}

.start-screen small {
  display: block;
  margin-top: 16px;
  color: #766f72;
  font-size: 11px;
}

.music-toggle {
  position: fixed;
  z-index: 40;
  top: calc(14px + env(safe-area-inset-top, 0px));
  left: 14px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d9d0d2;
  background: rgba(10,10,13,.62);
  box-shadow: 0 8px 30px rgba(0,0,0,.24);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font: inherit;
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .6s ease, transform .6s ease, border-color .25s ease;
  -webkit-tap-highlight-color: transparent;
}

body.story-started .music-toggle {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.music-toggle__bars {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
}

.music-toggle__bars i {
  display: block;
  width: 2px;
  border-radius: 10px;
  background: #efb9a1;
  transform-origin: bottom;
  animation: musicBar .75s ease-in-out infinite alternate;
}
.music-toggle__bars i:nth-child(1) { height: 7px; animation-delay: -.22s; }
.music-toggle__bars i:nth-child(2) { height: 13px; animation-delay: -.48s; }
.music-toggle__bars i:nth-child(3) { height: 9px; animation-delay: -.12s; }
.music-toggle.is-muted .music-toggle__bars i {
  animation: none;
  height: 2px;
  opacity: .48;
}
.music-toggle.is-muted { border-color: rgba(255,255,255,.07); color:#898184; }
.music-toggle.is-muted .music-toggle__bars i { background:#8d8588; }

@keyframes startGlow {
  from { transform: scale(.92); opacity: .58; }
  to { transform: scale(1.08); opacity: 1; }
}
@keyframes startArrow {
  0%,100% { transform: translateY(-2px); opacity:.55; }
  50% { transform: translateY(3px); opacity:1; }
}
@keyframes musicBar {
  from { transform: scaleY(.45); }
  to { transform: scaleY(1); }
}

@media (min-width: 760px) {
  .music-toggle { top: 20px; left: 20px; }
  .start-button:hover {
    transform: translateY(-2px);
    border-color: rgba(239,185,161,.42);
    background: linear-gradient(135deg, rgba(239,185,161,.23), rgba(255,255,255,.065));
  }
}

@media (prefers-reduced-motion: reduce) {
  .start-screen__glow,
  .start-button i,
  .music-toggle__bars i { animation: none !important; }
}
