/* ==========================================================================
   For Weronika — core stylesheet
   Mobile-first. Customize palette & spacing via the :root variables below.
   ========================================================================== */

:root {
  /* palette */
  --c-black: #070606;
  --c-charcoal: #100d0d;
  --c-charcoal-2: #171313;
  --c-wine: #3a0d16;
  --c-wine-deep: #260810;
  --c-red: #b3122c;
  --c-red-bright: #e8425c;
  --c-rose-muted: #caa0a6;
  --c-warm-white: #f3ece6;
  --c-warm-white-dim: #cabfb8;
  --c-gold: #c9a15a;

  /* type */
  --font-serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-accent: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* spacing / sizing */
  --gutter: 6vw;
  --section-pad-y: 12vh;
  --radius: 18px;
  --ease-cinematic: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

/* ------------------------------ reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-black);
  color: var(--c-warm-white);
  font-family: var(--font-sans);
  font-weight: 300;
  overflow-x: hidden;
  min-height: 100svh;
}
h1, h2, h3, p { margin: 0; }
button {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

/* focus visibility — accessibility */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 4px;
  border-radius: 4px;
}

::selection { background: var(--c-wine); color: var(--c-warm-white); }

/* ------------------------------ typography ------------------------------ */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--c-rose-muted);
  margin-bottom: 1.2rem;
}
.section-kicker {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-gold);
  opacity: 0.8;
  margin-bottom: 1rem;
}
.display-heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(2.6rem, 11vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--c-warm-white);
  text-shadow: 0 0 40px rgba(179, 18, 44, 0.25);
}
.heading-serif {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 7vw, 3.2rem);
  line-height: 1.15;
  color: var(--c-warm-white);
  max-width: 18ch;
}
.body-copy {
  font-family: var(--font-accent);
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  line-height: 1.6;
  color: var(--c-warm-white-dim);
  max-width: 32ch;
  margin-top: 1rem;
}
.micro-hint {
  margin-top: 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-rose-muted);
  opacity: 0.6;
}

/* ------------------------------ ambient layers --------------------------- */
.film-grain {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}
.vignette {
  position: fixed;
  inset: 0;
  z-index: 29;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,0.55) 100%);
}
.scene-flash {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background: var(--c-black);
  opacity: 0;
  transition: opacity 0.9s var(--ease-cinematic);
}
.scene-flash.is-active { opacity: 1; }
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* ------------------------------ loader ------------------------------ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--c-black);
  text-align: center;
  padding: 0 8vw;
  transition: opacity 1.1s var(--ease-cinematic), visibility 1.1s;
}
.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-point {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-red-bright);
  box-shadow: 0 0 18px 6px rgba(232, 66, 92, 0.7);
  opacity: 0;
  margin-bottom: 2.4rem;
}
.loader-line {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.4rem, 6vw, 2.2rem);
  color: var(--c-warm-white);
  opacity: 0;
  margin-bottom: 0.6rem;
}
.loader-line--sub {
  font-size: clamp(1rem, 4vw, 1.3rem);
  color: var(--c-warm-white-dim);
  font-style: normal;
}
.enter-btn {
  margin-top: 2.6rem;
  padding: 0.9rem 2.4rem;
  border: 1px solid rgba(243, 236, 230, 0.35);
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-warm-white);
  opacity: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: border-color 0.4s var(--ease-cinematic), background 0.4s var(--ease-cinematic), transform 0.25s var(--ease-cinematic);
  min-height: 44px;
}
.enter-btn:hover, .enter-btn:focus-visible {
  border-color: var(--c-red-bright);
  background: rgba(179, 18, 44, 0.12);
}
.enter-btn:active { transform: scale(0.96); }
.enter-btn__mark { color: var(--c-red-bright); font-size: 0.9rem; }

/* ------------------------------ HUD (progress + sound) ------------------------------ */
.hud {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 1.1rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.6s var(--ease-cinematic), transform 0.6s var(--ease-cinematic);
  pointer-events: none;
}
.hud.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

