/* =============================================================================================
   Estilos compartidos por el sitio público y el panel de administrador.
   PALETA "Ven y Sácatelo": negro (fondos), DORADO (marca / acciones / premios), AZUL eléctrico (luces, información)
   y blanco (texto). El rojo solo se usa para errores.
   TIPOGRAFÍA: Bangers (títulos y cifras, estilo brocha como el logo), Manrope (texto), JetBrains Mono (códigos de boleto).
   Todo color y fuente vive en variables (:root): para cambiar la marca basta con editar este bloque.
   ============================================================================================= */
/* Letra de brocha de la marca, servida desde NUESTRO servidor (no depende de Google y carga más rápido).
   Bangers © Vernon Adams, licencia SIL Open Font License (ver public/fonts/LICENCIAS.txt). */
@font-face {
  font-family: 'Bangers'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/bangers-latin.woff2') format('woff2');
}

:root {
  /* Negros (fondos, bordes, texto) */
  --bg: #030407;
  --surface: #0a0c12;
  --surface-2: #12151e;
  --glass: rgba(12, 14, 22, .8);
  --line: #232838;
  --line-strong: #353c52;
  --ink: #f5f7ff;
  --muted: #9aa3b8;

  /* Colores de acento */
  --gold: #ffc400;            /* dorado del logo */
  --gold-light: #ffe14d;
  --gold-deep: #e09a00;
  --blue: #2a7bff;            /* azul eléctrico de los rayos de luz */
  --red: #ff2e43;

  /* Papeles que juega cada color */
  --brand: var(--gold);
  --brand-dark: #e0a800;
  --brand-ink: #120c00;       /* texto oscuro que se lee sobre el dorado */
  --brand-soft: rgba(255, 196, 0, .12);
  --accent: var(--blue);
  --link: #6eabff;

  --ok: #ffc400;     --ok-soft: rgba(255, 196, 0, .12);
  --warn: #ffb38a;   --warn-soft: rgba(255, 128, 64, .10);
  --bad: #ff4a5d;    --bad-soft: rgba(255, 46, 67, .16);
  --info: #6eabff;   --info-soft: rgba(42, 123, 255, .16);

  --font-display: 'Bangers', 'Impact', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 16px;
  --glow: 0 0 14px rgba(255, 196, 0, .45);
  --glow-strong: 0 0 26px rgba(255, 196, 0, .6);
  --glow-blue: 0 0 18px rgba(42, 123, 255, .55);
  --shadow: 0 10px 34px rgba(0, 0, 0, .6);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
  font-synthesis-weight: none; /* Bangers tiene un solo grosor: que el navegador no invente negritas */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; color: var(--ink); min-height: 100vh; isolation: isolate;
  font: 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  /* Fondo negro con luz azul eléctrica arriba y un brillo dorado abajo */
  background:
    radial-gradient(900px 460px at 50% -10%, rgba(42, 123, 255, .28), transparent 70%),
    radial-gradient(700px 380px at 100% 0%, rgba(42, 123, 255, .14), transparent 70%),
    radial-gradient(900px 420px at 50% 110%, rgba(255, 196, 0, .10), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}
/* Rayos de luz que salen desde arriba (decorativo, detrás de todo) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% -12%, rgba(42, 123, 255, .10) 0deg 3deg, transparent 3deg 14deg);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 10%, transparent 72%);
  animation: rays 60s linear infinite;
}
@keyframes rays { to { transform: rotate(4deg) scale(1.05); } }
/* Destello dorado que se mueve despacio */
body::after {
  content: ""; position: fixed; z-index: -1; pointer-events: none; width: 540px; height: 540px; border-radius: 50%;
  top: -180px; right: -140px; background: radial-gradient(circle, rgba(255, 196, 0, .10), transparent 65%);
  animation: drift 20s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-60vw, 30vh) scale(1.2); } }

