/* =========================================================
   El Hincha que más sabe — Landing
   Palette + typography tokens
   ========================================================= */
:root {
  --ink:     #212326;   /* texto oscuro                    */
  --primary: #7b5f9e;   /* morado Típicas — protagonista   */
  --deep:    #5a3f7a;   /* morado oscuro para hover        */
  --soft:    #fef9e7;   /* fondo amarillo muy claro        */
  --line:    #e0d5f0;   /* borde con tinte morado          */
  --accent:  #A7144C;   /* magenta oscuro — acento 2°      */
  --verde:   #fcc835;   /* amarillo dorado Típicas         */

  --container: 1320px;
  --pad: 32px;

  --f-display: "Anton", Impact, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: #fff;
  color: var(--ink);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-wrap: pretty;
}

::selection { background: var(--primary); color: #fff; }


#faq {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M14,9 L14,19 M9,14 L19,14' stroke='%23f5f2fa' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 28px 28px;
}

#puntos {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24'%3E%3Cpath d='M0,12 L12,0 L24,12 L36,0 L48,12' stroke='%23e0d5f0' stroke-width='1.5' fill='none'/%3E%3Cpath d='M0,24 L12,12 L24,24 L36,12 L48,24' stroke='%23e0d5f0' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 48px 24px;
}

