:root {
  --bg: #050505;
  --card: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --text: #f5f5f5;
  --muted: #b7b7b7;
  --primary: #ff3b5f;
  --primary-strong: #d81f44;
  --radius: 20px;
  --container: 1180px;
  --shadow: 0 20px 60px rgba(0,0,0,0.45);
}

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

[hidden] { display: none !important; }

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  background: #050505;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(255,59,95,0.10), transparent 20%),
    linear-gradient(180deg, #040404 0%, #060606 100%);
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container { width: min(100% - 32px, var(--container)); margin: 0 auto; }
.narrow { max-width: 760px; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo { font-size: 2rem; font-weight: 900; }

.menu { display: flex; gap: 28px; }
.menu a { color: #dadada; font-size: 0.95rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 12px 30px rgba(255,59,95,0.28);
}

.btn-secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255,255,255,0.12);
}

.full { width: 100%; }

.hero, .section { padding: 84px 0; }

.hero-grid,
.customize-grid,
.cards-2,
.cards-3 {
  display: grid;
  gap: 28px;
}

.hero-grid,
.customize-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.customize-grid {
  align-items: start;
}

.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }

.badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,59,95,0.14);
  border: 1px solid rgba(255,59,95,0.24);
  color: #ffd0d8;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.02;
  margin-bottom: 16px;
}

.hero-copy p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.card > .hero-actions:first-child {
  margin-bottom: 18px;
}

.album-top-actions {
  justify-content: center;
  margin-bottom: 24px;
}

.album-back-link {
  position: fixed;
  top: max(14px, env(safe-area-inset-top, 0px));
  left: max(14px, env(safe-area-inset-left, 0px));
  z-index: 12;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 1.55rem;
  font-weight: 700;
  background: rgba(10, 10, 10, 0.58);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 16px 34px rgba(0,0,0,0.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card,
.phone-preview-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h1,
.card h3 { margin-bottom: 8px; }

.card p { color: var(--muted); line-height: 1.6; }

.card b {
  color: #ff6f87;
  display: inline-block;
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.featured { border-color: rgba(255,59,95,0.24); }

.price {
  font-size: 2rem;
  font-weight: 900;
  margin: 14px 0;
}

.plan-card {
  display: grid;
  gap: 18px;
  align-content: start;
}

.price-list {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.price-list li::before {
  content: "• ";
  color: var(--primary);
}

.section-title {
  text-align: center;
  margin-bottom: 32px;
}

.section-title.left { text-align: left; }

.section-title span {
  color: #ff9dad;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 10px;
}

.section-title h2 {
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.section-title p { color: var(--muted); }

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: transparent;
  border: 0;
  color: var(--text);
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.faq-question span:first-child {
  font-size: 1rem;
}

.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: rgba(255,59,95,0.14);
}

.faq-answer {
  padding: 0 22px 20px;
}

.faq-answer p {
  color: var(--muted);
  line-height: 1.7;
}

.album-form { display: grid; gap: 18px; }

.form-actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.form-actions .btn {
  width: 100%;
}

.field { display: grid; gap: 8px; }

.field label { font-weight: 700; }

.field input,
.field textarea,
.field select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  color: white;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
}

.field select {
  background-color: #121212;
  color: #ffffff;
  color-scheme: dark;
}

.field select option {
  background: #121212;
  color: #ffffff;
}

.field select:focus {
  border-color: rgba(255, 123, 151, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 59, 95, 0.14);
}

.field input::placeholder,
.field textarea::placeholder { color: #8c93a8; }

.audio-recorder {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.audio-recorder-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.audio-recorder-top strong {
  font-size: 0.95rem;
}

.audio-recorder-top span {
  color: #ffd8df;
  font-weight: 700;
  font-size: 0.88rem;
}

.audio-progress {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.audio-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff7d98 0%, #ff3b5f 100%);
  box-shadow: 0 0 14px rgba(255, 59, 95, 0.28);
  transition: width 160ms ease;
}

.audio-recorder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audio-recorder-actions .btn {
  min-height: 42px;
  padding: 0 16px;
  flex: 1 1 150px;
}

#recordingDraftBadge {
  color: #ffd4dc;
}

.music-editor {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.music-editor-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.music-editor-top strong {
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.music-editor-top span {
  color: #ffd8df;
  font-weight: 700;
  font-size: 0.88rem;
}

.music-timeline-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffced7;
  font-size: 0.82rem;
  font-weight: 700;
}

.music-trim-panel {
  display: grid;
  gap: 8px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.06);
}

.music-trim-panel > .field {
  display: contents;
}

.music-trim-panel > .field > label {
  display: none;
}

.music-selection-track {
  position: relative;
  width: 100%;
  height: 42px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}

.music-waveform {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(var(--bars, 48), minmax(0, 1fr));
  align-items: center;
  gap: 2px;
  padding: 8px 10px;
}

.music-waveform span {
  display: block;
  align-self: center;
  min-height: 6px;
  height: calc(8px + (var(--level, 0.2) * 18px));
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
  opacity: calc(0.45 + (var(--level, 0.2) * 0.65));
}

.music-selection-fill {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7d98 0%, #ff3b5f 100%);
  box-shadow: 0 0 18px rgba(255, 59, 95, 0.24);
  opacity: 0.9;
}

.music-trim-panel input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  grid-row: 3;
  grid-column: 1;
  width: 100%;
  height: 42px;
  margin: -42px 0 0;
  background: transparent;
  pointer-events: none;
}

.music-trim-panel input[type="range"]::-webkit-slider-runnable-track {
  height: 42px;
  background: transparent;
}

.music-trim-panel input[type="range"]::-moz-range-track {
  height: 42px;
  background: transparent;
}

.music-trim-panel input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin-top: 11px;
  border-radius: 50%;
  border: 0;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.28);
  pointer-events: auto;
  cursor: pointer;
}

.music-trim-panel input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 0;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.28);
  pointer-events: auto;
  cursor: pointer;
}