::selection { background: rgba(255, 196, 0, .35); color: #fff; }
* { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }

img { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 5.6vw, 3rem); letter-spacing: .02em; line-height: 1.05; }
h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; letter-spacing: .03em; }
h3 { font-size: 1.05rem; font-weight: 800; }
p { margin: 0 0 .75em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.hidden { display: none !important; }
.mono { font-family: var(--font-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Animación de entrada escalonada: empieza visible casi al instante (no deja nada oculto si algo falla) */
.reveal { animation: rise .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes rise { from { opacity: .001; transform: translateY(14px); } }

/* ---------- Cabecera y pie ---------- */
.site-header { background: rgba(3, 4, 7, .85); box-shadow: 0 1px 0 rgba(255, 196, 0, .18), 0 8px 30px rgba(0, 0, 0, .4); backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; letter-spacing: .03em; color: var(--ink); text-decoration: none; white-space: nowrap; }
/* Logo "Ven y Sácatelo": imagen con fondo transparente y un brillo dorado */
.brand-logo { height: 52px; width: auto; filter: drop-shadow(0 0 10px rgba(255, 196, 0, .35)); transition: transform .3s var(--ease), filter .3s; }
.brand:hover .brand-logo { transform: rotate(-3deg) scale(1.05); filter: drop-shadow(0 0 16px rgba(255, 196, 0, .6)); }
.brand-logo.sm { height: 40px; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); display: inline-grid; place-items: center; color: var(--brand-ink); font-size: 1rem; box-shadow: var(--glow); transition: transform .3s var(--ease); flex: none; }
.brand-mark.sm { width: 24px; height: 24px; font-size: .75rem; border-radius: 7px; vertical-align: -6px; }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.infoline { display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.nav { display: flex; gap: 4px; }
.nav a { white-space: nowrap; padding: 7px 12px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .92rem; color: var(--muted); transition: color .15s, background .15s; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--gold); background: var(--brand-soft); }

main { padding: 24px 0 64px; }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .875rem; background: rgba(6, 9, 15, .6); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }

/* ---------- Tarjetas, botones, formularios ---------- */
.card {
  background: linear-gradient(180deg, rgba(18, 26, 39, .86), rgba(11, 16, 24, .9));
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.card + .card { margin-top: 16px; }
/* dentro de cuadrículas el espacio lo pone el gap: sin esto, la 1.ª tarjeta quedaba más alta que las demás */
.grid > .card, .stats > .card, .steps > * { margin-top: 0; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 800; cursor: pointer; text-decoration: none; white-space: nowrap; overflow: hidden;
  background: linear-gradient(180deg, #fff07a, var(--gold-light) 35%, var(--gold) 70%, var(--gold-deep)); color: var(--brand-ink); text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
  box-shadow: 0 6px 18px rgba(255, 196, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: box-shadow .2s, transform .12s var(--ease), filter .2s, background .2s;
  -webkit-tap-highlight-color: transparent;
}
/* destello que recorre el botón al pasar el mouse */
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s var(--ease); pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { box-shadow: 0 8px 26px rgba(255, 196, 0, .35), var(--glow); filter: brightness(1.05); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; filter: grayscale(.3); }
.btn:disabled::after { display: none; }
.btn.secondary { background: rgba(10, 12, 20, .75); color: var(--ink); border-color: rgba(42, 123, 255, .45); font-weight: 700; box-shadow: inset 0 0 12px rgba(42, 123, 255, .12); text-shadow: none; }
.btn.secondary::after { background: linear-gradient(110deg, transparent 30%, rgba(255, 196, 0, .12) 50%, transparent 70%); }
.btn.secondary:hover { background: var(--surface-2); border-color: var(--gold); box-shadow: 0 0 0 1px rgba(255, 196, 0, .2); }
.btn.ok { background: linear-gradient(180deg, #ffe14d, var(--gold)); }
.btn.danger { text-shadow: none; background: linear-gradient(180deg, #ff5a6b, var(--red)); color: #fff; box-shadow: 0 6px 18px rgba(255, 46, 67, .25); }
.btn.danger:hover { box-shadow: 0 8px 26px rgba(255, 46, 67, .4), 0 0 16px rgba(255, 46, 67, .5); }
.btn.wa { text-shadow: none; background: linear-gradient(180deg, #19c25e, #0f9d48); color: #fff; box-shadow: 0 6px 18px rgba(18, 183, 85, .25); }
.btn.wa:hover { box-shadow: 0 8px 26px rgba(18, 183, 85, .4), 0 0 16px rgba(18, 183, 85, .5); }
.btn.small { padding: 7px 12px; font-size: .875rem; border-radius: 10px; }
.btn.block { width: 100%; }
.btn.lg { padding: 15px 22px; font-size: 1.05rem; border-radius: 14px; }
.btn.wa, .btn.block { max-width: 100%; white-space: normal; text-align: center; } /* los botones largos pueden partirse en 2 líneas en el celular */
/* Llamado principal: late suavemente para atraer la mirada */
.btn.cta { animation: beat 2.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { box-shadow: 0 6px 18px rgba(255, 196, 0, .22); } 50% { box-shadow: 0 6px 30px rgba(255, 196, 0, .5), var(--glow-strong); } }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible, .tab:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px;
}

label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 5px; }
input, select, textarea {
  width: 100%; padding: 12px 13px; border: 1px solid var(--line-strong); border-radius: 12px;
  font: inherit; background: rgba(6, 10, 17, .85); color: var(--ink);
  transition: border-color .15s, box-shadow .2s, background .2s;
}
input::placeholder, textarea::placeholder { color: #566478; }
input:hover, select:hover, textarea:hover { border-color: #36507a; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255, 196, 0, .14); outline: none; background: #060a11; }
input[type=file] { padding: 9px; }
input[type=file]::file-selector-button { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; margin-right: 10px; font: inherit; font-weight: 700; cursor: pointer; }
input[type=file]::file-selector-button:hover { border-color: var(--brand); }
textarea { min-height: 90px; resize: vertical; }
.field { margin-bottom: 14px; }
.field .hint { color: var(--muted); font-size: .8rem; margin-top: 5px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row > * { flex: 1 1 160px; min-width: 0; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.check input { width: auto; accent-color: var(--gold); }
input[type=radio], input[type=checkbox] { accent-color: var(--gold); }

/* ---------- Etiquetas de estado ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 800; white-space: nowrap; border: 1px solid transparent; letter-spacing: .01em; }
.badge.ok { background: var(--ok-soft); color: var(--ok); border-color: rgba(255, 196, 0, .35); }
.badge.warn { background: var(--warn-soft); color: var(--warn); border-color: rgba(255, 128, 64, .35); }
.badge.bad { background: var(--bad-soft); color: var(--bad); border-color: rgba(255, 46, 67, .45); }
.badge.info { background: var(--info-soft); color: var(--info); border-color: rgba(47, 123, 255, .4); }
.badge.gray { background: #18212f; color: var(--muted); }
.badge.soon { background: rgba(42, 123, 255, .16); color: #8cbcff; border-color: rgba(42, 123, 255, .6); box-shadow: 0 0 14px rgba(42, 123, 255, .4); }
.badge.soon::before { content: "🔔"; font-size: .8em; }
/* "En vivo": punto que late */
.badge.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: ping 1.6s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 196, 0, .7); } 80%, 100% { box-shadow: 0 0 0 7px rgba(255, 196, 0, 0); } }

.alert { padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; font-size: .95rem; border: 1px solid transparent; }
.alert.ok { background: var(--ok-soft); color: #ffe680; border-color: rgba(255, 196, 0, .3); }
.alert.warn { background: var(--warn-soft); color: #ffc6a8; border-color: rgba(255, 128, 64, .3); }
.alert.bad { background: var(--bad-soft); color: #ff8b98; border-color: rgba(255, 46, 67, .4); }
.alert.info { background: var(--info-soft); color: #9cc4ff; border-color: rgba(47, 123, 255, .35); }

/* ---------- Barra de progreso hacia la meta ---------- */
/* Verde neón = boletos vendidos (pagados). Azul rayado = apartados / en revisión.
   Al cargar, la barra se llena desde cero; un destello la recorre mientras está activa. */
.goal-card { margin: 16px 0; }
.goal-bar { position: relative; height: 16px; background: #070c14; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.goal-bar .sold { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 99px; overflow: hidden;
  background: linear-gradient(90deg, var(--blue), var(--gold)); box-shadow: var(--glow);
  transform-origin: left; animation: fill 1.1s var(--ease) both; }
.goal-bar .sold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .45) 45%, transparent 65%); background-size: 220% 100%; animation: shimmer 2.6s linear infinite; }
@keyframes fill { from { transform: scaleX(0); } }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -70% 0; } }
.goal-bar .held { position: absolute; top: 0; bottom: 0;
  background: repeating-linear-gradient(45deg, rgba(47, 123, 255, .55) 0 6px, rgba(47, 123, 255, .25) 6px 12px);
  background-size: 17px 17px; animation: stripes 1s linear infinite, appear .6s .7s both; }
@keyframes stripes { to { background-position: 17px 0; } }
@keyframes appear { from { opacity: 0; } }
.goal.reached .goal-bar .sold { background: var(--gold); animation: fill 1.1s var(--ease) both, glow 1.8s ease-in-out 1.1s infinite; }
@keyframes glow { 50% { box-shadow: 0 0 24px rgba(255, 196, 0, .9); } }
.goal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 7px; font-size: .9rem; }
.goal-head b { font-family: var(--font-display); font-size: 1.1rem; font-weight: 400; }
.goal-head .pct { font-family: var(--font-display); color: var(--gold); font-weight: 400; font-variant-numeric: tabular-nums; }
.goal-note { margin-top: 7px; font-size: .85rem; color: var(--muted); }
.goal.reached .goal-note { color: var(--gold); font-weight: 700; }
.goal.almost .goal-head .pct { color: #ffb020; text-shadow: 0 0 10px rgba(255, 160, 0, .7); }
.goal.almost .goal-note { color: #ffcf6b; font-weight: 700; }
.goal.compact .goal-bar { height: 10px; }
.goal.compact .goal-head { font-size: .82rem; margin-bottom: 5px; }
.goal.compact .goal-head b { font-size: .95rem; }
.meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }

/* ---------- Portada ---------- */
.hero { padding: 36px 0 12px; position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.hero-text { grid-row: 1; grid-column: 1; min-width: 0; }
/* Arte de la marca: brilla y "flota" suavemente, con un aro de luz azul detrás */
.hero-art { grid-row: 1; grid-column: 2; position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 1;
  box-shadow: 0 0 0 1px rgba(255, 196, 0, .35), 0 0 40px rgba(42, 123, 255, .35), 0 0 80px rgba(255, 196, 0, .18), var(--shadow); animation: float 6s ease-in-out infinite; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .18) 50%, transparent 65%); background-size: 250% 100%; animation: sheen 5s ease-in-out infinite; pointer-events: none; }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes sheen { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.hero h1 { font-size: clamp(2.6rem, 7.4vw, 4.6rem); line-height: .98; margin: 14px 0 14px; max-width: 14ch; text-shadow: 0 3px 0 #000, 0 0 24px rgba(42, 123, 255, .35); }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 6px; }
  .hero-art { grid-column: 1; grid-row: 1; max-width: 420px; width: 100%; justify-self: center; border-radius: 20px; }
  .hero-text { grid-row: 2; }
}
.hero p { color: var(--muted); max-width: 58ch; font-size: 1.05rem; }
.glow-text {
  background: linear-gradient(90deg, var(--gold), #fff3b0 35%, var(--gold-light) 55%, var(--gold-deep) 80%, var(--gold));
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 3px 0 #000) drop-shadow(0 0 18px rgba(255, 196, 0, .45)); animation: hue 8s linear infinite;
}
@keyframes hue { to { background-position: 300% 0; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-stat { display: flex; align-items: baseline; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); backdrop-filter: blur(6px); }
.hero-stat b { font-family: var(--font-display); font-size: 1.05rem; color: var(--gold); }
.hero-stat span { color: var(--muted); font-size: .85rem; }

.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 34px 0 4px; }
.section-title h2 { margin: 0; font-size: 1.3rem; }

/* Cómo funciona: es un proceso real en orden, por eso va numerado */
.steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 26px; }
.step { position: relative; padding: 18px 18px 18px 64px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); }
.step .n { position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 400; color: var(--gold); border: 1px solid rgba(255, 196, 0, .4); background: var(--brand-soft); }
.step b { display: block; margin-bottom: 2px; }
.step span { color: var(--muted); font-size: .9rem; }

.track-card { margin-top: 34px; display: grid; gap: 6px 24px; grid-template-columns: 1fr minmax(0, 460px); align-items: center; }
.track-card p { margin: 0; }
.track-box { display: flex; gap: 8px; max-width: 460px; }
.track-box input { min-width: 0; }

/* ---------- Tarjeta de rifa con forma de boleto ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 18px; }
.raffle-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .35s var(--ease), border-color .25s, box-shadow .35s; }
.raffle-card:hover { transform: translateY(-5px); border-color: rgba(255, 196, 0, .55); box-shadow: 0 0 0 1px rgba(255, 196, 0, .2), 0 22px 44px rgba(0, 0, 0, .6), var(--glow); }
.raffle-card .cover { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(circle at 30% 20%, rgba(47, 123, 255, .9), transparent 60%), linear-gradient(135deg, #0a1a3a, #1c1400 70%, var(--gold) 140%); display: grid; place-items: center; font-size: 3.2rem; overflow: hidden; }
.raffle-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.raffle-card:hover .cover img { transform: scale(1.06); }
/* Foto sin fondo usada como portada: completa y flotando, sin recortar */
.raffle-card .cover img.cut, .raffle-hero-img img.cut, .raffle-admin .thumb img.cut { object-fit: contain; padding: 8%; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55)) drop-shadow(0 0 16px rgba(255, 196, 0, .25)); }
/* Rifa "Próximamente": cinta de neón roja sobre la portada */
.raffle-card.is-soon .cover img { filter: saturate(.8) brightness(.75); }
.raffle-card.is-soon .cover::before { content: "PRÓXIMAMENTE"; position: absolute; z-index: 2; left: 0; right: 0; bottom: 14px; text-align: center; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; letter-spacing: .12em;
  color: #fff; background: linear-gradient(90deg, transparent, rgba(42, 123, 255, .9) 18%, rgba(42, 123, 255, .9) 82%, transparent); padding: 6px 0; text-shadow: 0 0 10px rgba(255, 255, 255, .6); }
.raffle-card.is-soon:hover { border-color: rgba(42, 123, 255, .7); box-shadow: 0 0 0 1px rgba(42, 123, 255, .3), 0 22px 44px rgba(0, 0, 0, .6), var(--glow-blue); }
.soon-box { text-align: center; padding: 6px 2px 2px; }
.soon-word { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 8vw, 2.6rem); letter-spacing: .05em; color: var(--gold); text-shadow: 0 0 18px rgba(255, 196, 0, .7); margin: 4px 0 10px; animation: soonGlow 2.4s ease-in-out infinite; }
@keyframes soonGlow { 50% { text-shadow: 0 0 6px rgba(255, 196, 0, .4); opacity: .85; } }

/* Imagen ampliada (toca para cerrar) */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .9); display: grid; place-items: center; padding: 16px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; }

/* Estudio de imágenes (panel): vista previa y fondo de cuadros para ver la transparencia */
.studio-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.studio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 8px 0 12px; }
.studio-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; font: inherit; color: var(--ink); cursor: pointer; padding: 12px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--line); transition: border-color .2s, transform .2s, box-shadow .2s; position: relative; }
.studio-opt:hover, .studio-opt:focus-visible { border-color: rgba(255, 196, 0, .6); transform: translateY(-2px); box-shadow: var(--glow); }
.studio-opt .ic { font-size: 1.5rem; }
.studio-opt b { font-size: .92rem; }
.studio-opt small { color: var(--muted); font-size: .76rem; }
.studio-opt .badge { position: absolute; top: 8px; right: 8px; }
.studio-opt[aria-busy="true"] { opacity: .6; pointer-events: none; }
.studio-photo { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.studio-photo .checker { width: 96px; height: 96px; border-radius: 10px; display: grid; place-items: center; overflow: hidden; flex: none; font-size: 2rem; }
.studio-photo .checker img { max-width: 100%; max-height: 100%; }
.studio-preview { display: grid; place-items: center; min-height: 220px; border-radius: 14px; background: #05080d; border: 1px solid var(--line); padding: 10px; position: relative; }
.studio-preview img, .studio-preview canvas { max-width: 100%; max-height: 62vh; height: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.studio-preview .loading { color: var(--muted); font-weight: 700; }
.checker { background-color: #e9edf3; background-image: linear-gradient(45deg, #c6ccd6 25%, transparent 25%), linear-gradient(-45deg, #c6ccd6 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #c6ccd6 75%), linear-gradient(-45deg, transparent 75%, #c6ccd6 75%);
  background-size: 22px 22px; background-position: 0 0, 0 11px, 11px -11px, -11px 0; }
.cut-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cut-compare > div { border-radius: 12px; border: 1px solid var(--line); min-height: 160px; display: grid; place-items: center; overflow: hidden; padding: 6px; }
.cut-compare img, .cut-compare canvas { max-width: 100%; max-height: 260px; height: auto; }
.cut-compare .cap { font-size: .75rem; color: var(--muted); text-align: center; margin-top: 4px; }
.ticket-cta { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }

.raffle-card .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4, 6, 10, .55)); pointer-events: none; }
.raffle-card .cover .tag { position: absolute; top: 12px; left: 12px; z-index: 1; }
.placeholder-gift { display: inline-block; animation: float 4s ease-in-out infinite; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); }
@keyframes float { 50% { transform: translateY(-8px) rotate(-4deg); } }
.raffle-card .body { position: relative; padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
/* perforación del boleto: línea punteada + dos muescas en los bordes */
.raffle-card .body::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; border-top: 2px dashed rgba(142, 160, 184, .22); }
.raffle-card .body::after { content: ""; position: absolute; top: -11px; left: -11px; right: -11px; height: 22px; pointer-events: none;
  background: radial-gradient(circle at 11px 11px, var(--bg) 10px, transparent 10.5px), radial-gradient(circle at calc(100% - 11px) 11px, var(--bg) 10px, transparent 10.5px); }
