/* Colección Tragamonedas V8.
   Capa exclusivamente visual: no modifica apuestas, RTP ni resultados. */

:root {
  color-scheme: dark;
}

/* ───────────────── selector de ocho ediciones ───────────────── */

.slot-showcase {
  min-height: 100vh;
  padding: 0 0 clamp(60px, 8vw, 110px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 8%, rgba(206, 153, 63, .13), transparent 28%),
    #050505;
  color: #f7f1e7;
}

.slot-showcase *,
.slot-cinematic * {
  box-sizing: border-box;
}

.slot-showcase__hero {
  position: relative;
  isolation: isolate;
  min-height: min(650px, 78vh);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(100px, 13vw, 168px) 24px clamp(70px, 9vw, 118px);
  text-align: center;
}

.slot-showcase__hero::before,
.slot-showcase__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.slot-showcase__hero::before {
  background: url("../images/cinematic/slots/tragamonedas-coleccion.webp") center 42% / cover no-repeat;
  filter: saturate(.92) contrast(1.05);
}

.slot-showcase__hero::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .42), rgba(0, 0, 0, .32) 30%, #050505 100%),
    radial-gradient(circle at center, rgba(0, 0, 0, .05), rgba(0, 0, 0, .7) 76%);
}

.slot-showcase__back {
  position: absolute;
  top: clamp(24px, 4vw, 46px);
  left: clamp(20px, 5vw, 72px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 17px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(0, 0, 0, .43);
  color: #fff8ea;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.slot-showcase__eyebrow,
.slot-theme-card__copy > p {
  margin: 0;
  color: #e7bf69;
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.slot-showcase__hero h1 {
  max-width: 920px;
  margin: 12px 0 14px;
  color: #fff8ec;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.045em;
  text-shadow: 0 10px 48px rgba(0, 0, 0, .92);
}

.slot-showcase__lead {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 248, 236, .75);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.65;
  text-shadow: 0 3px 14px #000;
}

.slot-showcase__rules {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.slot-showcase__rules span {
  padding: 9px 14px;
  border: 1px solid rgba(255, 226, 159, .2);
  border-radius: 999px;
  background: rgba(3, 3, 4, .62);
  color: rgba(255, 248, 236, .78);
  font-size: .77rem;
  letter-spacing: .04em;
  backdrop-filter: blur(12px);
}

.slot-showcase__rules b {
  color: #f3c96c;
}

.slot-theme-grid {
  position: relative;
  z-index: 2;
  width: min(1480px, calc(100% - 40px));
  margin: clamp(-52px, -4vw, -28px) auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}

.slot-theme-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(var(--theme-accent-rgb), .35);
  border-radius: 28px;
  background: #0a0a0b;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .55), inset 0 1px rgba(255, 255, 255, .06);
}

.slot-theme-card__visual {
  position: relative;
  isolation: isolate;
  min-height: clamp(300px, 32vw, 430px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #08090b;
}

.slot-theme-card__visual::before,
.slot-theme-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.slot-theme-card__visual::before {
  background-image: var(--theme-card-bg);
  background-position: center;
  background-size: cover;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1), filter .7s ease;
}

.slot-theme-card__visual::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .22) 55%, #0a0a0b 100%),
    radial-gradient(circle at center, rgba(var(--theme-accent-rgb), .08), rgba(0, 0, 0, .58));
}

.slot-theme-card:hover .slot-theme-card__visual::before {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}

.slot-theme-card__number,
.slot-theme-card__material {
  position: absolute;
  z-index: 3;
  top: 20px;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px #000;
}

.slot-theme-card__number {
  left: 22px;
  color: var(--theme-accent-bright);
}

.slot-theme-card__material {
  right: 22px;
  max-width: 58%;
  color: rgba(255, 255, 255, .72);
  text-align: right;
}