#productos {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='300'%3E%3Cpath transform='translate(15,65) rotate(-22,44,11)' d='M0,0 Q11,-5 22,0 Q33,-5 44,0 Q55,-5 66,0 Q77,-5 88,0 A44,22 0 0,1 0,0 Z' fill='%237b5f9e' opacity='.18'/%3E%3Cpath transform='translate(185,12) rotate(18,32,8)' d='M0,0 Q8,-4 16,0 Q24,-4 32,0 Q40,-4 48,0 Q56,-4 64,0 A32,16 0 0,1 0,0 Z' fill='%23fcc835' opacity='.22'/%3E%3Cpath transform='translate(265,80) rotate(48,22,5)' d='M0,0 Q5.5,-3 11,0 Q16.5,-3 22,0 Q27.5,-3 33,0 Q38.5,-3 44,0 A22,11 0 0,1 0,0 Z' fill='%237b5f9e' opacity='.16'/%3E%3Cpath transform='translate(0,148) rotate(-12,22,5)' d='M0,0 Q5.5,-3 11,0 Q16.5,-3 22,0 Q27.5,-3 33,0 Q38.5,-3 44,0 A22,11 0 0,1 0,0 Z' fill='%23fcc835' opacity='.2'/%3E%3Cpath transform='translate(108,118) rotate(38,44,11)' d='M0,0 Q11,-5 22,0 Q33,-5 44,0 Q55,-5 66,0 Q77,-5 88,0 A44,22 0 0,1 0,0 Z' fill='%237b5f9e' opacity='.2'/%3E%3Cpath transform='translate(238,145) rotate(-38,32,8)' d='M0,0 Q8,-4 16,0 Q24,-4 32,0 Q40,-4 48,0 Q56,-4 64,0 A32,16 0 0,1 0,0 Z' fill='%23fcc835' opacity='.18'/%3E%3Cpath transform='translate(32,228) rotate(18,32,8)' d='M0,0 Q8,-4 16,0 Q24,-4 32,0 Q40,-4 48,0 Q56,-4 64,0 A32,16 0 0,1 0,0 Z' fill='%23fcc835' opacity='.2'/%3E%3Cpath transform='translate(168,210) rotate(-18,44,11)' d='M0,0 Q11,-5 22,0 Q33,-5 44,0 Q55,-5 66,0 Q77,-5 88,0 A44,22 0 0,1 0,0 Z' fill='%237b5f9e' opacity='.18'/%3E%3Cpath transform='translate(272,242) rotate(52,22,5)' d='M0,0 Q5.5,-3 11,0 Q16.5,-3 22,0 Q27.5,-3 33,0 Q38.5,-3 44,0 A22,11 0 0,1 0,0 Z' fill='%237b5f9e' opacity='.16'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 320px 300px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); position: relative; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  appearance: none; border: 0; cursor: pointer;
  font-family: var(--f-display);
  font-size: 14px; letter-spacing: .06em;
  padding: 14px 24px;
  text-transform: uppercase;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
  box-shadow: 0 0 0 0 var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn--primary { background: #e52729; color: #fff; }
.btn--primary:hover {
  background: #bf1e20;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--ink);
}
.btn--primary:active { transform: translate(0,0); box-shadow: 0 0 0 0 var(--ink); }

.btn--invert { background: #e52729; color: #fff; }
.btn--invert:hover {
  background: #bf1e20;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--ink);
}

.btn--sm { padding: 10px 18px; font-size: 12px; }
[data-play] { border-radius: 999px; }
.btn--lg { padding: 18px 32px; font-size: 18px; }
.btn--block { width: 100%; justify-content: center; }

.btn-ghost {
  appearance: none; cursor: pointer;
  border: 1px solid var(--ink); background: transparent;
  padding: 6px 12px; font-size: 11px;
  font-family: var(--f-mono);
  letter-spacing: .08em; text-transform: uppercase;
}

/* =========================================================
   Type utilities + sections
   ========================================================= */
.section { padding: 96px 0; background: #fff; }
.section--soft {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.section--dark {
  background: var(--primary); color: #fff;
  position: relative; overflow: hidden;
}

.head { max-width: 760px; }
.head--dark { color: #fff; }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  font-family: var(--f-mono);
  font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
  color: #626463; font-weight: 700;
}
.eyebrow--dark { color: rgba(255,255,255,.7); }
.dash { width: 28px; height: 1px; background: var(--primary); display: inline-block; }
.dash--dark { background: rgba(255,255,255,.5); }

.h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 5.5vw, 76px); line-height: .95;
  margin: 0; text-transform: uppercase; letter-spacing: -.003em;
  color: var(--verde);
}
.h2--dark { color: #fff; }
.lede {
  margin-top: 20px; font-size: 17px; line-height: 1.55;
  color: rgba(33,35,38,.7); max-width: 600px;
}
.lede--dark { color: rgba(255,255,255,.7); }
.aside { margin-top: 24px; font-size: 15px; color: rgba(33,35,38,.7); max-width: 620px; line-height: 1.55; }
.legal { margin-top: 20px; font-size: 12px; font-family: var(--f-mono); color: rgba(33,35,38,.55); letter-spacing: .04em; }
.micro { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(33,35,38,.55); }

/* =========================================================
   Badges
   ========================================================= */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 600; white-space: nowrap;
}
.badge--outline { border: 1px solid #e52729; background: #e52729; color: #fff; }
.badge--solid { background: #e52729; color: #fff; }
.badge--accent { background: #e52729; color: #fff; }
.badge--live { background: #e52729; color: #fff; }
.badge--ghost { color: #fff; border: 1px solid #e52729; background: #e52729; }
.badge .dot {
  width: 7px; height: 7px; border-radius: 99px; background: var(--verde);
  box-shadow: 0 0 0 3px rgba(157,182,66,.3);
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }

/* =========================================================
   Stripes overlay
   ========================================================= */
.stripes {
  position: absolute; inset: 0; pointer-events: none;
  mix-blend-mode: multiply;
}
.stripes--neg { background-image: radial-gradient(circle, var(--primary) 1px, transparent 1px); background-size: 18px 18px; opacity: .12; }
.stripes--pos { background-image: radial-gradient(circle, var(--primary) 1px, transparent 1px); background-size: 14px 14px; opacity: .07; }
.stripes--white { background-image: radial-gradient(circle, #fff 1px, transparent 1px); background-size: 20px 20px; opacity: .12; mix-blend-mode: normal; }
.stripes--white-strong { background-image: radial-gradient(circle, #fff 1px, transparent 1px); background-size: 16px 16px; opacity: .18; mix-blend-mode: normal; }

body.no-stripes .stripes { display: none; }

/* =========================================================
   Placeholders
   ========================================================= */
.ph {
  position: relative; width: 100%; aspect-ratio: 3/2;
  background: var(--soft); overflow: hidden;
  display: grid; place-items: center;
  border: 1px solid var(--line);
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(33,35,38,.06) 0 1px, transparent 1px 10px);
}
.ph::after {
  content: ""; position: absolute; inset: 12px;
  border: 1px dashed rgba(33,35,38,.25);
}
.ph__t {
  position: relative; z-index: 1;
  font-family: var(--f-mono);
  font-size: 10px; color: rgba(33,35,38,.55);
  letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,.85);
  padding: 4px 8px;
}
.ph--lg { aspect-ratio: 16/10; margin-top: 22px; }

.prod__img {
  width: 100%; height: auto;
  display: block;
  border-radius: 12px;
}
.prod__img--lg {
  aspect-ratio: 16/10; margin-top: 22px;
  width: 100%; object-fit: cover; display: block;
  border-radius: 12px; background: #fff;
}
.prod__img--contain {
  object-fit: contain;
  background: var(--soft);
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--verde);
  border-bottom: 1px solid transparent;
  transition: background .2s ease, backdrop-filter .2s ease, border-color .2s ease;
}
.nav.is-scrolled {
  background: var(--verde);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom-color: rgba(0,0,0,.12);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: #fff;
  font-family: var(--f-display); font-size: 22px; letter-spacing: .02em;
}
.nav__logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--primary); display: grid; place-items: center;
  color: #fff; font-size: 16px;
}
.nav__menu { display: flex; gap: 28px; align-items: center; }

/* ── Hamburger button ── */
.nav__burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 6px;
  background: transparent; border: none; cursor: pointer;
  margin-left: auto;
}
.nav__burger span {
  display: block; height: 2px; border-radius: 2px;
  background: #fff;
  transition: transform .3s ease, opacity .2s ease, width .3s ease;
}
.nav__burger span:nth-child(1) { width: 22px; }
.nav__burger span:nth-child(2) { width: 28px; }
.nav__burger span:nth-child(3) { width: 18px; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 26px; }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 26px; }
.nav__menu a {
  color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 500;
  font-family: var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(105deg, rgba(50,28,80,.82) 0%, rgba(90,63,122,.76) 60%, rgba(123,95,158,.68) 100%),
    url(img/banner.jpg) center/cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero__inner {
  max-width: var(--container); margin: 0 auto;
  padding: 56px var(--pad) 80px;
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 48px; align-items: center;
  position: relative;
}
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(56px, 9vw, 144px);
  line-height: .95; letter-spacing: -.005em;
  margin: 0 0 36px; color: #fff;
  text-transform: uppercase;
}
.hero__title-em {
  color: var(--verde);
  font-style: italic;
  padding: 0 .05em;
}
.hero__lede {
  font-size: 18px; line-height: 1.5; max-width: 520px;
  color: rgba(255,255,255,.80); margin: 0 0 32px;
}
.hero__lede strong { color: #fff; }
.hero__cta {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.hero__cta .micro { color: rgba(255,255,255,.55); }
.hero__cta .btn--primary { background: #e52729; color: #fff; }
.hero__cta .btn--primary:hover { background: #bf1e20; color: #fff; }

/* Countdown */
.countdown {
  margin-top: 36px; padding: 20px 24px;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  display: inline-flex; gap: 28px; align-items: center;
}
body.no-countdown .countdown { display: none; }
.countdown__label {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.6); writing-mode: vertical-rl;
  transform: rotate(180deg); font-weight: 700;
}
.countdown__n {
  font-family: var(--f-display); font-size: 48px; line-height: 1; color: #fff;
  font-variant-numeric: tabular-nums;
}
.countdown__l {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-top: 4px;
}
.countdown__cell { text-align: center; }

/* Hero side */
.hero__side-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.hero__side-logo {
  height: 74px;
  width: auto;
  object-fit: contain;
}
.hero__side {
  position: relative;
  align-self: center;
  max-height: 800px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 0 2px rgba(255,255,255,.2), 16px 16px 0 rgba(255,255,255,.1);
}
.hero__side::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(123,95,158,.25) 0%, rgba(167,20,76,.18) 100%);
  mix-blend-mode: multiply;
  border-radius: 12px;
  z-index: 1;
}
.hero__side-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.15) contrast(1.05);
}
@keyframes hero-zoom {
  from { transform: scale(1.08) translateX(0); }
  to   { transform: scale(1.14) translateX(-2%); }
}

/* =========================================================
   TICKER
   ========================================================= */
.ticker {
  background: var(--primary);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 11px 0;
  border-bottom: 2px solid var(--deep);
}
.ticker__track {
  display: flex;
  width: max-content;
  gap: 24px;
  padding-right: 24px;
  animation: ticker-scroll 90s linear infinite;
  will-change: transform;
}
.ticker__item {
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 24px;
}
.ticker__item::after {
  content: '✦';
  font-size: 13px;
  opacity: .5;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   PRODUCTOS
   ========================================================= */
.grid--products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 48px;
}
.prod {
  background: #fff; padding: 20px 20px 22px;
  display: flex; flex-direction: column;
  position: relative; cursor: pointer;
  transition: background .2s ease;
}
.prod:hover { background: var(--soft); }
.prod__row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 14px; margin-bottom: 6px; min-height: 22px;
}
.prod__row .micro { font-size: 10px; color: rgba(33,35,38,.45); }
.prod__title {
  font-family: var(--f-display); font-size: 24px; line-height: 1.1;
  margin: 4px 0 10px; color: #626463; text-transform: uppercase; font-weight: 400;
}
.prod__note { font-size: 13px; color: rgba(33,35,38,.7); }
.prod__price {
  margin-top: auto; padding-top: 14px;
  font-weight: 700; font-size: 15px; color: var(--verde);
}

.prod--more {
  background: var(--primary); color: #fff;
  padding: 28px 24px;
  justify-content: space-between;
  min-height: 280px;
  cursor: default;
}
.prod--more:hover { background: var(--primary); }
.prod__icon { font-size: 48px; line-height: 1; }
.prod__more-title {
  font-family: var(--f-display); font-size: 36px; line-height: .95;
  text-transform: uppercase;
}
.prod__more-sub {
  margin-top: 12px; font-size: 12px;
  font-family: var(--f-mono);
  letter-spacing: .06em; opacity: .8;
}

/* =========================================================
   COMO / STEPS
   ========================================================= */
.grid--steps {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.step {
  background: var(--verde); padding: 28px 26px;
  border: 1px solid var(--verde); position: relative;
      border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.step__n {
  font-family: var(--f-display); font-size: 64px; line-height: .9;
  color: #fff; letter-spacing: -.02em;
}
.step__icon { font-size: 34px; margin-top: 8px; margin-bottom: 14px; }
.step__img {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover; display: block;
  border-radius: 10px;
  margin-top: 12px; margin-bottom: 16px;
}
.step__title {
  font-family: var(--f-display); font-size: 22px; line-height: 1.15;
  margin: 0 0 12px; text-transform: uppercase; color: #fff; font-weight: 400;
}
.step__desc { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.85); margin: 0; }

/* =========================================================
   RANKING MECÁNICA
   ========================================================= */
.rk-mecanica {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.rk-mecanica__title {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 42px);
  text-transform: uppercase;
  margin: 12px 0 16px;
  line-height: 1;
}

.rk-mecanica__desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(17,17,17,.75);
  margin: 0 0 12px;
}

.rk-mecanica__reset {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0;
  margin-top: 20px;
}

.rk-mecanica__dummy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}

.rk-dummy__header {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(17,17,17,.5);
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}

.rk-dummy__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}

