:root {
  --ink-950: #030712;
  --ink-900: #050b1c;
  --ink-850: #071126;
  --ink-800: #0a1632;
  --ink-700: #102451;
  --cyan-300: #73f1ff;
  --cyan-400: #38e7ff;
  --blue-400: #4a8cff;
  --blue-500: #3175ff;
  --violet-500: #8b5cff;
  --gold-300: #ffe78a;
  --gold-400: #ffcd55;
  --white: #ffffff;
  --text: #f7f9ff;
  --muted: #a8b5d2;
  --line: rgba(118, 201, 255, 0.18);
  --surface: rgba(11, 25, 57, 0.72);
  --surface-strong: rgba(13, 30, 66, 0.94);
  --shadow: 0 28px 80px rgba(0, 5, 22, 0.48);
  --glow: 0 0 36px rgba(56, 231, 255, 0.2);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-height: 78px;
  --ease: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 9%, rgba(49, 117, 255, 0.14), transparent 31rem),
    radial-gradient(circle at 91% 36%, rgba(139, 92, 255, 0.1), transparent 30rem),
    var(--ink-900);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--cyan-300);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  color: var(--ink-950);
  background: var(--cyan-300);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition:
    background var(--ease),
    border-color var(--ease),
    box-shadow var(--ease);
}

.site-header.is-scrolled {
  background: rgba(3, 7, 18, 0.88);
  border-color: var(--line);
  box-shadow: 0 12px 40px rgba(0, 4, 18, 0.32);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand strong {
  color: var(--cyan-300);
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  position: relative;
  padding-block: 8px;
  color: #d8e1f6;
  font-size: 0.92rem;
  font-weight: 650;
  transition: color var(--ease);
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(13, 31, 66, 0.76);
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 3px;
  transition:
    transform var(--ease),
    opacity var(--ease);
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(2) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    border-color var(--ease),
    background var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 10px 19px;
  font-size: 0.85rem;
}

.button-large {
  min-width: 226px;
  min-height: 56px;
}

.button-primary {
  color: #02101f;
  background: linear-gradient(115deg, var(--cyan-300), #45b8ff 48%, #7792ff);
  box-shadow: 0 12px 32px rgba(56, 231, 255, 0.2);
}

.button-primary:hover {
  box-shadow: 0 16px 38px rgba(56, 231, 255, 0.34);
}

.button-ghost {
  color: var(--text);
  border-color: rgba(115, 241, 255, 0.42);
  background: rgba(7, 17, 38, 0.58);
}

.button-ghost:hover {
  background: rgba(18, 49, 96, 0.74);
  border-color: var(--cyan-300);
}

.button-gold {
  color: #171003;
  background: linear-gradient(120deg, var(--gold-300), var(--gold-400));
  box-shadow: 0 14px 32px rgba(255, 205, 85, 0.18);
}

.hero {
  position: relative;
  min-height: 740px;
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + 68px) 0 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 44%, rgba(49, 117, 255, 0.22), transparent 26rem),
    linear-gradient(180deg, rgba(3, 7, 18, 0.1), var(--ink-900));
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(56, 231, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 720px;
  height: 720px;
  top: 42px;
  right: -180px;
}

.hero::after {
  width: 520px;
  height: 520px;
  top: 145px;
  right: -80px;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(96, 173, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 173, 255, 0.12) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(480px, 1.06fr);
  align-items: center;
  gap: 30px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--cyan-300);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.eyebrow span {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-500));
  box-shadow: 0 0 14px rgba(56, 231, 255, 0.55);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  margin: 0;
  color: var(--white);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", ui-sans-serif, sans-serif;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0.018em;
  text-wrap: balance;
}

h1 {
  max-width: 680px;
  font-size: clamp(3.45rem, 6.4vw, 6.4rem);
}

h2 {
  font-size: clamp(2.3rem, 4.3vw, 4.25rem);
}

