/* ==========================================================================
   Feliz 18, Ailyn — estilos v2
   Paleta Nanami (JJK): negro · dorado · crema
   ========================================================================== */

:root {
  --black:       #0a0a0a;
  --black-soft:  #141414;
  --black-elev:  #1c1c1c;
  --cream:       #f5e6d3;
  --cream-dim:   #d9c6a8;
  --gold:        #d4a853;
  --gold-bright: #f6d27a;
  --gold-deep:   #a7812f;
  --red:         #8b1c1c;
  --text:        #ede3d0;
  --muted:       #9a907c;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: min(1100px, 92vw);
  --narrow:    min(720px, 92vw);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--black); }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--black);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

img { display: block; max-width: 100%; }
.container { width: var(--container); margin-inline: auto; }
.narrow    { width: var(--narrow);    margin-inline: auto; }
.gold      { color: var(--gold-bright); }

/* ==========================================================================
   GRANO / NOISE — textura de fondo
   ========================================================================== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.055;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/></svg>");
  background-repeat: repeat;
}

/* ==========================================================================
   ORBES DE FONDO — gradientes radiales que respiran
   ========================================================================== */
.bg-gradients {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
}

.bg-orb-1 {
  width: 80vmax; height: 80vmax;
  top: -30vmax; left: -20vmax;
  background: radial-gradient(circle, rgba(212,168,83,0.08) 0%, transparent 68%);
  animation: orb-drift-1 20s ease-in-out infinite;
}
.bg-orb-2 {
  width: 60vmax; height: 60vmax;
  bottom: -10vmax; right: -18vmax;
  background: radial-gradient(circle, rgba(246,210,122,0.065) 0%, transparent 65%);
  animation: orb-drift-2 26s ease-in-out infinite;
}
.bg-orb-3 {
  width: 40vmax; height: 40vmax;
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212,168,83,0.04) 0%, transparent 70%);
  animation: orb-drift-3 16s ease-in-out infinite;
}

@keyframes orb-drift-1 {
  0%, 100% { transform: translate(0, 0)    scale(1); }
  33%       { transform: translate(4vw, 6vh) scale(1.08); }
  66%       { transform: translate(-3vw, 3vh) scale(0.94); }
}
@keyframes orb-drift-2 {
  0%, 100% { transform: translate(0, 0)     scale(1); }
  40%       { transform: translate(-5vw, -4vh) scale(1.12); }
  70%       { transform: translate(3vw, 2vh)  scale(0.92); }
}
@keyframes orb-drift-3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%       { transform: translate(-50%, -50%) scale(1.35); }
}

/* ==========================================================================
   RAYAS NANAMI (fondo sutil, con parallax via JS)
   ========================================================================== */
.stripes-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(212,168,83,0.028) 0 26px,
    transparent 26px 52px
  );
  /* background-position se controla via JS para el parallax */
}

/* ==========================================================================
   CORTINA HERO
   ========================================================================== */
.hero-curtain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  animation: curtain-rise 1.4s cubic-bezier(0.86, 0, 0.07, 1) 0.15s both;
}
.curtain-stripes {
  position: absolute;
  inset: -6% 0;
  background-image: repeating-linear-gradient(
    135deg,
    var(--black)     0px  34px,
    var(--gold)      34px 42px,
    var(--black)     42px 76px
  );
}
@keyframes curtain-rise {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-106%); }
}

/* ==========================================================================
   FLASH DORADO — overlay para el clímax
   ========================================================================== */
#gold-flash {
  position: fixed;
  inset: 0;
  z-index: 180;
  pointer-events: none;
  background: radial-gradient(ellipse at center,
    rgba(246,210,122,0.5) 0%,
    rgba(212,168,83,0.2)  35%,
    transparent 70%);
  opacity: 0;
  transition: opacity 0.12s ease;
}

/* ==========================================================================
   SCREEN SHAKE
   ========================================================================== */
@keyframes screen-shake {
  0%, 100% { transform: translate3d(0,    0,    0); }
  15%       { transform: translate3d(-4px, 2px,  0); }
  30%       { transform: translate3d(4px,  -3px, 0); }
  45%       { transform: translate3d(-3px, 3px,  0); }
  60%       { transform: translate3d(3px,  -1px, 0); }
  80%       { transform: translate3d(-1px, 1px,  0); }
}
body.shake { animation: screen-shake 0.52s ease; }

