:root {
  --bg: #06040a;
  --bg-soft: #0a0713;
  --bg-alt: #0d0917;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(168, 130, 255, 0.09);
  --border: rgba(168, 130, 255, 0.16);
  --border-strong: rgba(178, 140, 255, 0.4);
  --text: #f4f2f9;
  --text-dim: rgba(244, 242, 249, 0.6);
  --text-faint: rgba(244, 242, 249, 0.34);
  --accent: #a78bfa;
  --accent-bright: #c4b1ff;
  --accent-deep: #6d28d9;
  --accent-glow: rgba(167, 139, 250, 0.32);
  --accent-dim: rgba(167, 139, 250, 0.14);
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Space Grotesk", var(--font-body);
  --font-mono: "IBM Plex Mono", monospace;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 3px 3px;
}

/* ---------- Ambient section glow ---------- */

.ambient-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
  background: radial-gradient(60% 50% at 50% 30%, rgba(167,139,250,0.10), transparent 70%);
  transition: background 1.1s var(--ease);
}

body[data-section="message"] .ambient-glow {
  background: radial-gradient(65% 55% at 50% 20%, rgba(109,40,217,0.12), transparent 70%);
}

body[data-section="final"] .ambient-glow {
  background: radial-gradient(60% 55% at 50% 60%, rgba(196,177,255,0.14), transparent 72%);
}

/* ---------- Light flash (hero transition + final reveal) ---------- */

.light-flash {
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
  background: radial-gradient(60% 50% at 50% 45%, rgba(196,177,255,0.55), rgba(109,40,217,0.25) 55%, transparent 80%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.light-flash.active { opacity: 1; }

/* ---------- Cursor glow ---------- */

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 220px;
  margin-left: -110px;
  margin-top: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167,139,250,0.16), transparent 70%);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  transform: translate3d(-9999px, -9999px, 0);
  will-change: transform;
}

.cursor-glow.active { opacity: 1; }

@media (hover: none), (pointer: coarse) {
  .cursor-glow { display: none; }
}

#confetti-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
}

section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8vh 6vw;
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(80% 60% at 85% 90%, rgba(109,40,217,0.14), transparent 60%),
    linear-gradient(180deg, #0b0714, #060409 55%, #050308);
  flex-direction: column;
  text-align: center;
  overflow: hidden;
}

.hero-aura {
  position: absolute;
  top: 6%;
  left: 50%;
  width: 680px;
  height: 680px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(196,177,255,0.28) 0%, rgba(167,139,250,0.16) 32%, rgba(109,40,217,0.05) 55%, transparent 75%);
  filter: blur(6px);
  animation: aura-pulse 8s var(--ease) infinite;
  z-index: 0;
}

@keyframes aura-pulse {
  0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}

.hero-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(167,139,250,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,139,250,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(48% 42% at 50% 38%, transparent, black 62%);
  animation: drift 44s linear infinite;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5,3,8,0.55) 88%, rgba(5,3,8,0.85) 100%);
  z-index: 1;
  pointer-events: none;
}

@keyframes drift {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-64px,-64px,0); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.6rem, 12.5vw, 8rem);
  line-height: 1;
  margin: 0;
  letter-spacing: -0.03em;
  color: var(--text);
  text-shadow: 0 0 60px rgba(167,139,250,0.25);
}