.hud-progress {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(16, 13, 13, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(243,236,230,0.08);
}
.hud-progress__track {
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: rgba(243,236,230,0.15);
  overflow: hidden;
  display: inline-block;
}
.hud-progress__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--c-red), var(--c-gold));
  transition: width 0.4s var(--ease-cinematic);
}
.hud-progress__count {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--c-warm-white-dim);
  font-variant-numeric: tabular-nums;
}
.hud-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 13, 13, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(243,236,230,0.08);
  color: var(--c-warm-white-dim);
  transition: color 0.3s, border-color 0.3s;
}
.hud-btn svg { width: 18px; height: 18px; }
.hud-btn .icon-sound-off { display: none; }
.hud-btn[aria-pressed="true"] .icon-sound-on { display: none; }
.hud-btn[aria-pressed="true"] .icon-sound-off { display: block; }
.hud-btn:hover, .hud-btn:focus-visible { color: var(--c-red-bright); border-color: rgba(232,66,92,0.4); }

/* ------------------------------ layout ------------------------------ */
.experience { position: relative; z-index: 10; }
.experience[hidden] { display: none; }

.section {
  position: relative;
  min-height: 100svh;
  width: 100%;
  padding: var(--section-pad-y) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* subtle background wash shared by sections, varied via ::before per-section */
.section::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -1;
  background: radial-gradient(ellipse 60% 45% at 50% 30%, rgba(58, 13, 22, 0.35), transparent 70%);
  pointer-events: none;
}

/* generic scroll-reveal target (progressive enhancement, JS toggles .is-visible) */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}
[data-reveal].is-visible {
  animation: reveal-up 0.9s var(--ease-cinematic) forwards;
}

/* ------------------------------ hero ------------------------------ */
.hero { justify-content: space-between; padding-top: 16vh; padding-bottom: 8vh; }
.hero-rose {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(78vw, 340px);
  transform: translate(-50%, -55%);
  opacity: 0.9;
  z-index: -1;
}
.rose-svg {
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 26px rgba(232, 66, 92, 0.35)) drop-shadow(0 16px 30px rgba(0, 0, 0, 0.45));
}
/* ring shading is set via gradients in the SVG defs; petals get a faint
   per-petal edge shadow so overlapping layers read with real depth */
.petal { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35)); }
.petal-core { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.5)); }

/* one-shot bloom-in the first time a rose scrolls into view, then a slow
   continuous breathing animation — split across two nested groups so the
   CSS `transform` never clobbers the SVG placement `transform` attribute */
.rose-bloom-open { transform-box: fill-box; transform-origin: 50% 50%; opacity: 0; }
.rose-svg.is-bloomed .rose-bloom-open { animation: bloom-in 1.7s var(--ease-cinematic) forwards; }
.rose-bloom { transform-box: fill-box; transform-origin: 50% 50%; }
.rose-svg.is-bloomed .rose-bloom { animation: soft-breathe 7s ease-in-out 1.7s infinite; }

/* interactive petals (tap nudge) live in their own un-rotated wrapper so
   the static ring placement (attribute transform) and the CSS nudge
   transform never fight over the same element */
.petal-interactive { transform-box: fill-box; transform-origin: 50% 100%; }
.hero-content { max-width: 26rem; margin: 0 auto; }
.hero-subtitle {
  margin-top: 1.1rem;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.05rem, 4vw, 1.35rem);
  color: var(--c-warm-white-dim);
}
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-warm-white-dim);
  min-height: 44px;
}
.scroll-cue__arrow { font-size: 1rem; color: var(--c-red-bright); }

/* ------------------------------ rose section ------------------------------ */
.rose-section { gap: 0.4rem; }
.rose-button {
  position: relative;
  width: min(70vw, 300px);
  display: block;
  margin: 0 auto;
  touch-action: manipulation;
}
.rose-svg--interactive { filter: drop-shadow(0 10px 40px rgba(179,18,44,0.25)); transition: filter 0.5s var(--ease-cinematic); }
.rose-button.is-activated .rose-svg--interactive { filter: drop-shadow(0 10px 60px rgba(232,66,92,0.55)); }
.rose-petals-burst { position: absolute; inset: 0; pointer-events: none; }
.rose-hint {
  margin-top: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-warm-white-dim);
  opacity: 0.55;
  transition: opacity 0.4s;
}
.rose-button.is-activated ~ .rose-hint { opacity: 0; }
.rose-reveal { margin-top: 1.6rem; min-height: 4.5rem; }
.reveal-line {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.2rem, 5vw, 1.7rem);
  color: var(--c-warm-white-dim);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s var(--ease-cinematic), transform 0.8s var(--ease-cinematic);
}
.reveal-line--accent { color: var(--c-red-bright); font-weight: 500; }
.rose-button.is-activated ~ .rose-reveal .reveal-line { opacity: 1; transform: translateY(0); }
.rose-button.is-activated ~ .rose-reveal .reveal-line--accent { transition-delay: 0.5s; }