.music-trim-panel > .field:nth-of-type(1) input[type="range"]::-webkit-slider-thumb {
  background: linear-gradient(180deg, #ffd4dc, #ffffff);
}

.music-trim-panel > .field:nth-of-type(2) input[type="range"]::-webkit-slider-thumb {
  background: linear-gradient(180deg, #ff7d98, #ff3b5f);
}

.music-trim-panel > .field:nth-of-type(1) input[type="range"]::-moz-range-thumb {
  background: linear-gradient(180deg, #ffd4dc, #ffffff);
}

.music-trim-panel > .field:nth-of-type(2) input[type="range"]::-moz-range-thumb {
  background: linear-gradient(180deg, #ff7d98, #ff3b5f);
}

.music-trim-panel > .field:nth-of-type(2) input[type="range"] {
  margin-top: -42px;
}

.music-trim-panel > .field > .helper-text {
  grid-row: 4;
  margin: 2px 0 0;
  font-size: 0.84rem;
  color: #ffd6de;
}

.music-trim-panel > .field:nth-of-type(1) > .helper-text {
  justify-self: start;
}

.music-trim-panel > .field:nth-of-type(2) > .helper-text {
  justify-self: end;
}

.audio-visualizer {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  align-items: end;
  gap: 4px;
  height: 68px;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
}

.audio-visualizer span {
  display: block;
  min-height: 8px;
  height: calc(10px + (var(--level, 0.08) * 42px));
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9cb0, #ff3b5f 58%, #d81f44);
  box-shadow: 0 0 14px rgba(255, 59, 95, 0.22);
  transition: height 90ms linear, opacity 120ms ease;
  opacity: calc(0.55 + (var(--level, 0.08) * 0.6));
}

.audio-visualizer.is-active span {
  animation: audio-visualizer-pulse 1.1s ease-in-out infinite;
}

.audio-visualizer.is-active span:nth-child(2n) { animation-delay: 0.08s; }
.audio-visualizer.is-active span:nth-child(3n) { animation-delay: 0.16s; }
.audio-visualizer.is-active span:nth-child(4n) { animation-delay: 0.24s; }

@keyframes audio-visualizer-pulse {
  0%, 100% {
    opacity: 0.68;
    transform: scaleY(0.88);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.08);
  }
}

.phone-preview-wrap {
  display: flex;
  position: sticky;
  top: 96px;
  align-self: start;
  align-items: center;
  justify-content: center;
  min-height: 720px;
}

.phone {
  width: 300px;
  height: 640px;
  padding: 12px;
  border-radius: 42px;
  background: linear-gradient(145deg, #171717, #080808);
  box-shadow: 0 25px 65px rgba(0,0,0,0.60);
  transform: none;
}

.phone-notch {
  width: 115px;
  height: 18px;
  background: #080808;
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
  position: relative;
  top: -12px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, #22060d 0%, #11060a 42%, #0a0a0a 100%);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
}

.falling-hearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
}

.heart-drop {
  position: absolute;
  top: -44px;
  opacity: 0;
  filter: drop-shadow(0 0 10px rgba(255, 59, 95, 0.45));
  animation: heart-fall linear infinite;
}

.heart-drop-1 { left: 9%; animation-duration: 6.8s; animation-delay: 0.4s; }
.heart-drop-2 { left: 24%; animation-duration: 5.9s; animation-delay: 1.6s; }
.heart-drop-3 { left: 42%; animation-duration: 7.2s; animation-delay: 0.9s; }
.heart-drop-4 { left: 59%; animation-duration: 6.2s; animation-delay: 2.4s; }
.heart-drop-5 { left: 74%; animation-duration: 7.5s; animation-delay: 1.1s; }
.heart-drop-6 { left: 86%; animation-duration: 6.5s; animation-delay: 3s; }

@keyframes heart-fall {
  0% {
    transform: translate3d(0, -26px, 0) rotate(0deg);
    opacity: 0;
  }
  12% {
    opacity: 0.95;
  }
  100% {
    transform: translate3d(18px, 690px, 0) rotate(18deg);
    opacity: 0;
  }
}

.screen-slideshow {
  height: 210px;
  margin: 18px 18px 14px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.06), rgba(255,255,255,0) 58%),
    linear-gradient(135deg, #16090d 0%, #10080b 50%, #090909 100%);
  flex-shrink: 0;
  z-index: 1;
}

.slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  image-rendering: auto;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.85s ease, transform 1.2s ease;
}

.slide-image.is-visible {
  opacity: 1;
  transform: scale(1);
}

.slide-image.is-exiting {
  opacity: 0;
  transform: scale(1.02);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45), transparent 45%);
}