.slot-theme-card__machine {
  position: relative;
  width: min(68%, 390px);
  aspect-ratio: 1.56 / 1;
  padding: 12% 5% 7%;
  border: 2px solid rgba(var(--theme-accent-rgb), .72);
  border-radius: 24px 24px 18px 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .16), transparent 24%),
    linear-gradient(135deg, var(--theme-secondary), #08090c 55%, var(--theme-secondary));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, .75),
    0 0 38px rgba(var(--theme-accent-rgb), .32),
    inset 0 1px rgba(255, 255, 255, .18);
  transform: perspective(800px) rotateX(2deg);
}

.slot-theme-card__machine::before,
.slot-theme-card__machine::after {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--theme-accent), transparent);
}

.slot-theme-card__machine::before {
  top: 8%;
  left: 15%;
  right: 15%;
  height: 1px;
}

.slot-theme-card__machine::after {
  bottom: 3.5%;
  left: 8%;
  right: 8%;
  height: 2px;
  box-shadow: 0 0 12px rgba(var(--theme-accent-rgb), .85);
}

.slot-theme-card__crest {
  position: absolute;
  top: 3%;
  left: 50%;
  transform: translateX(-50%);
  color: var(--theme-accent-bright);
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  text-shadow: 0 0 18px rgba(var(--theme-accent-rgb), .9);
}

.slot-theme-card__reels {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: .72fr repeat(5, 1fr);
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 11px;
  background: rgba(0, 0, 0, .88);
  box-shadow: inset 0 0 22px #000;
}

.slot-theme-card__reels i {
  border: 1px solid rgba(var(--theme-accent-rgb), .18);
  border-radius: 5px;
  background:
    radial-gradient(circle at 50% 12%, var(--theme-accent) 0 5%, transparent 6%),
    radial-gradient(circle at 50% 37%, var(--theme-accent-bright) 0 5%, transparent 6%),
    radial-gradient(circle at 50% 63%, var(--theme-accent) 0 5%, transparent 6%),
    radial-gradient(circle at 50% 88%, var(--theme-accent-bright) 0 5%, transparent 6%),
    linear-gradient(180deg, rgba(var(--theme-accent-rgb), .12), rgba(0, 0, 0, .85));
  box-shadow: inset 0 0 14px rgba(0, 0, 0, .8);
}

.slot-theme-card__reels i:first-child {
  border-color: rgba(var(--theme-accent-rgb), .55);
  background:
    repeating-linear-gradient(180deg, var(--theme-secondary) 0 15%, #08090c 15% 25%);
}

.slot-theme-card__copy {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 3vw, 38px);
  background:
    linear-gradient(135deg, rgba(var(--theme-accent-rgb), .075), transparent 38%),
    #0a0a0b;
}

.slot-theme-card__copy > p {
  color: var(--theme-accent);
}

.slot-theme-card__copy h2 {
  margin: 9px 0 12px;
  color: #fff7e9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  font-weight: 500;
  line-height: 1;
}

.slot-theme-card__copy > span {
  max-width: 580px;
  color: rgba(247, 241, 231, .65);
  line-height: 1.6;
}

.slot-theme-card__copy a {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: var(--theme-accent-bright);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
}

.slot-theme-card__copy a b {
  font-size: 1.2rem;
  transition: transform .2s ease;
}

.slot-theme-card__copy a:hover b {
  transform: translateX(5px);
}

.slot-showcase__footer {
  width: min(980px, calc(100% - 40px));
  margin: clamp(60px, 8vw, 100px) auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(247, 241, 231, .56);
  font-size: .86rem;
}

.slot-showcase__footer a {
  flex: 0 0 auto;
  color: #e9c06a;
  font-weight: 800;
  text-decoration: none;
}

/* ───────────────── máquina seleccionada ───────────────── */

html:has(.slot-cinematic),
body.slot-cinematic {
  min-height: 100%;
  margin: 0;
  background: #020204;
}