.hero-sub {
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

/* ---------- Gift box ---------- */

.gift {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.gift-box {
  position: relative;
  display: block;
  width: 132px;
  height: 96px;
  border-radius: 10px;
  background: linear-gradient(155deg, #100b1a, #08050f 60%, #050308);
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.gift:hover .gift-box {
  transform: translateY(-2px);
  box-shadow: 0 34px 64px -22px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.05), 0 0 30px -12px var(--accent-glow);
}

.gift-lid {
  position: absolute;
  top: -20px;
  left: -5px;
  right: -5px;
  height: 32px;
  border-radius: 9px 9px 5px 5px;
  background: linear-gradient(155deg, #150f22, #0a0713 65%);
  border: 1px solid var(--border-strong);
  box-shadow: 0 10px 22px -12px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.05);
  transform-origin: 50% 100%;
  transition: transform 0.42s var(--ease), opacity 0.35s var(--ease) 0.05s;
  z-index: 2;
}

.gift:hover .gift-lid {
  transform: translateY(-3px);
}

.gift-clasp {
  position: absolute;
  top: -28px;
  left: 50%;
  width: 20px;
  height: 12px;
  margin-left: -10px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent-deep));
  box-shadow: 0 0 10px -2px var(--accent-glow);
  z-index: 4;
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
}

.gift-ribbon {
  position: absolute;
  top: -20px;
  bottom: 0;
  left: 50%;
  width: 8px;
  margin-left: -4px;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent-deep));
  box-shadow: 0 0 12px -2px var(--accent-glow);
  z-index: 3;
  transition: opacity 0.4s var(--ease);
}

.gift-glow {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 170px;
  height: 170px;
  margin-left: -85px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,177,255,0.55), rgba(109,40,217,0.16) 45%, transparent 72%);
  filter: blur(4px);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.35s var(--ease), transform 0.4s var(--ease);
  z-index: 1;
  pointer-events: none;
}

.gift-label {
  margin-top: 22px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease), opacity 0.4s var(--ease);
}

.gift:hover .gift-label {
  color: var(--accent-bright);
  transform: translateY(-1px);
}

.gift.opening .gift-lid {
  transform: translateY(-46px) rotateX(65deg);
  opacity: 0;
}

.gift.opening .gift-clasp {
  opacity: 0;
  transform: translateY(-18px) scale(0.6);
}

.gift.opening .gift-ribbon {
  opacity: 0.2;
}

.gift.opening .gift-glow {
  opacity: 1;
  transform: scale(1);
}

.gift.opened {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

/* ---------- reveal on load ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal-in 0.9s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * 0.14s + 0.15s);
}

@keyframes reveal-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- reveal on scroll ---------- */

.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--d, 0) * 0.15s);
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Message ---------- */

.message {
  flex-direction: column;
  gap: 40px;
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(109,40,217,0.08), transparent 65%),
    var(--bg-soft);
}

.note-card {
  position: relative;
  width: min(560px, 100%);
  background: linear-gradient(155deg, rgba(167,139,250,0.06), rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent-deep);
  border-radius: 6px 22px 22px 22px;
  padding: clamp(28px, 5vw, 48px);
  box-shadow: 0 24px 70px -34px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.04);
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.note-card.emerged {
  opacity: 1;
  transform: translateY(0) scale(1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.note-card::before {
  content: "”";
  position: absolute;
  top: -0.32em;
  left: clamp(24px, 4vw, 40px);
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent-bright);
  opacity: 0.45;
  pointer-events: none;
}

.note-card:hover {
  border-color: var(--border-strong);
  border-left-color: var(--accent-bright);
  box-shadow: 0 24px 70px -34px rgba(0,0,0,0.8), 0 0 44px -14px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.05);
  transform: translateY(-3px);
}

.note-card p {
  margin: 0 0 16px 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-dim);
}

.note-card p:first-child {
  color: var(--text);
  font-weight: 500;
}

.note-card p:last-child { margin-bottom: 0; }

/* Word-by-word typewriter reveal. Each .word gets its own animation-delay
   (assigned once in JS at load), so the whole sequence is pure CSS —
   no chained JS timers, and it starts the instant .typing is added. */
.note-card .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(4px);
  animation: word-in 0.32s var(--ease) forwards;
  animation-play-state: paused;
}

.note-card.typing .word {
  animation-play-state: running;
}

@keyframes word-in {
  to { opacity: 1; transform: translateY(0); }
}

