:root {
  --navy: #0e1a2b;
  --navy-2: #16263d;
  --navy-3: #22385a;
  --gold: #c9a45c;
  --gold-2: #e6c98a;
  --gold-soft: #f7efdf;
  --green: #1f9d6b;
  --green-soft: #e3f5ec;
  --red: #c8443b;
  --bg: #f6f7fb;
  --card: #ffffff;
  --ink: #0e1a2b;
  --muted: #5b6678;
  --line: #e4e7ee;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(14, 26, 43, .08);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --cartoon: 'Lilita One', 'Arial Black', 'Plus Jakarta Sans', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .4em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.hidden { display: none !important; }
/* Evita que tablas anchas estiren las columnas de los grids */
.detail > *, #panel > *, .grid > *, .hero-grid > * { min-width: 0; }

/* Top bar + header */
.topbar { background: var(--navy); color: #cfd6e2; font-size: .8rem; overflow: hidden; white-space: nowrap; }
.topbar .track { display: inline-flex; gap: 40px; padding: 8px 0; animation: ticker 40s linear infinite; }
.topbar span::before { content: '•'; color: var(--gold); margin-right: 40px; }
@keyframes ticker { to { transform: translateX(-50%); } }
header.site { background: var(--navy); color: #fff; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; border-top: 1px solid rgba(255,255,255,.06); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.logo b { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; }
.logo b i { color: var(--gold); font-style: normal; }
.logo small { font-size: .7rem; color: #9fb0c8; letter-spacing: .04em; }
nav.main { display: flex; gap: 6px; align-items: center; }
nav.main a { text-decoration: none; font-size: .92rem; font-weight: 600; padding: 8px 12px; border-radius: 999px; color: #dbe3ef; }
nav.main a:hover, nav.main a[aria-current] { background: rgba(255,255,255,.08); color: #fff; }
nav.main a.cta { background: var(--gold); color: var(--navy); }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
@media (max-width: 1100px) { .logo small { display: none; } }
@media (max-width: 980px) {
  .menu-btn { display: block; }
  nav.main { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px; }
  .logo small { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: 14px 24px; border-radius: 999px; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Cards */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
section { padding: 56px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #2a4470 0, transparent 60%), var(--navy); color: #fff; padding: 48px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero p.lead { color: #c3cddb; font-size: 1.1rem; max-width: 520px; }
.hero .prize-art { background: linear-gradient(160deg, #1d3152, #101d31); border: 1px solid rgba(255,255,255,.08); border-radius: 28px; padding: 28px; position: relative; }
.hero .prize-art .tag { position: absolute; top: 18px; left: 18px; }
.hero-stats { display: flex; gap: 28px; margin: 24px 0; flex-wrap: wrap; }
.hero-stats div b { display: block; font-size: 1.5rem; font-weight: 800; }
.hero-stats div span { font-size: .8rem; color: #9fb0c8; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero .prize-art { order: -1; } }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(201,164,92,.16); color: var(--gold-2); }
.pill.green { background: var(--green-soft); color: var(--green); }
.pill.gray { background: #eef0f4; color: var(--muted); }
.pill.red { background: #fbe6e4; color: var(--red); }
.pill.live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

/* Countdown + progress */
.countdown { display: flex; gap: 10px; }
.countdown div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 10px 12px; min-width: 66px; text-align: center; }
.countdown b { display: block; font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .7rem; color: #9fb0c8; text-transform: uppercase; letter-spacing: .08em; }
.light .countdown div { background: var(--bg); border-color: var(--line); }
.light .countdown span { color: var(--muted); }
.progress { height: 10px; background: rgba(255,255,255,.12); border-radius: 999px; overflow: hidden; }
.light .progress { background: #eceef3; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: inherit; transition: width .8s; }
.progress-label { display: flex; justify-content: space-between; font-size: .85rem; margin-top: 8px; color: #c3cddb; }
.light .progress-label { color: var(--muted); }

/* Raffle cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.raffle-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; text-decoration: none; transition: transform .2s; }
.raffle-card:hover { transform: translateY(-3px); }
.raffle-card .art { background: linear-gradient(160deg, #1d3152, #101d31); padding: 20px; aspect-ratio: 16/10; display: grid; place-items: center; position: relative; }
.raffle-card .art .pill { position: absolute; top: 14px; left: 14px; }
.raffle-card .body { padding: 20px; display: grid; gap: 12px; }
.raffle-card .price { font-size: 1.4rem; font-weight: 800; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps .card { position: relative; padding-top: 56px; }
.steps .card::before { counter-increment: step; content: counter(step); position: absolute; top: 18px; left: 24px; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); font-weight: 800; display: grid; place-items: center; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Transparency band */
.trust { background: var(--navy); color: #fff; border-radius: 28px; padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.trust ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.trust li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; }
.trust li .ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(201,164,92,.16); color: var(--gold-2); display: grid; place-items: center; }
.trust li b { display: block; }
.trust li span { color: #b5c1d3; font-size: .92rem; }
.hashbox { background: #0a1422; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 18px; font-family: var(--mono); font-size: .8rem; color: #9fe0bf; word-break: break-all; }
.hashbox .k { color: #8a97ab; display: block; margin-top: 10px; font-family: var(--font); font-size: .75rem; }
.hashbox .k:first-child { margin-top: 0; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; padding: 28px 20px; } }

/* Club */
.club { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: linear-gradient(135deg, var(--gold-soft), #fff); border: 1px solid #efe2c6; border-radius: 28px; padding: 40px; }
.club .price-big { font-size: 2.6rem; font-weight: 800; }
.check-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; }
.check-list li::before { content: '✓'; color: var(--green); font-weight: 800; }
@media (max-width: 860px) { .club { grid-template-columns: 1fr; padding: 28px 20px; } }

/* Winners */
.winner-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.winner-row:last-child { border-bottom: 0; }
.ball { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--gold-2); display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: .85rem; }

/* FAQ */
details { background: var(--card); border-radius: 16px; padding: 18px 22px; margin-bottom: 10px; box-shadow: 0 2px 8px rgba(14,26,43,.04); }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: '+'; color: var(--gold); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { margin: 12px 0 0; color: var(--muted); }

/* Forms */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
label.f { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=datetime-local], textarea, select {
  font: inherit; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,92,.2); }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.checkline input { margin-top: 3px; accent-color: var(--navy); }
.error-msg { background: #fbe6e4; color: var(--red); padding: 12px 14px; border-radius: 12px; font-size: .9rem; }

/* Pack selector */
.packs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
@media (max-width: 560px) { .packs { grid-template-columns: repeat(3, 1fr); } }
.pack { position: relative; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 8px; text-align: center; cursor: pointer; background: #fff; font: inherit; color: var(--ink); }
.pack b { display: block; font-size: 1.5rem; font-weight: 800; }
.pack span { font-size: .78rem; color: var(--muted); }
.pack .off { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; font-size: .68rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.pack[aria-pressed=true] { border-color: var(--navy); background: var(--navy); color: #fff; }
.pack[aria-pressed=true] span { color: #c3cddb; }
.total-line { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-top: 1px dashed var(--line); }
.total-line b { font-size: 1.8rem; font-weight: 800; }
.total-line s { color: var(--muted); margin-right: 8px; }

/* Raffle detail layout */
.detail { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.detail .buy { position: sticky; top: 88px; }
.detail.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .detail, .detail.two { grid-template-columns: 1fr; } .detail .buy { position: static; } }
@media (max-width: 860px) { .prize-art img, #art img { max-height: 190px !important; } }

/* Ticket display */
.tickets { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ticket { background: var(--navy); color: #fff; border-radius: 16px; padding: 16px 22px 14px; text-align: center; position: relative; min-width: 120px; animation: pop .5s both; }
.ticket::before, .ticket::after { content: ''; position: absolute; top: 50%; width: 16px; height: 16px; background: var(--card); border-radius: 50%; transform: translateY(-50%); }
.ticket::before { left: -8px; } .ticket::after { right: -8px; }
.ticket b { display: block; font-family: var(--mono); font-size: 1.7rem; color: var(--gold-2); letter-spacing: .06em; }
.ticket span { font-size: .7rem; color: #9fb0c8; font-family: var(--mono); }
.ticket.win { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy); }
.ticket.win b { color: var(--navy); }
@keyframes pop { from { opacity: 0; transform: scale(.7) rotate(-4deg); } }
.spinner { width: 46px; height: 46px; border: 4px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

.verify-row { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.verify-row .st { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; background: #eef0f4; color: var(--muted); }
.verify-row .st.ok { background: var(--green-soft); color: var(--green); }
.verify-row .st.bad { background: #fbe6e4; color: var(--red); }
.verify-row code { font-family: var(--mono); font-size: .75rem; word-break: break-all; color: var(--muted); }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { padding: 0 0 18px 20px; position: relative; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.timeline time { font-size: .78rem; color: var(--muted); }

.demo-banner { background: #fff6dd; color: #7a5a12; text-align: center; font-size: .82rem; padding: 8px 16px; }

/* Footer */
footer.site { background: var(--navy); color: #b5c1d3; padding: 48px 0 24px; margin-top: 40px; font-size: .9rem; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
footer.site h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 12px; }
footer.site a { display: block; text-decoration: none; padding: 3px 0; }
footer.site a:hover { color: #fff; }
footer.site .legal { border-top: 1px solid rgba(255,255,255,.08); margin-top: 32px; padding-top: 20px; font-size: .78rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.group-badge { display: inline-flex; gap: 8px; align-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 6px 14px; font-size: .78rem; margin-top: 12px; }
.group-badge b { color: #fff; }
@media (max-width: 760px) { footer.site .cols { grid-template-columns: 1fr 1fr; } footer.site .cols > :first-child { grid-column: 1 / -1; } }

/* ---------- v2: tarjetas más ricas ---------- */
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.pill.tag { background: var(--gold); color: var(--navy); }
.pill.clock { background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(4px); }
.pill.clock.hot { background: var(--red); color: #fff; }
.raffle-card .art .flags { position: absolute; top: 14px; right: 14px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.raffle-card .art img { transition: transform .35s; }
.raffle-card:hover .art img { transform: scale(1.06) rotate(-1deg); }
.raffle-card .cat { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.raffle-card h3 { margin: 2px 0 2px; }
.raffle-card .value { margin: 0; font-size: .9rem; color: var(--muted); }
.raffle-card .value b { color: var(--ink); }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* Filtros por categoría */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.tabs button { flex: none; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 600; font-size: .9rem; padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-pressed=true] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tabs button span { color: var(--muted); font-weight: 500; margin-left: 4px; }
.tabs button[aria-pressed=true] span { color: #9fb0c8; }

/* Hero v2 */
.hero2 { background: radial-gradient(900px 500px at 80% 10%, #2a4470 0, transparent 60%), radial-gradient(600px 400px at 0 100%, #3a2a0e 0, transparent 60%), var(--navy); color: #fff; padding: 40px 0 0; overflow: hidden; }
.hero2-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; }
.hero2-grid > * { min-width: 0; }
.hero2 h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); text-wrap: balance; }
.hero2 h1 em { font-style: normal; color: var(--gold-2); }
.hero2 .worth { display: inline-flex; gap: 10px; align-items: baseline; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 10px 16px; margin: 4px 0 20px; }
.hero2 .worth b { font-size: 1.6rem; color: var(--gold-2); }
.hero2 .worth span { color: #9fb0c8; font-size: .85rem; }
.hero2 .stage { position: relative; aspect-ratio: 4/3; max-width: 100%; display: grid; place-items: center; }
.hero2 .stage::before { content: ''; position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(230,201,138,.35), transparent 65%); }
.hero2 .stage img { position: relative; width: 100%; max-height: 360px; object-fit: contain; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.sticker { position: absolute; background: #fff; color: var(--ink); border-radius: 16px; padding: 10px 14px; box-shadow: 0 12px 30px rgba(0,0,0,.25); font-size: .8rem; line-height: 1.3; }
.sticker b { display: block; font-size: 1.05rem; }
.sticker.a { top: 6%; left: 0; }
.sticker.b { bottom: 10%; right: 0; background: var(--gold); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.pay-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.pay-row span { font-size: .75rem; font-weight: 700; color: #c3cddb; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; padding: 5px 10px; }
.mini-raffles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 36px; }
.mini-raffles a { display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 16px 16px 0 0; padding: 12px; text-decoration: none; color: #fff; }
.mini-raffles a:hover { background: rgba(255,255,255,.1); }
.mini-raffles img { width: 54px; height: 44px; object-fit: contain; }
.mini-raffles b { display: block; font-size: .85rem; line-height: 1.25; }
.mini-raffles span { font-size: .75rem; color: var(--gold-2); }
@media (max-width: 900px) { .hero2-grid { grid-template-columns: 1fr; } .hero2 .stage { order: -1; aspect-ratio: auto; } .hero2 .stage img { max-height: 190px; } .mini-raffles { grid-template-columns: 1fr 1fr; } .sticker { display: none; } }

/* Actividad en vivo */
.activity { background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.activity .wrap { display: flex; align-items: center; gap: 14px; height: 52px; }
.activity .live { flex: none; }
.activity .feed { position: relative; flex: 1; height: 52px; overflow: hidden; }
.activity .feed div { position: absolute; inset: 0; display: flex; align-items: center; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: transform .5s, opacity .5s; }
.activity .feed div.out { transform: translateY(-100%); opacity: 0; }
.activity .feed div.in { transform: translateY(100%); opacity: 0; }
.activity time { color: var(--muted); margin-left: 8px; font-size: .8rem; }

/* Express */
.express { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: linear-gradient(120deg, #c8443b, #a8322a); color: #fff; border-radius: 24px; padding: 22px 28px; }
.express img { width: 90px; height: 90px; }
.express h3 { font-size: 1.4rem; margin: 0; }
.express p { margin: 4px 0 0; color: #ffe1dc; }
.express .countdown div { background: rgba(0,0,0,.18); border-color: rgba(255,255,255,.2); min-width: 58px; }
.express .countdown span { color: #ffe1dc; }
@media (max-width: 760px) { .express { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* Calculadora de chances */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.calc > * { min-width: 0; }
.calc .result { background: var(--navy); color: #fff; border-radius: 24px; padding: 28px; display: grid; gap: 14px; }
.calc .big { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: var(--gold-2); font-variant-numeric: tabular-nums; line-height: 1; }
.calc .bar { height: 12px; background: rgba(255,255,255,.1); border-radius: 999px; overflow: hidden; }
.calc .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: inherit; transition: width .4s; }
.calc input[type=range] { width: 100%; accent-color: var(--gold); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* Planes del Club */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tier { background: var(--card); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; position: relative; border: 2px solid transparent; }
.tier.popular { border-color: var(--gold); transform: translateY(-6px); }
.tier .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.tier .tname { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }
.tier.bronce .tname { color: #a0602e; } .tier.plata .tname { color: #6b7a90; } .tier.oro .tname { color: #9c7a37; }
.tier .tprice { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.tier .tprice small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.tier .tickets-n { background: var(--bg); border-radius: 12px; padding: 10px 12px; font-weight: 700; }
.tier .check-list { flex: 1; margin: 0; font-size: .92rem; align-content: start; }
.tier.selectable { cursor: pointer; }
.tier.selected { border-color: var(--navy); }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } .tier.popular { transform: none; } }

/* Números */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats div { background: var(--card); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.stats b { display: block; font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: .88rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Cierre */
.final-cta { background: radial-gradient(600px 300px at 100% 0, #3a2a0e, transparent 60%), var(--navy); color: #fff; border-radius: 28px; padding: 44px 32px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.final-cta h2 { color: #fff; max-width: 640px; }
.final-cta p { color: #c3cddb; max-width: 560px; margin: 0; }

/* Barra fija en celular */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; gap: 10px; align-items: center; justify-content: space-between; background: var(--navy); color: #fff;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); box-shadow: 0 -8px 24px rgba(0,0,0,.2); }
  .mobile-cta span { font-size: .85rem; color: #c3cddb; }
  .mobile-cta b { color: #fff; }
  body.has-mobile-cta { padding-bottom: 72px; }
  body.has-mobile-cta .wa-float { bottom: 84px; }
}

/* ---------- Mascotas: Findo y Chispa (estilo años 30) ---------- */
.mascot { display: block; overflow: visible; max-width: 100%; height: auto; }
.mascot * { transform-box: view-box; }
.mascot .m-all { animation: m-bounce 1.1s ease-in-out infinite; transform-origin: 110px 246px; }
.mascot .m-head { animation: m-head 1.1s ease-in-out infinite; transform-origin: 110px 136px; }
.mascot .m-eyes { animation: m-blink 4s infinite; transform-origin: 110px 82px; }
.mascot .m-arm-l { animation: m-swing 1.1s ease-in-out infinite; transform-origin: 86px 148px; }
.mascot .m-arm-r { animation: m-swing 1.1s ease-in-out infinite reverse; transform-origin: 134px 148px; }
.mascot .m-wave { animation: m-wave .7s ease-in-out infinite alternate; }
.mascot .m-raise { animation: m-raise 1.1s ease-in-out infinite; }
.mascot .m-cheer-l { animation: m-cheer .45s ease-in-out infinite alternate; }
.mascot .m-cheer-r { animation: m-cheer .45s ease-in-out infinite alternate-reverse; }
.mascot .m-chin { animation: none; }
.mascot .m-search { animation: m-raise 1.4s ease-in-out infinite; }
.mascot .m-tail { animation: m-tail .9s ease-in-out infinite alternate; transform-origin: 136px 186px; }
.mascot .m-bell { animation: m-bell .9s ease-in-out infinite alternate; transform-origin: 154px 8px; }
.mascot .m-legs, .mascot .m-shoes { animation: m-feet 1.1s ease-in-out infinite; transform-origin: 110px 236px; }
.mascot.pose-fiesta .m-all { animation: m-jump .5s ease-in-out infinite alternate; }
.mascot .m-confetti rect { animation: m-confetti 1.4s ease-in-out infinite; transform-origin: center; }
.mascot .m-confetti rect:nth-child(2n) { animation-delay: -.7s; }
.mascot .m-sparkle, .mascot .m-q { animation: m-twinkle 1.2s steps(2) infinite; }
@keyframes m-bounce { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.03, .96); } }
@keyframes m-head { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(3deg) translateY(4px); } }
@keyframes m-blink { 0%, 90%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.1); } }
@keyframes m-swing { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes m-wave { from { transform: rotate(8deg); } to { transform: rotate(-16deg); } }
@keyframes m-raise { 50% { transform: translateY(-8px) rotate(-4deg); } }
@keyframes m-cheer { from { transform: rotate(6deg); } to { transform: rotate(-10deg); } }
@keyframes m-tail { from { transform: rotate(-8deg); } to { transform: rotate(14deg); } }
@keyframes m-bell { from { transform: rotate(-12deg); } to { transform: rotate(12deg); } }
@keyframes m-feet { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(1px); } }
@keyframes m-jump { from { transform: translateY(0) scale(1.03, .95); } to { transform: translateY(-16px) scale(.97, 1.04); } }
@keyframes m-confetti { 50% { transform: translateY(8px) rotate(90deg); } }
@keyframes m-twinkle { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .mascot *, .mascot .m-all { animation: none !important; } }

.mascot-mark { display: block; flex: none; }
.mascot-say { position: relative; background: #fffaf0; color: #1b1310; border: 3px solid #1b1310; border-radius: 18px; padding: 10px 14px; font-family: var(--cartoon); font-size: 1.05rem; letter-spacing: .01em; box-shadow: 4px 4px 0 #1b1310; max-width: 260px; line-height: 1.25; }
.mascot-say::after { content: ''; position: absolute; bottom: -11px; width: 18px; height: 18px; background: inherit; border-right: 3px solid #1b1310; border-bottom: 3px solid #1b1310; transform: rotate(45deg); }
.mascot-say.left::after { left: 28px; } .mascot-say.right::after { right: 28px; }
.mascot-say.gold { background: var(--gold-2); }

/* Logo con isotipo */
.logo { align-items: center; }
.logo .mark-wrap { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gold); border: 2.5px solid #1b1310; overflow: hidden; }
.logo .mark-wrap .mascot-mark { width: 40px; height: auto; margin-top: 4px; }

/* Look de dibujo animado antiguo: papel sepia, grano de película y viñeta */
.cartoon { position: relative; background: #f3e3c3; color: #1b1310; overflow: hidden; }
.cartoon::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: multiply;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.cartoon::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, rgba(60,35,10,.35) 100%); }
.cartoon > * { position: relative; z-index: 1; }
.cartoon-title { font-family: var(--cartoon); font-weight: 400; letter-spacing: .01em; line-height: 1; color: #1b1310; text-shadow: 3px 3px 0 var(--gold-2); }
.cartoon .eyebrow { color: #8a5a1c; }
.cartoon-card { background: #fffaf0; border: 3px solid #1b1310; border-radius: 22px; box-shadow: 6px 6px 0 #1b1310; }
.btn-cartoon { background: var(--gold); color: #1b1310; border: 3px solid #1b1310; box-shadow: 4px 4px 0 #1b1310; font-family: var(--cartoon); font-weight: 400; font-size: 1.1rem; letter-spacing: .02em; }
.btn-cartoon:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 #1b1310; background: var(--gold-2); }
.btn-cartoon:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #1b1310; }

/* Personajes en la portada */
.stage .cast { position: absolute; left: -2%; bottom: -4%; width: 40%; z-index: 2; }
.stage .cast .mascot-say { position: absolute; left: 62%; top: -14%; width: max-content; max-width: 200px; }
.stage .cast-2 { position: absolute; right: -2%; top: 2%; width: 26%; z-index: 2; }
@media (max-width: 900px) { .stage .cast { width: 30%; left: 0; } .stage .cast .mascot-say { display: none; } .stage .cast-2 { width: 20%; } }

/* Sección "Conoce a Findo y Chispa" */
.meet { display: grid; grid-template-columns: .95fr 1.05fr; gap: 36px; align-items: center; border-radius: 32px; padding: 40px; border: 3px solid #1b1310; box-shadow: 8px 8px 0 #1b1310; }
.meet > * { min-width: 0; }
.meet .duo { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 0; }
.meet .duo figcaption { font-size: 1.3rem !important; }
.meet .duo figure { margin: 0; text-align: center; }
.meet .duo figcaption { font-family: var(--cartoon); font-size: 1.5rem; margin-top: 4px; }
.meet .duo figcaption small { display: block; font-family: var(--font); font-size: .78rem; font-weight: 700; color: #8a5a1c; letter-spacing: .06em; text-transform: uppercase; }
.meet h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.meet p { color: #4a3826; }
.poses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.poses figure { margin: 0; padding: 10px 6px 8px; text-align: center; }
.poses figure .mascot { width: 100%; max-width: 96px; margin: 0 auto; }
.poses figcaption { font-size: .76rem; font-weight: 700; color: #4a3826; margin-top: 2px; }
@media (max-width: 860px) { .meet { grid-template-columns: 1fr; padding: 26px 18px; } .poses { grid-template-columns: repeat(2, 1fr); } }

/* Confeti */
.confetti-layer { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.confetti-layer i { position: absolute; top: -20px; width: 9px; height: 14px; border-radius: 2px; border: 1.5px solid #1b1310; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

/* "Cómo funciona" con personajes */
.steps.how .card { padding-top: 18px; }
.steps.how .card::before { top: 16px; left: 18px; z-index: 2; border: 2.5px solid #1b1310; background: var(--gold-2); color: #1b1310; }
.how-art { height: 150px; display: grid; place-items: center; margin-bottom: 8px; background: #f3e3c3; border-radius: 14px; border: 2.5px solid #1b1310; overflow: hidden; }
.how-art .mascot { height: 140px; width: auto; }
.final-cta .mascot { width: 120px; }

/* Personaje en estados (cargando, éxito, error) */
.state-mascot { width: 170px; margin: 0 auto 8px; }

/* Página de sorteo v2 */
.includes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.includes li { display: flex; gap: 10px; align-items: flex-start; background: var(--bg); border-radius: 12px; padding: 12px; font-size: .92rem; }
.includes li::before { content: '✓'; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-weight: 800; display: grid; place-items: center; font-size: .75rem; }
@media (max-width: 560px) { .includes { grid-template-columns: 1fr; } }
.chance-line { display: flex; justify-content: space-between; gap: 10px; background: var(--gold-soft); border-radius: 12px; padding: 10px 14px; font-size: .88rem; margin-top: 12px; }
.chance-line b { font-variant-numeric: tabular-nums; }
.buyers { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.buyers li { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; padding: 8px 0; border-bottom: 1px solid var(--line); }
.buyers li:last-child { border: 0; }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.2); z-index: 30; }
