/* Paleta "vino y oro": fondo burdeos, acentos rosa y dorado (25-sep-2026). Antes: espresso y champan. */
:root {
  --espresso: #1c080d;
  --champagne: #f3e3d0;
  --champagne-2: #e6c48f;
  --sand: #c8a293;
  --cinnamon: #9a5b3c;
  --rose: #e79aa8;
  --wine: #6e1428;
  --gold: #e8b36a;
  --muted: rgba(239, 228, 214, .66);
  --serif: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: var(--espresso); color: var(--champagne); }
body {
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}

/* escritorio: tarjeta de telefono sobre la foto desenfocada */
.backdrop {
  position: fixed; inset: -40px;
  background: url("/img/hero-720.webp?v=21") center / cover no-repeat;
  filter: blur(40px) brightness(.34) saturate(1.15);
}
.stage { position: relative; height: 100dvh; width: 100%; margin: 0 auto; overflow: hidden; isolation: isolate; }
@media (min-width: 700px) {
  .stage {
    width: 440px; height: min(100dvh - 48px, 900px);
    margin-top: max(24px, calc((100dvh - 900px) / 2));
    border-radius: 30px;
    box-shadow: 0 40px 120px rgba(0, 0, 0, .6), 0 0 0 1px rgba(239, 228, 214, .08);
  }
}

.hero, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero img {
  object-fit: cover; object-position: 50% 35%;
  transform: scale(1.1);
  animation: settle 3s var(--ease) .1s forwards;
}
@keyframes settle { to { transform: scale(1.02); } }

/* destello de sol calido que deriva lento: su firma, en lugar de particulas */
.sun {
  position: absolute; inset: -20%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle at 70% 18%, rgba(255, 190, 170, .32), rgba(200, 50, 90, .16) 24%, transparent 46%);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-8%, 6%); } }

.shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(50,8,20,.6) 0%, transparent 18%, transparent 42%,
                    rgba(60,8,22,.72) 60%, rgba(40,6,16,.93) 80%, var(--espresso) 100%);
}

/* grano de pelicula */
.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .13; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- arriba ---------- */
.top {
  position: absolute; z-index: 2; left: 0; right: 0;
  top: calc(env(safe-area-inset-top) + 22px);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: fade 1.4s ease .4s forwards;
}
.mono {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(232, 179, 106, .65);
  font-family: var(--serif); font-style: italic; font-size: 17px; letter-spacing: .02em;
  color: var(--champagne);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  background: rgba(90, 14, 34, .3);
}
.mono-emoji { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-style: normal; font-size: 22px; letter-spacing: 0; line-height: 1; }
/* corazon de cristal con anillo dorado: flota suave y el anillo brilla */
.mono-heart { overflow: visible; }
.mono-heart svg { display: block; overflow: visible; filter: drop-shadow(0 0 5px rgba(255, 170, 190, .5)); }
.heart-body { transform-box: fill-box; transform-origin: center; animation: pulse 3.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.06); } 24% { transform: scale(1); } 36% { transform: scale(1.04); } 50% { transform: scale(1); } }
.kicker { font-size: 10px; font-weight: 600; letter-spacing: .5em; text-indent: .5em; text-transform: uppercase; color: var(--champagne); }
@keyframes fade { to { opacity: 1; } }