.screen-content {
  padding: 0 18px 16px;
  position: relative;
  z-index: 4;
}
.screen-content h3 { margin-bottom: 4px; }

.mini-label {
  color: #f6a9bb;
  font-size: 0.82rem;
  display: inline-block;
  margin-bottom: 8px;
}

.screen-date,
.screen-message { color: #d0d0d0; }

.screen-message {
  min-height: 42px;
  margin: 10px 0 12px;
  line-height: 1.5;
  font-size: 0.92rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.screen-actions {
  display: grid;
  gap: 10px;
}

.counter {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.live-counter { grid-template-columns: repeat(5, 1fr); }

.counter div {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 8px 4px;
  text-align: center;
}

.counter strong { display: block; font-size: 0.92rem; }
.counter span { font-size: 0.65rem; color: #bdbdbd; }

.screen-btn {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

.screen-btn.primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  margin-bottom: 10px;
}

.screen-btn.secondary {
  color: white;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
}

.hero-phone-demo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}

.hero-phone-demo::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 59, 95, 0.22) 0%, rgba(123, 21, 40, 0.12) 38%, rgba(0,0,0,0) 72%);
  filter: blur(18px);
  transform: translateY(8px);
}

.hero-phone-demo::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 300px;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.10), rgba(255,255,255,0) 65%);
  filter: blur(12px);
  transform: translate(18px, -16px);
}

.hero-phone-card {
  position: relative;
  z-index: 1;
  box-shadow:
    0 28px 80px rgba(0,0,0,0.62),
    0 0 0 1px rgba(255,255,255,0.04);
  transform: rotate(8deg);
}

.hero-phone-screen {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 102, 133, 0.08), transparent 30%),
    linear-gradient(180deg, #22060d 0%, #11060a 42%, #0a0a0a 100%);
}

.hero-demo-slideshow {
  height: 268px;
  margin-top: 8px;
}

.hero-demo-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s ease, transform 5s ease;
}

.hero-demo-image.is-visible {
  opacity: 1;
  transform: scale(1);
}

.hero-demo-content {
  padding-bottom: 20px;
}

.hero-demo-content h3 {
  font-size: 2rem;
  line-height: 1;
}

.hero-demo-message {
  max-width: 232px;
  color: #f0d5dc;
  min-height: 48px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 0.86rem;
}

.hero-live-counter {
  margin-top: 12px;
  margin-bottom: 8px;
}

.hero-audio-player {
  margin-top: 8px;
  padding: 9px 10px 10px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 8px 18px rgba(0,0,0,0.16);
}

.hero-audio-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 8px;
}

.hero-audio-time {
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff0f4;
  text-shadow: 0 0 18px rgba(255, 120, 148, 0.18);
}

.hero-audio-bars {
  height: 24px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 3px;
  margin-bottom: 8px;
}

.hero-audio-bars span {
  display: block;
  min-height: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff89a0 0%, #ff3b5f 100%);
  box-shadow: 0 0 14px rgba(255, 59, 95, 0.28);
  animation: audio-wave 1.3s ease-in-out infinite;
  transform-origin: center bottom;
}