.rk-dummy__row--1 { background: rgba(6,127,56,.08); }
.rk-dummy__row--2 { background: rgba(6,127,56,.04); }
.rk-dummy__row--3 { background: rgba(6,127,56,.02); }
.rk-dummy__row--out { opacity: .5; }

.rk-dummy__medal { font-size: 18px; width: 24px; flex-shrink: 0; }

.rk-dummy__pos {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  width: 20px;
  flex-shrink: 0;
  color: rgba(17,17,17,.4);
}

.rk-dummy__nombre {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
}

.rk-dummy__pts {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.rk-dummy__tag {
  font-size: 10px;
  font-family: var(--f-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--primary);
  color: #fff;
  padding: 3px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

.rk-dummy__tag--out {
  background: transparent;
  color: rgba(17,17,17,.4);
  border: 1px solid var(--line);
}

.rk-dummy__footer {
  font-size: 10px;
  font-family: var(--f-mono);
  color: rgba(17,17,17,.3);
  text-align: center;
  padding: 10px;
  letter-spacing: .06em;
}

@media (max-width: 860px) {
  .rk-mecanica {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* =========================================================
   PREMIOS
   ========================================================= */
.prizes-slider { position: relative; margin-top: 56px; }
.prizes-slider__track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.prizes-slider__controls { display: none; }
.prizes-slider__btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  font-size: 18px; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  transition: background .2s, transform .2s;
  flex-shrink: 0;
}
.prizes-slider__btn:hover { background: var(--soft); transform: scale(1.08); }
.prizes-slider__dots { display: flex; gap: 8px; align-items: center; }
.prizes-slider__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line); border: none; cursor: pointer;
  padding: 0; transition: background .25s, transform .25s;
}
.prizes-slider__dot.is-active { background: var(--primary); transform: scale(1.4); }
.grid--prizes {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.prize {
  background: var(--primary); color: #fff;
  padding: 32px 32px 28px;
  border: 1px solid var(--primary);
  border-radius: 16px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  overflow: hidden;
}
.prize--feat {
  background: var(--primary); color: #fff;
  padding: 32px 32px 28px;
  border: 2px solid var(--verde);
  border-radius: 16px;
  justify-content: flex-start;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.22);
}
.prize__badge {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .1em; color: var(--accent);
  font-weight: 700; text-transform: uppercase;
}
.prize__big-icon { font-size: 64px; margin-top: 24px; margin-bottom: 18px; }
.prize__img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover;
  margin-top: 24px; margin-bottom: 18px;
  border-radius: 12px;
}
.prize__title {
  font-family: var(--f-display);
  font-size: clamp(7px, 2.2vw, 15px);
  line-height: 1.5;
  margin: 22px 0 0;
  text-transform: uppercase;
  color: #fff;
  font-weight: 400;
}
.prize__title--dark { font-size: 36px; margin: 0 0 14px; }
.prize__desc { font-size: 14px; color: #fff; margin: 0; line-height: 1.5; max-width: 380px; }
.prize__desc--dark { color: rgba(33,35,38,.7); }
.prize .badge { margin-top: auto; align-self: flex-start; }
.prize--feat .badge { margin-top: 0; align-self: flex-start; }

/* =========================================================
   FAQ
   ========================================================= */
.faq__layout {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start;
}
.faq { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--ink); }
.faq__summary {
  appearance: none; background: none; border: none; cursor: pointer;
  width: 100%; padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--f-display); font-size: 24px; line-height: 1.1;
  text-transform: uppercase; color: var(--ink); text-align: left;
}
.faq__plus {
  width: 36px; height: 36px; border-radius: 99px;
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
  display: grid; place-items: center; flex-shrink: 0;
  font-size: 18px; transition: background .25s ease, border-color .25s ease, transform .3s ease;
  font-family: var(--f-body);
}
.faq__item.is-open .faq__plus {
  background: var(--primary); color: #fff;
  border-color: var(--primary);
  transform: rotate(45deg);
}
.faq__body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .38s ease, opacity .3s ease;
}
.faq__body > p {
  overflow: hidden;
  min-height: 0;
}
.faq__item.is-open .faq__body {
  grid-template-rows: 1fr;
  opacity: 1;
}
.faq__body p {
    margin: 0;
    padding: 0 0 28px;
    font-size: 16px;
    line-height: 1.55;
    color: rgba(33, 35, 38, .75);
    max-width: 90%;
}

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta-final {
  padding: 120px 0; color: #fff;
  background:
    linear-gradient(180deg, rgba(50,28,80,.90) 0%, rgba(123,95,158,.82) 100%),
    url(https://images.unsplash.com/photo-1489944440615-453fc2b6a9a9?q=80&w=1623&auto=format&fit=crop) center/cover no-repeat;
  position: relative; overflow: hidden; text-align: center;
}
.cta-final__inner { max-width: 1100px; margin: 0 auto; padding: 0 var(--pad); position: relative; }
.cta-final__icon { font-size: 80px; margin-bottom: 24px; }
.cta-final__title {
  font-family: var(--f-display);
  font-size: clamp(56px, 9vw, 132px); line-height: 1;
  margin: 0 0 32px; text-transform: uppercase; letter-spacing: -.005em;
}
.cta-final__hl {
  display: inline-block;
    padding: 10px .12em;
    background: #fcc835;
    color: #fff;
    line-height: 1;
    border-radius: 30px;
}
.cta-final__lede {
  font-size: 19px; max-width: 560px; margin: 0 auto 40px;
  color: rgba(255,255,255,.85); line-height: 1.5;
}
.cta-final__legal {
  margin-top: 32px; font-size: 11px;
  font-family: var(--f-mono);
  letter-spacing: .1em; text-transform: uppercase; opacity: .75;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--verde); color: #7A7A7A; padding: 56px 0 40px; }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px;
}
.footer__brand {
  font-family: var(--f-display); font-size: 24px; color: #7A7A7A;
  text-transform: uppercase; margin-bottom: 10px;
}
.footer__desc { font-size: 13px; line-height: 1.55; max-width: 380px; margin: 0; }
.footer__title {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: #7A7A7A; margin-bottom: 14px; font-weight: 600;
}
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__list a { color: inherit; text-decoration: none; font-size: 13px; }
.footer__bottom {
  margin-top: 56px; padding: 24px var(--pad) 0;
  border-top: 1px solid rgba(122,122,122,.25);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; font-family: var(--f-mono);
  letter-spacing: .06em; text-transform: uppercase;
}

