/* =====================================================================
   Landing pública · MacaPesos & Escape Rooms
   Tema oscuro arcade/neón. CSS puro, mobile first.
   ===================================================================== */
:root {
  --fondo: #0b0f19;
  --fondo-2: #111827;
  --superficie: #151c2e;
  --superficie-2: #1b2440;
  --borde: rgba(148, 163, 184, .16);
  --texto: #e5e9f5;
  --texto-2: #9aa5c4;

  --morado: #8b5cf6;
  --cian: #06b6d4;
  --oro: #f59e0b;
  --verde: #10b981;
  --rosa: #ec4899;

  --brillo-morado: 0 0 24px rgba(139, 92, 246, .55);
  --brillo-cian: 0 0 24px rgba(6, 182, 212, .55);
  --brillo-oro: 0 0 24px rgba(245, 158, 11, .55);

  --fuente-titulo: "Orbitron", "Segoe UI", system-ui, sans-serif;
  --fuente-texto: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radio: 18px;
  --gutter: 16px;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: var(--fuente-texto);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--fuente-titulo); line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(28px, 7vw, 60px); font-weight: 800; }
h2 { font-size: clamp(24px, 4.5vw, 38px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--cian); }
small { font-size: .78em; }
img, svg { flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--cian); outline-offset: 3px; border-radius: 6px; }

.contenedor { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.suave { color: var(--texto-2); font-size: 14px; }

.saltar {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--oro); color: #111; padding: 8px 14px; border-radius: 8px; font-weight: 700;
}
.saltar:focus { top: 12px; }

.neon-oro    { color: var(--oro);    text-shadow: var(--brillo-oro); }
.neon-cian   { color: var(--cian);   text-shadow: var(--brillo-cian); }
.neon-morado { color: var(--morado); text-shadow: var(--brillo-morado); }
.neon-verde  { color: var(--verde);  text-shadow: 0 0 24px rgba(16, 185, 129, .55); }