.hero-audio-bars span:nth-child(2) { animation-delay: 0.1s; }
.hero-audio-bars span:nth-child(3) { animation-delay: 0.25s; }
.hero-audio-bars span:nth-child(4) { animation-delay: 0.4s; }
.hero-audio-bars span:nth-child(5) { animation-delay: 0.15s; }
.hero-audio-bars span:nth-child(6) { animation-delay: 0.3s; }
.hero-audio-bars span:nth-child(7) { animation-delay: 0.48s; }
.hero-audio-bars span:nth-child(8) { animation-delay: 0.2s; }
.hero-audio-bars span:nth-child(9) { animation-delay: 0.36s; }
.hero-audio-bars span:nth-child(10) { animation-delay: 0.12s; }
.hero-audio-bars span:nth-child(11) { animation-delay: 0.28s; }
.hero-audio-bars span:nth-child(12) { animation-delay: 0.45s; }

.hero-audio-progress {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  overflow: hidden;
}

.hero-audio-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff7994 0%, #ff3b5f 100%);
  box-shadow: 0 0 16px rgba(255, 59, 95, 0.45);
}

@keyframes audio-wave {
  0%, 100% {
    transform: scaleY(0.35);
    opacity: 0.65;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.mini-counter {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.mini-counter div {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 10px 4px;
  text-align: center;
}

.mini-counter strong { display: block; }
.mini-counter span { font-size: 0.72rem; color: #bdbdbd; }

.checkout-summary {
  padding: 18px 0 10px;
}

.checkout-flow-card {
  overflow: hidden;
}

.checkout-topbar {
  margin-bottom: 10px;
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 6px 0 28px;
}

.checkout-step {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  padding: 14px 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, color 180ms ease;
}

.checkout-step span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  font-weight: 700;
  color: var(--text);
}

.checkout-step strong {
  font-size: 0.9rem;
}

.checkout-step.is-active {
  color: var(--text);
  border-color: rgba(255,59,95,0.32);
  background: linear-gradient(180deg, rgba(255,59,95,0.16), rgba(255,255,255,0.03));
  transform: translateY(-1px);
}

.checkout-step.is-active span,
.checkout-step.is-done span {
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
}

.checkout-step.is-done {
  color: #ffd8df;
}

.checkout-screen {
  display: none;
}

.checkout-screen.is-active {
  display: grid;
  gap: 18px;
  animation: checkout-screen-in 220ms ease;
}

.checkout-screen-actions {
  margin-bottom: -4px;
}

.payment-stage-box {
  min-height: 420px;
  align-content: start;
}

.checkout-summary p,
.delivery-box input { margin-bottom: 10px; }

.payment-switcher {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.payment-tab.is-active {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  border-color: transparent;
}

.payment-panel {
  margin-top: 20px;
}

.payment-box {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
}

.pix-result {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
}

.pix-qr-small {
  width: 170px;
  height: 170px;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 16px;
  background: white;
  padding: 10px;
}

.pix-copy-area {
  display: grid;
  gap: 10px;
}

.pix-copy-area textarea {
  width: 100%;
  min-height: 110px;
  background: rgba(255,255,255,0.04);
  color: white;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px 16px;
  resize: vertical;
}

.payment-feedback {
  margin-top: 18px;
  color: #d9d9d9;
}

.payment-feedback.is-error {
  color: #ff8ea3;
}

.delivery-box {
  display: grid;
  gap: 16px;
  margin: 22px 0;
}

.gift-delivery-box {
  margin: 14px 0 18px;
  padding: 10px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.gift-link-preview {
  max-width: 100%;
  color: #ffe1e7;
  font-size: 0.78rem;
  line-height: 1.2;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gift-link-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.gift-link-actions .btn {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  font-size: 0.95rem;
  line-height: 1.15;
  text-align: center;
}

.delivery-actions {
  margin-top: 18px;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
}

.checkbox-line input {
  width: auto;
}

.qr-image {
  width: min(100%, 280px);
  display: block;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 10px;
  image-rendering: pixelated;
}

.qr-image-large {
  width: min(100%, 332px);
  padding: 12px;
  border-radius: 22px;
}

.helper-text {
  color: var(--muted);
  font-size: 0.9rem;
}

.album-stage {
  min-height: 100vh;
  padding: 56px 16px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 59, 95, 0.10), rgba(0,0,0,0) 24%),
    radial-gradient(circle at 82% 18%, rgba(255, 138, 161, 0.06), rgba(0,0,0,0) 18%),
    linear-gradient(180deg, #030303 0%, #070707 100%);
}

.gift-intro {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  justify-items: center;
  align-items: start;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 18px 14px 28px;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 59, 95, 0.22), rgba(0,0,0,0) 30%),
    radial-gradient(circle at 50% 72%, rgba(255, 255, 255, 0.04), rgba(0,0,0,0) 34%),
    linear-gradient(180deg, rgba(4,4,4,0.94), rgba(3,3,3,0.985));
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.gift-intro.is-opened {
  opacity: 0;
  visibility: hidden;
}

.gift-phone {
  width: min(96vw, calc((100dvh - 36px) * 0.54), 420px);
  min-height: 0;
  aspect-ratio: 390 / 720;
  height: auto;
  padding: 12px;
  border-radius: 44px;
  background: linear-gradient(145deg, #171717, #080808);
  box-shadow:
    0 30px 90px rgba(0,0,0,0.62),
    0 0 0 1px rgba(255,255,255,0.04);
}

.gift-phone-notch {
  width: 116px;
  height: 18px;
  background: #080808;
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
  position: relative;
  top: -12px;
  z-index: 3;
}

.gift-phone-screen {
  min-height: 642px;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #22060d 0%, #11060a 42%, #0a0a0a 100%);
  border: 1px solid rgba(255,255,255,0.06);
}

.gift-falling-hearts {
  z-index: 2;
}

.gift-preview-art {
  height: 160px;
  margin: 18px 18px 12px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 24% 20%, rgba(255,255,255,0.16), rgba(255,255,255,0) 20%),
    radial-gradient(circle at 78% 24%, rgba(255, 139, 165, 0.16), rgba(255,255,255,0) 22%),
    radial-gradient(circle at 64% 66%, rgba(255, 59, 95, 0.14), rgba(255,255,255,0) 24%),
    linear-gradient(135deg, #7b1528 0%, #42101d 40%, #1b0b10 100%);
  position: relative;
  overflow: hidden;
}

.gift-preview-art::after {
  content: "";
  position: absolute;
  inset: auto -24px -54px auto;
  width: 176px;
  height: 176px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 59, 95, 0.22), rgba(255, 59, 95, 0) 66%);
}

.gift-preview-art::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  height: 18px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.12), rgba(255,255,255,0.04));
}