.footer__social {
  display: flex; gap: 12px; align-items: center;
}
.footer__social-link {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  color: #7A7A7A;
  border: 1px solid rgba(122,122,122,.3);
  transition: color .2s, border-color .2s, background .2s;
}
.footer__social-link svg { width: 16px; height: 16px; }
.footer__social-link:hover {
  color: #555;
  border-color: rgba(122,122,122,.6);
  background: rgba(122,122,122,.1);
}

/* =========================================================
   MODAL
   ========================================================= */
.modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(33,35,38,.75); backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 24px;
  animation: fade .2s ease;
}
.modal[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal__card {
  background: #fff; max-width: 540px; width: 100%;
  padding: 40px 36px 32px;
  border: 1px solid var(--ink);
  box-shadow: 12px 12px 0 var(--accent);
  position: relative;
}
.modal__close {
  position: absolute; top: 14px; right: 14px;
  appearance: none; border: 1px solid var(--ink); background: transparent;
  width: 34px; height: 34px; border-radius: 99px; cursor: pointer;
  font-size: 16px;
}
.modal__title {
  font-family: var(--f-display); font-size: 40px; line-height: .95;
  margin: 18px 0 16px; text-transform: uppercase;
}
.modal__lede { font-size: 15px; color: rgba(33,35,38,.7); margin: 0 0 24px; line-height: 1.5; }
.dropzone {
  border: 2px dashed var(--primary); padding: 36px 20px;
  text-align: center; margin-bottom: 24px; background: var(--soft);
  cursor: pointer;
}
.dropzone__icon { font-size: 40px; margin-bottom: 8px; }
.dropzone__t {
  font-family: var(--f-mono);
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary); font-weight: 700;
}
.dropzone__sub { font-size: 12px; color: rgba(33,35,38,.55); margin-top: 6px; }