h1 em,
h2 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(100deg, var(--cyan-300), #75a7ff 70%, #b09aff);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: #c7d1e8;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.cta-note {
  max-width: 610px;
  margin: 14px 0 0;
  color: #8795b3;
  font-size: 0.78rem;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-visual > img {
  position: relative;
  z-index: 1;
  width: min(100%, 670px);
  filter: drop-shadow(0 32px 45px rgba(0, 4, 24, 0.55));
  animation: hover-art 5.5s ease-in-out infinite;
}

.promo-float {
  position: absolute;
  z-index: 3;
  max-width: 200px;
  padding: 14px 16px;
  border: 1px solid rgba(115, 241, 255, 0.34);
  border-radius: 14px;
  background: rgba(5, 13, 34, 0.84);
  box-shadow: var(--shadow), var(--glow);
  backdrop-filter: blur(14px);
}

.promo-float span,
.promo-float strong,
.promo-float small {
  display: block;
}

.promo-float span:not(.stars) {
  color: var(--cyan-300);
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.promo-float strong {
  margin-top: 2px;
  color: var(--white);
  font-size: 1rem;
}

.promo-float small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.35;
}

.promo-float-top {
  top: 16%;
  right: 1%;
}

.promo-float-bottom {
  bottom: 15%;
  left: 1%;
}

.promo-float .stars {
  color: var(--gold-400);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

@keyframes hover-art {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.facts {
  position: relative;
  z-index: 4;
  border-block: 1px solid var(--line);
  background: rgba(3, 9, 24, 0.84);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  position: relative;
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 28px 22px 74px;
  border-right: 1px solid var(--line);
}

.fact:last-child {
  border-right: 0;
}

.fact > span {
  position: absolute;
  left: 24px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--cyan-300);
  border: 1px solid rgba(115, 241, 255, 0.35);
  border-radius: 50%;
  font-size: 0.69rem;
  font-weight: 900;
}

.fact strong {
  color: var(--white);
  font-size: 0.95rem;
}

.fact small {
  color: var(--muted);
  font-size: 0.73rem;
}

.section {
  position: relative;
  padding: 108px 0;
}

.section-heading {
  max-width: 730px;
}

.section-heading-center {
  margin-inline: auto;
  text-align: center;
}

.section-heading-center .eyebrow {
  justify-content: center;
}

.section-heading > p:last-child {
  max-width: 680px;
  margin: 20px auto 0;
  color: var(--muted);
}

.games-section {
  overflow: hidden;
}

.games-section::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  top: 190px;
  left: -280px;
  background: rgba(49, 117, 255, 0.18);
  border-radius: 50%;
  filter: blur(90px);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 52px;
}

.game-card {
  position: relative;
  min-height: 286px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(16, 40, 85, 0.76), rgba(6, 14, 33, 0.82)),
    var(--surface);
  box-shadow: 0 18px 45px rgba(0, 5, 22, 0.18);
  transition:
    transform var(--ease),
    border-color var(--ease),
    box-shadow var(--ease);
}

.game-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  top: -50px;
  right: -50px;
  background: radial-gradient(circle, rgba(56, 231, 255, 0.22), transparent 68%);
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(115, 241, 255, 0.45);
  box-shadow: 0 23px 54px rgba(0, 5, 22, 0.36), var(--glow);
}

.game-card-featured {
  background:
    linear-gradient(145deg, rgba(39, 75, 170, 0.78), rgba(10, 22, 52, 0.9)),
    var(--surface);
}

.game-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--ink-950);
  background: linear-gradient(135deg, var(--cyan-300), #7393ff);
  border-radius: 14px;
  box-shadow: 0 12px 25px rgba(56, 231, 255, 0.16);
  font-size: 1.45rem;
  font-weight: 950;
}

.card-kicker {
  color: var(--cyan-300);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.game-card h3 {
  margin: 6px 0 10px;
  color: var(--white);
  font-size: 1.28rem;
}

.game-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.game-card a {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
}

.game-card a span {
  color: var(--cyan-300);
}

.showcase-section {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(7, 21, 52, 0.9), rgba(4, 9, 23, 0.96)),
    var(--ink-900);
}

.showcase-layout {
  display: grid;
  grid-template-columns: 1fr minmax(380px, 0.8fr);
  align-items: center;
  gap: 92px;
}

.showcase-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #d9e2f7;
}

