/* =====================================================================
   WINORA · Sitio público v2 — "Noche de premios"
   Fondo medianoche con aurora índigo/violeta/cian, oro para los premios
   y componentes con forma de boleto (talón, perforación y muescas).
   ===================================================================== */
@font-face { font-family: "Jakarta"; src: url("/assets/fonts/jakarta-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/assets/fonts/jakarta-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/assets/fonts/jakarta-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/assets/fonts/jakarta-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/assets/fonts/jakarta-800.woff2") format("woff2"); font-weight: 800 900; font-display: swap; }

:root {
  --bg: #070A17;
  --bg-2: #0B1022;
  --bg-3: #10162E;
  --card: #0F1530;
  --card-2: #131A38;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --ink: #F3F5FF;
  --ink-2: #B3B9D4;
  --ink-3: #7C84A6;
  --indigo: #625BEE;
  --violet: #8B5CF6;
  --cyan: #32BBD1;
  --glow: #B8B3FF;
  --gold: #F4C55B;
  --gold-2: #FFE2A0;
  --gold-deep: #C8922A;
  --success: #34D399;
  --warning: #FBBF24;
  --danger: #F87171;
  --grad: linear-gradient(115deg, var(--indigo), var(--violet) 55%, var(--cyan));
  --grad-gold: linear-gradient(120deg, #FFE7A8, #F4C55B 45%, #C8922A);
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, .75);
  --shadow-glow: 0 30px 80px -30px rgba(98, 91, 238, .65);
  --font: "Jakarta", "Plus Jakarta Sans", "Segoe UI", Roboto, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --container: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 88px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.025em; font-weight: 800; }
p { margin: 0 0 1em; }
::selection { background: rgba(139, 92, 246, .45); color: #fff; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
@media (max-width: 600px) { .container { width: calc(100% - 32px); } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gold-text { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Atmósfera ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 620px; height: 620px; left: -160px; top: -220px; background: radial-gradient(closest-side, rgba(98, 91, 238, .9), transparent); }
.aurora i:nth-child(2) { width: 560px; height: 560px; right: -140px; top: -120px; background: radial-gradient(closest-side, rgba(139, 92, 246, .75), transparent); animation-delay: -6s; }
.aurora i:nth-child(3) { width: 520px; height: 520px; left: 35%; top: 30%; background: radial-gradient(closest-side, rgba(50, 187, 209, .45), transparent); animation-delay: -11s; }
.aurora::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.12); } }
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Demo ---------- */
.demo-banner { position: relative; z-index: 60; background: repeating-linear-gradient(45deg, #3B2A05, #3B2A05 12px, #4A3507 12px, #4A3507 24px); color: #FCD983; text-align: center; font-size: 12.5px; font-weight: 700; padding: 7px 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; }
.site-header .bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; padding: 0 10px 0 20px; border-radius: 999px; background: rgba(11, 15, 34, .55); border: 1px solid var(--line); backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px); transition: background .3s, box-shadow .3s, border-color .3s; }
.site-header.scrolled .bar { background: rgba(9, 12, 28, .86); border-color: var(--line-2); box-shadow: 0 18px 40px -20px rgba(0,0,0,.8); }
main { margin-top: calc(var(--header-h) * -1); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; letter-spacing: .26em; font-size: 16px; }
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 6px 14px rgba(98, 91, 238, .6)); }
.brand b { color: var(--gold); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; color: var(--ink-2); font-weight: 600; font-size: 14.5px; padding: 9px 15px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.09); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: #fff; cursor: pointer; place-items: center; }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .site-header .bar { padding: 0 8px 0 16px; }
  .nav-toggle { display: inline-grid; }
  .nav { position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; border-radius: 26px; background: rgba(10, 14, 32, .97); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; transition: opacity .22s, transform .3s var(--ease); }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 16px; font-size: 17px; border-radius: 16px; }
  .nav a[aria-current="page"]::after { left: auto; right: 18px; top: 50%; margin-top: -2px; }
  .nav .btn { margin: 8px 0 0; height: 54px; font-size: 16px; }
}