.note-sign {
  margin-top: 22px !important;
  font-family: var(--font-mono);
  font-size: 0.85rem !important;
  color: var(--accent-bright) !important;
  letter-spacing: 0.02em;
}

/* ---------- Photo frame ---------- */

.photo-frame {
  width: clamp(230px, 58vw, 360px);
  max-width: 100%;
  margin: 0;
  padding: 8px;
  border-radius: 14px;
  background: linear-gradient(155deg, #100b1a, #08050f 65%, #050308);
  border: 1px solid rgba(167, 139, 250, 0.14);
  box-shadow: 0 18px 46px -26px rgba(0, 0, 0, 0.85);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.photo-frame.emerged {
  opacity: 1;
  transform: translateY(0);
}

.photo-frame-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
}

/* ---------- Interaction ---------- */

.interaction {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--text-faint);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  padding: 8px 4px;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.more-btn:hover {
  color: var(--accent-bright);
  transform: translateY(-1px);
}

.more-btn svg {
  transition: transform 0.35s var(--ease);
}

.more-btn.open svg { transform: rotate(90deg); }

.more-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-faint);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.5s var(--ease);
  text-align: center;
}

.more-text.shown {
  max-height: 60px;
  opacity: 1;
}

/* ---------- Final ---------- */

.final {
  flex-direction: column;
  text-align: center;
  background:
    radial-gradient(55% 48% at 50% 45%, var(--accent-glow), transparent 70%),
    radial-gradient(70% 50% at 20% 100%, rgba(109,40,217,0.12), transparent 60%),
    var(--bg);
}

.final-line {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 6vw, 3.2rem);
  margin: 0 0 12px 0;
  text-shadow: 0 0 50px rgba(167,139,250,0.22);
}

.final-sub {
  margin: 0 0 26px 0;
  color: var(--text-dim);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.final-sign {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-bright);
}

/* ---------- Music player ---------- */

.player {
  position: fixed;
  right: clamp(12px, 3vw, 24px);
  bottom: clamp(12px, 3vw, 24px);
  z-index: 40;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(167,139,250,0.1), rgba(10,7,19,0.94));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -22px rgba(0,0,0,0.85), 0 0 32px -16px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.player[data-playing="true"] {
  border-color: var(--accent-bright);
  box-shadow: 0 20px 50px -22px rgba(0,0,0,0.85), 0 0 38px -12px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Collapsed pill state */

.player-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 11px 16px;
  font-family: var(--font-body);
}

.pill-note {
  color: var(--accent-bright);
  font-size: 0.85rem;
}

.player[data-playing="true"] .pill-note {
  animation: pill-note-pulse 1s ease-in-out infinite;
}