.check-list li span {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  margin-top: 1px;
  color: var(--ink-950);
  background: var(--cyan-300);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 950;
}

.offer-panel {
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 54px 42px;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(255, 213, 91, 0.28);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 205, 85, 0.14), transparent 52%),
    linear-gradient(145deg, rgba(24, 36, 80, 0.94), rgba(7, 14, 34, 0.96));
  box-shadow: var(--shadow);
}

.offer-panel > *:not(.offer-orbit) {
  position: relative;
  z-index: 2;
}

.offer-orbit {
  position: absolute;
  border: 1px solid rgba(115, 241, 255, 0.13);
  border-radius: 50%;
}

.offer-orbit-one {
  width: 390px;
  height: 390px;
}

.offer-orbit-two {
  width: 280px;
  height: 280px;
}

.offer-tag {
  padding: 7px 12px;
  color: var(--gold-300);
  border: 1px solid rgba(255, 231, 138, 0.3);
  border-radius: 999px;
  background: rgba(255, 205, 85, 0.08);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.offer-panel > p {
  margin: 24px 0 0;
  color: #dfe7f8;
  font-size: 1.04rem;
  font-weight: 750;
}

.offer-amount {
  margin-top: 2px;
  color: transparent;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-400));
  background-clip: text;
  -webkit-background-clip: text;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.4rem, 6vw, 5.1rem);
  line-height: 1;
}

.offer-panel > small {
  max-width: 300px;
  margin: 13px 0 25px;
  color: var(--muted);
  font-size: 0.76rem;
}

.steps-section {
  background: linear-gradient(180deg, var(--ink-900), rgba(8, 18, 41, 0.9));
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0;
  margin: 54px 0 0;
  list-style: none;
  counter-reset: steps;
}

.steps-grid li {
  position: relative;
  min-height: 230px;
  padding: 34px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(8, 22, 50, 0.72);
}

.steps-grid li::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -36px;
  bottom: -36px;
  background: rgba(49, 117, 255, 0.16);
  border-radius: 50%;
  filter: blur(10px);
}

.step-number {
  display: block;
  margin-bottom: 36px;
  color: var(--cyan-300);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.08em;
}

.steps-grid h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1.22rem;
}

.steps-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.final-cta {
  padding-block: 56px;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(22, 69, 151, 0.35), rgba(26, 16, 67, 0.38));
}

.final-cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
}

.final-cta-panel h2 {
  max-width: 820px;
  font-size: clamp(2.15rem, 4vw, 3.8rem);
}

.final-cta-panel p:last-child {
  margin: 15px 0 0;
  color: var(--muted);
}

.faq-section {
  background:
    radial-gradient(circle at 10% 40%, rgba(49, 117, 255, 0.12), transparent 24rem),
    var(--ink-900);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) 1fr;
  align-items: start;
  gap: 86px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(9, 23, 52, 0.76);
  transition:
    background var(--ease),
    border-color var(--ease);
}

.faq-list details[open] {
  border-color: rgba(115, 241, 255, 0.38);
  background: rgba(13, 31, 66, 0.9);
}

.faq-list summary {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  color: var(--white);
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 750;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  flex: 0 0 auto;
  color: var(--cyan-300);
  font-size: 1.35rem;
  transition: transform var(--ease);
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #020611;
}

.footer-top {
  min-height: 170px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 52px;
}

.brand-footer {
  min-width: max-content;
}

.footer-top > p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-badges span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 10px;
  color: #cdd8ee;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.footer-badges span:first-child {
  color: var(--gold-300);
  border-color: rgba(255, 205, 85, 0.35);
}

.footer-bottom {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #7583a2;
  border-top: 1px solid rgba(118, 201, 255, 0.1);
  font-size: 0.72rem;
}

.mobile-cta {
  display: none;
}