/* ==========================================================================
   BOTÓN MÚSICA
   ========================================================================== */
.music-toggle {
  position: fixed; top: 18px; right: 18px;
  z-index: 300;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(212,168,83,0.45);
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--gold);
  font-size: 20px;
  cursor: pointer;
  display: grid; place-items: center;
  transition: transform .2s, background .2s, border-color .2s;
}
.music-toggle:hover { transform: scale(1.08); border-color: var(--gold); }
.music-toggle.playing { background: var(--gold); color: var(--black); border-color: var(--gold); }
.music-toggle.playing .music-icon { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 20px 100px;
  z-index: 2;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 50% 42%, rgba(212,168,83,0.14), transparent 72%),
    linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.92) 100%);
  pointer-events: none; z-index: 1;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(212,168,83,0.06) 0 72px,
    transparent 72px 144px
  );
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; max-width: 900px; width: 100%; }

/* Kicker — letras animadas via JS */
.hero-kicker {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.45em;
  font-size: 11px;
  color: var(--gold);
  margin-bottom: 28px;
  min-height: 16px;
  /* opacity gestionada via animación de spans */
}

/* Spans inyectados por JS */
.hero-char {
  display: inline-block;
  opacity: 0;
  animation: char-drop 0.5s ease both;
}
.kicker-char { animation-name: char-drop; }
.hero-word   { display: inline-block; opacity: 0; animation: word-rise 0.6s ease both; }
.ailyn-char  { animation-name: ailyn-pop; color: var(--gold-bright); }

@keyframes char-drop {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes word-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ailyn-pop {
  0%   { opacity: 0; transform: translateY(14px) scale(0.8); }
  60%  { opacity: 1; transform: translateY(-3px) scale(1.06); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Número 18 */
.hero-number-wrap { position: relative; display: inline-block; line-height: 1; }
.hero-number-glow {
  position: absolute; inset: -20% -15%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(212,168,83,0.3) 0%, transparent 70%);
  pointer-events: none;
  animation: glow-breathe 3.5s ease-in-out 2.8s infinite;
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.1); }
}
.hero-number {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(130px, 30vw, 320px);
  color: var(--gold-bright);
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-shadow:
    0 0  60px rgba(212,168,83,0.5),
    0 0 130px rgba(212,168,83,0.18),
    0 6px  0  rgba(0,0,0,0.75);
  opacity: 0;
  animation: stamp-in 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) 1.25s both;
}
@keyframes stamp-in {
  0%   { opacity: 0; transform: scale(0.76) translateY(18px); filter: blur(18px); }
  65%  { opacity: 1; transform: scale(1.03);                  filter: blur(0); }
  100% { opacity: 1; transform: scale(1)    translateY(0); }
}

.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 5vw, 52px);
  margin-top: 22px;
  color: var(--cream);
  min-height: 1.2em;
}
.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 2.4vw, 23px);
  color: var(--cream-dim);
  margin-top: 10px;
  opacity: 0;
  animation: fadeUp 1s 2.55s ease both;
}

.scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 38px;
  border: 1.5px solid rgba(212,168,83,0.6);
  border-radius: 12px;
  opacity: 0;
  animation: fadeIn 1s 3.1s ease both;
}
.scroll-hint span {
  display: block; width: 3px; height: 8px;
  background: var(--gold); border-radius: 2px;
  margin: 6px auto 0;
  animation: scroll-bounce 1.7s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ==========================================================================
   SECCIONES GENÉRICAS
   ========================================================================== */
.section { position: relative; padding: 96px 20px; z-index: 2; }

.sec-kicker {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.38em;
  font-size: 11px;
  color: var(--gold);
  margin-bottom: 14px;
}
.sec-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4.5vw, 48px);
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 12px;
}
.sec-sub {
  font-style: italic;
  color: var(--cream-dim);
  margin-bottom: 36px;
  font-size: 15px;
}

