/* SungAbout v3. One night theme on every page. No third-party fonts. Motion is CSS plus app.js
   (sound chips, record ring, phone videos, hero parallax, song player) and stops for reduced motion. */

:root {
  --bg: #0c0720;
  --bg-2: #160d35;
  --text: #f7f2ff;
  --muted: #cdc2e8;
  --glass: rgba(255, 255, 255, .065);
  --glass-2: rgba(255, 255, 255, .11);
  --edge: rgba(255, 255, 255, .16);
  --coral: #ff7a59;
  --pink: #ff4f8b;
  --violet: #8b5cff;
  --honey: #ffc857;
  --mint: #6fd8bd;
  --grad: linear-gradient(100deg, #ff9a5c 0%, #ff4f8b 50%, #8b5cff 100%);
  --display: "Segoe UI Variable Display", "SF Pro Rounded", ui-rounded, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --print: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: radial-gradient(120% 80% at 50% -10%, var(--bg-2), var(--bg) 60%);
  color: var(--text);
  font: 400 1.125rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 800; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Moving glow behind every page */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .45; }
.aurora i:nth-child(1) { left: -20vmax; top: -25vmax; background: #8b5cff; }
.aurora i:nth-child(2) { right: -25vmax; top: 10vmax; background: #ff4f8b; opacity: .3; }
.aurora i:nth-child(3) { left: 10vmax; bottom: -35vmax; background: #ff9a5c; opacity: .22; }

/* Buttons */
.btn {
  display: inline-block; position: relative;
  background: var(--grad); background-size: 160% 100%; color: #fff;
  font: 700 1.05rem/1 var(--display); text-decoration: none;
  padding: 1rem 1.55rem; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 10px 30px -8px #ff4f8baa, inset 0 -3px 0 #0003;
  transition: transform .18s ease, box-shadow .18s ease, background-position .4s ease;
}
.btn:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 36px -8px #ff4f8bcc, inset 0 -3px 0 #0003; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; }
.btn-big { font-size: 1.2rem; padding: 1.15rem 1.9rem; }
.btn-small { padding: .72rem 1.15rem; font-size: .98rem; }
.btn-line { background: var(--glass-2); box-shadow: inset 0 0 0 2px var(--edge); }
.btn-line:hover { box-shadow: inset 0 0 0 2px #fff8; }

/* Header and logo */
.top {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem clamp(1rem, 4vw, 3rem);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; filter: drop-shadow(0 6px 14px #ff4f8b66); }
.word { font: 800 1.5rem/1 var(--display); letter-spacing: -0.01em; }
.word b, .foot-brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; color: var(--muted); }
.nav a:not(.btn):hover { color: var(--text); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2rem;
  padding: 2.5rem clamp(1rem, 5vw, 4.5rem) 4rem;
  min-height: 680px;
}
.hero-copy { max-width: 37rem; }
.hero h1 { font-size: clamp(2.8rem, 6.2vw, 5.2rem); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 1.4rem; }
.lede { font-size: 1.3rem; color: var(--muted); max-width: 31rem; margin-bottom: 2.2rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.link-play { font: 700 1.1rem/1 var(--display); text-decoration: none; display: inline-flex; align-items: center; gap: .55rem; }
.link-play::before { content: ""; width: 0; height: 0; border-left: 12px solid currentColor; border-block: 8px solid transparent; margin-left: 4px; }
.link-play:hover { color: var(--honey); }

.rot { display: inline-block; height: 1.12em; overflow: hidden; vertical-align: bottom; }
.rot-track { display: flex; flex-direction: column; }
.rot-track > span {
  display: block; height: 1.12em; line-height: 1.12em; white-space: nowrap;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Hero 3D stage: phone with the lyric video, cover and disc behind it, a moving grid floor.
   app.js sets --px / --py (-1..1) from the pointer for a gentle parallax. */
.stage { position: relative; height: 600px; perspective: 1400px; }
.floor {
  position: absolute; left: -45%; right: -25%; bottom: -6%; height: 60%;
  background:
    repeating-linear-gradient(90deg, #8b5cff55 0 2px, transparent 2px 70px),
    repeating-linear-gradient(0deg, #ff4f8b55 0 2px, transparent 2px 70px);
  transform: rotateX(72deg); transform-origin: 50% 100%;
  -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000 30%, transparent);
          mask-image: radial-gradient(closest-side at 50% 50%, #000 30%, transparent);
}
.scene {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateY(calc(var(--px, 0) * 7deg)) rotateX(calc(var(--py, 0) * -5deg));
  transition: transform .4s ease-out;
}
.cover3d {
  position: absolute; left: -10%; top: 34%; width: 210px; height: 210px; border-radius: 18px;
  box-shadow: 0 30px 60px -20px #000e, 0 0 0 1px #ffffff1f;
  transform: translateZ(-240px) rotateY(18deg) rotateZ(-6deg);
}
.disc {
  position: absolute; left: 50%; top: 48%; width: 440px; height: 440px; margin: -220px 0 0 -170px;
  border-radius: 50%;
  background:
    conic-gradient(from 10deg, #ffffff12, transparent 14%, #ffffff16 30%, transparent 46%, #ffffff10 62%, transparent 78%, #ffffff14 92%, transparent),
    repeating-radial-gradient(circle, #1b1430 0 2px, #0f0a1f 2px 4px);
  box-shadow: 0 40px 80px -30px #000, inset 0 0 0 8px #0a0616, 0 0 0 1px #ffffff14;
  transform: translateZ(-160px) rotateY(-24deg);
}
.disc-label {
  position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; margin: -75px 0 0 -75px;
  border-radius: 50%; background: var(--grad); display: grid; place-items: center;
}
.disc-label svg { width: 64px; height: 64px; }
.phone-wrap { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; transform: translate(-58%, -50%) rotateY(-22deg) rotateX(8deg) rotateZ(2deg); }
.phone {
  position: relative; width: 272px; padding: 14px; border-radius: 44px;
  background: linear-gradient(145deg, #2c2346, #120c25);
  box-shadow: 0 0 0 2px #4a3d6e, 0 0 0 7px #0b0718, 30px 50px 80px -20px #000d, 0 0 120px -20px #ff4f8b66;
}
.notch { position: absolute; left: 50%; top: 22px; width: 84px; height: 22px; margin-left: -42px; border-radius: 12px; background: #0b0718; z-index: 2; }
.phone-video { display: block; width: 244px; height: 434px; border-radius: 32px; object-fit: cover; background: #241848; }
.sound-btn {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0; z-index: 3;
  font: 700 .95rem/1 var(--display); color: #fff; background: #0008; border: 1px solid #fff5;
  padding: .6rem 1rem; border-radius: 999px; cursor: pointer; backdrop-filter: blur(6px);
}
.sound-btn[aria-pressed="true"] { background: var(--grad); border-color: transparent; }
.float-card {
  position: absolute; padding: .8rem 1.1rem; border-radius: 16px;
  background: #ffffff14; border: 1px solid var(--edge); backdrop-filter: blur(10px);
  font: 600 1rem/1.3 var(--display); box-shadow: 0 24px 40px -18px #000c;
}
.fc-name { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.fc-1 { left: 0; top: 6%; transform: translateZ(120px) rotateY(10deg) rotateZ(-4deg); }
.fc-2 { right: 1%; bottom: 14%; transform: translateZ(160px) rotateY(-14deg) rotateZ(3deg); }
.spark { position: absolute; font: 700 2rem/1 var(--display); color: var(--honey); opacity: .9; transform: translateZ(80px); }
.s1 { left: 14%; top: 66%; } .s2 { right: 12%; top: 18%; color: var(--pink); }
.s3 { right: 22%; top: 62%; color: var(--mint); } .s4 { left: 34%; top: 4%; color: var(--coral); font-size: 1.4rem; }

/* Sections */
section:not(.hero) { padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 5vw, 4.5rem); }
.how, .prices { text-align: center; }

/* Pick from 10 sounds: chips and a 3D ring of record sleeves */
.sound { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.sound h2 { margin-bottom: 1.6rem; }
.facts { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.facts li { font: 600 1.02rem/1 var(--display); padding: .7rem 1rem; border-radius: 999px; background: var(--glass); border: 1px solid var(--edge); color: var(--muted); }
.facts .fact-name { color: #fff; background: var(--grad); border-color: transparent; font-weight: 800; }
.genres { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; margin-bottom: 1.2rem; max-width: 40rem; }
.genre {
  font: 800 1.05rem/1 var(--display); text-decoration: none; color: var(--text); white-space: nowrap;
  padding: .95rem .5rem; border-radius: 16px; background: var(--glass-2); border: 1px solid var(--edge);
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  box-shadow: 0 8px 0 -2px #00000055;
  transition: transform .15s ease, background .15s ease;
}
.genre::before { content: ""; width: 0; height: 0; border-left: 9px solid currentColor; border-block: 6px solid transparent; flex: none; }
.genre:hover { transform: translateY(-3px); background: #ffffff1f; }
.genre[aria-pressed="true"] { background: var(--grad); border-color: transparent; transform: translateY(2px); box-shadow: 0 5px 0 -2px #00000055; }
.genre[aria-pressed="true"]::before { border: 0; width: 10px; height: 12px; background: linear-gradient(90deg, #fff 0 3px, transparent 3px 7px, #fff 7px 10px); }
.now { color: var(--muted); font-size: 1.05rem; min-height: 1.6em; }

.ring-stage { position: relative; height: 470px; perspective: 1100px; perspective-origin: 50% 30%; }
.ring-tilt { position: absolute; left: 50%; top: 46%; transform-style: preserve-3d; transform: rotateX(-10deg); }
.ring { position: relative; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3, .8, .2, 1); }
.sleeve {
  position: absolute; left: -75px; top: -75px; width: 150px; height: 150px; border-radius: 16px;
  padding: .8rem; display: flex; flex-direction: column; justify-content: space-between;
  color: #fff; box-shadow: 0 20px 40px -18px #000c, inset 0 0 0 1px #ffffff2e;
  backface-visibility: hidden;
  transform: rotateY(calc(var(--i) * 36deg)) translateZ(250px);
}
.sleeve::after {
  content: ""; position: absolute; right: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%;
  background: repeating-radial-gradient(circle, #1b1430 0 2px, #0f0a1f 2px 4px); box-shadow: 0 0 0 1px #ffffff26;
}
.sleeve .sl-for { font: 700 .8rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.sleeve b { font: 800 1.35rem/1 var(--display); position: relative; z-index: 1; }
.sleeve.is-front { box-shadow: 0 30px 60px -18px #ff4f8bcc, inset 0 0 0 2px #fff; }
.sl-pop { --i: 0; background: linear-gradient(135deg, #ff9a5c, #ff4f8b); }
.sl-country { --i: 1; background: linear-gradient(135deg, #ffc857, #ff7a59); }
.sl-rap { --i: 2; background: linear-gradient(135deg, #6fd8bd, #3b82f6); }
.sl-rnb { --i: 3; background: linear-gradient(135deg, #8b5cff, #ff4f8b); }
.sl-rock { --i: 4; background: linear-gradient(135deg, #ff4f4f, #8b5cff); }
.sl-latin { --i: 5; background: linear-gradient(135deg, #ff7a59, #ffc857 60%, #ff4f8b); }
.sl-dance { --i: 6; background: linear-gradient(135deg, #00d4ff, #8b5cff); }
.sl-jazz { --i: 7; background: linear-gradient(135deg, #2b2470, #c9a227); }
.sl-indie { --i: 8; background: linear-gradient(135deg, #6fd8bd, #a78bfa); }
.sl-afrobeats { --i: 9; background: linear-gradient(135deg, #22c55e, #ffc857 55%, #ff7a59); }
.ring-floor {
  position: absolute; left: 50%; top: 74%; width: 520px; height: 120px; margin-left: -260px; border-radius: 50%;
  background: radial-gradient(closest-side, #ff4f8b40, transparent); filter: blur(6px);
}

/* How it arrives: a generic text thread */
.arrives { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.arrives h2 { margin-bottom: 1.2rem; }
.arrives .lede { margin-bottom: 2rem; }
.thread-stage { perspective: 1300px; display: flex; justify-content: center; }
.thread-phone {
  width: 340px; border-radius: 46px; padding: 14px; transform: rotateY(16deg) rotateX(6deg) rotateZ(-2deg);
  background: linear-gradient(145deg, #2c2346, #120c25);
  box-shadow: 0 0 0 2px #4a3d6e, 0 0 0 7px #0b0718, -30px 50px 80px -20px #000d, 0 0 120px -30px #8b5cff88;
}
.thread-phone > * { background: #0f0a22; }
.th-top { display: flex; align-items: center; gap: .6rem; padding: 1.4rem 1rem .8rem; border-radius: 34px 34px 0 0; border-bottom: 1px solid #ffffff14; }
.th-back { font: 400 2rem/1 var(--display); color: var(--muted); margin-right: .2rem; }
.th-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #6fd8bd, #8b5cff); font: 800 1rem/1 var(--display); }
.th-name { font: 700 1.05rem/1 var(--display); }
.th-heart { color: var(--pink); }
.th-body { display: flex; flex-direction: column; align-items: flex-end; gap: .55rem; padding: 1.1rem .9rem 1.2rem; min-height: 470px; }
.bubble { margin: 0; max-width: 86%; border-radius: 20px 20px 6px 20px; font-size: 1.02rem; line-height: 1.35; }
.bubble.out { background: var(--grad); color: #fff; padding: .65rem .95rem; }
.pop-1 { white-space: nowrap; }
.bubble.card { display: block; padding: 0; overflow: hidden; text-decoration: none; background: #1f1840; border: 1px solid #ffffff22; width: 230px; }
.bubble.card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.card-text { display: grid; gap: .15rem; padding: .7rem .9rem .8rem; }
.card-text b { font: 800 1.02rem/1.2 var(--display); }
.card-text span { font-size: .88rem; color: var(--muted); }
.bubble.in { align-self: flex-start; margin-top: .9rem; padding: .65rem .95rem; border-radius: 20px 20px 20px 6px; background: #2a2148; border: 1px solid #ffffff1c; color: #fff; }
.th-compose { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem 1.1rem; border-radius: 0 0 34px 34px; }
.th-compose span { flex: 1; padding: .55rem .9rem; border-radius: 999px; border: 1px solid #ffffff22; color: #8f84ad; font-size: .95rem; }
.th-compose i { width: 32px; height: 32px; border-radius: 50%; background: var(--grad); }

/* Steps */
.steps { list-style: none; margin: 3rem auto 0; padding: 0; max-width: 76rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; perspective: 1100px; }
.step h3 { text-align: center; text-wrap: balance; }
.step {
  position: relative; padding: 2.6rem 1.2rem 2rem; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--edge);
  display: grid; justify-items: center; gap: 1rem; box-shadow: 0 30px 60px -30px #000c;
}
.step svg { width: 76px; height: 76px; }
.step h3 { font-size: 1.4rem; font-weight: 800; }
.num {
  position: absolute; top: -20px; left: 50%; translate: -50% 0; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad); font: 800 1.15rem/1 var(--display);
  box-shadow: 0 8px 20px -6px #ff4f8b99;
}

/* Prices */
.packs { margin: 3rem auto 0; max-width: 66rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; perspective: 1100px; }
.pack {
  padding: 2.2rem 1.6rem; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--edge);
  display: flex; flex-direction: column; align-items: center; gap: 1rem; box-shadow: 0 30px 60px -30px #000c;
  transition: transform .35s ease, box-shadow .35s ease;
}
.pack:hover { transform: rotateX(6deg) rotateY(-6deg) translateY(-6px); box-shadow: 0 40px 70px -30px #000, 0 0 0 1px #ffffff33; }
.pack h3 { font-size: 1.35rem; font-weight: 800; }
.price { font: 800 3.6rem/1 var(--display); letter-spacing: -0.02em; }
.pack ul { list-style: none; margin: 0 0 auto; padding: 0; display: grid; gap: .5rem; color: var(--muted); }
.pack li::before { content: "♪ "; color: var(--pink); font-weight: 700; }
.pack-pop { background: linear-gradient(160deg, #ff4f8b33, #8b5cff33); border-color: #ff4f8b88; box-shadow: 0 0 0 1px #ff4f8b55, 0 40px 80px -30px #ff4f8b88; }
.pack-pop .price { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.only-you { margin-top: 2.6rem; font: 800 1.5rem/1.2 var(--display); }
.only-you span { color: var(--pink); }

/* Final call */
.cta-card {
  max-width: 56rem; margin: 0 auto; text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; border-radius: 32px;
  background: radial-gradient(80% 120% at 50% 0%, #ff4f8b44, transparent 70%), var(--glass);
  border: 1px solid var(--edge);
}
.cta-big { font: 800 clamp(2rem, 5vw, 3.4rem)/1.1 var(--display); margin-bottom: 2rem; }

.foot { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; align-items: center; justify-content: center; padding: 2rem 1rem 2.8rem; font-size: 1rem; color: var(--muted); border-top: 1px solid #ffffff12; }
.foot-brand { font: 800 1.15rem/1 var(--display); color: var(--text); text-decoration: none; }

/* Plain pages: order, privacy, terms */
.page { max-width: 46rem; margin: 0 auto; padding: 2rem 1.25rem 4.5rem; }
.page h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: .8rem; }
.page h2 { font-size: 1.45rem; margin: 2.2rem 0 .6rem; }
.page p, .page li { color: var(--muted); }
.page a { color: var(--text); }
.page ul { padding-left: 1.2rem; }
.page li + li { margin-top: .35rem; }
.page .lead { font-size: 1.25rem; }
.panel { padding: clamp(1.4rem, 4vw, 2.4rem); border-radius: 28px; background: var(--glass); border: 1px solid var(--edge); box-shadow: 0 40px 80px -40px #000; }

/* Order form */
.form { display: grid; gap: 1.6rem; }
.field { display: grid; gap: .55rem; }
.field > label, .field > legend { font: 700 1.15rem/1.3 var(--display); color: var(--text); padding: 0; margin-bottom: .55rem; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field > legend { float: left; width: 100%; }
fieldset.field > legend + * { clear: both; }
.form input[type="text"], .form input[type="email"] {
  width: 100%; font: 1.1rem/1.4 var(--body); color: var(--text);
  padding: .9rem 1rem; border: 1px solid var(--edge); border-radius: 14px; background: #ffffff0d;
}
.form input::placeholder { color: #b8acd6; }
.form input:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; border-color: transparent; }
.three { display: grid; gap: .6rem; }
.pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.pills label, .pack-pick label { position: relative; }
.pills input, .pack-pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pills span {
  display: inline-block; padding: .8rem 1.15rem; border-radius: 999px; border: 1px solid var(--edge);
  font: 700 1.05rem/1 var(--display); background: #ffffff0d;
}
.pills input:checked + span, .pack-pick input:checked + span { background: var(--grad); border-color: transparent; color: #fff; }
.pills input:focus-visible + span, .pack-pick input:focus-visible + span { outline: 3px solid var(--honey); outline-offset: 2px; }
.pack-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.pack-pick span {
  display: grid; gap: .35rem; text-align: center; padding: 1rem .6rem; border-radius: 18px; border: 1px solid var(--edge);
  background: #ffffff0d; font: 700 1.05rem/1.2 var(--display);
}
.pack-pick b { font-size: 1.7rem; }
.form input[type="file"] { font: 1rem var(--body); color: var(--muted); }
.form input[type="file"]::file-selector-button {
  font: 700 1rem/1 var(--display); color: var(--text); background: #ffffff14; border: 1px solid var(--edge);
  padding: .7rem 1rem; border-radius: 999px; margin-right: .8rem; cursor: pointer;
}
.form .btn { justify-self: start; }
.hint { font-size: 1rem; color: var(--muted); }

/* Song page: what the person who gets the song sees */
.gift-main { max-width: 72rem; margin: 0 auto; padding: clamp(1.5rem, 5vw, 4rem) clamp(1rem, 5vw, 3rem) 3rem; }
.gift-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; perspective: 1400px; }
.gift-cover-wrap { position: relative; transform-style: preserve-3d; transform: rotateY(14deg) rotateX(4deg); }
.gift-cover { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 1; border-radius: 26px; box-shadow: 0 50px 90px -30px #000, 0 0 0 1px #ffffff22, 0 0 140px -40px #ff4f8b99; }
.gift-disc {
  position: absolute; top: 6%; right: -14%; width: 88%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 10deg, #ffffff12, transparent 14%, #ffffff16 30%, transparent 46%, #ffffff10 62%, transparent 78%, #ffffff14 92%, transparent),
              repeating-radial-gradient(circle, #1b1430 0 2px, #0f0a1f 2px 4px);
  box-shadow: 0 30px 60px -20px #000, 0 0 0 1px #ffffff14;
  transform: translateZ(-60px);
}
.gift-disc::after { content: ""; position: absolute; inset: 36%; border-radius: 50%; background: var(--grad); }
.gift-for { font: 700 1.1rem/1 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.gift-name { font-size: clamp(4rem, 11vw, 8rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1; margin: .4rem 0 .5rem;
  background: linear-gradient(100deg, #ffb37a 0%, #ff4f8b 55%, #a67cff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gift-title { font: 700 1.6rem/1.2 var(--display); margin-bottom: 2rem; }
.player { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.8rem; }
.player-audio { width: 100%; max-width: 26rem; }
.play-btn {
  flex: none; width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer; background: var(--grad);
  display: grid; place-items: center; box-shadow: 0 16px 40px -10px #ff4f8bcc;
  transition: transform .2s ease;
}
.play-btn:hover { transform: scale(1.06); }
.play-ico { width: 0; height: 0; border-left: 26px solid #fff; border-block: 16px solid transparent; margin-left: 7px; }
.play-btn[aria-pressed="true"] .play-ico { border: 0; margin: 0; width: 24px; height: 28px; background: linear-gradient(90deg, #fff 0 8px, transparent 8px 16px, #fff 16px 24px); }
.player-bar { flex: 1; display: grid; gap: .45rem; max-width: 20rem; }
.player-track { height: 8px; border-radius: 99px; background: #ffffff22; overflow: hidden; }
.player-fill { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 99px; transition: width .25s linear; }
.player-time { font-size: .95rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.downloads { display: flex; flex-wrap: wrap; gap: .8rem; }
.gift-video { display: flex; justify-content: center; }
.gift-video-frame { width: min(360px, 90vw); padding: 12px; border-radius: 38px; background: linear-gradient(145deg, #2c2346, #120c25); box-shadow: 0 0 0 2px #4a3d6e, 0 40px 80px -30px #000; }
.gift-video-frame video { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 28px; background: #241848; }
.gift-lyrics { max-width: 40rem; margin: 0 auto; text-align: center; }
.gift-lyrics h2 { margin-bottom: 1.6rem; }
.lyric-sheet { padding: clamp(1.6rem, 5vw, 2.6rem); border-radius: 28px; background: var(--glass); border: 1px solid var(--edge); font: 1.2rem/1.75 var(--print); }
.lyric-sheet .part { font: 800 .85rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--pink); margin: 1.6rem 0 .5rem; }
.lyric-sheet .part:first-child { margin-top: 0; }
.lyric-compact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem 2rem; text-align: left; font-size: 1rem; line-height: 1.55; }
.lyric-compact p { margin: 0; }
.lyric-compact .part { margin: 0 0 .4rem; }
.lyric-compact .part span { color: var(--muted); letter-spacing: .06em; }
.gift-lyrics:has(.lyric-compact) { max-width: 46rem; }
@media (max-width: 560px) { .lyric-compact { grid-template-columns: 1fr; gap: 1rem; font-size: .95rem; } }
body.gift .foot { gap: 1rem 2rem; }

/* Motion. Everything below is skipped when the visitor asks for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .aurora i { animation: drift 22s ease-in-out infinite alternate; }
  .aurora i:nth-child(2) { animation-duration: 28s; animation-delay: -6s; }
  .aurora i:nth-child(3) { animation-duration: 34s; animation-delay: -12s; }
  .rot-track { animation: rotate-words 11s cubic-bezier(.7, 0, .3, 1) infinite; }
  .floor { animation: floor-run 3s linear infinite; }
  .disc { animation: disc-spin 9s linear infinite; }
  .phone { animation: phone-float 7s ease-in-out infinite; }
  .cover3d { animation: cover-float 9s ease-in-out infinite; }
  .fc-1 { animation: card-a 8s ease-in-out infinite; }
  .fc-2 { animation: card-b 9s ease-in-out infinite; }
  .spark { animation: spark 6s ease-in-out infinite; }
  .s2 { animation-delay: -1.5s; } .s3 { animation-delay: -3s; } .s4 { animation-delay: -4.5s; }
  .ring-tilt { animation: ring-bob 7s ease-in-out infinite; }
  .ring:not(.picked) { animation: ring-idle 40s linear infinite; }
  .sound.is-playing .sleeve.is-front::after { animation: sleeve-spin 1.6s linear infinite; }
  .gift-disc { animation: gift-spin 12s linear infinite; }
  .gift.is-playing .gift-disc { animation-duration: 3s; }
  .gift-cover-wrap { animation: gift-float 8s ease-in-out infinite; }

  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    .tilt { animation: tilt-in linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    .phone-wrap { animation: phone-scroll linear both; animation-timeline: scroll(root); animation-range: 0 700px; }
    .thread-phone { animation: thread-in linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .pop-1, .pop-2, .pop-3 { animation: bubble-in linear both; animation-timeline: view(); }
    .pop-1 { animation-range: entry 20% cover 30%; }
    .pop-2 { animation-range: entry 30% cover 38%; }
    .pop-3 { animation-range: entry 40% cover 46%; }
  }
}

@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.15); } }
@keyframes rotate-words {
  0%, 18% { transform: translateY(0); }
  25%, 43% { transform: translateY(-1.12em); }
  50%, 68% { transform: translateY(-2.24em); }
  75%, 93% { transform: translateY(-3.36em); }
  100% { transform: translateY(-4.48em); }
}
@keyframes floor-run { to { background-position: 0 0, 0 70px; } }
@keyframes disc-spin { to { transform: translateZ(-160px) rotateY(-24deg) rotate(360deg); } }
@keyframes phone-float { 0%, 100% { transform: translateY(0) rotateZ(0); } 50% { transform: translateY(-16px) rotateZ(-1deg); } }
@keyframes cover-float {
  0%, 100% { transform: translateZ(-240px) rotateY(18deg) rotateZ(-6deg) translateY(0); }
  50% { transform: translateZ(-240px) rotateY(24deg) rotateZ(-4deg) translateY(-18px); }
}
@keyframes card-a {
  0%, 100% { transform: translateZ(120px) rotateY(10deg) rotateZ(-4deg) translateY(0); }
  50% { transform: translateZ(120px) rotateY(16deg) rotateZ(-2deg) translateY(-14px); }
}
@keyframes card-b {
  0%, 100% { transform: translateZ(160px) rotateY(-14deg) rotateZ(3deg) translateY(0); }
  50% { transform: translateZ(160px) rotateY(-8deg) rotateZ(1deg) translateY(12px); }
}
@keyframes spark { 0%, 100% { transform: translateZ(80px) translateY(0) scale(1); opacity: .9; } 50% { transform: translateZ(80px) translateY(-26px) scale(1.2); opacity: .5; } }
@keyframes ring-bob { 0%, 100% { transform: rotateX(-10deg) translateY(0); } 50% { transform: rotateX(-14deg) translateY(-10px); } }
@keyframes ring-idle { to { transform: rotateY(-360deg); } }
@keyframes sleeve-spin { to { transform: rotate(360deg); } }
@keyframes gift-spin { to { transform: translateZ(-60px) rotate(360deg); } }
@keyframes gift-float { 0%, 100% { transform: rotateY(14deg) rotateX(4deg) translateY(0); } 50% { transform: rotateY(8deg) rotateX(2deg) translateY(-12px); } }
@keyframes phone-scroll { to { transform: translate(-58%, -54%) rotateY(-38deg) rotateX(16deg) rotateZ(4deg) scale(.94); } }
@keyframes thread-in { from { transform: rotateY(48deg) rotateX(18deg) rotateZ(-6deg) translateY(80px); opacity: .2; } to { transform: rotateY(16deg) rotateX(6deg) rotateZ(-2deg); opacity: 1; } }
@keyframes bubble-in { from { opacity: 0; transform: translateY(24px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes reveal { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes tilt-in { from { opacity: 0; transform: rotateX(48deg) translateY(70px) translateZ(-140px); } to { opacity: 1; transform: none; } }

/* Tablet and phone */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 1.5rem; min-height: 0; gap: 0; }
  .stage { height: 560px; margin-top: 1.5rem; }
  .sound, .arrives, .gift-hero { grid-template-columns: 1fr; }
  .arrives .thread-stage { order: 2; }
  .packs { grid-template-columns: 1fr; max-width: 28rem; }
  .gift-cover-wrap { max-width: 26rem; margin: 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .nav a:not(.btn) { display: none; }
  .word { font-size: 1.3rem; }
  .brand-mark { width: 34px; height: 34px; }
  .lede { font-size: 1.15rem; }
  .stage { height: 520px; }
  .disc { width: 330px; height: 330px; margin: -165px 0 0 -120px; }
  .disc-label { width: 110px; height: 110px; margin: -55px 0 0 -55px; }
  .cover3d { display: none; }
  .phone-wrap { transform: translate(-50%, -50%) rotateY(-16deg) rotateX(6deg) rotateZ(2deg); }
  .phone { width: 236px; padding: 12px; border-radius: 38px; }
  .phone-video { width: 212px; height: 377px; border-radius: 28px; }
  .fc-1, .fc-2 { animation: none; font-size: .9rem; padding: .65rem .9rem; }
  .fc-1 { left: 0; top: 2%; transform: translateZ(50px) rotateZ(-3deg); }
  .fc-2 { right: 2%; bottom: 0; transform: translateZ(50px) rotateZ(3deg); }
  .s4 { display: none; }
  .genres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ring-stage { height: 270px; }
  .ring-tilt { top: 48%; scale: .62; }
  .ring-floor { top: 72%; width: 340px; margin-left: -170px; }
  .thread-phone { width: 300px; transform: rotateY(8deg) rotateX(4deg) rotateZ(-1deg); }
  .th-body { min-height: 430px; }
  .steps { grid-template-columns: 1fr; gap: 2.2rem; max-width: 22rem; }
  .pack-pick { grid-template-columns: 1fr; }
  .player { flex-wrap: wrap; }
  .gift-cover-wrap { transform: none; max-width: 20rem; }
  .gift-disc { right: -10%; }
}