.gift-phone-content {
  padding: clamp(10px, 1.8vh, 16px) 20px 22px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  flex: 1;
  position: relative;
  z-index: 4;
}

.gift-phone-content h1 {
  font-size: clamp(1.45rem, 3.4vw, 2.2rem);
  line-height: 1.02;
  margin-bottom: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff8fa;
}

.gift-couple {
  font-size: 1.55rem;
  margin-bottom: 2px;
}

.gift-date {
  color: #d0d0d0;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.gift-mini-counter {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.gift-mini-counter div {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 10px 4px;
  text-align: center;
}

.gift-mini-counter strong {
  display: block;
  font-size: 0.98rem;
}

.gift-mini-counter span {
  font-size: 0.68rem;
  color: #bdbdbd;
}

.gift-from {
  color: #ffb4c0;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: 0.02em;
  font-size: 0.92rem;
  text-align: center;
  line-height: 1.18;
}

.gift-text {
  color: var(--muted);
  max-width: 248px;
  margin: 0 auto 8px;
  line-height: 1.42;
  font-size: 0.82rem;
  text-align: center;
}

.gift-bow {
  position: relative;
  width: 188px;
  height: 150px;
  margin: auto auto 0;
  background: transparent;
  border: none;
  cursor: pointer;
  filter: drop-shadow(0 16px 36px rgba(255, 59, 95, 0.18));
}

.gift-box,
.gift-ribbon,
.gift-loop,
.gift-knot {
  position: absolute;
  transition: transform 0.8s ease, opacity 0.65s ease;
}

.gift-box {
  left: 24px;
  right: 24px;
  bottom: 14px;
  height: 82px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0) 18%),
    linear-gradient(180deg, #ff6f8f, #ff3b5f 55%, #d81f44 100%);
  box-shadow:
    0 12px 34px rgba(216, 31, 68, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.08);
}

.gift-ribbon-v {
  top: 42px;
  left: 50%;
  width: 18px;
  height: 104px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, #ff95ab, #ff3b5f 58%, #d81f44);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
}