.intro .lead {
  font-family: var(--serif);
  font-size: clamp(19px, 2.5vw, 23px);
  color: var(--cream);
  margin-bottom: 18px;
}
.intro p  { margin-bottom: 16px; }
.intro .wink { margin-top: 20px; font-size: 13px; color: var(--muted); font-style: italic; }

/* Reveal al scroll */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .85s ease, transform .85s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   DIVISORES ANIMADOS — wipe-in de izquierda a derecha
   ========================================================================== */
.divider-stripes {
  height: 20px;
  background-image: repeating-linear-gradient(
    135deg,
    var(--gold) 0 12px,
    var(--black) 12px 24px
  );
  position: relative;
  z-index: 2;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.divider-stripes.animate-in { clip-path: inset(0 0% 0 0); }

.divider-gold-line {
  display: block;
  position: absolute; inset: 0;
  box-shadow:
    inset 0 0 0 1px rgba(246,210,122,0.3),
    0 0 28px rgba(212,168,83,0.2),
    0 -1px 0 rgba(246,210,122,0.55),
    0  1px 0 rgba(246,210,122,0.55);
}

/* ==========================================================================
   18 RAZONES — flip cards + tilt 3D
   ========================================================================== */
.cards-hint {
  font-size: 12px; color: var(--muted);
  letter-spacing: 0.1em; margin-bottom: 24px;
  font-style: italic;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 4px;
}

.card {
  perspective: 900px;
  min-height: 182px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.visible .card { opacity: 1; transform: translateY(0); }

.card-inner {
  position: relative;
  width: 100%; min-height: 182px;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 10px;
  /* tilt via CSS custom properties */
  transform:
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg));
}
.card.flipped .card-inner {
  transform: rotateY(180deg) !important;
}

.card-front, .card-back {
  position: absolute; inset: 0;
  border-radius: 10px;
  padding: 24px 22px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.card-front {
  background: linear-gradient(160deg, var(--black-soft), var(--black-elev));
  border: 1px solid rgba(212,168,83,0.22);
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,168,83,0.08);
  transition: box-shadow 0.3s ease;
}
.card:hover .card-front {
  box-shadow: 0 8px 36px rgba(0,0,0,0.7), 0 0 0 1px rgba(212,168,83,0.28), 0 0 40px rgba(212,168,83,0.06) inset;
}
.card-front::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.card-front::after {
  content: "";
  position: absolute; bottom: 0; right: 0;
  width: 52px; height: 52px;
  background: linear-gradient(135deg, transparent 50%, rgba(212,168,83,0.07) 50%);
  border-radius: 0 0 10px 0;
}

.card-back {
  background: linear-gradient(160deg, rgba(212,168,83,0.14), var(--black-soft));
  border: 1px solid rgba(212,168,83,0.45);
  transform: rotateY(180deg);
  display: flex; flex-direction: column; justify-content: center;
  box-shadow: inset 0 0 50px rgba(212,168,83,0.07);
}
.card-back::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(212,168,83,0.05) 0 8px,
    transparent 8px 16px
  );
  border-radius: inherit;
  pointer-events: none;
}

.card-n {
  font-family: var(--serif); font-weight: 700;
  font-size: 44px; line-height: 1; color: var(--gold); opacity: 0.9;
}
.card-t {
  font-family: var(--serif); font-size: 18px;
  line-height: 1.25; color: var(--cream); margin-top: 14px;
}
.card-back .card-n { font-size: 13px; letter-spacing: 0.15em; opacity: 0.55; margin-bottom: 12px; }
.card-s { font-family: var(--serif); font-size: 16.5px; color: var(--cream); line-height: 1.55; font-style: italic; }

/* ==========================================================================
   GALERÍA STICKERS — scrapbook
   ========================================================================== */
