/* Giro Frutal — style.css
 * Path: /entretenimiento/giro-frutal/assets/css/style.css
 * Rediseño cartoon/ilustrado: contornos negros gruesos, gradientes vibrantes,
 * botones glossy 3D. Móvil primero, sin frameworks ni recursos externos.
 * v2 (2026-11-26): cabina con marco cromado, ventana metálica, consola de
 * 6 botones en una fila, cuerpo inferior naranja y suelo de colores.
 * v3 (2026-11-26): botones RETENER alineados debajo de cada rodillo.
 * v5 (2026-11-26): cartel de celebración y panel «Mis estadísticas».
 * v6 (2026-11-26): convive con /design/header.php + footer.php: reglas globales
 *     (body, a:focus) pasadas a .gf-pagina; decoración absolute, no fixed;
 *     .btn con valores propios frente al .btn de /design/style.css.
 * v7 (2026-11-26): clasificación encaja en móviles de 320 px (letra y relleno
 *     más compactos + desplazamiento horizontal dentro del panel como red de seguridad).
 */

/* Variables del juego en .gf-pagina (no en :root) para no chocar con las de /design/style.css */
.gf-pagina {
  --rojo: #e0263c;
  --rojo-osc: #8f0f22;
  --naranja: #ff7a1a;
  --amarillo: #ffd23f;
  --ambar: #ffb92e;
  --verde: #2fbf4f;
  --verde-osc: #0d5c26;
  --azul: #2b9fe0;
  --azul-osc: #1668a0;
  --morado: #3b1155;
  --morado-osc: #22082f;
  --crema: #fff6e3;
  --tinta: #1f0d12;
  --cromo: linear-gradient(180deg, #f4f7fb 0%, #ccd3df 28%, #98a1b3 70%, #747d90 100%);
  --h-simbolo: clamp(56px, 17.5vw, 84px);
  --fuente-titulo: 'Arial Black', 'Arial Bold', Arial, sans-serif;
  --pad-cab: 14px; /* relleno lateral de la cabina (las piezas a sangre lo usan) */
}

/* Todo el juego vive dentro de .gf-pagina: así sus estilos no tocan la cabecera
   ni el pie globales (/design/header.php, /design/footer.php) y los estilos
   globales de /design/style.css (body, h1-h3, p, a, .btn) no deforman el juego. */
.gf-pagina, .gf-pagina *, .gf-pagina *::before, .gf-pagina *::after { box-sizing: border-box; }

.gf-pagina {
  position: relative;
  overflow: hidden;            /* recorta suelo/decoración: nada de scroll lateral */
  font-family: 'Trebuchet MS', 'Segoe UI', Arial, sans-serif;
  color: var(--tinta);
  line-height: 1.4;
  background-color: var(--morado-osc);
  -webkit-text-size-adjust: 100%;
}
.gf-pagina a:hover { text-decoration: none; }
.gf-pagina .miga a:hover,
.gf-pagina .tarjeta a:hover,
.gf-pagina .pie-landing a:hover { text-decoration: underline; }

/* Utilidad: texto solo para lectores de pantalla */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ============ FONDO FESTIVO NOCTURNO ============ */
.pagina-juego, .pagina-index {
  background-color: #160b28;
  background-image:
    radial-gradient(circle 4px at 8% 12%, rgba(255, 210, 63, .85) 98%, transparent),
    radial-gradient(circle 3px at 22% 78%, rgba(224, 38, 60, .85) 98%, transparent),
    radial-gradient(circle 4px at 35% 30%, rgba(43, 159, 224, .75) 98%, transparent),
    radial-gradient(circle 3px at 48% 88%, rgba(47, 191, 79, .85) 98%, transparent),
    radial-gradient(circle 4px at 62% 15%, rgba(255, 140, 26, .85) 98%, transparent),
    radial-gradient(circle 3px at 74% 65%, rgba(255, 210, 63, .75) 98%, transparent),
    radial-gradient(circle 4px at 86% 35%, rgba(224, 38, 60, .75) 98%, transparent),
    radial-gradient(circle 3px at 94% 82%, rgba(43, 159, 224, .85) 98%, transparent),
    radial-gradient(circle 3px at 15% 50%, rgba(255, 140, 26, .75) 98%, transparent),
    radial-gradient(circle 4px at 55% 55%, rgba(255, 210, 63, .5) 98%, transparent),
    radial-gradient(ellipse 90% 55% at 50% -10%, #4a1a72 0%, transparent 60%),
    radial-gradient(ellipse 120% 80% at 50% 110%, #3b1155 0%, transparent 55%);
  min-height: 100vh;
}

/* Decoración dentro del área del juego (antes era fixed y pintaba sobre la cabecera/pie globales) */
.fondo-festivo { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

/* Destellos de 4 puntas */
.estrella {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--amarillo);
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
  opacity: .6;
  animation: titilar 2.6s ease-in-out infinite alternate;
}
.estrella:nth-child(1) { top: 6%;  left: 5%; }
.estrella:nth-child(2) { top: 14%; right: 8%; width: 11px; height: 11px; animation-delay: .7s; background: #ff8c1a; }
.estrella:nth-child(3) { top: 42%; left: 3%;  width: 10px; height: 10px; animation-delay: 1.3s; background: #5ac2f5; }
.estrella:nth-child(4) { top: 58%; right: 4%; animation-delay: .4s; background: #ff5a6a; }
.estrella:nth-child(5) { top: 78%; left: 9%;  width: 11px; height: 11px; animation-delay: 1.9s; background: #4fe07a; }
.estrella:nth-child(6) { top: 88%; right: 12%; width: 9px; height: 9px; animation-delay: 1s; }

@keyframes titilar {
  from { opacity: .2; transform: scale(.65); }
  to   { opacity: .9; transform: scale(1.2); }
}

/* Confeti rectangular de colores */
.confeti {
  position: absolute;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  opacity: .8;
}
.confeti.c1 { top: 10%; left: 18%;  background: #ff5a6a; transform: rotate(24deg); }
.confeti.c2 { top: 24%; right: 16%; background: #4fe07a; transform: rotate(-32deg); }
.confeti.c3 { top: 38%; left: 8%;   background: #5ac2f5; transform: rotate(48deg); animation: flotar 5s ease-in-out infinite alternate; }
.confeti.c4 { top: 52%; right: 7%;  background: #ffd23f; transform: rotate(-18deg); }
.confeti.c5 { top: 66%; left: 15%;  background: #ff8c1a; transform: rotate(60deg); animation: flotar 6s ease-in-out infinite alternate-reverse; }
.confeti.c6 { top: 82%; right: 20%; background: #ff8fb3; transform: rotate(-40deg); }
.confeti.c7 { top: 30%; left: 45%;  background: #4fe07a; transform: rotate(12deg); }
.confeti.c8 { top: 70%; right: 42%; background: #5ac2f5; transform: rotate(-55deg); }

@keyframes flotar {
  from { margin-top: 0; }
  to   { margin-top: 14px; }
}

/* Fuegos artificiales dibujados en SVG */
.fuego {
  position: absolute;
  width: clamp(90px, 22vw, 150px);
  height: auto;
  opacity: .8;
  animation: pulsoFuego 3.2s ease-in-out infinite alternate;
}
.fuego-1 { top: 1%; left: 1%; }
.fuego-2 { top: 2%; right: 1%; width: clamp(70px, 18vw, 120px); animation-delay: 1.6s; }

@keyframes pulsoFuego {
  from { opacity: .45; transform: scale(.92); }
  to   { opacity: .9;  transform: scale(1.05); }
}

.envoltorio {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 14px 32px; /* 14px laterales: deja sitio al marco cromado (10px) */
}

/* ============ CABINA DE LA MÁQUINA ============ */
/* Cuerpo rojo→naranja→amarillo, laterales sombreados y marco cromado exterior
   hecho con anillos de box-shadow (blanco, gris, contorno negro). */
.cabina {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 0 auto;
  padding: 12px var(--pad-cab) 0;
  background:
    linear-gradient(90deg, rgba(110, 8, 22, .38) 0%, transparent 9%, transparent 91%, rgba(110, 8, 22, .38) 100%),
    linear-gradient(180deg, #d8112c 0%, #f0341f 30%, #ff6a1f 50%, #ff9e2c 70%, #ffc93d 86%, #ff9e2c 100%);
  border: 4px solid var(--tinta);
  border-radius: 28px 28px 16px 16px;
  box-shadow:
    0 0 0 4px #eef2f8,
    0 0 0 7px #8a93a8,
    0 0 0 10px var(--tinta),
    inset 0 3px 0 rgba(255, 255, 255, .45),
    0 26px 40px rgba(0, 0, 0, .55);
}

/* ============ MARQUESINA CON ARCO Y BOMBILLAS ============ */
.marquesina { margin: 0 0 2px; }
.titulo-juego { margin: 0; }
.marquesina-arte { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .35)); }

.bombilla {
  fill: #ffe98a;
  stroke: var(--tinta);
  stroke-width: 1.5;
  animation: parpadeo 1.1s ease-in-out infinite alternate;
}
.bombilla:nth-child(2n) { animation-delay: .55s; fill: #ffce3d; }
.bombilla:nth-child(3n) { animation-delay: .28s; }
.bombillas { filter: drop-shadow(0 0 5px rgba(255, 224, 102, .95)); }

@keyframes parpadeo {
  from { opacity: .35; }
  to   { opacity: 1; }
}

/* Marca LugarLatino.com (letras amarillas con contorno grueso estilo cartel) */
.marca {
  margin: 6px 0 8px;
  text-align: center;
  font-family: var(--fuente-titulo);
  font-size: clamp(1.15rem, 6vw, 1.6rem);
  letter-spacing: .5px;
  color: var(--amarillo);
  -webkit-text-stroke: 1.6px var(--tinta);
  paint-order: stroke fill;
  text-shadow: 0 3px 0 var(--tinta), 0 0 14px rgba(255, 210, 63, .55);
}

/* ============ ZONA DE RODILLOS + PALANCA ============ */
.zona-ventana { position: relative; padding-right: 46px; }

/* Marco metálico cromado grueso con tornillos en las esquinas */
.ventana {
  position: relative;
  display: flex;
  gap: 9px;
  padding: 12px;
  border: 4px solid var(--tinta);
  border-radius: 16px;
  background-color: #98a1b3;
  background-image:
    radial-gradient(circle 4px at 16px 16px, #ffffff 55%, #5b6376 70%, transparent 75%),
    radial-gradient(circle 4px at calc(100% - 16px) 16px, #ffffff 55%, #5b6376 70%, transparent 75%),
    radial-gradient(circle 4px at 16px calc(100% - 16px), #ffffff 55%, #5b6376 70%, transparent 75%),
    radial-gradient(circle 4px at calc(100% - 16px) calc(100% - 16px), #ffffff 55%, #5b6376 70%, transparent 75%),
    var(--cromo);
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, .8),
    inset 0 -6px 10px rgba(0, 0, 0, .3),
    0 6px 0 rgba(0, 0, 0, .3);
}

/* Indicadores triangulares de la línea ganadora */
.indicador {
  position: absolute;
  top: 50%;
  width: 30px;
  transform: translateY(-50%);
  z-index: 3;
  filter: drop-shadow(2px 3px 0 rgba(0, 0, 0, .35));
  pointer-events: none;
}
.indicador svg { display: block; width: 100%; height: auto; }
.indicador-izq { left: -8px; }
.indicador-der { right: 38px; }

/* Rodillos con aspecto curvo mecánico (muestran 3 símbolos: arriba, línea, abajo) */
.rodillo {
  position: relative;
  flex: 1;
  height: calc(var(--h-simbolo) * 3);
  overflow: hidden;
  background: linear-gradient(90deg, #c9c9d6 0%, #f4f4fa 14%, #ffffff 50%, #f4f4fa 86%, #c9c9d6 100%);
  border: 3px solid var(--tinta);
  border-radius: 10px;
  box-shadow:
    inset 0 10px 14px rgba(0, 0, 0, .3),
    inset 0 -10px 14px rgba(0, 0, 0, .3);
}
/* Reflejo de cristal + curvatura superior/inferior */
.rodillo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: 8px;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, .4) 0%, rgba(255, 255, 255, .08) 24%, transparent 42%),
    linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .04) 16%, transparent 30%, transparent 70%, rgba(0, 0, 0, .04) 84%, rgba(0, 0, 0, .3) 100%);
}
.rodillo.parado { animation: sacudida .3s ease; }

@keyframes sacudida {
  0% { transform: translateY(0); }
  35% { transform: translateY(3px); }
  70% { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

.tira { display: flex; flex-direction: column; will-change: transform; }
.tira.girando { animation: girarTira .3s linear infinite; }

@keyframes girarTira {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); } /* dos mitades idénticas: bucle sin costura */
}

/* El rodillo tiene borde de 3px: el alto útil sigue siendo 3 símbolos exactos */
.rodillo { box-sizing: content-box; }

.simbolo {
  flex: 0 0 auto;
  height: var(--h-simbolo);
  display: flex;
  align-items: center;
  justify-content: center;
}
.simbolo svg {
  width: calc(var(--h-simbolo) * .82);
  height: calc(var(--h-simbolo) * .82);
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .18));
}

/* Línea de premio */
.linea-premio {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: var(--h-simbolo);
  transform: translateY(-50%);
  border: 3px solid transparent;
  border-radius: 12px;
  pointer-events: none;
  z-index: 2;
}
.linea-premio.activa {
  border-color: var(--amarillo);
  box-shadow: 0 0 18px 4px rgba(255, 210, 63, .75), inset 0 0 14px rgba(255, 210, 63, .4);
  animation: pulsoLinea .45s ease-in-out infinite alternate;
}

@keyframes pulsoLinea {
  from { box-shadow: 0 0 10px 2px rgba(255, 210, 63, .5), inset 0 0 8px rgba(255, 210, 63, .3); }
  to   { box-shadow: 0 0 22px 6px rgba(255, 210, 63, .9), inset 0 0 16px rgba(255, 210, 63, .5); }
}

.aviso-inicio {
  position: absolute;
  inset: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(16, 16, 24, .88);
  color: var(--crema);
  font-size: 1.05rem;
  border-radius: 10px;
  padding: 8px;
}
.aviso-inicio p { margin: 0; }
.aviso-inicio strong { color: var(--amarillo); }
.aviso-inicio.oculto { display: none; }

/* ============ CARTEL DE CELEBRACIÓN (tríos, jackpot, bonus) ============ */
.celebracion {
  position: absolute;
  top: 50%;
  left: 0;
  right: 46px;            /* no tapa la palanca */
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 8px 12px;
  text-align: center;
  pointer-events: none;
  background: linear-gradient(180deg, #ff6b3c, #d8112c);
  border: 4px solid var(--tinta);
  border-radius: 18px;
  box-shadow: 0 0 0 3px var(--amarillo), 0 10px 24px rgba(0, 0, 0, .55), 0 0 30px 6px rgba(255, 210, 63, .6);
  opacity: 0;
  transform: translateY(-50%) scale(.4) rotate(-6deg);
  transition: opacity .18s ease, transform .35s cubic-bezier(.2, 1.6, .4, 1);
}
.celebracion.visible { opacity: 1; transform: translateY(-50%) scale(1) rotate(-3deg); }
.celebracion.bonus { background: linear-gradient(180deg, #5ee87f, #18a743); }
.celebracion.jackpot {
  background: linear-gradient(180deg, #ffe066, #f0ae00);
  animation: latidoJackpot .5s ease-in-out infinite alternate;
}
.celebracion-titulo {
  font-family: var(--fuente-titulo);
  font-size: clamp(1.1rem, 6.2vw, 1.9rem);
  line-height: 1.1;
  color: var(--amarillo);
  -webkit-text-stroke: 1.5px var(--tinta);
  paint-order: stroke fill;
  text-shadow: 0 3px 0 var(--tinta);
}
.celebracion-cantidad {
  font-family: var(--fuente-titulo);
  font-size: clamp(1.6rem, 9vw, 2.8rem);
  line-height: 1;
  color: #fff;
  -webkit-text-stroke: 2px var(--tinta);
  paint-order: stroke fill;
  text-shadow: 0 4px 0 var(--tinta);
}
.celebracion.jackpot .celebracion-titulo { color: #d8112c; }

@keyframes latidoJackpot {
  from { box-shadow: 0 0 0 3px #fff, 0 10px 24px rgba(0, 0, 0, .55), 0 0 18px 4px rgba(255, 210, 63, .6); }
  to   { box-shadow: 0 0 0 3px #fff, 0 10px 24px rgba(0, 0, 0, .55), 0 0 44px 14px rgba(255, 210, 63, .95); }
}

/* ============ PALANCA LATERAL ============ */
.palanca {
  position: absolute;
  right: 0;
  top: -26px;
  bottom: 12px;
  width: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
}
.palanca:disabled { cursor: not-allowed; filter: grayscale(.6) brightness(.8); }
.palanca-bola {
  position: absolute;
  left: 50%;
  top: 0;
  width: 32px;
  height: 32px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #ffb3ba 0%, #f0344c 40%, #b90f28 78%, #7d0d18 100%);
  border: 3px solid var(--tinta);
  box-shadow: 0 4px 6px rgba(0, 0, 0, .55), inset 0 -3px 5px rgba(0, 0, 0, .3);
  transition: top .18s ease-in;
}
.palanca-brazo {
  position: absolute;
  left: 50%;
  top: 28px;
  bottom: 26px;
  width: 9px;
  transform: translateX(-50%);
  border-radius: 5px;
  background: linear-gradient(90deg, #e6ebf5, #8a93a8 55%, #c7cede);
  border: 2px solid var(--tinta);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .5);
  transition: top .18s ease-in;
}
.palanca-base {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 28px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 7px 7px 11px 11px;
  background: linear-gradient(180deg, #aeb8cc, #5b6376);
  border: 3px solid var(--tinta);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, .4);
}
.palanca.accionada .palanca-bola { top: calc(100% - 62px); transition-timing-function: ease-out; }
.palanca.accionada .palanca-brazo { top: calc(100% - 34px); transition-timing-function: ease-out; }

/* ============ DISPLAYS LED ============ */
.displays { display: flex; gap: 8px; margin-top: 14px; }
.display {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: linear-gradient(180deg, #2a0f16, #14060a);
  border: 3.5px solid var(--tinta);
  border-radius: 10px;
  padding: 7px 10px;
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, .9), 0 0 0 2px #8a93a8, 0 3px 0 2px rgba(0, 0, 0, .3);
}
.display-etq {
  color: var(--ambar);
  font-family: var(--fuente-titulo);
  font-size: .6rem;
  letter-spacing: .5px;
  text-shadow: 0 1.5px 0 #000;
}
.display-valor {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  font-size: clamp(1.05rem, 5.2vw, 1.5rem);
  color: #ff4040;
  text-shadow: 0 0 8px rgba(255, 64, 64, .9);
  min-width: 3ch;
  text-align: right;
}
.display-premio { color: var(--amarillo); text-shadow: 0 0 8px rgba(255, 210, 63, .9); }
.display-tiradas { color: #4fe07a; text-shadow: 0 0 8px rgba(79, 224, 122, .9); }
.display-valor.flash { animation: flashValor .45s ease; }

@keyframes flashValor {
  0% { opacity: .2; }
  100% { opacity: 1; }
}

/* ============ BOTONES ARCADE GLOSSY 3D (base, también usados en la puerta 18+) ============ */
.btn {
  display: inline-flex;          /* valores propios: no dependen del .btn de /design/style.css */
  align-items: center;
  justify-content: center;
  font-family: var(--fuente-titulo);
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .5px;
  border: 3.5px solid var(--tinta);
  border-radius: 14px;
  min-height: 50px;
  padding: 10px 12px;
  cursor: pointer;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .4);
  background-color: #c1122f;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .1) 42%, rgba(0, 0, 0, .12) 100%);
  box-shadow:
    0 6px 0 var(--sombra, var(--rojo-osc)),
    0 7.5px 0 2px var(--tinta),
    0 14px 18px rgba(0, 0, 0, .35);
  transition: transform .06s ease, box-shadow .06s ease, filter .15s ease;
  touch-action: manipulation;
}
.btn:active:not(:disabled) {
  transform: translateY(5px);
  box-shadow:
    0 1px 0 var(--sombra, var(--rojo-osc)),
    0 2.5px 0 2px var(--tinta),
    0 5px 8px rgba(0, 0, 0, .35);
}
.gf-pagina .btn:hover { opacity: 1; }   /* el .btn global atenúa al pasar el ratón */
.btn:disabled { filter: grayscale(.65) brightness(.78); cursor: not-allowed; }
.gf-pagina .btn:focus-visible, .gf-pagina .btn-sonido:focus-visible, .gf-pagina .palanca:focus-visible,
.gf-pagina summary:focus-visible, .gf-pagina a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.btn-retener {
  --sombra: #6d0a16;
  flex: 1;
  background-color: #d8112c;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .1) 42%, rgba(0, 0, 0, .14) 100%),
    linear-gradient(180deg, #ff6b76, #c1122f);
  font-size: clamp(.68rem, 3.4vw, .85rem);
}
.btn-retener.ofertado { animation: brilloRetener .9s ease-in-out infinite alternate; }
.btn-retener.marcado {
  background-color: #f0ae00;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .12) 42%, rgba(0, 0, 0, .08) 100%),
    linear-gradient(180deg, #ffe066, #e6a817);
  color: #4a2f00;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
  animation: none;
  box-shadow:
    0 6px 0 #8f6105,
    0 7.5px 0 2px var(--tinta),
    0 0 18px 4px rgba(255, 210, 63, .8);
}

@keyframes brilloRetener {
  from { filter: brightness(1); }
  to   { filter: brightness(1.32); }
}

.btn-apuesta {
  --sombra: #8f6105;
  flex: 1;
  background-color: #f0ae00;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .12) 42%, rgba(0, 0, 0, .08) 100%),
    linear-gradient(180deg, #ffe066, #e6a817);
  color: #4a2f00;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
  font-size: clamp(.68rem, 3.2vw, .85rem);
}
.btn-girar {
  --sombra: var(--verde-osc);
  flex: 1.7;
  min-height: 66px;
  background-color: #1fae4b;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .12) 42%, rgba(0, 0, 0, .1) 100%),
    linear-gradient(180deg, #5ee87f, #18a743);
  font-size: clamp(1.15rem, 5.6vw, 1.5rem);
  -webkit-text-stroke: .6px rgba(0, 0, 0, .35);
  animation: resplandorGirar 1.4s ease-in-out infinite alternate;
}
.btn-girar:disabled { animation: none; }

@keyframes resplandorGirar {
  from {
    box-shadow:
      0 6px 0 var(--verde-osc),
      0 7.5px 0 2px var(--tinta),
      0 0 10px 2px rgba(94, 232, 127, .45);
  }
  to {
    box-shadow:
      0 6px 0 var(--verde-osc),
      0 7.5px 0 2px var(--tinta),
      0 0 26px 7px rgba(94, 232, 127, .85);
  }
}

.btn-iniciar {
  --sombra: #0f4e80;
  flex: 1;
  background-color: #1f86c9;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .1) 42%, rgba(0, 0, 0, .12) 100%),
    linear-gradient(180deg, #5ac2f5, #1f7fc4);
  font-size: clamp(.68rem, 3.2vw, .85rem);
}

/* ============ CONSOLA METÁLICA: 6 BOTONES EN UNA FILA ============ */
/* Repisa cromada a sangre (de borde a borde de la cabina) */
.consola {
  margin: 16px calc(var(--pad-cab) * -1) 0;
  padding: 10px 12px 6px;
  background: var(--cromo);
  border-top: 4px solid var(--tinta);
  border-bottom: 4px solid var(--tinta);
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, .85),
    inset 0 -4px 0 rgba(0, 0, 0, .18),
    0 8px 0 rgba(0, 0, 0, .25);
}
.panel-botones {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding-bottom: 8px; /* sitio para la sombra 3D de los botones */
}
.panel-botones .btn {
  min-width: 0;
  min-height: 52px;
  padding: 6px 4px;
  border-width: 3px;
  border-radius: 12px;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
}
.panel-botones .btn-apuesta,
.panel-botones .btn-iniciar { flex: 1 1 0; font-size: clamp(.68rem, 3.2vw, .9rem); }
.panel-botones .btn-girar { flex: 1.6 1 0; min-height: 62px; font-size: clamp(1.1rem, 5.4vw, 1.5rem); }

/* ============ FILA RETENER: un botón exactamente debajo de cada rodillo ============ */
/* Mismo relleno que la ventana (borde 4px + relleno 12px) y mismo hueco entre
   rodillos (9px); a la derecha se suma el hueco de la palanca (46px). */
.fila-retener {
  display: flex;
  gap: 9px;
  padding: 12px calc(46px + 16px) 8px 16px;
}
.fila-retener .btn-retener {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 4px 2px;
  border-width: 3px;
  border-radius: 12px;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  font-size: clamp(.5rem, 2.6vw, .82rem);
}

/* Marca grande en el frontal de la consola */
.marca-inferior { margin: 2px 0 4px; font-size: clamp(1.05rem, 5.6vw, 1.5rem); }

/* Mensajes de estado (cápsula oscura para leerse sobre el naranja) */
.mensaje {
  min-height: 1.5em;
  margin: 10px 4px 0;
  padding: 4px 12px;
  border-radius: 999px;
  text-align: center;
  font-weight: 700;
  color: var(--crema);
  text-shadow: 0 1.5px 0 rgba(0, 0, 0, .55);
  opacity: 0;
  transition: opacity .2s ease;
}
.mensaje.visible { opacity: 1; background: rgba(20, 8, 34, .72); }
.mensaje.error { color: #ffd0d0; }

/* ============ ZONA INFERIOR: BANDEJA Y SELLO ============ */
.zona-inferior {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

/* Bandeja metálica ilustrada con monedas doradas */
.bandeja {
  position: relative;
  flex: 1;
  max-width: 300px;
  height: 88px;
  overflow: hidden;
  background: linear-gradient(180deg, #99a3b8 0%, #5b6376 26%, #2e3442 100%);
  border: 3.5px solid var(--tinta);
  border-radius: 12px 12px 20px 20px;
  box-shadow:
    inset 0 10px 16px rgba(0, 0, 0, .7),
    inset 0 -3px 0 rgba(255, 255, 255, .28),
    0 0 0 3px #ccd3df,
    0 4px 0 3px rgba(0, 0, 0, .3);
}
.bandeja-monedas {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  display: flex;
  justify-content: center;
}
.bandeja-monedas svg { width: 38px; height: 38px; margin: 0 -8px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .4)); }

.moneda-cayendo {
  position: absolute;
  top: -30px;
  width: 26px;
  height: 26px;
  z-index: 2;
  animation: caerMoneda .85s cubic-bezier(.3, .1, .6, .4) forwards;
}
.moneda-cayendo svg { width: 100%; height: 100%; }

@keyframes caerMoneda {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  12%  { opacity: 1; }
  78%  { opacity: 1; }
  100% { transform: translateY(96px) rotate(330deg); opacity: 0; }
}

/* Sello estrella «5 monedas por tirada» */
.sello {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  background: var(--tinta);
  clip-path: polygon(50% 0%, 59.6% 14.3%, 75% 6.7%, 76.2% 23.8%, 93.3% 25%, 85.7% 40.4%, 100% 50%, 85.7% 59.6%, 93.3% 75%, 76.2% 76.2%, 75% 93.3%, 59.6% 85.7%, 50% 100%, 40.4% 85.7%, 25% 93.3%, 23.8% 76.2%, 6.7% 75%, 14.3% 59.6%, 0% 50%, 14.3% 40.4%, 6.7% 25%, 23.8% 23.8%, 25% 6.7%, 40.4% 14.3%);
  transform: rotate(-8deg);
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .45));
}
.sello > span {
  width: 84%;
  height: 84%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle, #ff6b3c 30%, #d8112c 90%);
  clip-path: polygon(50% 0%, 59.6% 14.3%, 75% 6.7%, 76.2% 23.8%, 93.3% 25%, 85.7% 40.4%, 100% 50%, 85.7% 59.6%, 93.3% 75%, 76.2% 76.2%, 75% 93.3%, 59.6% 85.7%, 50% 100%, 40.4% 85.7%, 25% 93.3%, 23.8% 76.2%, 6.7% 75%, 14.3% 59.6%, 0% 50%, 14.3% 40.4%, 6.7% 25%, 23.8% 23.8%, 25% 6.7%, 40.4% 14.3%);
  color: var(--amarillo);
  font-family: var(--fuente-titulo);
  font-size: .68rem;
  line-height: 1.35;
  text-shadow: 0 1.5px 0 rgba(0, 0, 0, .55);
}

/* Base cromada (zócalo) de la máquina */
.cabina-base {
  height: 26px;
  margin: 14px calc(var(--pad-cab) * -1) 0;
  background: var(--cromo);
  border-top: 4px solid var(--tinta);
  border-radius: 0 0 12px 12px;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, .7);
}

/* Suelo de baldosas de colores en perspectiva bajo la máquina */
.suelo {
  position: relative;
  z-index: 1;
  height: 70px;
  margin: -14px -14px 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, transparent 45%),
    linear-gradient(90deg,
      #8e2de2 0 20%, #ff3d6e 20% 40%, #2fbf4f 40% 60%, #2b9fe0 60% 80%, #ffd23f 80% 100%);
  border-top: 4px solid var(--tinta);
  transform: perspective(220px) rotateX(38deg);
  transform-origin: top center;
  opacity: .9;
  pointer-events: none;
}

/* ============ AVISOS LEGALES ============ */
.aviso-monedas {
  margin: 0 auto;
  max-width: 520px;
  text-align: center;
  font-weight: 800;
  font-size: .92rem;
  color: var(--amarillo);
  background: rgba(20, 8, 34, .72);
  border: 3px solid var(--tinta);
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .18);
  text-shadow: 0 1.5px 0 rgba(0, 0, 0, .6);
}
.aviso-moderacion {
  margin: 14px 0 0;
  text-align: center;
  font-weight: 700;
  font-size: .9rem;
  color: #f3e8ff;
  background: rgba(20, 8, 34, .6);
  border: 2px dashed rgba(255, 210, 63, .6);
  border-radius: 12px;
  padding: 10px 14px;
}
.aviso-legal {
  background: rgba(20, 8, 34, .6);
  color: #f3e8ff;
  border: 2px solid rgba(255, 210, 63, .55);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: .82rem;
  line-height: 1.45;
  margin: 14px 0 0;
}

/* ============ CONTROLES SECUNDARIOS Y PANELES ============ */
.controles-secundarios {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin: 14px 0 4px;
}

.btn-sonido {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 16px;
  border-radius: 12px;
  border: 3px solid var(--tinta);
  background: rgba(20, 8, 34, .72);
  color: var(--crema);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .18);
  touch-action: manipulation;
}
.btn-sonido .ic { width: 22px; height: 22px; fill: var(--amarillo); color: var(--amarillo); }
.btn-sonido.apagado .ic { fill: #8a93a8; color: #8a93a8; }
.btn-sonido.apagado .onda { display: none; }

.enlace-volver {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 16px;
  border-radius: 12px;
  border: 3px solid var(--tinta);
  background: rgba(20, 8, 34, .6);
  color: var(--crema);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .15);
  touch-action: manipulation;
}
.enlace-volver:hover { border-color: var(--amarillo); }

.panel {
  background: var(--crema);
  border: 4px solid var(--tinta);
  border-radius: 18px;
  padding: 14px 16px;
  margin: 14px 0;
  box-shadow: 0 8px 0 rgba(20, 10, 26, .4), inset 0 2px 0 rgba(255, 255, 255, .8);
}
.panel h2 {
  margin: 0 0 10px;
  font-family: var(--fuente-titulo);
  font-size: 1.12rem;
  color: #b00f1f;
  letter-spacing: .3px;
}

.tabla-premios summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  font-family: var(--fuente-titulo);
  font-size: 1.02rem;
  color: #b00f1f;
  cursor: pointer;
  touch-action: manipulation;
}
.tabla-premios table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.tabla-premios td { padding: 6px 4px; border-bottom: 1px dashed #e0cfa0; font-size: .95rem; }
.tabla-premios td:last-child { text-align: right; font-weight: 800; color: #b00f1f; }
.ico-tabla { width: 28px; height: 28px; vertical-align: middle; margin-right: 6px; }
.nota-azar { margin: 10px 0 2px; font-size: .85rem; line-height: 1.45; color: #4a2f00; }

/* ============ MIS ESTADÍSTICAS ============ */
.estadisticas summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  font-family: var(--fuente-titulo);
  font-size: 1.02rem;
  color: #b00f1f;
  cursor: pointer;
  touch-action: manipulation;
}
.estadisticas h3 { margin: 12px 0 6px; font-size: .95rem; color: var(--azul-osc); }
.est-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.est-col dl { margin: 0; }
.est-col dl > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 2px;
  border-bottom: 1px dashed #e0cfa0;
  font-size: .88rem;
}
.est-col dt { color: #5a3a10; }
.est-col dd { margin: 0; font-weight: 800; color: #b00f1f; }
.est-nota { margin: 0 0 8px; font-size: .84rem; line-height: 1.45; color: #4a2f00; }
.est-fila { display: flex; align-items: center; gap: 8px; margin: 5px 0; }
.est-ico { width: 26px; height: 26px; flex: none; }
.est-barra {
  position: relative;
  flex: 1;
  height: 16px;
  background: #f0e2bf;
  border: 2px solid var(--tinta);
  border-radius: 999px;
  overflow: hidden;
}
.est-relleno {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(180deg, #ffe066, #ff9e2c);
  transition: width .4s ease;
}
.est-ideal {
  position: absolute;
  top: -2px; bottom: -2px;
  left: 42.86%;               /* 14,286 % × 3 (la barra llena = 33 %) */
  width: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--tinta);
}
.est-pct { flex: none; min-width: 92px; text-align: right; font-size: .8rem; font-weight: 700; color: #4a2f00; }
.est-borrar {
  margin-top: 10px;
  min-height: 40px;
  padding: 6px 14px;
  border: 2px solid #b00f1f;
  border-radius: 10px;
  background: transparent;
  color: #b00f1f;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 380px) {
  .est-grid { grid-template-columns: 1fr; gap: 0; }
  .est-pct { min-width: 78px; font-size: .74rem; }
}

/* Panel de fin de partida */
.panel-fin .fila-apodo { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.panel-fin label { font-weight: 700; display: block; margin-bottom: 6px; }
#input-apodo {
  font-size: 1.05rem;
  padding: 12px 14px;
  border: 3px solid var(--ambar);
  border-radius: 10px;
  width: 100%;
  max-width: 240px;
  font-family: inherit;
  background: #fff;
}
.fin-mensaje { min-height: 1.4em; font-weight: 700; margin: 10px 0 0; }
.fin-mensaje.ok { color: var(--verde-osc); }
.fin-mensaje.error { color: var(--rojo-osc); }

/* Clasificación */
.clasificacion table { width: 100%; border-collapse: collapse; }
.clasificacion th, .clasificacion td { padding: 7px 6px; text-align: left; font-size: .92rem; }
.clasificacion th { color: #b00f1f; border-bottom: 2px solid var(--ambar); }
.clasificacion td { border-bottom: 1px dashed #e0cfa0; }
.clasificacion td:nth-child(3), .clasificacion th:nth-child(3) { text-align: right; font-weight: 700; }
#clasificacion-vacia { margin: 8px 0 0; font-style: italic; }
/* Red de seguridad: si la tabla no cabe, se desplaza dentro del panel en vez de cortarse */
.clasificacion { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.clasificacion td:nth-child(2) { word-break: break-word; }
@media (max-width: 380px) {
  .clasificacion { padding: 12px 10px; }
  .clasificacion th, .clasificacion td { padding: 6px 3px; font-size: .78rem; }
  .clasificacion td:nth-child(4) { font-size: .72rem; white-space: nowrap; }
}

/* ============ PUERTA DE EDAD 18+ ============ */
.puerta-edad {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(16, 8, 30, .9);
}
.puerta-edad[hidden] { display: none; }
.puerta-edad-caja {
  width: 100%;
  max-width: 420px;
  text-align: center;
  background: linear-gradient(180deg, #ff8a3c 0%, #f0341f 55%, #c1122f 100%);
  border: 4px solid var(--tinta);
  border-radius: 24px;
  padding: 24px 20px 26px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .65), inset 0 3px 0 rgba(255, 255, 255, .4), 0 0 34px rgba(255, 190, 60, .3);
}
.puerta-moneda { width: 54px; height: 54px; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .4)); }
.puerta-edad-caja h2 {
  margin: 10px 0 8px;
  font-family: var(--fuente-titulo);
  font-size: clamp(1.3rem, 6vw, 1.7rem);
  color: var(--amarillo);
  -webkit-text-stroke: 1px var(--tinta);
  text-shadow: 0 2.5px 0 var(--tinta);
}
.puerta-edad-caja p { margin: 0 0 18px; color: var(--crema); font-weight: 700; line-height: 1.5; text-shadow: 0 1.5px 0 rgba(0, 0, 0, .5); }
.puerta-edad-botones { display: flex; gap: 12px; }
.puerta-edad-botones .btn-girar { flex: 1.6; animation: none; min-height: 56px; font-size: 1rem; }
.puerta-edad-botones .btn-retener { flex: 1; min-height: 56px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 420px) {
  .gf-pagina { --pad-cab: 10px; }
  .envoltorio { padding-left: 12px; padding-right: 12px; }
  .cabina { padding-top: 10px; }
  .zona-ventana { padding-right: 38px; }
  .palanca { width: 32px; }
  .palanca-bola { width: 26px; height: 26px; }
  .palanca-base { width: 24px; }
  .indicador { width: 24px; }
  .indicador-izq { left: -6px; }
  .indicador-der { right: 32px; }
  .ventana { gap: 6px; padding: 10px; }
  .displays { gap: 6px; }
  .display { padding: 6px 6px; }
  .display-etq { font-size: .5rem; }
  .display-valor { font-size: clamp(.95rem, 4.6vw, 1.4rem); }
  .consola { padding: 8px 8px 4px; }
  .panel-botones { gap: 6px; }
  .fila-retener { gap: 6px; padding: 10px calc(38px + 14px) 6px 14px; }
  .celebracion { right: 38px; }
  .sello { width: 84px; height: 84px; }
  .sello > span { font-size: .6rem; }
  .bandeja { height: 76px; }
  .suelo { margin-left: -12px; margin-right: -12px; }
}

/* Teléfonos muy estrechos (≈320px): todo un poco más compacto */
@media (max-width: 360px) {
  .gf-pagina { --pad-cab: 8px; }
  .envoltorio { padding-left: 11px; padding-right: 11px; }
  .consola { padding: 8px 5px 4px; }
  .panel-botones { gap: 5px; }
  .displays { flex-wrap: wrap; }
  .display { min-width: 30%; }
  .suelo { margin-left: -11px; margin-right: -11px; }
}

@media (min-width: 700px) {
  .envoltorio { padding-top: 30px; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  .tira.girando { animation: none; }
  .bombilla,
  .estrella,
  .confeti,
  .fuego,
  .btn-girar,
  .btn-retener.ofertado,
  .linea-premio.activa,
  .celebracion.jackpot,
  .rodillo.parado { animation: none; }
  .celebracion { transition: opacity .1s linear; }
  .moneda-cayendo { animation-duration: .01s; }
  .palanca-bola, .palanca-brazo { transition: none; }
  .tira { transition: none !important; }
}

/* ============ LANDING (index.php) ============ */
.pagina-index .envoltorio { max-width: 720px; }

.miga {
  font-size: .85rem;
  margin: 6px 0 14px;
  color: #d9c8ef;
}
.miga ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.miga li::after { content: '›'; margin-left: 6px; color: var(--amarillo); }
.miga li:last-child::after { content: ''; }
.miga a { color: var(--amarillo); text-decoration: none; }
.miga a:hover { text-decoration: underline; }
.miga [aria-current] { color: #fff; font-weight: 700; }

.hero {
  text-align: center;
  background: linear-gradient(180deg, rgba(74, 26, 114, .65), rgba(34, 8, 47, .25));
  border: 3px solid rgba(255, 210, 63, .35);
  border-radius: 22px;
  padding: 18px 14px 22px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .4);
}
.hero h1 {
  font-family: var(--fuente-titulo);
  font-size: clamp(1.5rem, 6.5vw, 2.3rem);
  color: var(--amarillo);
  -webkit-text-stroke: 1.5px var(--tinta);
  text-shadow: 0 3px 0 var(--tinta), 0 8px 16px rgba(0, 0, 0, .55);
  margin: 4px 0 10px;
  line-height: 1.15;
}
.hero p { color: #f3e8ff; line-height: 1.55; max-width: 52ch; margin: 0 auto 16px; }

/* Mini máquina decorativa en CSS/SVG, a juego con la máquina grande */
.mini-maquina {
  max-width: 300px;
  margin: 0 auto 18px;
  padding: 16px 10px 14px;
  background-color: #e0301f;
  background-image:
    radial-gradient(circle 3.5px, #fff3b0 62%, rgba(255, 224, 102, .35) 70%, transparent 75%),
    linear-gradient(180deg, #ff8a3c 0%, #f0341f 55%, #c1122f 100%);
  background-size: 26px 13px, 100% 100%;
  background-position: center 3px, 0 0;
  background-repeat: repeat-x, no-repeat;
  border: 4px solid var(--tinta);
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .55), inset 0 2px 0 rgba(255, 255, 255, .4), 0 0 26px rgba(255, 210, 63, .3);
}
.mini-marquesina {
  background: linear-gradient(180deg, #4fc3f7 0%, #1f86c9 60%, #0f5f96 100%);
  border: 3px solid var(--tinta);
  border-radius: 46% 46% 10px 10px / 30px 30px 10px 10px;
  padding: 10px 4px 6px;
  font-family: var(--fuente-titulo);
  color: var(--amarillo);
  -webkit-text-stroke: 1px var(--tinta);
  text-shadow: 0 2px 0 var(--tinta);
  font-size: 1.05rem;
  letter-spacing: .5px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .35);
}
.mini-rodillos {
  display: flex;
  gap: 6px;
  background: linear-gradient(180deg, #9fd7f7 0%, #4b9fd6 25%, #1f6ea8 65%, #175485 100%);
  border: 3px solid var(--tinta);
  border-radius: 12px;
  padding: 8px;
  margin-top: 10px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .4), inset 0 -5px 8px rgba(0, 0, 0, .35);
}
.mini-rodillo {
  flex: 1;
  background: linear-gradient(90deg, #c9c9d6 0%, #ffffff 50%, #c9c9d6 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 74px;
  box-shadow: inset 0 6px 8px rgba(0, 0, 0, .3), inset 0 -6px 8px rgba(0, 0, 0, .3), inset 0 0 0 2px rgba(31, 13, 18, .5);
}
.mini-rodillo svg { width: 52px; height: 52px; filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .18)); }
.mini-marca {
  margin-top: 8px;
  font-family: var(--fuente-titulo);
  color: var(--amarillo);
  font-size: .82rem;
  letter-spacing: 1px;
  -webkit-text-stroke: .7px var(--tinta);
  text-shadow: 0 1.5px 0 var(--tinta);
}

.btn-jugar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 38px;
  border-radius: 16px;
  border: 3.5px solid var(--tinta);
  background-color: #1fae4b;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .12) 42%, rgba(0, 0, 0, .1) 100%),
    linear-gradient(180deg, #5ee87f, #18a743);
  color: #fff;
  font-family: var(--fuente-titulo);
  font-size: 1.2rem;
  letter-spacing: .5px;
  text-decoration: none;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .4);
  box-shadow: 0 6px 0 var(--verde-osc), 0 7.5px 0 2px var(--tinta), 0 14px 18px rgba(0, 0, 0, .4);
  touch-action: manipulation;
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn-jugar:hover { transform: translateY(-2px); }
.btn-jugar:active {
  transform: translateY(5px);
  box-shadow: 0 1px 0 var(--verde-osc), 0 2.5px 0 2px var(--tinta), 0 5px 8px rgba(0, 0, 0, .4);
}
.btn-jugar svg { width: 26px; height: 26px; }

.sello-edad {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 16px;
  border: 3px solid var(--tinta);
  border-radius: 999px;
  color: var(--amarillo);
  font-weight: 800;
  font-size: .85rem;
  background: rgba(20, 8, 34, .72);
  box-shadow: 0 4px 0 rgba(0, 0, 0, .35);
  text-shadow: 0 1.5px 0 rgba(0, 0, 0, .6);
}

.tarjeta {
  background: var(--crema);
  border: 4px solid var(--tinta);
  border-radius: 18px;
  padding: 16px 18px;
  margin: 16px 0;
  box-shadow: 0 8px 0 rgba(20, 10, 26, .4), inset 0 2px 0 rgba(255, 255, 255, .8);
  line-height: 1.6;
}
.tarjeta h2 { margin: 0 0 10px; color: #b00f1f; font-family: var(--fuente-titulo); font-size: 1.22rem; }
.tarjeta h3 { color: var(--azul-osc); margin: 14px 0 6px; }
.tarjeta p { margin: 0 0 10px; }
.tarjeta ul, .tarjeta ol { margin: 0 0 10px; padding-left: 22px; }
.tarjeta li { margin-bottom: 5px; }

.tabla-completa { width: 100%; border-collapse: collapse; margin: 8px 0 4px; }
.tabla-completa th, .tabla-completa td { padding: 7px 6px; text-align: left; font-size: .95rem; }
.tabla-completa th { color: #b00f1f; border-bottom: 2px solid var(--ambar); }
.tabla-completa td { border-bottom: 1px dashed #e0cfa0; }
.tabla-completa td:last-child, .tabla-completa th:last-child { text-align: right; font-weight: 800; }

.pie-landing {
  text-align: center;
  color: #d9c8ef;
  font-size: .8rem;
  margin-top: 18px;
  line-height: 1.5;
}
.pie-landing a { color: var(--amarillo); }

.cta-final { text-align: center; margin: 20px 0 6px; }