body.slot-cinematic {
  --slot-bg: none;
  --slot-bg-mobile: var(--slot-bg);
  --slot-accent: #e6b85d;
  --slot-accent-bright: #ffe9ad;
  --slot-accent-rgb: 230, 184, 93;
  --slot-secondary: #63351d;
  --slot-panel: rgba(8, 8, 10, .92);
  --slot-reel: linear-gradient(180deg, #191919, #030303);
  --slot-symbol-filter: none;
  min-height: 100vh;
  overflow: hidden;
  color: #f7f1e7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.slot-cinematic::before,
.slot-cinematic::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.slot-cinematic::before {
  z-index: 0;
  background-image: var(--slot-bg);
  background-position: center;
  background-size: cover;
  filter: saturate(.96) contrast(1.06);
  transform: scale(1.012);
}

.slot-cinematic::after {
  z-index: 1;
  background:
    radial-gradient(circle at 42% 48%, transparent 0 20%, rgba(0, 0, 0, .2) 56%, rgba(0, 0, 0, .7) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .25) 60%, rgba(0, 0, 0, .62));
}

.slot-cinematic .game-layout {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 390px);
  grid-template-rows: 100vh;
  grid-template-areas: "stage panel";
  background: transparent;
}

.slot-cinematic .stage {
  grid-area: stage;
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(72px, 7vw, 100px) clamp(20px, 4vw, 60px) clamp(30px, 5vw, 60px);
  overflow: hidden;
  background: transparent;
}

.slot-stage__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 52%, rgba(var(--slot-accent-rgb), .12), transparent 45%),
    linear-gradient(180deg, rgba(0, 0, 0, .18), transparent 30%, rgba(0, 0, 0, .2));
}

.slot-stage__meta {
  position: absolute;
  z-index: 5;
  top: clamp(18px, 3vw, 30px);
  left: clamp(18px, 3vw, 38px);
  right: clamp(18px, 3vw, 38px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.slot-stage__meta a,
.slot-stage__meta span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(0, 0, 0, .42);
  color: rgba(255, 255, 255, .82);
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.slot-stage__meta a:hover {
  border-color: var(--slot-accent);
  color: var(--slot-accent-bright);
}

.slot-cinematic .slot-frame {
  position: relative;
  z-index: 2;
  width: min(900px, 96%);
  aspect-ratio: 1.52 / 1;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  padding: clamp(54px, 6vw, 72px) clamp(14px, 2vw, 24px) clamp(28px, 3.5vw, 42px);
  border: 1px solid rgba(var(--slot-accent-rgb), .78);
  border-radius: clamp(23px, 3vw, 38px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .14), transparent 22%),
    linear-gradient(135deg, var(--slot-secondary), rgba(2, 3, 6, .96) 38% 68%, var(--slot-secondary));
  box-shadow:
    0 36px 90px rgba(0, 0, 0, .82),
    0 0 0 9px rgba(0, 0, 0, .26),
    0 0 58px rgba(var(--slot-accent-rgb), .3),
    inset 0 1px rgba(255, 255, 255, .2),
    inset 0 -20px 42px rgba(0, 0, 0, .5);
  overflow: visible;
  transform: perspective(1200px) rotateX(1deg);
  transition: box-shadow .35s ease, border-color .35s ease;
}

.slot-cinematic.is-spinning .slot-frame {
  border-color: var(--slot-accent-bright);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, .82),
    0 0 0 9px rgba(0, 0, 0, .26),
    0 0 78px rgba(var(--slot-accent-rgb), .48),
    inset 0 1px rgba(255, 255, 255, .2),
    inset 0 -20px 42px rgba(0, 0, 0, .5);
}

.slot-cinematic .slot-frame::before,
.slot-cinematic .slot-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.slot-cinematic .slot-frame::before {
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: calc(clamp(23px, 3vw, 38px) - 8px);
}

.slot-cinematic .slot-frame::after {
  left: 8%;
  right: 8%;
  bottom: 12px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--slot-accent), transparent);
  box-shadow: 0 0 18px rgba(var(--slot-accent-rgb), .9);
}