/* ---------- Botones ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 15.5px; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .2s, border-color .2s; white-space: nowrap; font-family: inherit; color: #fff; isolation: isolate; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--grad); box-shadow: 0 14px 34px -12px rgba(98, 91, 238, .8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -14px rgba(139, 92, 246, .9), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-gold { background: var(--grad-gold); color: #2A1A00; box-shadow: 0 14px 34px -14px rgba(244, 197, 91, .8), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-gold:hover { transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.05); border-color: var(--line-2); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
.btn-dark { background: var(--bg-3); border-color: var(--line-2); }
.btn-dark:hover { background: #18204A; }
.btn-outline { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--glow); color: #fff; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: rgba(9, 12, 28, .72); color: #fff; border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); white-space: nowrap; }
.chip svg { width: 14px; height: 14px; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 25%, transparent); }
.chip.success { color: var(--success); } .chip.success .dot { animation: pulse 1.8s infinite; }
.chip.warning { color: var(--warning); }
.chip.danger { color: var(--danger); }
.chip.muted { color: var(--ink-2); }
.chip.gold { background: var(--grad-gold); color: #2A1A00; border-color: transparent; }
.chip.glow { color: var(--glow); }
.chip.dark { color: #fff; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 55%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--glow); }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad); }

/* ---------- Secciones ---------- */
section.block { position: relative; padding: 84px 0; }
section.block.tight { padding: 64px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 54px); margin: 14px 0 0; }
.section-head p { color: var(--ink-2); max-width: 500px; margin: 0; font-size: 16.5px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
@media (max-width: 700px) { section.block { padding: 76px 0; } .section-head { margin-bottom: 30px; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 64px) 0 40px; overflow: hidden; }
.hero .grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero .live { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.hero .live b { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(52, 211, 153, .14); color: var(--success); font-size: 12px; letter-spacing: .08em; }
.hero .live b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.8s infinite; }
.hero h1 { font-size: clamp(42px, 6.6vw, 86px); line-height: .98; letter-spacing: -.045em; margin: 24px 0 22px; }
.hero h1 .grad-text { display: inline; padding-right: .04em; }
.hero .lead { font-size: clamp(16.5px, 1.6vw, 19px); color: var(--ink-2); max-width: 540px; margin-bottom: 34px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .stats { display: flex; gap: 36px; margin-top: 46px; flex-wrap: wrap; }
.hero .stats div { min-width: 0; }
.hero .stats b { display: block; font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.hero .stats span { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.hero .stats div + div { padding-left: 36px; border-left: 1px solid var(--line); }
@media (max-width: 980px) {
  .hero { padding-top: calc(var(--header-h) + 28px); }
  .hero .grid { grid-template-columns: 1fr; gap: 56px; }
  .hero .stats { gap: 22px; } .hero .stats div + div { padding-left: 22px; }
}
@media (max-width: 520px) { .hero .actions .btn { flex: 1 1 100%; } .hero .stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px; margin-top: 36px; } .hero .stats div + div { padding-left: 18px; } .hero .stats b { font-size: 24px; } .hero .stats span { font-size: 12px; } }

/* Boleto 3D del hero */
.stage { position: relative; display: grid; place-items: center; min-height: 520px; perspective: 1400px; }
.stage .ring { position: absolute; width: 470px; height: 470px; border-radius: 50%; border: 1px dashed rgba(184, 179, 255, .22); animation: spin 60s linear infinite; }
.stage .ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px var(--gold); }
.stage .ring.r2 { width: 360px; height: 360px; animation-duration: 40s; animation-direction: reverse; border-color: rgba(50, 187, 209, .2); }
.stage .ring.r2::before { background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
@keyframes spin { to { transform: rotate(360deg); } }
.hticket { --rx: 0deg; --ry: 0deg; position: relative; width: min(400px, 92%); transform: rotateX(var(--rx)) rotateY(var(--ry)) rotate(-3deg); transform-style: preserve-3d; transition: transform .5s var(--ease); animation: float 7s ease-in-out infinite; }
.hticket.tilting { transition: transform .08s linear; animation-play-state: paused; }
@keyframes float { 50% { translate: 0 -12px; } }
.hticket .paper { position: relative; border-radius: 28px; background: linear-gradient(165deg, #1A2150, #0D1230 60%); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 50px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.03), var(--shadow-glow); overflow: hidden; }
.hticket .paper::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.14) 45%, transparent 60%); background-size: 250% 100%; background-position: var(--shine, 120%) 0; pointer-events: none; mix-blend-mode: screen; }
.hticket .media { position: relative; aspect-ratio: 16 / 10; background: var(--bg-3) center / cover no-repeat; }
.hticket .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,10,23,.1) 30%, rgba(13,18,48,.98)); }
.hticket .media .chip { position: absolute; top: 16px; left: 16px; z-index: 1; }
.hticket .body { position: relative; padding: 4px 24px 24px; }
.hticket .title { font-weight: 800; font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.hticket .sub { color: var(--ink-3); font-size: 13.5px; margin-top: 4px; }
.hticket .perf { position: relative; height: 26px; margin: 14px -24px; }
.hticket .perf::before { content: ""; position: absolute; left: 22px; right: 22px; top: 50%; border-top: 2px dashed rgba(255,255,255,.16); }
.hticket .perf i { position: absolute; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); }
.hticket .perf i:first-child { left: -13px; } .hticket .perf i:last-child { right: -13px; }
.hticket .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; }
.hticket .lbl { font-size: 10.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.hticket .num { font-size: 52px; font-weight: 800; letter-spacing: .02em; line-height: .9; }
.hticket .qr { width: 66px; height: 66px; border-radius: 14px; background: #fff; padding: 7px; display: grid; place-items: center; }
.hticket .qr svg { width: 100%; height: 100%; color: #0B1020; }
.hticket .art { position: absolute; right: -40px; top: 12%; width: 60%; z-index: 3; transform: translateZ(60px) rotate(-6deg); filter: drop-shadow(0 26px 22px rgba(0,0,0,.55)) drop-shadow(0 0 40px rgba(244,197,91,.3)); pointer-events: none; }
.float-chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(14, 19, 44, .82); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -18px rgba(0,0,0,.8); font-size: 13px; line-height: 1.25; animation: float 6s ease-in-out infinite; }
.float-chip i { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.float-chip i svg { width: 18px; height: 18px; }
.float-chip b { display: block; font-size: 13.5px; }
.float-chip small { color: var(--ink-3); }
.float-chip.a { left: -4%; top: 16%; animation-delay: -2s; } .float-chip.a i { background: rgba(52, 211, 153, .15); color: var(--success); }
.float-chip.b { right: -4%; bottom: 0%; animation-delay: -4s; } .float-chip.b i { background: rgba(244, 197, 91, .15); color: var(--gold); }
@media (max-width: 980px) { .stage { min-height: 0; padding: 20px 0 10px; } .stage .ring { width: 360px; height: 360px; } .stage .ring.r2 { width: 270px; height: 270px; } }
@media (max-width: 520px) { .float-chip { font-size: 12px; padding: 8px 12px 8px 8px; } .float-chip.a { left: 0; top: 2%; } .float-chip.b { right: 0; bottom: 0; } .hticket .num { font-size: 42px; } .hticket .art { right: -14px; width: 56%; } }

/* Marquesina de confianza */
.marquee { position: relative; z-index: 1; margin-top: 70px; border-block: 1px solid var(--line); background: rgba(255,255,255,.015); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee .track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; padding: 20px 30px; font-weight: 700; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.marquee span svg { width: 20px; height: 20px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Tarjeta de rifa (boleto) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px 26px; }
@media (max-width: 400px) { .cards { grid-template-columns: 1fr; } }
.rcard { --notch: var(--bg); position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.rcard::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(184,179,255,.55), transparent 40%, transparent 60%, rgba(50,187,209,.45)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; pointer-events: none; }
.rcard:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -30px rgba(0,0,0,.9), 0 30px 70px -40px rgba(98,91,238,.8); }
.rcard:hover::before { opacity: 1; }
.rcard .media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; background: linear-gradient(135deg, #1A2150, var(--bg-2)); }
.rcard .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.rcard:hover .media img { transform: scale(1.06); }
.rcard .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,10,23,.45) 0%, transparent 28%, transparent 52%, rgba(15,21,48,.92) 100%); }
.rcard.has-art .media img { filter: saturate(.9) brightness(.82); }
.rcard .top { position: absolute; z-index: 2; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 8px; }
.rcard .value { position: absolute; z-index: 2; left: 18px; bottom: 14px; line-height: 1.15; }
.rcard .value small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.rcard .value b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.rcard .art { position: absolute; z-index: 3; right: 6px; top: 12%; width: 54%; max-height: 62%; object-fit: contain; object-position: bottom right; filter: drop-shadow(0 18px 16px rgba(0,0,0,.6)) drop-shadow(0 0 26px rgba(244,197,91,.22)); transform: rotate(-5deg); transform-origin: 70% 100%; transition: transform .6s var(--ease); pointer-events: none; }
.rcard:hover .art { transform: rotate(-9deg) translateY(-14px) scale(1.08); }
.rcard .perf { position: relative; height: 22px; margin-top: -11px; z-index: 2; }
.rcard .perf::before { content: ""; position: absolute; left: 18px; right: 18px; top: 50%; border-top: 2px dashed rgba(255,255,255,.12); }
.rcard .perf i { position: absolute; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--notch); border: 1px solid var(--line); }
.rcard .perf i:first-child { left: -12px; clip-path: inset(0 0 0 50%); }
.rcard .perf i:last-child { right: -12px; clip-path: inset(0 50% 0 0); }
.rcard .body { padding: 8px 22px 22px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.rcard h3 { font-size: 20px; margin: 0; letter-spacing: -.02em; line-height: 1.25; }
.rcard .prize { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.rcard .prize svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.rcard .prize span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcard .foot { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.rcard .foot .k { flex: 1; min-width: 0; line-height: 1.2; }
.rcard .foot small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 700; letter-spacing: .04em; }
.rcard .foot b { font-size: 17px; font-weight: 800; white-space: nowrap; }
.rcard .foot .k + .k { padding-left: 14px; border-left: 1px solid var(--line); }
.rcard .go { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); flex: none; box-shadow: 0 12px 24px -10px rgba(98,91,238,.9); transition: transform .35s var(--ease); }
.rcard .go svg { width: 20px; height: 20px; }
.rcard:hover .go { transform: rotate(-35deg) scale(1.06); }
.rcard.closed .go { background: var(--bg-3); box-shadow: none; border: 1px solid var(--line-2); }

.meter .row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); margin-bottom: 8px; font-weight: 600; }
.meter .row b { color: var(--ink); }
.progress { position: relative; height: 8px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.progress > span { position: relative; display: block; height: 100%; min-width: 8px; border-radius: inherit; background: var(--grad); box-shadow: 0 0 16px rgba(139, 92, 246, .8); overflow: hidden; }
.progress > span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: translateX(-100%); animation: shimmer 2.6s ease-in-out infinite; }
@keyframes shimmer { 60%, 100% { transform: translateX(100%); } }