.stickers-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.sticker {
  position: relative;
  background: #e8d4ae;
  border-radius: 3px;
  aspect-ratio: 1;
  display: grid; place-items: center;
  padding: 14px;
  transform: rotate(var(--rot, 0deg));
  box-shadow: 2px 3px 0 rgba(0,0,0,0.22), 4px 7px 18px rgba(0,0,0,0.55);
  transition: transform .35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .35s ease;
  cursor: pointer;
  will-change: transform;
}
.sticker:nth-child(3n)   { background: #ead8b4; }
.sticker:nth-child(3n+1) { background: #f0e0c0; }
.sticker:nth-child(3n+2) { background: #e4d0a8; }

/* Tape */
.sticker:nth-child(3n+1)::before {
  content: "";
  position: absolute; top: -9px; left: 50%;
  transform: translateX(-50%) rotate(-1deg);
  width: 42px; height: 14px;
  background: rgba(246,210,122,0.38);
  border: 1px solid rgba(246,210,122,0.45);
  border-radius: 1px; box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.sticker:nth-child(5n+2)::after {
  content: "";
  position: absolute; bottom: -8px; right: 8px;
  transform: rotate(3deg);
  width: 36px; height: 12px;
  background: rgba(212,168,83,0.3);
  border: 1px solid rgba(212,168,83,0.4);
  border-radius: 1px;
}

.sticker:hover {
  transform: rotate(0deg) scale(1.13) translateY(-5px);
  box-shadow: 0 0 0 1px rgba(212,168,83,0.45), 0 10px 32px rgba(212,168,83,0.22), 0 18px 44px rgba(0,0,0,0.65);
  z-index: 10;
}
.sticker img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.3));
}
.sticker-placeholder {
  width: 58%; aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  opacity: 0.3;
}

/* ==========================================================================
   NANAMI — 2 columnas
   ========================================================================== */
.nanami {
  background: linear-gradient(180deg, rgba(212,168,83,0.025), transparent);
}
.nanami-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px; align-items: center;
  max-width: 900px; margin: 0 auto;
}
.nanami-visual { text-align: center; }
.nanami-figure {
  width: min(220px, 70vw); margin: 0 auto;
  filter: drop-shadow(0 0 24px rgba(212,168,83,0.38)) drop-shadow(0 8px 32px rgba(0,0,0,0.75));
  animation: nanami-float 6s ease-in-out infinite;
}
.nanami-figure svg { width: 100%; height: auto; }
@keyframes nanami-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-9px); }
}
.nanami-tag {
  margin-top: 14px; font-family: var(--sans); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.35em; color: var(--gold); opacity: 0.7;
}
.nanami-content { display: flex; flex-direction: column; gap: 28px; }
.nanami-quote-wrap {
  position: relative; padding-left: 20px;
  border-left: 2px solid rgba(212,168,83,0.5);
}
.nanami-open-quote {
  position: absolute; top: -22px; left: -8px;
  font-family: var(--serif); font-size: 96px; line-height: 1;
  color: var(--gold); opacity: 0.14;
  pointer-events: none; user-select: none;
}
.nanami-jp {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 2.8vw, 28px);
  color: var(--cream); line-height: 1.4; margin-bottom: 14px;
}
.nanami-translate {
  font-family: var(--serif);
  font-size: clamp(15px, 2vw, 18px);
  color: var(--cream-dim); margin-bottom: 14px;
}
.nanami-quote footer {
  font-size: 11px; letter-spacing: 0.25em;
  color: var(--gold); text-transform: uppercase;
}
.nanami-note {
  font-family: var(--serif); font-size: clamp(16px, 2vw, 18px);
  color: var(--cream-dim); font-style: italic; line-height: 1.7;
}

/* ==========================================================================
   CARTA — tipografía de libro + reveal por párrafo
   ========================================================================== */
.carta .sec-title { text-align: left; }

.letter {
  position: relative; margin-top: 32px;
  background: linear-gradient(180deg, rgba(245,230,211,0.058), rgba(245,230,211,0.022));
  border: 1px solid rgba(212,168,83,0.18);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 12px 12px;
  padding: 44px 46px 50px;
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 20.5px);
  line-height: 1.9;
  color: var(--cream);
}