.slot-frame__crown {
  position: absolute;
  top: 13px;
  left: 13%;
  right: 13%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--slot-accent-bright);
  text-shadow: 0 0 20px rgba(var(--slot-accent-rgb), .9);
}

.slot-frame__crown i {
  width: min(24%, 160px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--slot-accent));
}

.slot-frame__crown i:last-child {
  transform: scaleX(-1);
}

.slot-frame__name {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  text-align: center;
}

.slot-frame__name small {
  display: none;
}

.slot-frame__name strong {
  display: block;
  overflow: hidden;
  color: var(--slot-accent-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(.9rem, 1.8vw, 1.25rem);
  font-weight: 500;
  letter-spacing: .1em;
  text-overflow: ellipsis;
  text-shadow: 0 2px 10px #000;
  text-transform: uppercase;
  white-space: nowrap;
}

.slot-frame__viewport {
  position: relative;
  flex: 1;
  min-height: 0;
  padding: clamp(8px, 1vw, 12px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: clamp(15px, 2vw, 22px);
  background: rgba(0, 0, 0, .91);
  box-shadow:
    inset 0 0 35px rgba(0, 0, 0, .94),
    0 14px 30px rgba(0, 0, 0, .5),
    0 0 24px rgba(var(--slot-accent-rgb), .12);
}

.slot-cinematic .reels {
  height: 100%;
  margin: 0 0 0 clamp(24px, 3vw, 35px);
  display: grid;
  grid-template-columns: .72fr repeat(5, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(4px, .65vw, 8px);
}

.slot-cinematic .reel {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: clamp(8px, 1.2vw, 14px);
  background: var(--slot-reel);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, .9), 0 7px 18px rgba(0, 0, 0, .35);
}

.slot-cinematic .reel:first-child {
  border-color: rgba(var(--slot-accent-rgb), .48);
  box-shadow:
    inset 0 0 20px rgba(0, 0, 0, .9),
    0 0 16px rgba(var(--slot-accent-rgb), .2);
}

.slot-cinematic .reel::before,
.slot-cinematic .reel::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  height: 13%;
  pointer-events: none;
}

.slot-cinematic .reel::before {
  top: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .82), transparent);
}

.slot-cinematic .reel::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .82), transparent);
}

.slot-cinematic .reel-band {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slot-cinematic .symbol-cell {
  position: relative;
  z-index: 0;
  height: calc(100% / 4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2px, .45vw, 6px);
  border-bottom: 1px solid rgba(255, 255, 255, .025);
  background: radial-gradient(circle, rgba(var(--slot-accent-rgb), .045), transparent 67%);
  transition: background .3s ease, opacity .3s ease, transform .3s ease;
}

.slot-cinematic .symbol-cell img {
  width: 94%;
  height: 94%;
  object-fit: contain;
  filter: var(--slot-symbol-filter) drop-shadow(0 4px 7px rgba(0, 0, 0, .9));
  transform: translateZ(0);
  transform-origin: center;
  transition: filter .3s ease, opacity .3s ease, transform .3s ease;
  will-change: filter, opacity, transform;
}

.slot-cinematic.has-slot-win .symbol-cell.is-muted-symbol img {
  opacity: .2;
  filter: grayscale(.7) brightness(.42) drop-shadow(0 2px 4px rgba(0, 0, 0, .8));
  transform: scale(.82);
}

.slot-cinematic.has-slot-win .symbol-cell.is-winning-symbol {
  z-index: 6;
  border-radius: 14px;
  background:
    radial-gradient(circle, rgba(var(--slot-accent-rgb), .34), transparent 68%);
  box-shadow:
    inset 0 0 18px rgba(var(--slot-accent-rgb), .16),
    0 0 22px rgba(var(--slot-accent-rgb), .24);
}

.slot-cinematic.has-slot-win .symbol-cell.is-winning-symbol img {
  opacity: 1;
  filter:
    var(--slot-symbol-filter)
    drop-shadow(0 9px 10px rgba(0, 0, 0, .92))
    drop-shadow(0 0 12px var(--slot-accent))
    drop-shadow(0 0 25px rgba(var(--slot-accent-rgb), .75));
  animation: slot-symbol-victory 1.08s cubic-bezier(.22, .8, .28, 1) infinite;
}

.slot-cinematic .reel.reel--winning {
  border-color: rgba(var(--slot-accent-rgb), .62);
  box-shadow:
    inset 0 0 22px rgba(0, 0, 0, .9),
    0 0 18px rgba(var(--slot-accent-rgb), .34);
}

@keyframes slot-symbol-victory {
  0%, 100% {
    transform: translateY(-2px) scale(1.06);
  }
  46% {
    transform: translateY(-8px) scale(1.22);
  }
  62% {
    transform: translateY(-5px) scale(1.15);
  }
}

.slot-frame__scan {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(var(--slot-accent-rgb), .42), transparent);
  box-shadow: 0 0 12px rgba(var(--slot-accent-rgb), .34);
}