/* ------------------------------ music ------------------------------ */
.music-section { gap: 0.6rem; }
.player {
  margin-top: 2.2rem;
  width: 100%;
  max-width: 26rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.2rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(58,13,22,0.35), rgba(16,13,13,0.55));
  border: 1px solid rgba(243,236,230,0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: left;
}
.player-play {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, var(--c-red-bright), var(--c-wine) 70%);
  color: var(--c-warm-white);
  box-shadow: 0 6px 24px rgba(179,18,44,0.35);
  transition: transform 0.25s var(--ease-cinematic);
}
.player-play:hover, .player-play:focus-visible { transform: scale(1.06); }
.player-play:active { transform: scale(0.94); }
.player-play svg { width: 22px; height: 22px; }
.player-play .icon-pause { display: none; }
.player-play[aria-pressed="true"] .icon-play { display: none; }
.player-play[aria-pressed="true"] .icon-pause { display: block; }

.player-body { flex: 1; min-width: 0; }
.player-title { font-family: var(--font-serif); font-size: 1.05rem; color: var(--c-warm-white); }
.player-artist { font-size: 0.75rem; color: var(--c-warm-white-dim); letter-spacing: 0.05em; margin-top: 0.15rem; }

.waveform {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 26px;
  margin: 0.7rem 0 0.5rem;
}
.waveform span {
  flex: 1;
  min-width: 2px;
  border-radius: 2px;
  background: rgba(243,236,230,0.25);
  height: 20%;
  transform-origin: bottom;
  transition: background 0.4s;
}
.player.is-playing .waveform span { background: linear-gradient(180deg, var(--c-red-bright), var(--c-gold)); }

.player-time {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.65rem;
  color: var(--c-warm-white-dim);
  font-variant-numeric: tabular-nums;
}
.player-progress-track { flex: 1; height: 3px; border-radius: 3px; background: rgba(243,236,230,0.15); overflow: hidden; }
.player-progress-fill { display: block; height: 100%; width: 0%; background: var(--c-gold); }
.player-note { margin-top: 1rem; font-size: 0.72rem; color: var(--c-warm-white-dim); opacity: 0.6; max-width: 24rem; }
.player-note code { color: var(--c-rose-muted); }

/* ------------------------------ transition petal ------------------------------ */
.petal-transition {
  position: relative;
  height: 40vh;
  width: 100%;
  background: linear-gradient(180deg, var(--c-black), var(--c-wine-deep) 50%, var(--c-black));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}
.falling-petal {
  position: absolute;
  top: -5%;
  width: 14px;
  height: 18px;
  border-radius: 60% 10% 60% 10%;
  background: linear-gradient(160deg, var(--c-red-bright), var(--c-wine));
  opacity: 0.85;
}

/* ------------------------------ notice cards ------------------------------ */
.notice-section { padding-top: 10vh; }
.card-grid {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
  max-width: 30rem;
}
.notice-card {
  padding: 1.4rem 1.2rem;
  border-radius: var(--radius);
  background: rgba(243,236,230,0.03);
  border: 1px solid rgba(243,236,230,0.08);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--c-warm-white);
  text-align: left;
  transition: transform 0.35s var(--ease-cinematic), background 0.35s var(--ease-cinematic), border-color 0.35s;
  min-height: 44px;
}
.notice-card:hover, .notice-card:focus-visible, .notice-card.is-touched {
  transform: translateY(-4px) scale(1.01);
  background: rgba(179,18,44,0.1);
  border-color: rgba(232,66,92,0.3);
}

/* ------------------------------ memory scrapbook ------------------------------ */
.memory-section { padding-top: 10vh; }
.memory-float {
  position: relative;
  width: 100%;
  max-width: 30rem;
  height: 46vh;
  min-height: 320px;
  margin-top: 2rem;
}
.memory-card {
  position: absolute;
  padding: 1.4rem 1.3rem;
  width: min(78vw, 240px);
  border-radius: var(--radius);
  background: rgba(58,13,22,0.28);
  border: 1px solid rgba(243,236,230,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--c-warm-white);
  cursor: grab;
  touch-action: none;
  user-select: none;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  will-change: transform;
}
.memory-card:active { cursor: grabbing; }
.memory-card:nth-of-type(1) { top: 4%; left: 4%; }
.memory-card:nth-of-type(2) { top: 38%; right: 2%; }
.memory-card:nth-of-type(3) { bottom: 4%; left: 20%; font-style: normal; font-size: 1.6rem; text-align: center; width: auto; padding: 1rem 1.4rem; }