.etiqueta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fuente-titulo); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cian); margin-bottom: 14px;
}
.punto-vivo {
  width: 8px; height: 8px; border-radius: 50%; background: var(--verde);
  box-shadow: 0 0 10px var(--verde); animation: latido 1.6s infinite;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  font: 700 15px/1.2 var(--fuente-texto); text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background-color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-oro { background: linear-gradient(135deg, #fbbf24, var(--oro)); color: #1a1205; box-shadow: 0 8px 24px rgba(245, 158, 11, .3); }
.btn-oro:hover { box-shadow: var(--brillo-oro), 0 8px 24px rgba(245, 158, 11, .35); }
.btn-neon { background: linear-gradient(135deg, var(--morado), #6d28d9); color: #fff; box-shadow: 0 8px 24px rgba(139, 92, 246, .3); }
.btn-neon:hover { box-shadow: var(--brillo-morado), 0 8px 24px rgba(139, 92, 246, .35); }
.btn-contorno { background: rgba(6, 182, 212, .06); color: var(--texto); border-color: rgba(6, 182, 212, .5); }
.btn-contorno:hover { border-color: var(--cian); box-shadow: var(--brillo-cian); }
.btn-chico { min-height: 40px; padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn-ancho { width: 100%; margin-top: 18px; }

/* ---------- Barra superior ---------- */
.barra {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 12px;
  padding: 10px var(--gutter);
  background: rgba(11, 15, 25, .72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.barra.con-sombra { border-bottom-color: var(--borde); background: rgba(11, 15, 25, .9); }
.barra-marca {
  display: flex; align-items: center; gap: 10px; margin-right: auto;
  color: var(--texto); text-decoration: none;
  font-family: var(--fuente-titulo); font-weight: 800; font-size: 17px; line-height: 1.1;
}
.marca-logo {
  display: block; width: auto; height: 68px;
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, .45));
  transition: transform .25s, filter .25s;
}
.barra-marca:hover .marca-logo { transform: scale(1.05) rotate(-2deg); filter: drop-shadow(0 0 16px rgba(139, 92, 246, .7)); }
.marca-logo-pie { height: 96px; }
.barra-marca span { display: flex; flex-direction: column; }
.barra-marca small { font-family: var(--fuente-texto); font-weight: 500; font-size: 12px; color: var(--texto-2); }
.barra-nav { display: none; gap: 26px; }
.barra-nav a { color: var(--texto-2); text-decoration: none; font-weight: 600; font-size: 15px; transition: color .2s; }
.barra-nav a:hover { color: var(--texto); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 56px 0 72px;
  background:
    radial-gradient(60% 50% at 15% 10%, rgba(139, 92, 246, .28), transparent 70%),
    radial-gradient(50% 45% at 90% 30%, rgba(6, 182, 212, .2), transparent 70%),
    var(--fondo);
}
.hero-rejilla {
  position: absolute; inset: auto -20% -30% -20%; height: 70%;
  background-image:
    linear-gradient(rgba(139, 92, 246, .25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, .25) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(500px) rotateX(60deg);
  transform-origin: bottom;
  mask-image: linear-gradient(to top, #000 10%, transparent 90%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%);
  animation: avanzar 6s linear infinite;
}
.hero-cuerpo { position: relative; z-index: 1; }
.hero h1 { max-width: 18ch; }
.hero-sub { color: var(--texto-2); font-size: clamp(16px, 2.2vw, 19px); max-width: 62ch; }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; margin: 28px 0; }
.hero-datos { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 0; color: var(--texto-2); font-size: 14px; }
.hero-datos strong { font-family: var(--fuente-titulo); color: var(--oro); font-size: 20px; margin-right: 4px; }
.hero-monedas { display: none; }
.hero-monedas .flota {
  position: absolute;
  filter: drop-shadow(0 0 14px rgba(245, 158, 11, .55)) drop-shadow(0 0 24px rgba(139, 92, 246, .4));
  animation: flotar 5s ease-in-out infinite;
}
.hero-monedas .f1 { right: 8%; top: 18%; }
.hero-monedas .f2 { right: 22%; top: 8%; animation-delay: -1.5s; opacity: .8; }
.hero-monedas .f3 { right: 4%; bottom: 14%; animation-delay: -3s; opacity: .9; }

/* ---------- Secciones ---------- */
.seccion { padding: 72px 0; position: relative; }
.seccion-alterna { background: linear-gradient(180deg, var(--fondo-2), var(--fondo)); }
.seccion-cabeza { max-width: 680px; margin-bottom: 36px; }
.seccion-cabeza p:last-child { color: var(--texto-2); }

/* Revelado al hacer scroll (la clase .listo la pone app.js; sin JS todo queda visible) */
.js .revelar { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .revelar.listo { opacity: 1; transform: none; }

/* ---------- Showcase de tarjetas ---------- */
.showcase { display: grid; gap: 36px; align-items: center; }
.escena { perspective: 1100px; display: flex; flex-direction: column; align-items: center; }
.escena-ayuda { color: var(--texto-2); font-size: 13px; margin-top: 14px; }

.tarjeta-3d {
  --t1: #6b4f3a; --t2: #3b2a1f; --t-acento: #d6a77a; --t-brillo: rgba(214, 167, 122, .45);
  position: relative; overflow: hidden;
  width: 100%; max-width: 420px; aspect-ratio: 1.586;
  padding: 20px 22px; border-radius: 20px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .18), transparent 55%),
    linear-gradient(135deg, var(--t1), var(--t2));
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 0 40px var(--t-brillo), 0 30px 60px rgba(0, 0, 0, .5);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .15s ease-out, background .6s, box-shadow .6s;
  animation: levitar 6s ease-in-out infinite;
}
.tarjeta-3d.cambiando { animation: girar .6s ease; }
.t-brillo {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--mx, 30%) var(--my, 20%), rgba(255, 255, 255, .28), transparent 45%);
  mix-blend-mode: overlay;
}
.t-fila { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; }
.t-banco { display: flex; align-items: center; gap: 8px; font-family: var(--fuente-titulo); font-weight: 800; font-size: 15px; }
.t-tier {
  font-family: var(--fuente-titulo); font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--t-acento); color: var(--t-acento);
}
.t-medio { justify-content: flex-start; gap: 14px; }
.t-numero { font-family: var(--fuente-titulo); font-size: clamp(14px, 4.2vw, 19px); letter-spacing: .14em; margin: 0; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.t-pie span:first-child { display: flex; flex-direction: column; font-weight: 700; font-size: 14px; letter-spacing: .08em; }
.t-pie small { font-weight: 500; letter-spacing: .1em; opacity: .7; text-transform: uppercase; font-size: 10px; }
.t-emblema { font-size: 30px; filter: drop-shadow(0 0 10px var(--t-brillo)); }

.tarjeta-3d[data-tier="silver"]   { --t1: #9ca3af; --t2: #374151; --t-acento: #e5e7eb; --t-brillo: rgba(229, 231, 235, .4); }
.tarjeta-3d[data-tier="gold"]     { --t1: #f59e0b; --t2: #78350f; --t-acento: #fde68a; --t-brillo: rgba(245, 158, 11, .6); }
.tarjeta-3d[data-tier="platinum"] { --t1: #06b6d4; --t2: #4c1d95; --t-acento: #a5f3fc; --t-brillo: rgba(6, 182, 212, .6); }
.tarjeta-3d[data-tier="black"]    { --t1: #1f1f2e; --t2: #000; --t-acento: #f59e0b; --t-brillo: rgba(139, 92, 246, .65); }
/* Niveles con tarjeta ilustrada (static/img/tarjeta-<tier>.jpg) en lugar del diseño CSS */
.t-foto {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: inherit;
  opacity: 0; transition: opacity .3s;
}
.tarjeta-3d[data-tier="classic"]  .t-foto[data-foto="classic"],
.tarjeta-3d[data-tier="silver"]   .t-foto[data-foto="silver"],
.tarjeta-3d[data-tier="gold"]     .t-foto[data-foto="gold"],
.tarjeta-3d[data-tier="platinum"] .t-foto[data-foto="platinum"],
.tarjeta-3d[data-tier="black"]    .t-foto[data-foto="black"] { opacity: 1; }
/* Con imagen, el diseño CSS queda oculto (sigue como respaldo si la imagen no existe). */
.tarjeta-3d.con-fotos .t-fila, .tarjeta-3d.con-fotos .t-numero { visibility: hidden; }
.tarjeta-3d.con-fotos { background: #0b0f19; }
/* Brillo exterior del color de cada tarjeta ilustrada */
.tarjeta-3d[data-tier="classic"]  { --t-brillo: rgba(234, 128, 64, .6); }
.tarjeta-3d[data-tier="silver"]   { --t-brillo: rgba(226, 232, 240, .45); }
.tarjeta-3d[data-tier="gold"]     { --t-brillo: rgba(251, 191, 36, .7); }
.tarjeta-3d[data-tier="platinum"] { --t-brillo: rgba(56, 189, 248, .65); }
.tarjeta-3d[data-tier="black"]    { --t-brillo: rgba(139, 92, 246, .75); }
.tarjeta-3d[data-tier="black"]::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  padding: 1px;
  background: linear-gradient(120deg, var(--morado), var(--cian), var(--oro), var(--morado));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: arcoiris 4s linear infinite;
}

.tier-lista { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.tier-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 4px; border-radius: 14px; cursor: pointer;
  background: var(--superficie); border: 1px solid var(--borde); color: var(--texto);
  font-family: var(--fuente-texto); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.tier-btn:hover { transform: translateY(-3px); border-color: rgba(139, 92, 246, .6); }
.tier-btn[aria-checked="true"] { border-color: var(--morado); box-shadow: var(--brillo-morado); background: var(--superficie-2); }
.tier-emoji { font-size: 24px; }
.tier-nombre { font-weight: 700; font-size: 12px; }
.tier-paso { display: none; color: var(--texto-2); font-size: 11px; }
.tier-detalle {
  background: var(--superficie); border: 1px solid var(--borde); border-radius: var(--radio);
  padding: 22px; animation: aparecer .4s ease;
}
.tier-detalle h3 small { color: var(--texto-2); font-family: var(--fuente-texto); font-weight: 500; }
.tier-detalle p { color: var(--texto-2); }
.lista-check { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.lista-check li { display: flex; gap: 10px; }
.lista-check li::before { content: "✓"; color: var(--verde); font-weight: 800; text-shadow: 0 0 8px var(--verde); }
.medidor { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.medidor span, .rk-barra span {
  display: block; height: 100%; width: var(--progreso); border-radius: inherit;
  background: linear-gradient(90deg, var(--morado), var(--cian));
  box-shadow: var(--brillo-cian);
}

/* ---------- Misiones ---------- */
.misiones { display: grid; gap: 16px; }
.mision {
  --acento: var(--cian);
  position: relative; padding: 24px; border-radius: var(--radio);
  background: var(--superficie); border: 1px solid var(--borde);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.mision:hover { transform: translateY(-6px); border-color: var(--acento); box-shadow: 0 0 28px color-mix(in srgb, var(--acento) 45%, transparent); }
.mision-icono {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px;
  font-size: 28px; border-radius: 14px;
  background: color-mix(in srgb, var(--acento) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--acento) 50%, transparent);
}
.mision p { color: var(--texto-2); }
.mision-xp { font-family: var(--fuente-titulo); font-size: 12px; letter-spacing: .1em; color: var(--acento); }

/* ---------- Pestañas y tienda ---------- */
.pestanas { display: flex; gap: 8px; overflow-x: auto; padding: 4px; margin-bottom: 20px; scrollbar-width: none; }
.pestana {
  flex: 0 0 auto; min-height: 44px; padding: 10px 18px; border-radius: 12px; cursor: pointer;
  background: var(--superficie); border: 1px solid var(--borde); color: var(--texto-2);
  font: 700 15px var(--fuente-texto); transition: color .2s, border-color .2s, box-shadow .2s;
}
.pestana:hover { color: var(--texto); }
.pestana[aria-selected="true"] { color: var(--texto); border-color: var(--oro); box-shadow: var(--brillo-oro); }
.panel { animation: aparecer .35s ease; }
.panel:focus-visible { outline-offset: 6px; }
.panel-intro { color: var(--texto-2); }
.productos { display: grid; gap: 16px; }
.producto {
  display: flex; flex-direction: column; padding: 22px; border-radius: var(--radio);
  background: linear-gradient(180deg, var(--superficie-2), var(--superficie));
  border: 1px solid var(--borde); transition: transform .25s, border-color .25s;
}
.producto:hover { transform: translateY(-4px); border-color: rgba(245, 158, 11, .5); }
.producto-icono { font-size: 34px; margin-bottom: 10px; }
.producto p { color: var(--texto-2); flex: 1; }
.producto-pie { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.costo { display: flex; gap: 2px; }
.producto.canjeado { animation: canje .7s ease; }

/* ---------- Muro de honor ---------- */
.honor { display: grid; gap: 20px; }
.subasta, .ranking { padding: 24px; border-radius: var(--radio); background: var(--superficie); border: 1px solid var(--borde); }
.subasta { border-color: rgba(245, 158, 11, .4); box-shadow: inset 0 0 40px rgba(245, 158, 11, .06); }
.reloj { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0; }
.reloj div {
  display: flex; flex-direction: column; align-items: center;
  padding: 12px 4px; border-radius: 12px; background: var(--fondo); border: 1px solid var(--borde);
}
.reloj span { font-family: var(--fuente-titulo); font-size: clamp(24px, 7vw, 36px); font-weight: 800; color: var(--oro); text-shadow: var(--brillo-oro); font-variant-numeric: tabular-nums; }
.reloj small { color: var(--texto-2); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.ranking-lista { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.ranking-lista li { display: grid; grid-template-columns: 30px 1fr auto; grid-template-rows: auto auto; gap: 4px 10px; align-items: center; }
.rk-pos {
  grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  font-family: var(--fuente-titulo); font-weight: 800; font-size: 14px; background: var(--superficie-2);
}
.ranking-lista li:first-child .rk-pos { background: var(--oro); color: #1a1205; box-shadow: var(--brillo-oro); }
.rk-nombre { font-weight: 700; }
.rk-total { color: var(--texto-2); font-size: 14px; text-align: right; }
.rk-barra { grid-column: 2 / 4; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.ranking-vacio { margin-top: 16px; padding: 18px; border-radius: 12px; border: 1px dashed var(--borde); color: var(--texto-2); text-align: center; }

/* ---------- Pie ---------- */
.pie { border-top: 1px solid var(--borde); background: var(--fondo-2); padding: 48px 0 24px; }
.pie-rejilla { display: grid; gap: 28px; }
.pie h2 { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--texto-2); }
.pie ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pie a:not(.barra-marca) { color: var(--texto); text-decoration: none; }
.pie a:not(.barra-marca):hover { color: var(--cian); }
.pie-frase { margin-top: 16px; font-style: italic; color: var(--texto-2); max-width: 40ch; }
.pie-legal { text-align: center; color: var(--texto-2); font-size: 13px; margin: 32px 0 0; }

/* ---------- Modal de ingreso ---------- */
.ingreso {
  width: min(440px, calc(100% - 2 * var(--gutter)));
  padding: 28px 24px 24px; border-radius: 20px;
  background: var(--superficie); color: var(--texto);
  border: 1px solid rgba(139, 92, 246, .5);
  box-shadow: var(--brillo-morado), 0 30px 80px rgba(0, 0, 0, .6);
}
.ingreso[open] { animation: emerger .3s ease; }
.ingreso::backdrop { background: rgba(5, 8, 15, .75); backdrop-filter: blur(4px); }
.ingreso h2 { font-size: 22px; }
.ingreso-cerrar {
  position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--borde); background: transparent; color: var(--texto); font-size: 16px; cursor: pointer;
}
.pestanas-chicas .pestana { flex: 1; }
.ingreso-form label { display: block; margin: 14px 0 6px; font-weight: 600; font-size: 14px; }
.ingreso-form input {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px;
  background: var(--fondo); color: var(--texto); border: 1px solid var(--borde);
  font: 16px var(--fuente-texto); transition: border-color .2s, box-shadow .2s;
}
.ingreso-form input:focus { outline: none; border-color: var(--cian); box-shadow: var(--brillo-cian); }
.ingreso-form .suave { margin: 14px 0 0; }

/* ---------- Aviso flotante ---------- */
.aviso {
  position: fixed; left: 50%; bottom: 20px; z-index: 60; transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 2 * var(--gutter));
  padding: 12px 18px; border-radius: 12px;
  background: var(--superficie-2); border: 1px solid var(--verde); box-shadow: 0 0 24px rgba(16, 185, 129, .4);
  animation: emerger .3s ease;
}
.aviso button { margin-left: 10px; background: none; border: 0; color: var(--cian); font: 700 14px var(--fuente-texto); cursor: pointer; text-decoration: underline; }

/* ---------- Animaciones ---------- */
@keyframes latido { 50% { opacity: .35; } }
@keyframes flotar { 50% { transform: translateY(-16px) rotate(8deg); } }
@keyframes levitar { 50% { translate: 0 -8px; } }
@keyframes avanzar { to { background-position: 0 48px; } }
@keyframes girar { 0% { transform: rotateY(0); } 50% { transform: rotateY(90deg) scale(.95); } 100% { transform: rotateY(0); } }
@keyframes arcoiris { to { background-position: 300% 0; } }
@keyframes aparecer { from { opacity: 0; transform: translateY(8px); } }
@keyframes emerger { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes canje {
  30% { transform: scale(1.04); box-shadow: 0 0 40px rgba(16, 185, 129, .6); border-color: var(--verde); }
  100% { transform: none; }
}
.aviso { animation-name: emerger-aviso; }
@keyframes emerger-aviso { from { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- Pantallas medianas ---------- */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .hero-ctas { flex-direction: row; flex-wrap: wrap; }
  .misiones, .productos { grid-template-columns: repeat(2, 1fr); }
  .tier-paso { display: block; }
  .tier-nombre { font-size: 14px; }
  .pie-rejilla { grid-template-columns: 2fr 1fr 1fr; }
}

/* ---------- Escritorio ---------- */
@media (min-width: 960px) {
  .barra-nav { display: flex; }
  .hero-monedas { display: block; }
  .hero { padding: 96px 0 120px; }
  .seccion { padding: 104px 0; }
  .showcase { grid-template-columns: 1fr 1fr; gap: 56px; }
  .misiones, .productos { grid-template-columns: repeat(4, 1fr); }
  .honor { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .revelar { opacity: 1; transform: none; }
}