/* =========================================================
   TWEAKS PANEL
   ========================================================= */
.twk {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  width: 280px;
  background: rgba(250,249,247,.85);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border: .5px solid rgba(255,255,255,.6);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 12px 40px rgba(0,0,0,.18);
  font: 11.5px/1.4 ui-sans-serif, system-ui, sans-serif;
  color: #29261b;
  overflow: hidden;
}
.twk[hidden] { display: none; }
.twk__hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 8px 10px 14px;
}
.twk__hd b { font-size: 12px; font-weight: 600; letter-spacing: .01em; }
.twk__x {
  appearance: none; border: 0; background: transparent;
  color: rgba(41,38,27,.55);
  width: 22px; height: 22px; border-radius: 6px; cursor: pointer; font-size: 13px;
}
.twk__x:hover { background: rgba(0,0,0,.06); color: #29261b; }
.twk__body { padding: 2px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.twk__sect {
  font-size: 10px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(41,38,27,.45);
  margin: 8px 0 0;
}
.twk__row { display: flex; flex-direction: column; gap: 5px; }
.twk__row label { color: rgba(41,38,27,.72); font-weight: 500; }
.twk__row--h { flex-direction: row; align-items: center; justify-content: space-between; }
.twk__seg {
  display: flex; gap: 2px; background: rgba(0,0,0,.06); padding: 2px; border-radius: 7px;
}
.twk__seg button {
  flex: 1; appearance: none; border: 0; background: transparent;
  padding: 5px 6px; font-size: 11px; cursor: pointer; border-radius: 5px;
  text-transform: capitalize; color: rgba(41,38,27,.65);
}
.twk__seg button.is-on { background: #fff; color: #29261b; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.twk__sw {
  appearance: none; border: 0; cursor: pointer;
  width: 30px; height: 18px; border-radius: 99px;
  background: rgba(0,0,0,.18); position: relative;
  transition: background .15s ease;
}
.twk__sw::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 14px; height: 14px; border-radius: 50%; background: #fff;
  transition: transform .15s ease;
}
.twk__sw.is-on { background: var(--primary); }
.twk__sw.is-on::after { transform: translateX(12px); }


/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
  .prizes-slider__track { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1280px) and (min-width: 961px) {
  .prize__title { font-size: clamp(18px, 2.8vw, 28px); }
}
@media (max-width: 960px) {
  .prize__title { font-size: clamp(24px, 5vw, 32px); }
}
@media (max-width: 1100px) {
  .grid--products { grid-template-columns: repeat(2, 1fr); }
  .grid--prizes { grid-template-columns: 1fr 1fr; }
  .grid--prizes .prize--feat { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .nav__burger { display: flex; }
  .nav__menu {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform .3s ease, opacity .25s ease;
  }
  .nav__menu.is-open {
    transform: translateY(0); opacity: 1; pointer-events: auto;
  }
  .nav__menu a {
    width: 100%; padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    color: var(--ink);
  }
  .nav__menu .nav__ranking-link {
    display: block;
    width: 100%; padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    color: var(--ink);
  }
  .nav__menu .btn { margin-top: 16px; width: 100%; text-align: center; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 48px; }
  .faq__layout { grid-template-columns: 1fr; }
  .grid--products { grid-template-columns: repeat(2, 1fr); }
  .grid--points { grid-template-columns: 1fr; }
  .prizes-slider__track {
    display: block;
    position: relative;
    overflow: hidden;
  }
  .prizes-slider__track .prize,
  .prizes-slider__track .prize--feat {
    position: absolute; top: 0; left: 0; width: 100%;
    min-height: 0;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity .4s ease, transform .45s cubic-bezier(0.22,1,0.36,1);
    pointer-events: none;
  }
  .prizes-slider__track .prize.is-active,
  .prizes-slider__track .prize--feat.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }
  .prizes-slider__controls {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; margin-top: 20px;
  }
  .footer__grid { grid-template-columns: 1fr; }
  .countdown { gap: 18px; padding: 14px 18px; }
  .countdown__n { font-size: 36px; }
  .twk { width: calc(100vw - 32px); }
}
@media (max-width: 600px) {
  .container, .nav__inner, .hero__inner { padding-left: 20px; padding-right: 20px; }
  .section { padding: 64px 0; }
  .footer__bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
  .grid--products { grid-template-columns: 1fr; }
}

/* =========================================================
   NAV RANKING LINK
   ========================================================= */
.nav__ranking-link {
  all: unset;
  cursor: pointer;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--f-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.nav__ranking-link:hover { color: var(--primary); }

/* =========================================================
   PUBLIC RANKING MODAL
   ========================================================= */
.rk-modal__card { max-width: 560px; max-height: 90dvh; overflow-y: auto; scrollbar-width: thin; }
.pub-ranking__loading, .pub-ranking__empty { text-align: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(17,17,17,.4); padding: 32px 0; }
.pub-ranking__list { display: flex; flex-direction: column; gap: 4px; }
.pub-rk-tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; background: var(--line); padding: 3px; margin-bottom: 20px; }
.pub-rk-tab { appearance: none; border: none; background: #fff; padding: 12px 6px; font-family: var(--f-display); font-size: 13px; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; color: rgba(17,17,17,.4); transition: background .15s, color .15s; position: relative; }
.pub-rk-tab:hover:not(.is-active) { background: var(--soft); color: var(--ink); }
.pub-rk-tab.is-active { background: var(--primary); color: #fff; }
.pub-rk-tab.is-active::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--verde); }
.pub-rk-desc { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(17,17,17,.4); margin-bottom: 12px; }
.pub-rk-hist { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 10px 14px; border-left: 3px solid var(--line); background: var(--soft); }
.pub-rk-hist-fecha { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(17,17,17,.4); text-align: center; line-height: 1.2; }
.pub-rk-row { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-left: 3px solid var(--line); background: var(--soft); transition: background .15s; }
.pub-rk-row:hover { background: #d4eddf; }
.pub-rk-row.top-1 { border-left-color: var(--accent); background: #fdf0ee; }
.pub-rk-row.top-2 { border-left-color: var(--primary); background: #e8f5ee; }
.pub-rk-row.top-3 { border-left-color: var(--primary); background: #f0faf4; }
.pub-rk-pos { font-family: var(--f-display); font-size: 28px; line-height: 1; color: rgba(17,17,17,.2); text-align: center; }
.pub-rk-row.top-1 .pub-rk-pos { color: var(--accent); }
.pub-rk-row.top-2 .pub-rk-pos { color: var(--primary); }
.pub-rk-row.top-3 .pub-rk-pos { color: var(--primary); opacity: .7; }
.pub-rk-info { overflow: hidden; }
.pub-rk-nombre { font-family: var(--f-display); font-size: 16px; text-transform: uppercase; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.1; }
.pub-rk-local { font-family: var(--f-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: rgba(17,17,17,.45); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pub-rk-pts { font-family: var(--f-display); font-size: 18px; color: var(--primary); text-align: right; white-space: nowrap; }
.pub-rk-row.top-1 .pub-rk-pts { color: var(--accent); }
.pub-rk-time { font-family: var(--f-mono); font-size: 10px; letter-spacing: .05em; color: rgba(17,17,17,.4); text-align: right; margin-top: 3px; }

/* =========================================================
   GAME MODAL
   ========================================================= */
.gmodal__card { max-width: 760px; width: 100%; max-height: 92dvh; overflow-y: auto; padding: 28px 36px 32px; scrollbar-width: thin; }
.gscreen { animation: gfadein .22s ease; }
.gscreen[hidden] { display: none !important; }
@keyframes gfadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (min-width: 600px) {
  .gmodal__card { overflow-y: hidden; max-height: none; }
  #gform { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .gfield--full { grid-column: 1 / -1; }
  #gscreen-reg .modal__lede { margin-top: 8px; margin-bottom: 4px; font-size: 15px; }
  .gfield { margin-bottom: 14px; }
  .ginput { padding: 7px 0; font-size: 14px; }
  .gdropzone { padding: 14px 16px; }
  .gdropzone__icon { font-size: 22px; margin-bottom: 4px; }
}

.gfield { margin-bottom: 20px; }
.glabel { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(17,17,17,.5); font-weight: 700; margin-bottom: 7px; }
.ginput { width: 100%; border: none; border-bottom: 2px solid var(--line); padding: 9px 0; font-family: var(--f-body); font-size: 15px; color: var(--ink); background: transparent; outline: none; appearance: none; transition: border-color .2s; }
.ginput:focus { border-bottom-color: var(--primary); }
.gselect-wrap { position: relative; }
.gselect-wrap::after { content: '▾'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; color: rgba(17,17,17,.4); font-size: 13px; }
select.ginput { cursor: pointer; }
.gdropzone { display: block; cursor: pointer; border: 2px dashed var(--primary); background: var(--soft); padding: 22px 20px; text-align: center; transition: border-color .2s, background .2s; margin-top: 2px; }
.gdropzone:hover { border-color: var(--accent); background: #fdf0ee; }
.gdropzone__icon { font-size: 28px; display: block; margin-bottom: 6px; }
.gdropzone__t { display: block; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); font-weight: 700; }
.gdropzone__sub { display: block; font-size: 11px; color: rgba(17,17,17,.45); margin-top: 4px; }
#g-preview { width: 100%; max-height: 160px; object-fit: contain; border-radius: 6px; margin-top: 12px; }
.gfield-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: rgba(17,17,17,.65); line-height: 1.45; margin-bottom: 6px; }
.gfield-check input { margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }
.glink { color: var(--primary); }
.gerror { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: var(--accent); font-weight: 700; min-height: 18px; margin-top: 6px; }

.gval { text-align: center; padding: 12px 0 8px; }
.gval__spinner { width: 44px; height: 44px; border: 4px solid var(--line); border-top-color: var(--primary); border-radius: 50%; animation: gvspin .8s linear infinite; margin: 0 auto 24px; }
@keyframes gvspin { to { transform: rotate(360deg); } }
.gval__steps { margin-top: 28px; text-align: left; display: flex; flex-direction: column; gap: 16px; }
.gval__step { display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(17,17,17,.3); transition: color .3s; }
.gval__dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; transition: background .3s, border-color .3s; }
.gval__step.is-active { color: var(--primary); }
.gval__step.is-active .gval__dot { background: var(--primary); border-color: var(--primary); }
.gval__step.is-done { color: var(--ink); }
.gval__step.is-done .gval__dot { background: var(--primary); border-color: var(--primary); }
.gval__step.is-fail { color: var(--accent); }
.gval__step.is-fail .gval__dot { background: var(--accent); border-color: var(--accent); }

.gtrivia__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.gtrivia__counter { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(17,17,17,.5); font-weight: 700; }
.gtrivia__timer-num { font-family: var(--f-display); font-size: 30px; color: var(--primary); line-height: 1; transition: color .3s; }
.gtrivia__timer-bar-wrap { width: 100%; height: 5px; background: var(--line); margin-bottom: 8px; }
.gtrivia__timer-bar { height: 100%; background: var(--primary); width: 100%; transition: width .09s linear, background .3s; }
.gtrivia__progress { width: 100%; height: 3px; background: var(--soft); margin-bottom: 28px; }
.gtrivia__progress-fill { height: 100%; background: var(--primary); transition: width .4s ease; }
.gtrivia__question { font-family: var(--f-display); font-size: clamp(20px, 3.5vw, 28px); line-height: 1.15; text-transform: uppercase; color: var(--ink); margin: 0 0 22px; }
.gtrivia__options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gopt { appearance: none; border: 1.5px solid var(--ink); background: #fff; padding: 14px 12px; font-family: var(--f-body); font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; text-align: left; line-height: 1.35; transition: transform .12s ease, background .12s ease, box-shadow .12s ease, color .12s ease; box-shadow: 0 0 0 0 var(--ink); }
@media (hover: hover) { .gopt:hover:not(:disabled) { background: var(--primary); color: #fff; transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--ink); } }
.gopt:disabled { cursor: default; }
.gopt.is-correct { background: var(--primary) !important; color: #fff !important; border-color: var(--primary) !important; box-shadow: none !important; transform: none !important; animation: gpulse .45s ease !important; }
.gopt.is-wrong   { background: var(--accent)  !important; color: #fff !important; border-color: var(--accent)  !important; box-shadow: none !important; transform: none !important; animation: gshake .5s  ease !important; }
.gopt.is-dim     { opacity: .3; }
.gopt.is-hint    { border-color: #22c55e; box-shadow: inset 0 0 0 1px #22c55e; }
@keyframes gpulse { 0%,100% { transform: scale(1); } 40% { transform: scale(1.05); } 70% { transform: scale(.97); } }
@keyframes gshake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 45% { transform: translateX(7px); } 65% { transform: translateX(-5px); } 82% { transform: translateX(4px); } }
#gscreen-trivia { position: relative; overflow: hidden; padding-top: 48px; }
.gtrivia__bg-num { position: absolute; bottom: -20px; right: -12px; font-family: var(--f-display); font-size: clamp(120px, 28vw, 200px); line-height: 1; color: var(--primary); opacity: .07; pointer-events: none; user-select: none; z-index: 0; }
#gscreen-trivia > *:not(.gtrivia__bg-num) { position: relative; z-index: 1; }

.gresult { display: flex; flex-direction: column; gap: 0; }
.gresult__outcome { font-family: var(--f-display); font-size: clamp(28px, 7vw, 42px); text-align: center; padding: 16px 0 4px; letter-spacing: .02em; }
.gresult__outcome--win  { color: var(--primary); }
.gresult__outcome--lose { color: rgba(17,17,17,.45); }
.gresult__score-wrap { text-align: center; padding: 16px 0 20px; }
.gresult__eyebrow { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(17,17,17,.4); margin-bottom: 4px; }
.gresult__total { font-family: var(--f-display); font-size: clamp(80px, 20vw, 130px); line-height: .85; color: var(--primary); }
.gresult__pts-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(17,17,17,.45); margin-top: 4px; }
.gresult__stats { display: flex; align-items: stretch; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.gresult__stat { flex: 1; text-align: center; padding: 14px 8px; }
.gresult__stat-icon { font-size: 20px; margin-bottom: 4px; }
.gresult__stat-val { font-family: var(--f-display); font-size: clamp(22px, 5vw, 32px); color: var(--ink); line-height: 1; }
.gresult__stat-label { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(17,17,17,.45); margin-top: 4px; }
.gresult__stat-divider { width: 1px; background: var(--line); flex-shrink: 0; }
.gresult__rankings-wrap { display: flex; gap: 4px; margin-bottom: 4px; }
.gresult__rankings-wrap .gresult__ranking { flex: 1; margin-bottom: 0; }
.gresult__ranking { text-align: center; padding: 20px 16px; background: var(--primary); color: #fff; margin-bottom: 4px; }
.gresult__ranking.top-1 { background: var(--accent); }
.gresult__ranking-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 6px; }
.gresult__ranking-num { font-family: var(--f-display); font-size: clamp(56px, 14vw, 96px); line-height: .9; color: #fff; }
.gresult__ranking-num.loading { font-size: clamp(24px, 6vw, 36px); opacity: .5; }
.gresult__ranking-msg { font-family: var(--f-body); font-size: 14px; font-weight: 700; color: rgba(255,255,255,.9); margin-top: 8px; }

.grk__tabs { display: flex; gap: 0; margin-bottom: 20px; border: 1px solid var(--ink); overflow: hidden; }
.grk__tab { flex: 1; appearance: none; border: none; background: #fff; padding: 10px; font-family: var(--f-display); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; border-right: 1px solid var(--ink); transition: background .15s, color .15s; }
.grk__tab:last-child { border-right: none; }
.grk__tab.is-active { background: var(--primary); color: #fff; }
.grk__list { display: flex; flex-direction: column; gap: 4px; max-height: 280px; overflow-y: auto; }
.grk__row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: 13px; border: 1px solid var(--line); background: #fff; }
.grk__row.is-me { background: var(--soft); border-color: var(--primary); font-weight: 700; }
.grk__pos { font-family: var(--f-display); font-size: 18px; color: var(--primary); width: 28px; flex-shrink: 0; }
.grk__nombre { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grk__tiempo { font-family: var(--f-mono); font-size: 11px; color: rgba(17,17,17,.45); }
.grk__pts { font-family: var(--f-display); font-size: 15px; color: var(--primary); white-space: nowrap; }
.grk__mi-pos { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(17,17,17,.5); padding: 10px 0 0; }
.grk__loading { text-align: center; padding: 24px; color: rgba(17,17,17,.4); font-family: var(--f-mono); font-size: 12px; }

@media (max-width: 599px) {
  .modal { padding: 0; align-items: stretch; }
  .gmodal__card { max-height: 100dvh; height: 100dvh; border-radius: 0; border: none; box-shadow: none; padding: 16px 20px 20px; overflow-x: hidden; overflow-y: auto; width: 100vw; max-width: 100vw; }
  .gopt { box-shadow: none !important; transform: none !important; }
  .gopt:hover:not(:disabled) { transform: none; box-shadow: none; }
  .gscreen { overflow: hidden; width: 100%; }
  #gform, .gtrivia__options { width: 100%; }
  .ginput, .gdropzone, .btn { max-width: 100%; box-sizing: border-box; }
  .modal__close { top: 10px; right: 10px; }
  #gscreen-reg .modal__title { font-size: 28px; margin: 6px 0 4px; }
  #gscreen-reg .modal__lede { display: none; }
  .gfield { margin-bottom: 12px; }
  .glabel { font-size: 10px; margin-bottom: 4px; }
  .ginput { padding: 6px 0; font-size: 14px; }
  .gdropzone { padding: 12px; }
  .gdropzone__icon { font-size: 20px; margin-bottom: 3px; }
  .gdropzone__t { font-size: 11px; }
  .gdropzone__sub { font-size: 10px; }
  .gfield-check { font-size: 12px; margin-bottom: 4px; }
  .gerror { font-size: 11px; }
  .gtrivia__options { grid-template-columns: 1fr; gap: 8px; }
  .gopt { padding: 12px 10px; font-size: 13px; }
  .gval__steps { margin-top: 16px; gap: 12px; }
  #gscreen-trivia, #gscreen-val, #gscreen-result, #gscreen-ranking { display: flex; flex-direction: column; justify-content: center; height: calc(100dvh - 36px); }
  #gscreen-trivia { padding-top: 52px; }
  .gtrivia__header { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 6px; }
  .gtrivia__timer-num { font-size: 24px; }
  .gtrivia__progress { margin-bottom: 20px; }
  .gtrivia__question { font-size: clamp(18px, 5vw, 22px); margin-bottom: 16px; }
  .grk__list { max-height: 200px; }
}

/* ── Overrides de sección ── */
#premios .lede { max-width: 100%; }
#premios .head { max-width: 100%; }

@media (max-width: 640px) {
  .premios-periodos { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
  .rk-mecanica__reset { margin-top: 20px; }
}
}