.slot-cinematic.is-spinning .slot-frame__scan {
  height: 2px;
  box-shadow: 0 0 22px rgba(var(--slot-accent-rgb), .72);
}

.slot-cinematic .slot-arrow {
  position: absolute;
  z-index: 5;
  left: 5px;
  top: 50%;
  width: clamp(17px, 2vw, 24px);
  height: clamp(17px, 2vw, 24px);
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--slot-accent-bright) 28%, var(--slot-accent) 64%, var(--slot-secondary));
  box-shadow: 0 0 22px rgba(var(--slot-accent-rgb), .75);
}

.slot-cinematic .slot-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 82%;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 11px solid var(--slot-accent);
  filter: drop-shadow(0 0 5px rgba(var(--slot-accent-rgb), .8));
}

.slot-frame__footer {
  position: absolute;
  bottom: 14px;
  left: 20%;
  right: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--slot-accent-bright);
  font-size: .7rem;
}

.slot-frame__footer span {
  width: 26%;
  height: 1px;
  background: rgba(var(--slot-accent-rgb), .45);
}

.slot-cinematic .panel {
  grid-area: panel;
  position: relative;
  width: auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 3vw, 38px) clamp(20px, 2.5vw, 32px);
  overflow-y: auto;
  border: 0;
  border-left: 1px solid rgba(var(--slot-accent-rgb), .28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), transparent 22%),
    var(--slot-panel);
  box-shadow: -24px 0 70px rgba(0, 0, 0, .56);
  backdrop-filter: blur(20px) saturate(118%);
}

.slot-cinematic .panel::before {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 24px;
  pointer-events: none;
}

.slot-cinematic .panel__header {
  position: relative;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(var(--slot-accent-rgb), .28);
}