.gift-ribbon-h {
  left: 24px;
  right: 24px;
  top: 76px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff95ab, #ff3b5f 58%, #d81f44);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

.gift-loop {
  top: 22px;
  width: 62px;
  height: 48px;
  border: 14px solid #ff4f72;
  border-bottom-width: 12px;
  background: transparent;
}

.gift-loop-left {
  left: 32px;
  border-radius: 70% 18% 65% 24%;
  transform: rotate(-20deg);
}

.gift-loop-right {
  right: 32px;
  border-radius: 18% 70% 24% 65%;
  transform: rotate(20deg);
}

.gift-knot {
  top: 50px;
  left: 50%;
  width: 22px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(180deg, #ff9cb0, #ff3b5f 58%, #d81f44);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
}

.gift-intro.is-opening .gift-loop-left {
  transform: translate(-60px, -28px) rotate(-44deg) scale(0.88);
  opacity: 0;
}

.gift-intro.is-opening .gift-loop-right {
  transform: translate(60px, -28px) rotate(44deg) scale(0.88);
  opacity: 0;
}

.gift-intro.is-opening .gift-knot {
  transform: translateX(-50%) scale(0.6);
  opacity: 0;
}

.gift-intro.is-opening .gift-ribbon-v {
  transform: translateX(-50%) scaleY(0.14);
  opacity: 0;
}

.gift-intro.is-opening .gift-ribbon-h {
  transform: scaleX(0.14);
  opacity: 0;
}

.gift-intro.is-opening .gift-box {
  transform: scale(0.98);
  opacity: 0;
}

.album-shell-hidden {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  pointer-events: none;
}

.album-shell-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.album-shell {
  width: min(100%, 980px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: stretch;
}

.album-hero {
  min-height: 560px;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.06), rgba(255,255,255,0) 58%),
    linear-gradient(135deg, #16090d 0%, #10080b 50%, #090909 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.album-hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  image-rendering: auto;
}

.album-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 45%);
}