/* ------------------------------ secret / envelope ------------------------------ */
.secret-section { gap: 0.6rem; }
.secret-lead { font-size: clamp(1.6rem, 6vw, 2.4rem); margin-bottom: 2.4rem; }
.envelope {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.envelope__body {
  position: relative;
  width: min(60vw, 220px);
  height: min(42vw, 150px);
  background: linear-gradient(160deg, var(--c-wine), var(--c-wine-deep));
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  overflow: visible;
}
.envelope__flap {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #4a1018, var(--c-wine-deep));
  clip-path: polygon(0 0, 50% 55%, 100% 0);
  transform-origin: top center;
  transition: transform 0.9s var(--ease-cinematic);
  border-radius: 6px 6px 0 0;
}
.envelope__letter {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 6%;
  height: 70%;
  background: var(--c-warm-white);
  border-radius: 3px;
  transform: translateY(6%) scale(0.94);
  opacity: 0.95;
  transition: transform 1s var(--ease-cinematic) 0.15s;
  z-index: -1;
}
.envelope__glow {
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,66,92,0.5), transparent 65%);
  opacity: 0;
  transition: opacity 0.9s var(--ease-cinematic);
  pointer-events: none;
}
.envelope.is-open .envelope__flap { transform: rotateX(180deg); }
.envelope.is-open .envelope__letter { transform: translateY(-46%) scale(1.02); z-index: 2; }
.envelope.is-open .envelope__glow { opacity: 1; }
.envelope__label {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-warm-white-dim);
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* ------------------------------ letter ------------------------------ */
.letter-section { background: radial-gradient(ellipse 70% 50% at 50% 20%, rgba(58,13,22,0.4), transparent 70%); }
.letter { max-width: 34rem; text-align: left; }
.letter-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2rem, 8vw, 3rem);
  margin-bottom: 1.6rem;
  text-align: center;
}
.letter-body {
  font-family: var(--font-accent);
  font-size: clamp(1.1rem, 4.2vw, 1.35rem);
  line-height: 1.85;
  color: var(--c-warm-white-dim);
}
.letter-body .letter-word { opacity: 0; display: inline-block; }
.letter-signature {
  margin-top: 2.4rem;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.15rem, 4.5vw, 1.4rem);
  color: var(--c-red-bright);
  text-align: center;
  opacity: 0;
  transition: opacity 1.4s var(--ease-cinematic);
}
.letter-signature.is-visible { opacity: 1; }

/* ------------------------------ finale: falling bouquet ------------------------------ */
.finale-section { position: relative; overflow: hidden; justify-content: flex-end; padding-bottom: 11vh; }
.bouquet-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.finale-text {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.3s var(--ease-cinematic), transform 1.3s var(--ease-cinematic);
}
.finale-text.is-visible { opacity: 1; transform: translateY(0); }
.finale-line {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.9rem, 7.5vw, 2.8rem);
  color: var(--c-warm-white);
  text-shadow: 0 0 30px rgba(179, 18, 44, 0.4);
}
.finale-subline {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--c-warm-white-dim);
  opacity: 0.7;
}
.easter-egg {
  margin-top: 2.6rem;
  max-width: 24rem;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--c-gold);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.9s var(--ease-cinematic), transform 0.9s var(--ease-cinematic);
}
.easter-egg.is-visible { opacity: 1; transform: translateY(0); }
.easter-egg p + p { margin-top: 0.4rem; }

/* ------------------------------ reduced motion ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { transform: none; }
}

/* ------------------------------ tablet / desktop ------------------------------ */
@media (min-width: 640px) {
  :root { --gutter: 8vw; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .player { padding: 1.5rem 1.8rem; }
}

@media (min-width: 1024px) {
  :root { --gutter: 10vw; --section-pad-y: 8vh; }
  .hud { padding: 1.6rem 2rem; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-rose { width: min(32vw, 420px); }
  .letter { max-width: 38rem; }
  .rose-button { width: min(24vw, 320px); }

  /* subtle cursor glow, desktop only */
  .cursor-glow {
    position: fixed;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(179,18,44,0.12), transparent 70%);
    pointer-events: none;
    z-index: 6;
    transform: translate(-50%, -50%);
    will-change: transform;
  }
}

@media (min-width: 1440px) {
  :root { --gutter: 14vw; }
}