@keyframes pill-note-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.pill-title {
  font-size: 0.76rem;
  font-weight: 500;
  white-space: nowrap;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-full {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 0;
  padding: 0;
  opacity: 0;
  overflow: hidden;
  transition: width 0.4s var(--ease), opacity 0.3s var(--ease), padding 0.4s var(--ease);
}

.player.expanded .player-pill { display: none; }

.player.expanded .player-full {
  width: min(280px, calc(100vw - 24px));
  padding: 12px 14px;
  opacity: 1;
}

/* Used the moment the gift opens: the player snaps straight to its final,
   fully-interactive size instead of being caught mid-width-transition at
   the exact instant the song starts and the user reaches for the controls. */
.player.no-anim,
.player.no-anim .player-full {
  transition: none !important;
}

.player-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(167,139,250,0.2), rgba(109,40,217,0.1));
  color: var(--accent-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.player-play:hover {
  border-color: var(--accent-bright);
  transform: scale(1.05);
}

.player[data-playing="true"] .player-play {
  border-color: var(--accent-bright);
  background: linear-gradient(180deg, rgba(167,139,250,0.3), rgba(109,40,217,0.16));
  box-shadow: 0 0 16px -2px var(--accent-glow);
}

.icon-pause { display: none; }
.player[data-playing="true"] .icon-play { display: none; }
.player[data-playing="true"] .icon-pause { display: block; }

.bars {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.player[data-playing="true"] .bars { display: flex; }

.player[data-playing="true"] .icon-pause,
.player[data-playing="true"] .icon-play {
  opacity: 0;
}

.bars i {
  width: 2px;
  height: 8px;
  background: var(--accent-bright);
  border-radius: 1px;
  animation: bar 0.9s ease-in-out infinite;
}
.bars i:nth-child(2) { animation-delay: 0.15s; }
.bars i:nth-child(3) { animation-delay: 0.3s; }

@keyframes bar {
  0%, 100% { height: 6px; }
  50% { height: 14px; }
}

/* Visualizer next to title */

.visualizer {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 12px;
  flex-shrink: 0;
}

.visualizer i {
  width: 2px;
  height: 4px;
  border-radius: 1px;
  background: var(--accent-bright);
  opacity: 0.35;
  transition: opacity 0.3s var(--ease);
}

.player[data-playing="true"] .visualizer i {
  opacity: 1;
  animation: viz 0.9s ease-in-out infinite;
}

.player[data-playing="true"] .visualizer i:nth-child(1) { animation-delay: 0s; }
.player[data-playing="true"] .visualizer i:nth-child(2) { animation-delay: 0.12s; }
.player[data-playing="true"] .visualizer i:nth-child(3) { animation-delay: 0.24s; }
.player[data-playing="true"] .visualizer i:nth-child(4) { animation-delay: 0.36s; }
.player[data-playing="true"] .visualizer i:nth-child(5) { animation-delay: 0.48s; }

@keyframes viz {
  0%, 100% { height: 4px; }
  50% { height: 12px; }
}

.player[data-state="error"] .player-play {
  border-color: rgba(244, 114, 182, 0.4);
  color: rgba(244, 114, 182, 0.75);
}

.player-body {
  flex: 1;
  min-width: 0;
}

.player-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.player-title {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
}

.player-time {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-faint);
  min-width: 28px;
}

input[type="range"] {
  --p: 0%;
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--accent-bright) var(--p), var(--border) var(--p));
  outline: none;
  cursor: pointer;
  transition: background 0.1s linear;
}

input[type="range"]::-moz-range-track {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--accent-bright) var(--p), var(--border) var(--p));
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-bright);
  cursor: pointer;
  border: 2px solid var(--bg-soft);
  box-shadow: 0 0 8px rgba(167,139,250,0.6);
  transition: transform 0.2s var(--ease);
}

input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-bright);
  cursor: pointer;
  border: 2px solid var(--bg-soft);
  box-shadow: 0 0 8px rgba(167,139,250,0.6);
  transition: transform 0.2s var(--ease);
}

input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.2); }
input[type="range"]:hover::-moz-range-thumb { transform: scale(1.2); }

.player-volume { width: 100%; }

.player-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: none;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.player-btn:hover {
  color: var(--accent-bright);
  transform: translateY(-1px);
}

.icon-mute { display: none; }
.player[data-muted="true"] .icon-vol { display: none; }
.player[data-muted="true"] .icon-mute { display: block; }

.player-note {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(244, 114, 182, 0.75);
  margin-top: 2px;
  display: none;
}

.player[data-state="error"] .player-note { display: block; }
.player[data-state="error"] .player-row,
.player[data-state="error"] .player-volume { opacity: 0.35; pointer-events: none; }

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  section { padding: 10vh 7vw; }
  .note-card { padding: 26px 22px; }

  .player {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    border-radius: 16px 16px 0 0;
    border-bottom: none;
  }

  .player-pill { display: none; }

  .player-full {
    width: 100% !important;
    opacity: 1 !important;
    padding: 10px 14px !important;
  }

  .player-play { width: 36px; height: 36px; }
}

@media (max-width: 420px) {
  .hero-name { font-size: clamp(3rem, 16vw, 4.2rem); }
  .gift-box { width: 112px; height: 82px; }
}