.album-body {
  background: rgba(10,10,10,0.92);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 32px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.album-body h1 {
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  line-height: 1.04;
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff8fa;
}

.album-sender {
  color: #ffb4c0;
  font-weight: 700;
  margin-bottom: 16px;
}

.album-date {
  color: #e0cdd2;
  margin-bottom: 22px;
}

.album-counter {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.album-counter div {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 14px 8px;
  text-align: center;
}

.album-counter strong {
  display: block;
  font-size: 1.05rem;
}

.album-counter span {
  color: #bdbdbd;
  font-size: 0.72rem;
}

.album-message {
  color: #dddddd;
  line-height: 1.8;
  font-size: 1rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  margin-bottom: 28px;
}

@keyframes checkout-screen-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .customize-grid,
  .cards-2,
  .cards-3,
  .album-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy { text-align: center; }
  .hero-actions { justify-content: center; }
  .album-hero {
    min-height: 360px;
  }
  .gift-phone {
    width: 300px;
    min-height: 590px;
    height: auto;
  }
  .gift-phone-screen {
    min-height: 542px;
  }
  .gift-preview-art {
    height: 126px;
  }
  .gift-phone-content h1 {
    font-size: 2rem;
  }
  .gift-bow {
    width: 166px;
    height: 136px;
  }

  .phone-preview-wrap {
    position: static;
    top: auto;
  }
}

@media (max-width: 780px) {
  .menu { display: none; }
  .container { width: min(100% - 24px, var(--container)); }
  .checkout-steps {
    grid-template-columns: 1fr;
  }
  .nav {
    min-height: auto;
    padding: 12px 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
  }
  .nav > .btn {
    min-height: 40px;
    padding: 0 14px;
    white-space: nowrap;
  }
  .logo {
    width: auto;
    text-align: center;
    font-size: 1.4rem;
  }
  .hero, .section {
    padding: 36px 0;
  }
  .hero-copy h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }
  .hero-copy p {
    font-size: 0.98rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-copy .hero-actions {
    margin-top: 4px;
  }
  .card,
  .phone-preview-wrap {
    padding: 16px;
  }
  .price {
    font-size: 1.75rem;
  }
  .section-title {
    margin-bottom: 24px;
  }
  .phone {
    width: min(100%, 272px);
    height: 548px;
    margin: 0 auto;
    padding: 10px;
  }
  .screen-slideshow {
    height: 162px;
    margin: 14px 14px 10px;
    border-radius: 18px;
  }
  .screen-content {
    padding: 0 14px 14px;
  }
  .screen-content h3 {
    font-size: 1.55rem;
    line-height: 1.08;
  }
  .mini-label {
    margin-bottom: 6px;
    font-size: 0.76rem;
  }
  .screen-date {
    font-size: 0.84rem;
  }
  .screen-message {
    min-height: 34px;
    margin: 8px 0 10px;
    font-size: 0.84rem;
    line-height: 1.42;
  }
  .live-counter { grid-template-columns: repeat(3, 1fr); }
  .counter {
    gap: 6px;
    margin-top: 12px;
  }
  .counter div {
    padding: 7px 4px;
  }
  .counter strong {
    font-size: 0.84rem;
  }
  .counter span {
    font-size: 0.6rem;
  }
  .screen-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .screen-btn {
    height: 38px;
    font-size: 0.8rem;
  }
  .screen-btn.primary {
    margin-bottom: 0;
  }
  .phone-preview-wrap {
    min-height: auto;
    padding: 12px 10px 16px;
    background: #0b0b0b;
    border-color: rgba(255,255,255,0.06);
  }
  .hero-phone-demo { min-height: auto; padding-top: 8px; }
  .hero-phone-demo::before {
    width: 280px;
    height: 280px;
  }
  .hero-phone-demo::after {
    width: 210px;
    height: 160px;
  }
  .hero-phone-card {
    transform: none;
  }
  .hero-demo-slideshow { height: 212px; }
  .hero-demo-content h3 { font-size: 1.72rem; }
  .hero-demo-message {
    max-width: 100%;
    min-height: 42px;
    font-size: 0.8rem;
  }
  .hero-audio-player {
    padding: 8px 9px 9px;
  }
  .heart-drop {
    font-size: 1rem;
  }
  .audio-recorder {
    padding: 14px;
  }
  .music-editor {
    padding: 14px;
  }
  .music-editor-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .music-trim-panel {
    padding: 12px 12px 10px;
  }
  .music-selection-track {
    height: 38px;
  }
  .music-waveform {
    padding: 7px 8px;
  }
  .music-trim-panel > .field > .helper-text {
    font-size: 0.78rem;
  }
  .audio-recorder-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .audio-recorder-actions .btn {
    flex-basis: calc(50% - 5px);
  }
  .faq-question {
    padding: 18px;
    align-items: flex-start;
  }
  .faq-answer {
    padding: 0 18px 18px;
  }
  .album-stage {
    padding: 24px 12px 36px;
    background: #050505;
  }
  .album-top-actions {
    width: min(100%, 320px);
    margin: 0 auto 16px;
  }
  .gift-intro {
    padding: 12px 10px 24px;
    background: #050505;
  }
  .gift-delivery-box {
    margin: 8px 0 16px;
    padding: 6px 0 0;
    gap: 12px;
  }
  .gift-phone {
    width: min(100%, 320px);
    min-height: 620px;
    height: auto;
  }
  .gift-phone-screen {
    min-height: 572px;
  }
  .gift-phone-screen,
  .phone-screen,
  .hero-phone-screen {
    background: linear-gradient(180deg, #17070b 0%, #10070a 38%, #090909 100%);
  }
  body {
    background: #050505;
  }
}

@media (max-width: 520px) {
  .btn {
    min-height: 44px;
    padding: 0 16px;
  }
  .header {
    background: #050505;
    backdrop-filter: none;
  }
  .nav {
    grid-template-columns: auto 1fr;
  }
  .nav .btn-primary {
    display: none;
  }
  .hero-actions {
    gap: 10px;
  }
  .phone {
    width: min(100%, 248px);
    height: 508px;
  }
  .hero-phone-demo {
    min-height: auto;
  }
  .hero-demo-content h3 {
    font-size: 1.5rem;
  }
  .music-trim-panel {
    gap: 7px;
    padding: 10px 10px 8px;
  }
  .music-selection-track {
    height: 34px;
  }
  .music-waveform {
    padding: 6px 7px;
    gap: 1px;
  }
  .music-trim-panel > .field > .helper-text {
    font-size: 0.74rem;
  }
  .music-trim-panel input[type="range"]::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
  }
  .music-trim-panel input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
  }
  .screen-slideshow {
    height: 148px;
    margin: 12px 12px 8px;
  }
  .screen-content {
    padding: 0 12px 12px;
  }
  .screen-content h3 {
    font-size: 1.38rem;
  }
  .screen-message {
    min-height: 30px;
    margin: 8px 0 9px;
    font-size: 0.8rem;
  }
  .counter {
    gap: 5px;
  }
  .counter div {
    padding: 6px 3px;
  }
  .counter strong {
    font-size: 0.78rem;
  }
  .counter span {
    font-size: 0.56rem;
  }
  .screen-actions {
    gap: 7px;
  }
  .screen-btn {
    height: 36px;
    font-size: 0.74rem;
  }
  .mini-counter {
    gap: 6px;
  }
  .mini-counter div {
    padding: 8px 2px;
  }
  .faq-question span:first-child {
    font-size: 0.96rem;
  }
  .audio-recorder-actions {
    gap: 8px;
  }
  .audio-recorder-actions .btn {
    flex-basis: 100%;
  }
  .checkout-step {
    padding: 12px 10px;
  }
  .checkout-screen-actions .btn,
  .checkout-topbar .btn,
  .album-top-actions .btn {
    width: 100%;
  }
  .gift-phone {
    min-height: 0;
    height: auto;
  }
  .gift-phone-content {
    padding: 14px 14px 16px;
    gap: 7px;
  }
  .gift-delivery-box {
    padding: 4px 0 0;
  }
  .gift-link-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .gift-link-actions .btn {
    min-height: 40px;
    font-size: 0.9rem;
  }
  .gift-from {
    font-size: 0.84rem;
  }
  .gift-phone-content h1 {
    font-size: 1.72rem;
  }
  .gift-text {
    max-width: 220px;
    margin-bottom: 4px;
    font-size: 0.76rem;
  }
  .gift-link-preview {
    font-size: 0.72rem;
  }
  .qr-image {
    width: min(100%, 240px);
    padding: 8px;
  }
  .qr-image-large {
    width: min(100%, 280px);
    padding: 10px;
  }
  .gift-phone-screen {
    min-height: 0;
  }
}