.slot-cinematic .panel__kicker {
  margin: 0 0 9px;
  color: var(--slot-accent);
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.slot-cinematic .panel__title {
  margin: 0 0 8px;
  color: #fff9ef;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.025em;
  text-shadow: 0 4px 22px rgba(0, 0, 0, .8);
}

.slot-cinematic .panel__subtitle {
  margin: 0;
  color: rgba(247, 241, 231, .63);
  font-size: .86rem;
  line-height: 1.55;
}

.slot-cinematic .panel-apuesta {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px 13px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 18px;
  background: rgba(0, 0, 0, .5);
  box-shadow: inset 0 1px rgba(255, 255, 255, .035), 0 18px 44px rgba(0, 0, 0, .3);
}

.slot-cinematic .panel-apuesta > label {
  color: rgba(247, 241, 231, .68);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .04em;
}

.slot-input-wrap {
  position: relative;
}

.slot-input-wrap input {
  width: 100%;
  height: 44px;
  padding: 0 40px 0 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px;
  background: rgba(3, 3, 5, .84);
  color: #fff9ef;
  font: inherit;
  box-shadow: inset 0 2px 9px rgba(0, 0, 0, .62);
}

.slot-input-wrap input:focus {
  outline: none;
  border-color: var(--slot-accent);
  box-shadow: 0 0 0 3px rgba(var(--slot-accent-rgb), .18);
}

.slot-input-wrap > span {
  position: absolute;
  top: 50%;
  right: 13px;
  transform: translateY(-50%);
  color: var(--slot-accent);
  font-size: .68rem;
  pointer-events: none;
}

.slot-cinematic .stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.slot-cinematic .stats > span {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 11px;
  background: rgba(255, 255, 255, .025);
}

.slot-cinematic .stats > span:nth-child(2) {
  grid-column: span 2;
  grid-row: 2;
}

.slot-cinematic .stats small,
.slot-cinematic .stats strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slot-cinematic .stats small {
  margin-bottom: 4px;
  color: rgba(247, 241, 231, .46);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.slot-cinematic .stats strong {
  color: var(--slot-accent-bright);
  font-size: .82rem;
  font-weight: 750;
  text-shadow: 0 0 14px rgba(var(--slot-accent-rgb), .28);
}

.slot-cinematic .speed-control {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  min-width: 0;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
}

.slot-cinematic .speed-control legend {
  width: 100%;
  grid-column: 1 / -1;
  margin-bottom: 3px;
  color: rgba(247, 241, 231, .5);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.slot-cinematic .speed-control label {
  position: relative;
  cursor: pointer;
}

.slot-cinematic .speed-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.slot-cinematic .speed-control label span {
  display: block;
  padding: 8px 5px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 9px;
  background: rgba(255, 255, 255, .025);
  color: rgba(247, 241, 231, .62);
  font-size: .66rem;
  font-weight: 800;
  text-align: center;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.slot-cinematic .speed-control input:checked + span {
  border-color: rgba(var(--slot-accent-rgb), .7);
  background: rgba(var(--slot-accent-rgb), .17);
  color: var(--slot-accent-bright);
  box-shadow: inset 0 0 15px rgba(var(--slot-accent-rgb), .1);
}

.slot-cinematic .speed-control.is-disabled {
  opacity: .52;
}

.slot-cinematic .speed-control.is-disabled label,
.slot-cinematic .speed-control input:disabled + span {
  cursor: not-allowed;
}

.slot-cinematic .speed-control input:disabled + span {
  filter: saturate(.45);
}

.panel__rule {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 14px;
  padding: 14px 3px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: rgba(247, 241, 231, .55);
  font-size: .7rem;
}

.panel__rule b {
  color: var(--slot-accent);
}

.slot-cinematic .panel__actions {
  position: relative;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 9px;
  margin-top: auto;
}

.slot-cinematic .btn {
  min-width: 0;
  min-height: 48px;
  padding: 11px 13px;
  border-radius: 999px;
  cursor: pointer;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .075em;
  text-transform: uppercase;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.slot-cinematic .btn:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.slot-cinematic .btn--primary {
  border: 1px solid rgba(255, 255, 255, .32);
  background: linear-gradient(135deg, var(--slot-secondary), var(--slot-accent-bright) 52%, var(--slot-accent));
  color: #090604;
  box-shadow: 0 12px 28px rgba(var(--slot-accent-rgb), .25), inset 0 1px rgba(255, 255, 255, .48);
}

.slot-cinematic .btn--secondary {
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .045);
  color: #f5efe5;
}

.slot-cinematic .btn:disabled,
.slot-cinematic .is-disabled {
  cursor: not-allowed;
  opacity: .5;
}

.slot-cinematic #confetti-canvas {
  position: fixed;
  z-index: 2147483647;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.slot-cinematic .dragon-loading {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(var(--slot-accent-rgb), .16), transparent 42%),
    rgba(0, 0, 0, .94);
  backdrop-filter: blur(14px);
}

.slot-cinematic .dragon-loading.is-hidden {
  display: none;
}

.slot-cinematic .dragon-loading__box {
  width: min(340px, calc(100% - 42px));
  padding: 26px;
  border: 1px solid rgba(var(--slot-accent-rgb), .45);
  border-radius: 22px;
  background: rgba(5, 5, 7, .9);
  box-shadow: 0 24px 70px #000, 0 0 35px rgba(var(--slot-accent-rgb), .15);
  text-align: center;
}

.dragon-loading__crest {
  display: block;
  margin-bottom: 10px;
  color: var(--slot-accent-bright);
  text-shadow: 0 0 18px rgba(var(--slot-accent-rgb), .8);
}

.slot-cinematic .dragon-loading__title {
  margin-bottom: 6px;
  color: #fff8ec;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.slot-cinematic .dragon-loading__status {
  min-height: 2.8em;
  margin: 0 0 14px;
  color: rgba(247, 241, 231, .68);
  font-size: .76rem;
  line-height: 1.4;
}

.slot-cinematic .dragon-loading__bar {
  width: 100%;
  height: 6px;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.slot-cinematic .dragon-loading__bar-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--slot-secondary), var(--slot-accent-bright));
  box-shadow: 0 0 15px rgba(var(--slot-accent-rgb), .6);
  transition: width .25s ease-out;
}

.slot-cinematic .dragon-loading__percent {
  color: rgba(247, 241, 231, .6);
  font-size: .7rem;
}

.slot-cinematic .dragon-loading__retry,
.slot-cinematic .dragon-loading__back {
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  border-radius: 12px;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.slot-cinematic .dragon-loading__retry {
  display: flex;
  border: 1px solid rgba(var(--slot-accent-rgb), .5);
  color: #100d08;
  background: linear-gradient(135deg, var(--slot-accent-bright), var(--slot-accent));
  cursor: pointer;
}

.slot-cinematic .dragon-loading__retry[hidden] { display: none; }

.slot-cinematic .dragon-loading__back {
  display: none;
  color: rgba(247, 241, 231, .68);
  text-decoration: none;
}

.slot-cinematic .dragon-loading.has-error .dragon-loading__crest {
  color: #ff9b78;
}

.slot-cinematic .dragon-loading.has-error .dragon-loading__bar-fill {
  background: linear-gradient(90deg, #8e2f20, #ff9b78);
}

.slot-cinematic .dragon-loading.has-error .dragon-loading__back {
  display: flex;
}

@media (max-width: 900px) {
  .slot-theme-grid {
    grid-template-columns: 1fr;
    width: min(720px, calc(100% - 28px));
  }

  .slot-showcase__hero {
    min-height: 620px;
  }

  .slot-showcase__footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  body.slot-cinematic {
    min-height: 100%;
    overflow: auto;
  }

  .slot-cinematic::before {
    background-image: var(--slot-bg-mobile);
    background-position: center top;
  }

  .slot-cinematic::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .24) 43%, rgba(0, 0, 0, .88) 69%, #020204 100%),
      radial-gradient(circle at 50% 28%, transparent, rgba(0, 0, 0, .35) 70%);
  }

  .slot-cinematic .game-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(430px, 62vh) auto;
    grid-template-areas: "stage" "panel";
  }

  .slot-cinematic .stage {
    min-height: 430px;
    padding: 70px 8px 18px;
    overflow: visible;
  }

  .slot-stage__meta {
    top: 14px;
    left: 12px;
    right: 12px;
  }

  .slot-stage__meta a,
  .slot-stage__meta span {
    max-width: 48%;
    overflow: hidden;
    padding: 8px 10px;
    font-size: .57rem;
    letter-spacing: .09em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .slot-cinematic .slot-frame {
    width: min(100%, 620px);
    aspect-ratio: 1.34 / 1;
    padding: 48px 8px 27px;
    border-radius: 23px;
    box-shadow:
      0 26px 60px rgba(0, 0, 0, .82),
      0 0 0 5px rgba(0, 0, 0, .25),
      0 0 34px rgba(var(--slot-accent-rgb), .25),
      inset 0 1px rgba(255, 255, 255, .17);
  }

  .slot-frame__crown {
    top: 10px;
  }

  .slot-frame__name {
    top: 20px;
  }

  .slot-frame__name strong {
    font-size: clamp(.7rem, 3vw, .98rem);
  }

  .slot-frame__viewport {
    padding: 6px;
    border-radius: 14px;
  }

  .slot-cinematic .reels {
    margin-left: 23px;
    gap: 3px;
  }

  .slot-cinematic .reel {
    border-radius: 7px;
  }

  .slot-cinematic .symbol-cell {
    padding: 1px;
  }

  .slot-cinematic .symbol-cell img {
    width: 98%;
    height: 98%;
  }

  .slot-cinematic .slot-arrow {
    left: 3px;
    width: 17px;
    height: 17px;
  }

  .slot-cinematic .slot-arrow::after {
    border-top-width: 5px;
    border-bottom-width: 5px;
    border-left-width: 8px;
  }

  .slot-frame__footer {
    bottom: 10px;
  }

  .slot-cinematic .panel {
    min-height: 410px;
    overflow: visible;
    gap: 16px;
    padding: 24px 18px max(30px, env(safe-area-inset-bottom));
    border-left: 0;
    border-top: 1px solid rgba(var(--slot-accent-rgb), .27);
    border-radius: 26px 26px 0 0;
    background:
      linear-gradient(180deg, rgba(var(--slot-accent-rgb), .07), transparent 18%),
      rgba(3, 4, 7, .94);
    box-shadow: 0 -22px 60px rgba(0, 0, 0, .65);
    backdrop-filter: blur(22px) saturate(118%);
  }

  .slot-cinematic .panel::before {
    inset: 8px;
    border-radius: 20px 20px 0 0;
  }

  .slot-cinematic .panel__header,
  .slot-cinematic .panel-apuesta,
  .slot-cinematic .panel__rule,
  .slot-cinematic .panel__actions {
    width: min(100%, 620px);
    margin-right: auto;
    margin-left: auto;
  }

  .slot-cinematic .panel__title {
    font-size: 1.75rem;
  }

  .slot-cinematic .panel__actions {
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .slot-showcase__hero {
    min-height: 610px;
    padding-right: 17px;
    padding-left: 17px;
  }

  .slot-showcase__hero h1 {
    font-size: clamp(2.7rem, 15vw, 4.5rem);
  }

  .slot-showcase__lead {
    font-size: .94rem;
  }

  .slot-showcase__rules span {
    padding: 8px 10px;
    font-size: .68rem;
  }

  .slot-theme-card {
    border-radius: 22px;
  }

  .slot-theme-card__visual {
    min-height: 300px;
  }

  .slot-theme-card__machine {
    width: 78%;
    border-radius: 18px 18px 13px 13px;
  }

  .slot-theme-card__copy {
    min-height: 260px;
    padding: 24px 21px;
  }

  .slot-theme-card__copy h2 {
    font-size: 1.78rem;
  }

  .slot-theme-card__material {
    display: none;
  }

  .slot-cinematic .game-layout {
    grid-template-rows: minmax(390px, 57vh) auto;
  }

  .slot-cinematic .stage {
    min-height: 390px;
    padding-top: 64px;
  }

  .slot-cinematic .slot-frame {
    aspect-ratio: 1.28 / 1;
  }

  .slot-cinematic .stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slot-theme-card__visual::before,
  .slot-theme-card__copy a b,
  .slot-cinematic .btn {
    transition: none;
  }

  .slot-cinematic.has-slot-win .symbol-cell.is-winning-symbol img {
    animation: none;
    transform: translateY(-4px) scale(1.12);
  }
}