/* ---------- abajo: nombre y boton ---------- */
.bottom {
  position: absolute; z-index: 2; left: 0; right: 0;
  bottom: calc(env(safe-area-inset-bottom) + 22px);
  padding: 0 26px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
/* "Available now" bajo el nombre: pastilla vino y oro, punto verde; el halo del punto late y una onda sale hacia afuera */
.status {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 16px; padding: 6px 15px 6px 7px; border-radius: 999px;
  background: rgba(70, 10, 26, .55);
  border: 1px solid rgba(232, 179, 106, .45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--champagne);
  opacity: 0; animation: fade 1.2s ease 1.2s forwards;
}
.status-dot {
  position: relative; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(52, 211, 120, .16);
  animation: halo 2.4s ease-in-out infinite;
}
.status-dot::before { /* el punto: fijo */
  content: ""; position: absolute; inset: 6px; border-radius: 50%;
  background: #34d378; box-shadow: 0 0 8px rgba(52, 211, 120, .8);
}
.status-dot::after { /* onda que sale y se desvanece */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(52, 211, 120, .55);
  animation: ripple 2.4s ease-out infinite;
}
@keyframes halo { 0%, 100% { transform: scale(1); background: rgba(52, 211, 120, .16); } 50% { transform: scale(1.12); background: rgba(52, 211, 120, .26); } }
@keyframes ripple { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.name {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(50px, 15.5vw, 70px); line-height: .92; letter-spacing: -.01em;
  color: var(--champagne);
  opacity: 0; transform: translateY(18px); filter: blur(6px) drop-shadow(0 2px 12px rgba(18, 3, 8, 0)) drop-shadow(0 0 2px rgba(0, 0, 0, 0));
  animation: rise 1.6s var(--ease) .5s forwards;
}
.name span { font-style: italic; }
.line i { font-style: normal; color: rgba(239, 228, 214, .45); margin: 0 .2em; }
/* sombra oscura suave detras de las letras: las despega del estampado del vestido */
@keyframes rise { to { opacity: 1; transform: none; filter: blur(0) drop-shadow(0 2px 12px rgba(18, 3, 8, .9)) drop-shadow(0 0 2px rgba(0, 0, 0, .7)); } }
.line {
  margin-top: 14px; font-size: 10.5px; font-weight: 600;
  letter-spacing: .36em; text-indent: .36em; text-transform: uppercase; color: var(--rose);
  opacity: 0; animation: fade 1.2s ease 1.1s forwards;
}

.cta {
  position: relative; overflow: hidden;
  margin-top: 22px; width: 100%; max-width: 340px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 19px 26px; border-radius: 999px;
  background: linear-gradient(135deg, #a3294a 0%, var(--wine) 55%, #4a0b1b 100%);
  color: #f6dfb4; text-decoration: none;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 16px 44px rgba(120, 20, 45, .45), inset 0 1px 0 rgba(255, 200, 200, .25);
  opacity: 0; transform: translateY(24px);
  animation: up 1.1s var(--ease) 1.3s forwards;
  transition: transform .35s var(--ease);
}
.cta::after { /* brillo que cruza el boton */
  content: ""; position: absolute; top: 0; bottom: 0; width: 38%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 220, 170, .35), transparent);
  animation: sheen 5s ease-in-out 3s infinite;
}
@keyframes sheen { 0% { left: -60%; } 26%, 100% { left: 130%; } }
@keyframes up { to { opacity: 1; transform: none; } }
.cta:active { transform: scale(.97); }
.cta svg { transition: transform .35s var(--ease); }
@media (hover: hover) { .cta:hover svg { transform: translateX(4px); } }

/* tamano de los iconos de redes: --soc es el circulo; el dibujo y el espacio salen de ahi */
.socials {
  --soc: 56px;
  display: flex; justify-content: center; gap: calc(var(--soc) * .34); margin-top: 22px;
  opacity: 0; animation: fade 1.2s ease 1.8s forwards;
}
.socials a {
  display: grid; place-items: center; width: var(--soc); height: var(--soc); border-radius: 50%;
  border: 1px solid rgba(232, 179, 106, .35); color: var(--champagne);
  transition: border-color .3s, color .3s;
}
.socials a:hover, .socials a:active { border-color: var(--champagne-2); color: var(--champagne-2); }
.socials svg { width: calc(var(--soc) * .42); height: calc(var(--soc) * .42); }
/* Telegram: luz que recorre su borde, como el borde que gira en el boton principal */
.socials a.soc-telegram { position: relative; border-color: rgba(232, 179, 106, .22); }
.socials a.soc-telegram::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%; padding: 1.8px; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 50%, #fff3d6 70%, var(--gold) 80%, #f3a3b0 87%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  filter: drop-shadow(0 0 3px rgba(255, 220, 160, .9));
  animation: spin 2.6s linear infinite;
}

