:root {
  --bg: #06040c;
  --bg-soft: #0e0818;
  --surface: #140d22;
  --surface-hover: #1c1230;
  --purple-deep: #1a0f32;
  --violet: #5c3d9e;
  --violet-bright: #8b5cf6;
  --lime: #c4ff3d;
  --lime-dim: #9ecc2f;
  --cyan: #3de8ff;
  --text: #f5f2fb;
  --text-muted: #b8adc9;
  --line: rgba(196, 255, 61, 0.12);
  --line-soft: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --container: min(100% - 2rem, 76rem);
  --narrow: min(100% - 2rem, 58rem);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Syne", var(--font);
  --radius: 1rem;
  --radius-lg: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
ol,
ul {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.85rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 999;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  background: var(--lime);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(6, 4, 12, 0.92);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: var(--container);
  min-height: 3.75rem;
  margin-inline: auto;
  padding-block: 0.65rem;
}

.brand img {
  width: auto;
  height: 2.25rem;
}

.nav-toggle {
  display: none;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line-soft);
  border-radius: 0.5rem;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.primary-nav a {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.15s;
}

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

.header-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.header-meta span {
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--line-soft);
  border-radius: 0.35rem;
  color: var(--cyan);
}

.header-meta strong {
  color: var(--lime);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-primary {
  border: none;
  background: linear-gradient(135deg, var(--lime) 0%, var(--lime-dim) 100%);
  color: #0a0612;
  box-shadow: 0 8px 28px rgba(196, 255, 61, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(196, 255, 61, 0.35);
}

.btn-secondary {
  border: 1px solid rgba(196, 255, 61, 0.35);
  background: transparent;
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--lime);
  color: var(--lime);
}

.btn-ghost {
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), transparent);
}

.section-lead {
  max-width: 58ch;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

/* Hero */
.hero {
  position: relative;
  overflow-x: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 20%, rgba(91, 61, 158, 0.45), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 10%, rgba(61, 232, 255, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  width: var(--container);
  margin-inline: auto;
  padding: clamp(2.25rem, 5vw, 4.25rem) 0 clamp(2rem, 3.5vw, 3rem);
}

.hero-copy h1 {
  max-width: 16ch;
  margin-bottom: 1.15rem;
  font-size: clamp(2rem, 4.35vw, 3.45rem);
}

.hero-intro {
  max-width: 52ch;
  margin-bottom: 1.75rem;
  font-size: clamp(1rem, 1.55vw, 1.15rem);
}

.hero-cta-wrap {
  margin-top: 0.25rem;
}

.cta-maxwin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.62rem;
  width: fit-content;
  max-width: 100%;
  min-height: 3rem;
  padding: 0.72rem 1.28rem 0.72rem 1.38rem;
  border: 1px solid rgba(196, 255, 61, 0.45);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(196, 255, 61, 0.18) 0%, rgba(61, 232, 255, 0.08) 100%),
    linear-gradient(180deg, #d4ff55 0%, #b8ff2e 48%, #9ecc2f 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 8px 22px rgba(196, 255, 61, 0.12),
    0 3px 12px rgba(0, 0, 0, 0.28);
  color: #0a0612;
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.25vw, 1.02rem);
  font-weight: 700;
  letter-spacing: -0.012em;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.cta-maxwin:hover,
.cta-maxwin:focus-visible {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 10px 26px rgba(196, 255, 61, 0.16),
    0 6px 18px rgba(0, 0, 0, 0.32);
  filter: brightness(1.02);
}

.cta-maxwin:active {
  transform: translateY(0) scale(0.995);
}

.cta-maxwin-label {
  line-height: 1.15;
  white-space: nowrap;
}

.cta-maxwin-arrow {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  margin-top: 0.02rem;
  border-radius: 999px;
  background: rgba(10, 6, 18, 0.1);
  font-size: 0.92rem;
  line-height: 1;
  transition: transform 0.18s ease;
}

.cta-maxwin:hover .cta-maxwin-arrow,
.cta-maxwin:focus-visible .cta-maxwin-arrow {
  transform: translateX(3px);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.hero-visual img {
  width: 142%;
  max-width: none;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  filter: drop-shadow(0 36px 72px rgba(0, 0, 0, 0.52));
  transform: perspective(1500px) rotateY(-2.5deg);
}

.hero-glow {
  position: absolute;
  inset: 2% -2% 0 6%;
  z-index: -1;
  background: radial-gradient(
    ellipse 88% 78% at 50% 50%,
    rgba(139, 92, 246, 0.36) 0%,
    rgba(91, 61, 158, 0.14) 48%,
    transparent 72%
  );
  pointer-events: none;
}

@media (min-width: 1280px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  }

  .hero-visual img {
    width: 152%;
  }
}

/* Section shells */
.section {
  width: var(--container);
  margin-inline: auto;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.section-header {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.section-header h2 {
  max-width: 20ch;
}

/* Juegos showcase */
.showcase-juegos {
  position: relative;
}

.showcase-juegos::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 13, 34, 0.6) 100%);
  pointer-events: none;
}