@media (max-height: 760px) {
  .gift-intro {
    padding-top: 10px;
    padding-bottom: 20px;
  }
  .gift-phone {
    min-height: 0;
    height: auto;
  }
  .gift-phone-screen {
    min-height: 0;
  }
  .gift-phone-content {
    padding-top: 12px;
  }
}

/* Final album mirrors the phone preview */
.album-stage-phone {
  display: grid;
  place-items: center;
  padding: 14px 8px 14px;
}

.album-phone {
  width: min(96vw, calc((100dvh - 28px) * 0.46875), 430px);
  height: auto;
  aspect-ratio: 300 / 640;
  transform: none;
  box-shadow:
    0 30px 90px rgba(0,0,0,0.62),
    0 0 0 1px rgba(255,255,255,0.04);
}

.album-phone .phone-screen {
  height: 100%;
}

.album-phone .screen-slideshow {
  height: min(40%, 320px);
  margin: 16px 16px 12px;
  border-radius: 24px;
}

.album-phone .screen-content {
  flex: 1;
  padding: 0 16px 16px;
  display: grid;
  align-content: start;
}

.album-phone .mini-label {
  margin-bottom: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: rgba(255, 221, 227, 0.72);
}

.album-phone .screen-content h3 {
  font-size: clamp(1.7rem, 3.6vh, 2.35rem);
  line-height: 1.02;
}

.album-phone .screen-date {
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.album-phone .counter {
  gap: 7px;
  margin-top: 12px;
}

.album-phone .counter div {
  padding: 8px 4px;
  border-radius: 16px;
}

.album-phone .screen-message {
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 10px 0 12px;
}

.album-phone .album-sender-inline {
  margin-bottom: 10px;
}

.album-phone .audio-visualizer {
  margin-top: auto;
}

.album-slideshow {
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.06), rgba(255,255,255,0) 58%),
    linear-gradient(135deg, #16090d 0%, #10080b 50%, #090909 100%);
}

.album-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.34));
  pointer-events: none;
}

.album-play-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: end;
  padding: 16px;
  background: linear-gradient(to top, rgba(8, 5, 7, 0.22), rgba(8, 5, 7, 0.04) 42%, rgba(8, 5, 7, 0));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 220ms ease, backdrop-filter 220ms ease, opacity 220ms ease;
}

.album-play-overlay.is-starting {
  opacity: 0;
  background: linear-gradient(to top, rgba(8, 5, 7, 0.04), rgba(8, 5, 7, 0.01) 40%, rgba(8, 5, 7, 0));
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
}

.album-play-button {
  min-width: 132px;
  min-height: 56px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(14, 10, 12, 0.72);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  cursor: pointer;
}

.album-play-icon {
  position: relative;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 24px solid #fff;
}

.album-play-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.album-sender-inline {
  color: #ffb4c0;
  font-weight: 700;
  margin: 0 0 12px;
  font-size: 0.88rem;
}

@media (max-width: 780px) {
  .album-phone {
    width: min(97vw, calc((100dvh - 18px) * 0.46875), 430px);
  }
  .album-play-button {
    width: 96px;
    min-height: 96px;
  }
  .album-play-icon {
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 20px;
  }
  .album-back-link {
    width: 42px;
    height: 42px;
    font-size: 1.4rem;
  }
  .album-phone .screen-slideshow {
    margin: 14px 14px 10px;
    border-radius: 22px;
  }
  .album-phone .screen-content {
    padding: 0 14px 14px;
  }
  .album-phone .screen-content h3 {
    font-size: clamp(1.45rem, 4.2vh, 2rem);
  }
  .album-phone .screen-message {
    font-size: 0.84rem;
  }
}