/* ---------- Cómo funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 30px 28px 28px; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.step:hover { border-color: rgba(184,179,255,.35); transform: translateY(-4px); }
.step::after { counter-increment: step; content: "0" counter(step); position: absolute; right: 18px; top: 6px; font-size: 84px; font-weight: 800; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(184,179,255,.16); }
.step .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(140deg, rgba(98,91,238,.28), rgba(50,187,209,.16)); border: 1px solid rgba(184,179,255,.25); color: var(--glow); margin-bottom: 22px; }
.step .ic svg { width: 24px; height: 24px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 15px; margin: 0; }
.step .num { display: none; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; gap: 12px; } .step { padding: 22px; } .step .ic { margin-bottom: 14px; } }

/* ---------- Transparencia (bento) ---------- */
.bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: minmax(200px, auto); gap: 18px; }
.tile { position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.tile h3 { font-size: 20px; margin-bottom: 8px; }
.tile p { color: var(--ink-2); font-size: 15px; margin: 0; }
.tile .k { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--glow); margin-bottom: 14px; display: block; }
.tile.big { grid-row: span 2; background: radial-gradient(120% 80% at 0% 0%, rgba(98,91,238,.35), transparent 60%), radial-gradient(90% 70% at 100% 100%, rgba(50,187,209,.18), transparent 60%), var(--bg-2); display: flex; flex-direction: column; }
.tile.big h3 { font-size: clamp(24px, 2.6vw, 32px); }
.chain { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; }
.chain div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(7,10,23,.6); border: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); overflow: hidden; white-space: nowrap; }
.chain div b { font-family: var(--font); font-size: 12px; color: #fff; min-width: 92px; }
.chain div em { font-style: normal; color: var(--cyan); overflow: hidden; text-overflow: ellipsis; }
.chain div:last-child em { color: var(--gold); }
.tile .big-num { font-size: 56px; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; }
.tile.wide { grid-column: span 2; display: flex; gap: 24px; align-items: center; }
.tile.wide .ic { width: 64px; height: 64px; flex: none; border-radius: 20px; display: grid; place-items: center; background: rgba(244,197,91,.12); color: var(--gold); border: 1px solid rgba(244,197,91,.25); }
.tile.wide .ic svg { width: 30px; height: 30px; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .tile.big { grid-column: span 2; grid-row: auto; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .tile.big, .tile.wide { grid-column: auto; } .tile.wide { flex-direction: column; align-items: flex-start; } }

/* ---------- Ganadores ---------- */
.winners { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.winner { position: relative; display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.winner:hover { transform: translateY(-4px); border-color: rgba(244,197,91,.35); }
.winner .thumb { position: relative; width: 84px; height: 84px; border-radius: 16px; background: var(--bg-3) center / cover; flex: none; }
.winner .thumb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.winner .num { font-size: 28px; font-weight: 800; letter-spacing: .02em; line-height: 1; }
.winner .name { font-weight: 700; margin-top: 4px; }
.winner .small { font-size: 13px; color: var(--ink-3); }
.winner .crown { position: absolute; top: -8px; left: -8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-gold); color: #2A1A00; box-shadow: 0 8px 20px -6px rgba(244,197,91,.8); }
.winner .crown svg { width: 16px; height: 16px; }

/* Tarjeta grande de ganador (página de ganadores) */
.wcard { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .45s var(--ease), border-color .3s; }
.wcard:hover { transform: translateY(-6px); border-color: rgba(244,197,91,.35); }
.wcard .media { aspect-ratio: 16 / 9; background: var(--bg-3) center / cover; position: relative; }
.wcard .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, var(--card)); }
.wcard .media .chip { position: absolute; top: 14px; left: 14px; z-index: 1; }
.wcard .body { position: relative; padding: 0 22px 22px; margin-top: -46px; }
.wcard .lbl { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.wcard .num { font-size: 58px; font-weight: 800; line-height: 1; letter-spacing: .01em; margin: 4px 0 10px; }
.wcard h3 { font-size: 19px; margin: 0 0 4px; }
.wcard p { color: var(--ink-2); font-size: 14px; margin: 0; }
.wcard .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.wcard .foot b { color: var(--ink); display: block; font-size: 14px; }

/* ---------- Descarga (teléfono) ---------- */
.download { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 64px; border-radius: var(--r-xl); overflow: hidden; background: radial-gradient(90% 120% at 100% 0%, rgba(139,92,246,.35), transparent 55%), radial-gradient(70% 90% at 0% 100%, rgba(50,187,209,.18), transparent 60%), var(--bg-2); border: 1px solid var(--line-2); }
.download h2 { font-size: clamp(32px, 4vw, 52px); margin: 16px 0 14px; }
.download p { color: var(--ink-2); font-size: 16.5px; max-width: 480px; }
.download .specs { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 26px; }
.download .specs span { padding: 8px 14px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.download .specs b { color: #fff; margin-left: 4px; }
.download .cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.download .visual { position: relative; display: flex; justify-content: center; align-items: center; gap: 22px; min-height: 420px; }
.phone { position: relative; width: 236px; height: 480px; border-radius: 42px; padding: 10px; background: linear-gradient(160deg, #2A3160, #0C1028); box-shadow: 0 50px 90px -30px rgba(0,0,0,.9), inset 0 0 0 1.5px rgba(255,255,255,.12); transform: rotate(-6deg); }
.phone .scr { position: relative; height: 100%; border-radius: 33px; overflow: hidden; background: #0A0E22; padding: 30px 14px 14px; }
.phone .scr::before { content: ""; position: absolute; top: 9px; left: 50%; width: 64px; height: 18px; margin-left: -32px; border-radius: 12px; background: #000; }
.phone .hd { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .14em; margin-bottom: 12px; }
.phone .hd i { width: 22px; height: 22px; border-radius: 50%; background: var(--grad); }
.phone .mini { border-radius: 16px; overflow: hidden; background: #141A3A; margin-bottom: 10px; border: 1px solid rgba(255,255,255,.06); }
.phone .mini .im { height: 78px; background: var(--bg-3) center / cover; }
.phone .mini .tx { padding: 8px 11px; font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone .mini .tx small { display: block; color: var(--ink-3); font-weight: 600; font-size: 9.5px; }
.phone .mini .bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); margin-top: 7px; overflow: hidden; }
.phone .mini .bar span { display: block; height: 100%; width: 62%; background: var(--grad); }
.phone .tk { display: flex; border-radius: 14px; overflow: hidden; background: #141A3A; border: 1px solid rgba(255,255,255,.06); }
.phone .tk b { width: 66px; display: grid; place-items: center; background: var(--grad); font-size: 19px; }
.phone .tk div { padding: 9px 10px; font-size: 10.5px; color: var(--ink-3); } .phone .tk div strong { display: block; color: #fff; font-size: 11px; }
.qr-card { position: absolute; right: 4%; bottom: 8%; z-index: 2; width: 150px; padding: 12px; border-radius: 22px; background: #fff; color: #0B1020; text-align: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); transform: rotate(5deg); }
.qr-card img { width: 100%; height: auto; }
.qr-card small { display: block; font-size: 11px; font-weight: 700; margin-top: 4px; color: #4A5470; }
.changelog { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; font-size: 14px; color: var(--ink-2); white-space: pre-line; margin-bottom: 24px; max-width: 520px; }
@media (max-width: 960px) { .download { grid-template-columns: 1fr; padding: 40px 24px; } .download .visual { min-height: 0; padding: 20px 0 10px; } }
@media (max-width: 520px) { .phone { width: 200px; height: 410px; } .qr-card { width: 120px; right: 0; } }

/* CTA final */
.final-cta { position: relative; text-align: center; padding: 90px 24px; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(60% 90% at 50% 0%, rgba(98,91,238,.45), transparent 70%), var(--bg-2); }
.final-cta h2 { font-size: clamp(34px, 5vw, 64px); max-width: 820px; margin: 18px auto 16px; }
.final-cta p { color: var(--ink-2); max-width: 540px; margin: 0 auto 30px; font-size: 17px; }
.final-cta .actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Encabezado de páginas ---------- */
.page-head { position: relative; padding: calc(var(--header-h) + 64px) 0 64px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(38px, 5.6vw, 68px); letter-spacing: -.04em; margin: 16px 0 14px; }
.page-head p { color: var(--ink-2); max-width: 640px; font-size: 17px; }
.page-head.center { text-align: center; } .page-head.center p { margin-inline: auto; }
.page-head .aurora i { opacity: .4; }
.filters { display: flex; gap: 8px; margin-top: 22px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
.filters::-webkit-scrollbar { display: none; }
.filters a { flex: none; padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,.04); color: var(--ink-2); font-size: 14px; font-weight: 700; border: 1px solid var(--line); transition: all .2s; }
.filters a:hover { color: #fff; border-color: var(--line-2); }
.filters a[aria-current="true"] { background: #fff; color: #0B1020; border-color: #fff; }
.search { display: flex; align-items: center; gap: 8px; margin-top: 30px; max-width: 560px; padding: 6px 6px 6px 20px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: rgba(184,179,255,.5); box-shadow: 0 0 0 4px rgba(98,91,238,.18); }
.search > svg { width: 20px; height: 20px; color: var(--ink-3); flex: none; }
.search input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; color: #fff; font: inherit; font-size: 15.5px; outline: none; }
.search input::placeholder { color: var(--ink-3); }
.search .btn { height: 46px; }
.result-count { color: var(--ink-3); font-size: 14px; margin-bottom: 22px; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.pager a { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); color: var(--ink-2); font-weight: 700; }
.pager a[aria-current="page"] { background: var(--grad); color: #fff; border-color: transparent; }

/* ---------- Detalle de rifa ---------- */
.detail-hero { position: relative; padding: calc(var(--header-h) + 36px) 0 64px; overflow: hidden; }
.detail-hero .backdrop { position: absolute; inset: 0; background: var(--bg) center / cover no-repeat; filter: blur(60px) saturate(1.4); opacity: .4; transform: scale(1.2); }
.detail-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,10,23,.55), var(--bg) 92%); }
.detail-hero .container { position: relative; z-index: 1; }
.breadcrumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-3); margin-bottom: 22px; font-weight: 600; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { color: var(--ink-2); }
.detail-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 36px; align-items: start; }
.gallery .main { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-xl); overflow: hidden; background: var(--bg-3); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); border: 1px solid var(--line); }
.gallery .main > img:not(.art) { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.gallery .main .chip { position: absolute; top: 18px; left: 18px; z-index: 2; }
.gallery .main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,10,23,.55)); pointer-events: none; }
.gallery .art { position: absolute; z-index: 3; right: 3%; bottom: 3%; width: 38%; max-height: 62%; object-fit: contain; object-position: bottom right; transform: rotate(-6deg); filter: drop-shadow(0 30px 24px rgba(0,0,0,.6)) drop-shadow(0 0 50px rgba(244,197,91,.3)); animation: float 7s ease-in-out infinite; pointer-events: none; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; }
.gallery .thumbs::-webkit-scrollbar { display: none; }
.gallery .thumbs button { flex: none; width: 96px; height: 62px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; opacity: .55; transition: opacity .2s, border-color .2s, transform .2s; }
.gallery .thumbs button[aria-current="true"], .gallery .thumbs button:hover { border-color: var(--glow); opacity: 1; }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.gallery-trust div { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid var(--line); font-size: 13px; color: var(--ink-3); line-height: 1.3; }
.gallery-trust i { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(98,91,238,.16); color: var(--glow); }
.gallery-trust i svg { width: 19px; height: 19px; }
.gallery-trust b { display: block; color: var(--ink); font-size: 14px; }
@media (max-width: 980px) { .gallery-trust { display: none; } }
.buy-card { position: sticky; top: calc(var(--header-h) + 8px); padding: 28px; border-radius: var(--r-xl); background: linear-gradient(180deg, rgba(22,28,62,.92), rgba(13,18,44,.94)); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(0,0,0,.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.buy-card h1 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.035em; margin: 16px 0 8px; }
.buy-card .lead { color: var(--ink-2); font-size: 15px; margin-bottom: 20px; }
.buy-card .prize-line { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: rgba(244,197,91,.07); border: 1px solid rgba(244,197,91,.2); margin-bottom: 18px; }
.buy-card .prize-line i { width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--grad-gold); color: #2A1A00; }
.buy-card .prize-line i svg { width: 22px; height: 22px; }
.buy-card .prize-line small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.buy-card .prize-line b { display: block; font-size: 15.5px; line-height: 1.3; }
.buy-card .prize-line em { font-style: normal; font-weight: 800; color: var(--gold); white-space: nowrap; margin-left: auto; font-size: 15px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
.countdown div { padding: 12px 4px 10px; border-radius: 16px; text-align: center; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.countdown b { display: block; font-size: 28px; font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.countdown small { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.countdown-cap { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); font-weight: 600; margin-bottom: 8px; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 18px; }
.price-row strong { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price-row span { color: var(--ink-3); font-weight: 600; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 22px; }
.kv div { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line); font-size: 12px; color: var(--ink-3); font-weight: 600; }
.kv b { display: block; font-size: 15px; color: var(--ink); margin-top: 3px; font-weight: 700; }
.buy-note { font-size: 13px; color: var(--ink-3); text-align: center; margin: 12px 0 0; }
.detail-body { display: grid; grid-template-columns: 1fr 360px; gap: 40px; padding: 24px 0 110px; align-items: start; }
.panel { padding: 32px; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 18px; }
.panel > h2 { display: flex; align-items: center; gap: 12px; font-size: 22px; margin-bottom: 16px; }
.panel > h2 i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(98,91,238,.18); color: var(--glow); flex: none; }
.panel > h2 i svg { width: 20px; height: 20px; }
.side-card { position: sticky; top: calc(var(--header-h) + 8px); padding: 26px; border-radius: var(--r-lg); background: radial-gradient(100% 60% at 100% 0%, rgba(50,187,209,.14), transparent 60%), var(--bg-2); border: 1px solid var(--line); }
.side-card h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.side-card h3 svg { width: 22px; height: 22px; color: var(--cyan); }
.side-card p { font-size: 14.5px; color: var(--ink-2); }
.side-card .lbl { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 14px 0 6px; }
.hash { font-family: var(--mono); font-size: 12px; word-break: break-all; background: rgba(7,10,23,.7); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; color: var(--cyan); line-height: 1.5; }
.mobile-buy { display: none; }
@media (max-width: 980px) {
  .detail-grid, .detail-body { grid-template-columns: 1fr; }
  .buy-card, .side-card { position: static; }
  .detail-body { padding-bottom: 130px; }
  .mobile-buy { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 24px; background: rgba(12, 16, 36, .9); border: 1px solid var(--line-2); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 24px 50px -16px rgba(0,0,0,.9); transform: translateY(140%); transition: transform .4s var(--ease); }
  .mobile-buy.show { transform: none; }
  .mobile-buy .k { flex: 1; min-width: 0; line-height: 1.2; }
  .mobile-buy small { display: block; color: var(--ink-3); font-size: 12px; font-weight: 600; }
  .mobile-buy b { font-size: 19px; font-weight: 800; }
  .mobile-buy .btn { height: 50px; padding: 0 20px; }
}
@media (max-width: 520px) { .buy-card { padding: 22px; } .panel { padding: 22px; } .countdown b { font-size: 24px; } .price-row strong { font-size: 34px; } .gallery .main { border-radius: 24px; } }

/* ---------- Avisos ---------- */
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 16px; font-size: 14px; line-height: 1.5; border: 1px solid; }
.notice svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.notice.warning { background: rgba(251,191,36,.08); color: #FCD983; border-color: rgba(251,191,36,.25); }
.notice.info { background: rgba(98,91,238,.1); color: var(--glow); border-color: rgba(184,179,255,.25); }
.notice.success { background: rgba(52,211,153,.08); color: #86EFC4; border-color: rgba(52,211,153,.25); }
.notice.danger { background: rgba(248,113,113,.08); color: #FCA5A5; border-color: rgba(248,113,113,.25); }

/* ---------- Texto largo ---------- */
.prose { max-width: 780px; color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.prose h2 { color: #fff; font-size: 26px; margin-top: 1.8em; }
.prose h3 { color: #fff; font-size: 19px; margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--glow); }
.prose strong { color: #fff; }
.prose a { color: var(--glow); text-decoration: underline; text-underline-offset: 3px; }
.prose code { font-family: var(--mono); font-size: .88em; background: rgba(255,255,255,.06); border: 1px solid var(--line); padding: 2px 6px; border-radius: 6px; color: var(--cyan); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.panel .prose { max-width: none; }
.doc { display: grid; grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; padding: 44px; border-radius: var(--r-xl); background: var(--bg-2); border: 1px solid var(--line); }
@media (max-width: 600px) { .doc { padding: 24px 20px; border-radius: 24px; } }

/* ---------- Vacío ---------- */
.empty { text-align: center; padding: 64px 24px; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); background: rgba(255,255,255,.015); }
.empty svg { width: 120px; height: 120px; margin: 0 auto 18px; }
.empty h3 { font-size: 22px; }
.empty p { color: var(--ink-2); max-width: 440px; margin: 0 auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); margin-bottom: 12px; transition: border-color .25s, background .25s; }
.faq details[open] { border-color: rgba(184,179,255,.3); background: linear-gradient(180deg, rgba(98,91,238,.1), var(--bg-2)); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8B3FF' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: rgba(98,91,238,.3); }
.faq details p { color: var(--ink-2); margin: 0; padding: 0 24px 22px; }
@media (max-width: 600px) { .faq summary { font-size: 15.5px; padding: 18px; } .faq details p { padding: 0 18px 18px; } }

/* ---------- Pie ---------- */
.site-footer { position: relative; padding: 90px 0 30px; color: var(--ink-3); font-size: 14.5px; border-top: 1px solid var(--line); overflow: hidden; background: linear-gradient(180deg, var(--bg), #05070F); }
.site-footer .cols { position: relative; z-index: 1; display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer .about { margin-top: 18px; max-width: 340px; color: var(--ink-2); }
.site-footer .legal-note { position: relative; z-index: 1; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.site-footer .giant { position: absolute; left: 50%; bottom: -0.2em; transform: translateX(-50%); font-size: clamp(90px, 21vw, 300px); font-weight: 800; letter-spacing: .02em; line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(184,179,255,.08); background: linear-gradient(180deg, rgba(98,91,238,.12), transparent 70%); -webkit-background-clip: text; background-clip: text; pointer-events: none; user-select: none; }
.age-badge { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); font-weight: 800; font-size: 12px; color: #fff; margin-right: 10px; vertical-align: middle; }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* ---------- Verificación ---------- */
.verify-wrap { position: relative; z-index: 1; padding: 0 0 110px; margin-top: -40px; }
.verify-card { max-width: 580px; margin: 0 auto; border-radius: var(--r-xl); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 50px 90px -40px rgba(0,0,0,.95); }
.verify-card .top { position: relative; padding: 36px 28px 28px; text-align: center; overflow: hidden; }
.verify-card .top.ok { background: radial-gradient(80% 100% at 50% 0%, rgba(52,211,153,.22), transparent 70%); }
.verify-card .top.bad { background: radial-gradient(80% 100% at 50% 0%, rgba(248,113,113,.2), transparent 70%); }
.verify-card .top h2 { font-size: 26px; margin: 0 0 8px; }
.verify-card .top p { color: var(--ink-2); margin: 0; }
.status-icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; position: relative; }
.status-icon::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid currentColor; opacity: .25; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.85); opacity: .5; } 100% { transform: scale(1.35); opacity: 0; } }
.status-icon.ok { background: rgba(52,211,153,.15); color: var(--success); }
.status-icon.bad { background: rgba(248,113,113,.15); color: var(--danger); }
.status-icon svg { width: 40px; height: 40px; }
.verify-card .vnum { margin: 0 28px; padding: 18px; border-radius: 20px; background: var(--grad); text-align: center; box-shadow: 0 20px 40px -20px rgba(98,91,238,.9); }
.verify-card .vnum small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.verify-card .vnum b { font-size: 48px; font-weight: 800; line-height: 1.05; letter-spacing: .02em; }
.verify-card dl { margin: 22px 0 0; display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--line); }
.verify-card dt, .verify-card dd { margin: 0; padding: 15px 28px; border-bottom: 1px solid var(--line); font-size: 15px; }
.verify-card dt { color: var(--ink-3); font-weight: 600; }
.verify-card dd { text-align: right; font-weight: 700; }
.verify-card dl > :nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 520px) { .verify-card dl { grid-template-columns: 36% 64%; } .verify-card dt, .verify-card dd { padding: 13px 18px; font-size: 14px; } .verify-card .vnum { margin: 0 18px; } }

/* ---------- Acta del sorteo ---------- */
.act { max-width: 900px; margin: 0 auto; padding: 40px 0 110px; }
.act h2 { font-size: 24px; margin: 44px 0 16px; }
.act .tbl { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.act table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.act th, .act td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.act tr:last-child th, .act tr:last-child td { border-bottom: 0; }
.act th { color: var(--ink-3); font-weight: 600; width: 36%; }
.act td { color: var(--ink); }
.act a { color: var(--glow); }
.act .qrbox { display: flex; gap: 24px; align-items: center; margin-top: 40px; flex-wrap: wrap; padding: 24px; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); }
.act .qrbox .q { width: 130px; padding: 10px; background: #fff; border-radius: 16px; color: #0B1020; }
.act .qrbox p { color: var(--ink-2); max-width: 480px; margin: 0; flex: 1; min-width: 220px; }
@media (max-width: 600px) { .act th, .act td { display: block; width: 100%; } .act th { padding-bottom: 2px; border-bottom: 0; } }
.result-hero { position: relative; z-index: 1; text-align: center; border-radius: var(--r-xl); padding: 40px 24px; margin: -50px auto 0; max-width: 700px; background: radial-gradient(80% 100% at 50% 0%, rgba(244,197,91,.2), transparent 70%), var(--bg-2); border: 1px solid rgba(244,197,91,.3); box-shadow: 0 50px 90px -40px rgba(0,0,0,.95); }
.result-hero .lbl { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.result-hero .big { font-size: clamp(70px, 12vw, 120px); font-weight: 800; letter-spacing: .02em; line-height: 1; margin: 10px 0 14px; }
.result-hero .who { font-size: 22px; font-weight: 800; }
.result-hero .meta { color: var(--ink-3); margin-top: 6px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  :root { --bg: #fff; --bg-2: #fff; --ink: #10172A; --ink-2: #3A4460; --ink-3: #5A6480; --line: #DDE2EC; --line-2: #DDE2EC; color-scheme: light; }
  body { background: #fff; color: #10172A; font-size: 12px; }
  .site-header, .site-footer, .no-print, .aurora, .grain, .mobile-buy { display: none !important; }
  main { margin: 0; }
  .page-head { padding: 0 0 12px; border: 0; } .page-head h1 { font-size: 26px; }
  .result-hero, .act .tbl, .act .qrbox { box-shadow: none; background: #fff; border-color: #DDE2EC; }
  .grad-text, .gold-text { color: #10172A; background: none; -webkit-text-fill-color: #10172A; }
  .hash { color: #10172A; background: #F4F6FA; }
}

/* =====================================================================
   Sorteo en vivo (balotera + rodillos + revelación)
   ===================================================================== */
.draw-stage { --rays: 0deg; position: relative; overflow: hidden; margin: 18px 0 6px; padding: 18px; border-radius: 26px; text-align: center;
  background: linear-gradient(180deg, #1A1F45, #070A17); border: 1px solid rgba(255,255,255,.1); isolation: isolate; }
.draw-stage[hidden] { display: none; }
.draw-stage.done { border-color: rgba(255,211,110,.38); box-shadow: 0 30px 80px -40px rgba(255,211,110,.35); }
.ds-rays { position: absolute; inset: -60%; z-index: -1; opacity: .45; transition: opacity .6s;
  background: repeating-conic-gradient(from var(--rays) at 50% 38%, rgba(255,230,166,.13) 0 8deg, transparent 8deg 30deg);
  -webkit-mask: radial-gradient(circle at 50% 38%, #000 0, transparent 60%); mask: radial-gradient(circle at 50% 38%, #000 0, transparent 60%); }
.draw-stage.done .ds-rays { opacity: .9; }
.ds-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: rgba(255,255,255,.65); }
.ds-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 11px; letter-spacing: .06em; color: #fff; }
.ds-badge.live { background: rgba(255,77,94,.16); border: 1px solid rgba(255,77,94,.45); }
.ds-badge.live i, .live-dot { width: 7px; height: 7px; border-radius: 50%; background: #FF4D5E; display: inline-block; animation: livepulse 1.2s ease-in-out infinite; }
.ds-badge.gold { background: rgba(255,211,110,.14); border: 1px solid rgba(255,211,110,.45); color: #FFD36E; }
@keyframes livepulse { 50% { opacity: .3; transform: scale(.8); } }
.live-label { display: inline-flex; align-items: center; gap: 6px; color: #FF8A95; }
.ds-drum { position: relative; width: 132px; height: 132px; margin: 14px auto 16px; }
.ds-drum::before { content: ""; position: absolute; inset: -22%; border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,.45), transparent 65%); z-index: -1; }
.ds-drum canvas { width: 100%; height: 100%; display: block; }
.suspense .ds-drum { animation: hb .52s ease-in-out infinite alternate; }
.ds-trophy { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; display: grid; place-items: center;
  color: #5A3A00; background: linear-gradient(135deg, #FFF1C1, #F5A524); transform: scale(0); transition: transform .6s cubic-bezier(.3,1.6,.5,1); box-shadow: 0 0 40px rgba(255,211,110,.6); }
.ds-trophy svg { width: 26px; height: 26px; }
.done .ds-trophy { transform: scale(1); }
.ds-plate { display: inline-flex; gap: 8px; padding: 12px 14px; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); font-size: clamp(34px, 9vw, 46px); transition: border-color .4s; }
.done .ds-plate { border-color: rgba(255,211,110,.45); }
.ds-reel { position: relative; width: 1.3em; height: 1.4em; overflow: hidden; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, #0A0E1C, #1E2848 50%, #0A0E1C); transition: border-color .3s, transform .4s cubic-bezier(.3,1.6,.5,1); }
.ds-reel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(7,10,20,.9), transparent 30% 70%, rgba(7,10,20,.9)); }
.ds-strip { will-change: transform; }
.ds-strip span { display: block; height: 1em; line-height: 1em; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.ds-reel.locked { border-color: rgba(255,211,110,.7); transform: scale(1.05); }
.ds-reel.locked .ds-strip span { background: linear-gradient(180deg, #FFF1C1, #FFD36E 50%, #F5A524); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ds-reel.beat { animation: hb .52s ease-in-out infinite alternate; }
@keyframes hb { to { transform: scale(1.08); } }
.ds-caption { margin-top: 16px; min-height: 56px; }
.ds-caption.in { animation: capin .35s var(--ease) both; }
@keyframes capin { from { opacity: 0; transform: translateY(10px); } }
.ds-caption h4 { margin: 0; font-size: 20px; color: #fff; }
.ds-caption h4.gold, .ds-caption small { color: #FFD36E; }
.ds-caption small { font-size: 11px; letter-spacing: .1em; font-weight: 800; }
.ds-caption p { margin: 4px 0 0; font-size: 14px; color: rgba(255,255,255,.72); }
.ds-actions { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.ds-actions[hidden] { display: none; }
.ds-flash { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 50%, #fff, rgba(255,211,110,.4) 45%, transparent 75%); }
.ds-flash.go { animation: flash .7s ease-out; }
@keyframes flash { 0% { opacity: .9; } 100% { opacity: 0; } }
.confetti-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 9999; }

/* Visor de imágenes */
.gallery .main [data-gallery-main] { cursor: zoom-in; }
.zoom-hint { position: absolute; right: 16px; top: 16px; z-index: 4; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; cursor: pointer;
  font-size: 12px; font-weight: 700; color: #fff; background: rgba(7,10,23,.6); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.zoom-hint svg { width: 14px; height: 14px; }
.lightbox { position: fixed; inset: 0; z-index: 9000; background: rgba(3,5,12,.94); display: flex; flex-direction: column; animation: lbin .22s ease both; }
.lightbox.out { animation: lbout .2s ease both; }
@keyframes lbin { from { opacity: 0; } }
@keyframes lbout { to { opacity: 0; } }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; color: #fff; font-weight: 700; }
.lb-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; font-size: 18px; cursor: pointer; }
.lb-stage { flex: 1; display: grid; place-items: center; overflow: hidden; touch-action: none; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .25s var(--ease); cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.lightbox.zoomed .lb-stage img { cursor: grab; transition: none; }
.lb-nav { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.lb-nav.prev { left: 14px; } .lb-nav.next { right: 14px; }
.lb-hint { text-align: center; margin: 0; padding: 10px 16px 18px; color: rgba(255,255,255,.6); font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .ds-reel.beat, .suspense .ds-drum, .ds-badge.live i, .live-dot { animation: none; } }