.juegos-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.juegos-visual {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.juegos-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.category-pills span {
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.category-pills span:first-child {
  border-color: rgba(196, 255, 61, 0.4);
  color: var(--lime);
}

/* Tragamonedas */
.showcase-slots {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.slots-copy h2 {
  max-width: 18ch;
}

.slots-visual {
  margin: 0;
}

.slots-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  filter: drop-shadow(var(--shadow));
}

/* Registration flow */
.flow-registro {
  background: linear-gradient(180deg, rgba(20, 13, 34, 0.5) 0%, transparent 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 0;
  list-style: none;
}

.step-card {
  position: relative;
  padding: 1.35rem 1.15rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
}

.step-card::before {
  content: attr(data-step);
  display: block;
  margin-bottom: 0.75rem;
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.step-card h3 {
  margin-bottom: 0.35rem;
  color: var(--text);
}

.step-card p {
  margin: 0;
  font-size: 0.88rem;
}

/* Login block */
.block-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.login-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.login-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Promotions */
.showcase-promos {
  text-align: center;
}

.showcase-promos .section-header {
  margin-inline: auto;
}

.showcase-promos .section-header h2,
.showcase-promos .section-lead {
  margin-inline: auto;
}

.promo-visual {
  margin: 2rem 0 0;
}

.promo-visual img {
  width: 100%;
  max-width: 56rem;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

/* Mobile */
.showcase-mobile {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.mobile-visual {
  width: 100%;
  max-width: 20rem;
  margin: 0;
  justify-self: center;
}

.mobile-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
}

/* Payments */
.block-pagos {
  width: 100%;
  max-width: 54rem;
  padding: clamp(1.1rem, 2vw, 1.55rem) clamp(1.35rem, 2.8vw, 1.85rem);
  border-left: 3px solid var(--violet-bright);
  background: rgba(20, 13, 34, 0.6);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.block-pagos h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

/* Summary */
.summary-maxwin {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(135deg, rgba(26, 15, 50, 0.4) 0%, rgba(6, 4, 12, 0.8) 100%);
}

.summary-maxwin .section-header h2 {
  max-width: 24ch;
  font-size: clamp(1.55rem, 2.6vw, 2.75rem);
  line-height: 1.12;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.summary-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.summary-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, rgba(196, 255, 61, 0.2), rgba(61, 232, 255, 0.12));
  color: var(--lime);
  font-size: 1rem;
  line-height: 2.25rem;
  text-align: center;
}

.summary-item h3 {
  margin-bottom: 0.25rem;
  font-size: 0.92rem;
  color: var(--text);
}

.summary-item p {
  margin: 0;
  font-size: 0.82rem;
}

.cta-closing {
  width: var(--narrow);
  margin-inline: auto;
  padding-block: clamp(2rem, 4vw, 3rem);
}

.cta-closing-inner {
  display: grid;
  gap: 1rem;
  justify-items: start;
  max-width: 40rem;
}

.cta-closing h2 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.cta-closing p {
  max-width: 52ch;
  margin: 0;
}

/* FAQ */
.faq-section {
  width: var(--narrow);
  margin-inline: auto;
  padding-block: clamp(3rem, 7vw, 5rem);
}

.faq-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 2rem;
}

.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-answer {
  padding: 0 1.25rem 1.15rem;
}

.faq-item .faq-answer p {
  margin: 0;
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: clamp(2rem, 5vw, 3rem) 0;
  border-top: 1px solid var(--line-soft);
  background: var(--bg-soft);
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
  width: var(--container);
  margin-inline: auto;
}

.footer-age {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.footer-age strong {
  flex-shrink: 0;
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(196, 255, 61, 0.35);
  border-radius: 0.35rem;
  color: var(--lime);
  font-size: 0.85rem;
}

.footer-age p {
  margin: 0;
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--lime);
}

.footer-note {
  margin: 0;
  max-width: 62ch;
  color: rgba(184, 173, 201, 0.65);
  font-size: 0.78rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    overflow: hidden;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 3vw, 1.75rem);
    padding-bottom: clamp(1.75rem, 4vw, 2.5rem);
  }

  .hero-visual {
    order: 2;
    min-height: 0;
    margin-top: 0.25rem;
  }

  .hero-copy {
    order: 1;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 4.8vw, 3.75rem);
  }

  .hero-visual img {
    width: 100%;
    transform: none;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.48));
  }

  .hero-glow {
    inset: 8% 4% -4% 4%;
    background: radial-gradient(
      ellipse 92% 70% at 50% 52%,
      rgba(139, 92, 246, 0.28) 0%,
      transparent 68%
    );
  }

  .showcase-slots,
  .block-login,
  .showcase-mobile {
    grid-template-columns: 1fr;
  }

  .slots-visual {
    order: -1;
  }

  .mobile-visual {
    order: -1;
  }

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

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

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--line-soft);
    background: rgba(6, 4, 12, 0.98);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

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

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

  .cta-maxwin {
    width: fit-content;
    max-width: 100%;
    min-height: 2.85rem;
    padding-inline: 1.15rem;
    font-size: 0.94rem;
  }

  .cta-maxwin-label {
    white-space: normal;
  }
}

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

  .cta-maxwin:hover,
  .cta-maxwin:focus-visible {
    transform: none;
  }

  .cta-maxwin:hover .cta-maxwin-arrow,
  .cta-maxwin:focus-visible .cta-maxwin-arrow {
    transform: none;
  }
}