@media (max-width: 1040px) {
  .header-inner {
    gap: 20px;
  }

  .main-nav {
    gap: 18px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  }

  .hero-visual {
    min-height: 490px;
  }

  .showcase-layout,
  .faq-layout {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: block;
    grid-column: 3;
    justify-self: end;
  }

  .header-cta {
    grid-column: 2;
    grid-row: 1;
  }

  /* El panel móvil ocupa la anchura completa para evitar elementos interactivos ocultos tras el hero. */
  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    max-height: 0;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding-inline: 20px;
    overflow: hidden;
    background: rgba(3, 7, 18, 0.98);
    border-bottom: 1px solid transparent;
    transition:
      max-height 260ms ease,
      padding 260ms ease,
      border-color 260ms ease;
  }

  .main-nav.is-open {
    max-height: 340px;
    padding-block: 16px 22px;
    border-color: var(--line);
  }

  .main-nav a {
    min-height: 52px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(118, 201, 255, 0.1);
  }

  .hero {
    padding-top: calc(var(--header-height) + 54px);
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-copy {
    max-width: 760px;
    text-align: center;
  }

  .hero-copy .eyebrow,
  .hero-actions {
    justify-content: center;
  }

  .hero-lead,
  .cta-note {
    margin-inline: auto;
  }

  .hero-visual {
    min-height: 460px;
  }

  .hero-visual > img {
    width: min(100%, 590px);
  }

  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact:nth-child(2) {
    border-right: 0;
  }

  .fact:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .offer-panel {
    min-height: 390px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid li {
    min-height: 0;
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: start;
    gap: 8px;
  }

  .step-number {
    margin: 0;
  }

  .final-cta-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .final-cta-panel .eyebrow {
    justify-content: center;
  }

  .final-cta-panel .button {
    justify-self: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 44px;
    text-align: center;
  }

  .brand-footer,
  .footer-badges {
    justify-self: center;
  }

  .footer-top > p {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header,
  .site-header.is-scrolled {
    background: rgba(3, 7, 18, 0.94);
    backdrop-filter: blur(16px);
  }

  .brand {
    gap: 8px;
    font-size: 0.76rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .header-cta {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .menu-toggle {
    grid-column: 2;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 48px) 0 52px;
  }

  .hero::before {
    width: 460px;
    height: 460px;
    right: -250px;
  }

  .hero::after {
    display: none;
  }

  h1 {
    font-size: clamp(3.15rem, 17vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 360px;
    margin-top: 12px;
  }

  .hero-visual > img {
    width: min(114%, 480px);
    max-width: 114%;
  }

  .promo-float {
    max-width: 154px;
    padding: 10px 12px;
  }

  .promo-float-top {
    top: 14%;
    right: 0;
  }

  .promo-float-bottom {
    bottom: 10%;
    left: 0;
  }

  .promo-float strong {
    font-size: 0.78rem;
  }

  .promo-float small {
    font-size: 0.6rem;
  }

  .facts-grid {
    grid-template-columns: 1fr;
  }

  .fact,
  .fact:nth-child(2) {
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 76px 0;
  }

  .game-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 40px;
  }

  .game-card {
    min-height: 0;
  }

  .showcase-layout {
    gap: 38px;
  }

  .offer-panel {
    min-height: 360px;
    padding: 44px 24px;
  }

  .steps-grid li {
    grid-template-columns: 58px 1fr;
    padding: 27px 22px;
  }

  .final-cta {
    padding-block: 54px;
  }

  .final-cta-panel {
    gap: 30px;
  }

  .final-cta-panel .button {
    width: 100%;
  }

  .faq-layout {
    gap: 36px;
  }

  .footer-bottom {
    min-height: 90px;
    flex-direction: column;
    justify-content: center;
    padding-block: 16px;
    text-align: center;
  }

  /* El espacio inferior evita que el CTA fijo cubra el aviso legal y los últimos controles. */
  body {
    padding-bottom: 76px;
  }

  .mobile-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 90;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 14px max(9px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(115, 241, 255, 0.32);
    background: rgba(3, 7, 18, 0.96);
    box-shadow: 0 -12px 36px rgba(0, 4, 20, 0.48);
    backdrop-filter: blur(16px);
  }

  .mobile-cta > span {
    color: var(--muted);
    font-size: 0.7rem;
  }

  .mobile-cta > span strong {
    display: block;
    color: var(--gold-300);
    font-size: 0.86rem;
  }

  .mobile-cta .button {
    min-width: 120px;
    min-height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