.raffle-card h3 { font-size: 1.08rem; margin: 0; }
.raffle-card .cta-row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 4px; font-weight: 800; color: var(--gold); font-size: .9rem; }
.raffle-card .cta-row .arrow { transition: transform .3s var(--ease); }
.raffle-card:hover .cta-row .arrow { transform: translateX(4px); }
.price { font-family: var(--font-display); font-size: 1.35rem; font-weight: 400; color: var(--brand); text-shadow: 0 0 14px rgba(255, 196, 0, .35); letter-spacing: -.01em; }
.price small { font-family: var(--font-body); }

/* ---------- Página de una rifa ---------- */
.raffle-layout { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
.raffle-hero-img { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; border: 1px solid var(--line); box-shadow: var(--shadow), 0 0 40px rgba(47, 123, 255, .15);
  background: radial-gradient(circle at 30% 20%, rgba(47, 123, 255, .9), transparent 60%), linear-gradient(135deg, #0a1a3a, #1c1400 70%, var(--gold) 140%); aspect-ratio: 16 / 9; display: grid; place-items: center; font-size: 4.4rem; }
.raffle-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.side { position: sticky; top: calc(76px + env(safe-area-inset-top, 0px)); }
.buy-card { border-color: rgba(255, 196, 0, .28); box-shadow: var(--shadow), 0 0 0 1px rgba(255, 196, 0, .08), 0 0 40px rgba(255, 196, 0, .06); }
.news-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.news-item:last-child { border: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { white-space: nowrap; background: var(--brand-soft); color: var(--brand); border: 1px solid rgba(255, 196, 0, .3); font-weight: 700; padding: 4px 11px; border-radius: 99px; font-size: .85rem; font-variant-numeric: tabular-nums; transition: background .15s, transform .15s, box-shadow .15s; }
.chip.x { cursor: pointer; font: inherit; font-weight: 800; font-size: .85rem; }
.chip.x:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.chip.x:hover:not(:disabled) { background: rgba(255, 196, 0, .22); transform: translateY(-1px); }
.chip.x.selected { background: var(--gold); color: var(--brand-ink); box-shadow: var(--glow); }
.ticket-chip { font-family: var(--font-mono); text-decoration: none; letter-spacing: .03em; }
.ticket-chip:hover { background: var(--gold); color: var(--brand-ink); transform: translateY(-1px); box-shadow: var(--glow); }
.stepper { display: flex; gap: 8px; margin-bottom: 10px; }
.stepper input { text-align: center; font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; }
.stepper .btn { padding: 8px 18px; font-size: 1.3rem; }
.presets { margin-bottom: 4px; }
.total-line { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; font-weight: 800; padding: 14px 0; border-top: 1px dashed var(--line-strong); margin-top: 12px; }
.total-line #total { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold); text-shadow: 0 0 14px rgba(255, 196, 0, .35); }
/* pequeño "salto" del total cuando cambia la cantidad */
.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.12); } }
.winner { position: relative; overflow: hidden; background: var(--brand-soft); border: 1px solid var(--gold); box-shadow: var(--glow); color: var(--gold); text-align: center; padding: 20px; border-radius: var(--radius); margin-bottom: 16px; }
.winner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .18) 50%, transparent 70%); background-size: 250% 100%; animation: shimmer 3s linear infinite; pointer-events: none; }
.winner b { font-family: var(--font-display); font-size: 2rem; display: block; color: #fff; text-shadow: 0 0 14px rgba(255, 196, 0, .7); }
.winner-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.winner-list li { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.winner-list b { display: inline; font-family: var(--font-mono); font-size: 1.15rem; letter-spacing: .04em; }
.winner-list .place { font-weight: 800; font-size: 1.05rem; color: var(--gold); } /* Bangers no tiene «º» */
.winner-how { margin: 12px 0 0; color: var(--ink); font-size: .85rem; opacity: .85; }
.winner-how b { display: inline; font: inherit; font-weight: 800; color: var(--gold); text-shadow: none; }

/* ---------- Seguimiento del pedido ---------- */
.order-wrap { max-width: 760px; margin-inline: auto; }
.status-banner { position: relative; text-align: center; padding: 24px 22px; border-radius: var(--radius); margin-bottom: 16px; border: 1px solid transparent; overflow: hidden; }
.status-banner h1 { margin-bottom: 6px; font-size: clamp(1.3rem, 4vw, 1.6rem); }
.status-banner.ok { background: radial-gradient(circle at 50% 0%, rgba(255, 196, 0, .22), transparent 70%), var(--ok-soft); color: #ffe680; border-color: rgba(255, 196, 0, .4); }
.status-banner.ok h1 { color: var(--gold); text-shadow: 0 0 14px rgba(255, 196, 0, .5); }
.status-banner.warn { background: var(--warn-soft); color: #ffc6a8; border-color: rgba(255, 128, 64, .35); }
.status-banner.bad { background: var(--bad-soft); color: #ff8b98; border-color: rgba(255, 46, 67, .5); }
.status-banner.info { background: radial-gradient(circle at 50% 0%, rgba(47, 123, 255, .25), transparent 70%), var(--info-soft); color: #9cc4ff; border-color: rgba(47, 123, 255, .45); }
.status-banner.gray { background: #121a27; color: var(--muted); border-color: var(--line); }
/* Ícono grande del estado (✓ animado cuando está pagado) */
.status-icon { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; border: 2px solid currentColor; animation: pop .5s var(--ease) both; }
.status-icon svg { width: 34px; height: 34px; }
.status-icon svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .25s var(--ease) forwards; }
.status-icon.ok { color: var(--gold); box-shadow: var(--glow-strong); }
.status-icon.info { color: var(--info); box-shadow: 0 0 22px rgba(47, 123, 255, .5); }
.status-icon.warn { color: var(--warn); }
.status-icon.bad { color: var(--bad); box-shadow: 0 0 22px rgba(255, 46, 67, .45); }
.status-icon.gray { color: var(--muted); }
.status-icon.spin { animation: pop .5s var(--ease) both; }
.status-icon.spin .hourglass { display: inline-block; animation: tilt 2.4s ease-in-out infinite; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes tilt { 0%, 40% { transform: rotate(0); } 50%, 90% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 8px 12px; margin: 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 700; word-break: break-word; min-width: 0; }
.code-box { display: inline-flex; align-items: center; gap: 8px; background: #060a11; border: 1px dashed var(--gold); color: var(--gold); border-radius: 12px; padding: 6px 12px; font-family: var(--font-mono); font-weight: 700; letter-spacing: .06em; box-shadow: inset 0 0 18px rgba(255, 196, 0, .08); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 16px 14px; animation: rise .45s var(--ease) both; }
.timeline li:nth-child(2) { animation-delay: .06s; } .timeline li:nth-child(3) { animation-delay: .12s; } .timeline li:nth-child(n+4) { animation-delay: .18s; }
.timeline li::before { content: ""; position: absolute; left: -24px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); border: 2px solid var(--bg); box-shadow: 0 0 0 2px var(--line-strong); }
.timeline li:first-child::before { background: var(--gold); box-shadow: 0 0 0 2px var(--gold), var(--glow); }
.timeline time { display: block; color: var(--muted); font-size: .8rem; }
.bank { background: #060a11; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.bank .copyrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.bank .copyrow:last-child { border: 0; }

/* ---------- Verificador de celular ---------- */
.phone-check { font-size: .82rem; margin-top: 5px; min-height: 1.3em; color: var(--muted); transition: color .2s; }
.phone-check.good { color: var(--gold); font-weight: 700; }
.phone-check.bad { color: #ff8b98; font-weight: 600; }
input[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 4px rgba(255, 46, 67, .12); }
input[aria-invalid="false"]:not(:placeholder-shown) { border-color: rgba(255, 196, 0, .55); }

/* ---------- Código QR y enlaces ---------- */
.qr-box { display: grid; place-items: center; margin: 4px 0 16px; }
.qr-box img { width: min(240px, 100%); height: auto; aspect-ratio: 1; background: #fff; padding: 10px; border-radius: 16px; image-rendering: pixelated; box-shadow: var(--glow-strong); animation: pop .4s var(--ease) both; }
.copyline { display: flex; gap: 8px; }
.copyline input { min-width: 0; }

/* ---------- Cuentas bancarias ---------- */
.bank-card { background: #060a11; border: 1px solid var(--line); border-radius: 14px; padding: 14px; transition: border-color .2s, box-shadow .2s; }
.bank-card:hover { border-color: var(--line-strong); box-shadow: 0 0 0 1px rgba(47, 123, 255, .15); }
.bank-card + .bank-card { margin-top: 10px; }
.bank-card h3 { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 6px; }
.bank-card .copyrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.bank-card .copyrow:last-child { border: 0; }
.bank-card .num { font-family: var(--font-mono); font-size: 1.15rem; font-weight: 700; letter-spacing: .04em; word-break: break-all; }

/* ---------- Esqueletos de carga ---------- */
.sk { background: linear-gradient(90deg, #0e1520 25%, #182338 37%, #0e1520 63%); background-size: 400% 100%; animation: sk 1.4s ease infinite; border-radius: 10px; }
@keyframes sk { from { background-position: 100% 50%; } to { background-position: 0 50%; } }
.sk-card { padding: 0; overflow: hidden; }
.sk-cover { aspect-ratio: 16 / 10; border-radius: 0; }
.sk-body { padding: 16px; display: grid; gap: 10px; }
.sk-line { height: 12px; } .sk-line.h { height: 20px; }
.w40 { width: 40%; } .w60 { width: 60%; } .w80 { width: 80%; }
.sk-bar { height: 10px; border-radius: 99px; }
.sk-rows { display: grid; gap: 10px; }
.sk-row { height: 64px; border-radius: 14px; }
.sk-page { display: grid; gap: 14px; max-width: 760px; }
.sk-hero { aspect-ratio: 16 / 7; border-radius: var(--radius); }

/* ---------- Avisos flotantes, ventanas y efectos ---------- */
.toasts { position: fixed; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: min(420px, 100% - 24px); pointer-events: none; }
.toast { pointer-events: auto; position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(18, 26, 39, .96); border: 1px solid var(--line-strong); color: var(--ink); box-shadow: var(--shadow); font-weight: 700; cursor: pointer; animation: toast-in .3s var(--ease) both; backdrop-filter: blur(8px); }
.toast.leaving { animation: toast-out .22s ease both; }
.toast::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: currentColor; opacity: .5; transform-origin: left; animation: life var(--life, 4s) linear both; }
.toast-icon { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 900; background: var(--info-soft); color: var(--info); }
.toast.ok { border-color: rgba(255, 196, 0, .5); color: #fff2c2; box-shadow: var(--shadow), 0 0 18px rgba(255, 196, 0, .25); }
.toast.ok .toast-icon { background: var(--gold); color: var(--brand-ink); }
.toast.bad { border-color: rgba(255, 46, 67, .6); color: #ffc4ca; }
.toast.bad .toast-icon { background: var(--red); color: #fff; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px) scale(.96); } }
@keyframes life { to { transform: scaleX(0); } }

.modal-back { position: fixed; inset: 0; background: rgba(0, 0, 0, .72); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); display: grid; place-items: center; padding: 16px; z-index: 50; overflow-y: auto; animation: fade .18s ease both; }
.modal { background: linear-gradient(180deg, #111a28, #0b1018); border: 1px solid var(--line-strong); border-radius: 20px; width: min(640px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 22px; box-shadow: 0 24px 70px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 196, 0, .06); animation: modal-in .26s var(--ease) both; }
.modal-back.closing { animation: fade .17s ease reverse both; }
.modal-back.closing .modal { animation: modal-out .17s ease both; }
@keyframes fade { from { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes modal-out { to { opacity: 0; transform: translateY(8px) scale(.98); } }
.modal h2 { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 16px; }
.spinner { display: inline-block; width: 18px; height: 18px; border: 3px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -3px; }
.spinner.sm { width: 14px; height: 14px; border-width: 2px; border-color: rgba(0, 0, 0, .25); border-top-color: currentColor; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; color: var(--muted); padding: 36px 12px; }
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 300; pointer-events: none; }
.fatal { max-width: 520px; margin: 40px auto; text-align: center; }
#net-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 400; padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px; background: var(--red); color: #fff; font-weight: 800; text-align: center; font-size: .9rem; box-shadow: 0 6px 20px rgba(255, 46, 67, .4); animation: toast-in .3s var(--ease) both; }

@media (max-width: 560px) {
  /* En pantallas angostas la navegación baja a una segunda línea para que nada se desborde */
  .site-header .container { flex-wrap: wrap; padding-block: 8px; min-height: 0; }
  .nav { width: 100%; justify-content: space-between; }
  .nav a { padding: 6px 8px; font-size: .86rem; }
  .hero { padding-top: 22px; }
  .track-card { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .raffle-layout { grid-template-columns: 1fr; }
  .side { position: static; }
  .kv { grid-template-columns: 100px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .status-icon svg path { stroke-dashoffset: 0; } /* sin animación, el ✓ se muestra completo */
}

/* Botón flotante de WhatsApp (todas las páginas del sitio) */
.wa-float { position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px 13px 14px;
  border-radius: 999px; background: linear-gradient(180deg, #2fe27a, #0f9d48); color: #fff; font-weight: 800; text-decoration: none; border: 2px solid #000;
  box-shadow: 0 8px 26px rgba(18, 183, 85, .45), 0 0 0 0 rgba(37, 211, 102, .6); animation: wa-pulse 2.6s ease-out infinite; transition: transform .2s var(--ease); }
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-float:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@keyframes wa-pulse { 0% { box-shadow: 0 8px 26px rgba(18, 183, 85, .45), 0 0 0 0 rgba(37, 211, 102, .55); } 70%, 100% { box-shadow: 0 8px 26px rgba(18, 183, 85, .45), 0 0 0 16px rgba(37, 211, 102, 0); } }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }
.toasts { z-index: 100; }

/* ---------- Términos y condiciones ---------- */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* trampa para robots */
.terms-check { align-items: flex-start; margin: 2px 0 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-weight: 500; font-size: .92rem; line-height: 1.4; }
.terms-check input { margin-top: 3px; flex: none; }
.terms-check a { color: var(--gold); text-decoration: underline; }
.terms-check:has(input:checked) { border-color: var(--gold); }
.terms-check.shake { animation: shake .4s; border-color: var(--bad); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.terms-text h3 { margin: 18px 0 6px; color: var(--gold); font-size: 1.05rem; }
.terms-text h3:first-child { margin-top: 0; }
.terms-text p, .terms-text li { color: var(--ink); line-height: 1.55; }
.terms-text ul { padding-left: 20px; margin: 6px 0; }
.modal .terms-text { max-height: 60vh; overflow: auto; padding-right: 6px; }