/* ---------- aviso de edad ---------- */
.gate {
  position: fixed; inset: 0; z-index: 30;
  display: grid; place-items: center; padding: 16px;
  background: rgba(28, 8, 13, .5);
  backdrop-filter: blur(24px) saturate(1.1); -webkit-backdrop-filter: blur(24px) saturate(1.1);
  animation: fade .4s ease forwards; opacity: 0;
}
.gate[hidden] { display: none; }
.gate-card {
  width: min(360px, 100%); padding: 32px 26px 20px; text-align: center;
  border-radius: 26px;
  background: rgba(38, 10, 18, .85);
  border: 1px solid rgba(232, 179, 106, .25);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .55);
}
.gate-mono { margin: 0 auto; width: 54px; height: 54px; font-size: 20px; }
.gate-title { margin-top: 18px; font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.gate-text { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.gate-yes {
  margin-top: 24px; width: 100%; padding: 17px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, #a3294a, var(--wine) 60%, #4a0b1b);
  color: #f6dfb4;
  font: 700 12.5px var(--sans); letter-spacing: .18em; text-transform: uppercase;
}
.gate-yes:active { transform: scale(.97); }
.gate-no { margin-top: 12px; padding: 8px; border: 0; background: none; cursor: pointer; font: 500 12px var(--sans); color: rgba(239, 228, 214, .45); }
body.gated .top, body.gated .bottom { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
}

/* ---------- animaciones premium ---------- */
.dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

/* reflejo dorado que recorre el nombre cada pocos segundos (el texto mismo lleva el degradado) */
.name {
  color: transparent;
  background: linear-gradient(110deg, #fbf0e2 42%, #fffaf3 49%, var(--gold) 51%, #fbf0e2 58%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  animation: rise 1.6s var(--ease) .5s forwards, shine 6s ease-in-out 2.6s infinite;
}
@keyframes shine { 0% { background-position: 100% 0; } 35%, 100% { background-position: 0% 0; } }

/* boton: borde de luz que gira + halo que respira */
.cta { isolation: isolate; animation: up 1.1s var(--ease) 1.3s forwards, breathe 3.2s ease-in-out 2.6s infinite; }
@keyframes breathe {
  0%, 100% { box-shadow: 0 16px 44px rgba(120, 20, 45, .45), inset 0 1px 0 rgba(255,200,200,.25); }
  50% { box-shadow: 0 18px 70px rgba(190, 40, 75, .7), 0 0 0 6px rgba(232, 179, 106, .12), inset 0 1px 0 rgba(255,200,200,.25); }
}
.cta-ring {
  position: absolute; inset: 0; border-radius: inherit; z-index: 1; overflow: hidden; pointer-events: none;
  padding: 2.5px; filter: drop-shadow(0 0 4px rgba(255, 220, 160, .9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.cta-ring::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 160%; aspect-ratio: 1;
  translate: -50% -50%;
  background: conic-gradient(from 0deg, transparent 0 45%, #fff3d6 62%, var(--gold) 72%, #f3a3b0 78%, #fff 82%, transparent 94%);
  animation: spin 3.4s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }
.cta-label { position: relative; }
.cta::after { animation: sheen 3.6s ease-in-out 2.4s infinite; }
.cta svg { animation: nudge 1.8s ease-in-out 2.6s infinite; }
@keyframes nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateX(5px); } }

/* ---------- portada en video (v1 aprobada, publicada 17-oct-2026) ----------
   El clip reemplaza la foto y se repite en bucle. Se sube un 5% para que la cabeza quede casi
   pegada al borde de arriba sin cortarse (el pelo llega a 5,9% del alto en el cuadro mas alto)
   y para que casi no se vean las letras ".COM" del fondo del clip. */
.hero-video {
  position: absolute; left: 0; top: -5%; width: 100%; height: 105%;
  object-fit: cover; object-position: 50% 0;
}
.backdrop { background: var(--espresso); filter: none; }

/* ---------- mas contraste y el video de protagonista (v3, oficial desde 17-oct-2026) ----------
   El clip ya viene con contraste 1.22, saturacion 1.16, gamma .94 y nitidez (ffmpeg eq + unsharp, CRF 22).
   Aqui se quitan o bajan las capas que lo tapaban: sin destello rosado (mezcla "screen" que lavaba arriba),
   grano al 4%, polvo dorado mas tenue y la sombra vino empieza mas abajo (solo detras del texto). */
.sun { display: none; }
.grain { opacity: .04; }
.dust { opacity: .7; }
.shade {
  background:
    linear-gradient(to bottom, rgba(20,3,8,.25) 0%, transparent 9%, transparent 52%,
                    rgba(50,6,18,.6) 66%, rgba(36,5,14,.92) 82%, var(--espresso) 100%);
}

/* ---------- nombre estilo Playfair en vino + boton de Telegram (de prueba-pilotos, oficial desde 22-oct-2026) ---------- */
/* nombre como la referencia (Gabi Conejo): Playfair Display cursiva, color plano y resplandor del mismo tono,
   sin contorno ni reflejo. Aqui en vino; una sombra oscura suave lo despega del video */
.name {
  font-family: "Playfair Display", var(--serif);
  font-style: italic; font-weight: 500; white-space: nowrap;
  font-size: clamp(44px, 13.6vw, 64px); line-height: 1.1; letter-spacing: 0;
  color: #a3294a; background: none; /* el mismo vino del boton principal */ -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-stroke: 0;
  filter: blur(6px) drop-shadow(0 2px 0 rgba(232, 179, 106, 0)) drop-shadow(0 0 10px rgba(163, 41, 74, 0)) drop-shadow(0 0 18px rgba(250, 210, 145, 0)) drop-shadow(0 2px 6px rgba(10, 1, 4, 0));
  animation: rise-glow 1.6s var(--ease) .5s forwards;
}
/* la primera sombra es dorada, leve y semitransparente, justo debajo de las letras para que el nombre resalte */
@keyframes rise-glow { to { opacity: 1; transform: none; filter: blur(0) drop-shadow(0 2px 0 rgba(232, 179, 106, .45)) drop-shadow(0 0 10px rgba(190, 50, 90, .8)) drop-shadow(0 0 18px rgba(250, 210, 145, .35)) drop-shadow(0 2px 6px rgba(10, 1, 4, .85)); } }
/* aurora dorada muy leve que emana del nombre hacia afuera y respira despacio */
.name-wrap { position: relative; isolation: isolate; }
.name-wrap::before {
  content: ""; position: absolute; z-index: -1; left: -16%; right: -16%; top: -70%; bottom: -70%;
  background: radial-gradient(ellipse at center, rgba(250, 212, 150, .36) 0%, rgba(232, 179, 106, .15) 45%, transparent 72%);
  filter: blur(10px); pointer-events: none;
  opacity: 0; animation: aura-in 2s ease 1.2s forwards, aura 5.5s ease-in-out 3.2s infinite alternate;
}
@keyframes aura-in { to { opacity: .75; } }
@keyframes aura { from { opacity: .75; transform: scale(.97); } to { opacity: 1; transform: scale(1.08); } }
.line { margin-top: 10px; }

/* boton de Telegram: pastilla chica con contorno dorado sobre vino translucido, debajo del principal,
   con la luz que recorre el borde (antes la tenia el icono redondo, que se quito) */
.cta-tg {
  position: relative; margin-top: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 26px; border-radius: 999px;
  border: 1px solid rgba(232, 179, 106, .45); background: rgba(40, 6, 16, .5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--champagne); text-decoration: none;
  font-size: 13.5px; font-weight: 600; letter-spacing: .04em;
  opacity: 0; transform: translateY(24px);
  animation: up 1.1s var(--ease) 1.5s forwards;
  transition: border-color .3s, background .3s;
}
.cta-tg svg { width: 22px; height: 22px; }
.cta-tg:active { transform: scale(.97); }
/* luz que recorre el borde: misma tecnica que .cta-ring del boton principal (un cono de luz grande que gira
   por dentro y se recorta al borde con mask), porque animar el angulo con @property no se movia en todos lados */
.cta-tg { isolation: isolate; overflow: hidden; }
.tg-ring {
  position: absolute; inset: 0; border-radius: inherit; z-index: 1; overflow: hidden; pointer-events: none;
  padding: 1.8px; filter: drop-shadow(0 0 3px rgba(255, 220, 160, .9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.tg-ring::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 160%; aspect-ratio: 1;
  translate: -50% -50%;
  background: conic-gradient(from 0deg, transparent 0 45%, #fff3d6 62%, var(--gold) 74%, #f3a3b0 82%, transparent 94%);
  animation: spin 2.6s linear infinite;
}
.cta-tg svg, .cta-tg span:not(.tg-ring) { position: relative; z-index: 2; }
.socials { margin-top: 18px; }