.letter-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 34px; opacity: 0.5;
}
.letter-rule {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.letter-date {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.3em; color: var(--gold); white-space: nowrap;
}

.salutation { font-size: clamp(19px, 2.4vw, 22px); margin-bottom: 22px; color: var(--cream); }
.salutation b { font-weight: 600; }

/* Drop-cap */
.drop-cap::first-letter {
  font-family: var(--serif); font-weight: 700;
  font-size: 5em; float: left;
  line-height: 0.78; margin-right: 10px; margin-top: 8px;
  color: var(--gold-bright);
  text-shadow: 0 2px 16px rgba(212,168,83,0.35);
}

/* Párrafos — reveal progresivo */
.carta-para {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity  0.65s ease var(--para-delay, 0ms),
    transform 0.65s ease var(--para-delay, 0ms);
}
.carta-para-visible { opacity: 1; transform: translateY(0); }

.letter p { margin-bottom: 0; }
.letter p + p { margin-top: 1.05em; }
.letter i { color: var(--gold-bright); font-style: italic; }
.letter b { color: var(--cream); font-weight: 600; }

.signed {
  margin-top: 36px !important;
  padding-top: 22px;
  border-top: 1px dashed rgba(212,168,83,0.3);
  font-style: italic; line-height: 1.8;
}

/* ==========================================================================
   CLÍMAX
   ========================================================================== */
.climax {
  text-align: center; padding: 130px 20px;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(212,168,83,0.07), transparent);
}
.climax-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(44px, 7.5vw, 78px);
  color: var(--gold-bright); margin-bottom: 10px;
}
.climax-sub {
  font-family: var(--serif); font-style: italic;
  color: var(--cream-dim); font-size: 18px; margin-bottom: 40px;
}
.climax-btn {
  display: inline-block; padding: 18px 50px;
  font-family: var(--sans); font-weight: 600;
  font-size: 15px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border: none; border-radius: 999px; cursor: pointer;
  animation: btn-pulse 2.6s ease-in-out infinite;
  transition: transform .2s ease, box-shadow .2s ease;
}
.climax-btn:hover  { transform: translateY(-3px) scale(1.04); }
.climax-btn:active { transform: scale(0.97); }
.climax-btn.fired  { animation: none; opacity: 0.55; cursor: default; }
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(212,168,83,0.3), 0 0 0 0 rgba(212,168,83,0.5); }
  50%       { box-shadow: 0 12px 40px rgba(212,168,83,0.5), 0 0 0 20px rgba(212,168,83,0); }
}

.climax-msg {
  margin-top: 54px;
  font-family: var(--serif);
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.6; color: var(--cream);
  opacity: 0;
  min-height: 2.5em;
}
.climax-msg.visible { opacity: 1; }

.climax-line1 {
  display: block;
  text-shadow: 0 0 30px rgba(246,210,122,0.6);
}
.climax-line2 { display: block; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 40px 20px 30px; text-align: center;
  position: relative; z-index: 2;
  color: var(--muted); font-size: 12px; letter-spacing: 0.12em;
}
.footer-stripes {
  height: 5px; max-width: 100px;
  margin: 0 auto 20px;
  background-image: repeating-linear-gradient(135deg, var(--gold) 0 8px, var(--black) 8px 16px);
  border-radius: 2px; opacity: 0.7;
}

/* ==========================================================================
   CANVAS (partículas / confeti)
   ========================================================================== */
#fx-canvas {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 150;
}

/* ==========================================================================
   KEYFRAMES BASE
   ========================================================================== */
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp  { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 700px) {
  .section    { padding: 74px 18px; }
  .letter     { padding: 32px 24px 38px; }
  .nanami-layout { grid-template-columns: 1fr; gap: 36px; }
  .nanami-figure { width: min(180px, 55vw); }
  .nanami-quote-wrap { padding-left: 16px; }
  .nanami-open-quote { font-size: 72px; }
  .cards-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .card, .card-inner { min-height: 160px; }
  .card-n  { font-size: 34px; }
  .card-t  { font-size: 16px; margin-top: 10px; }
  .card-s  { font-size: 15px; }
  .stickers-wall { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .climax-btn { padding: 16px 36px; font-size: 14px; }
  .drop-cap::first-letter { font-size: 4em; }
}
@media (max-width: 420px) {
  .stickers-wall { grid-template-columns: repeat(2, 1fr); }
  .cards-grid    { grid-template-columns: 1fr 1fr; }
}

/* Respeto prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero-curtain { display: none; }
  .reveal, .card { opacity: 1; transform: none; }
  .carta-para { opacity: 1; transform: none; }
  .divider-stripes { clip-path: none; }
  .nanami-figure { animation: none; }
  body.shake { animation: none; }
}
