:root {
  --bg: #07111f;
  --ink: #152033;
  --muted: #526178;
  --paper: #f5f7fb;
  --line: #d7e0ec;
  --blue: #1565d8;
  --orange: #f07a12;
  --silver: #e7eef8;
  --danger: #9f1d1d;
  --shadow: 0 18px 50px rgba(4, 12, 28, 0.28);
  --header: 76px;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 420px at 80% -10%, rgba(60, 180, 255, 0.16), transparent 50%),
    var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: #0b4eaa; }
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: #fff;
  padding: 8px 12px;
  z-index: 30;
}
.skip:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header);
  flex-wrap: wrap;
  padding: 10px 16px;
  background: rgba(7, 17, 31, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.logo img { width: 148px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  cursor: pointer;
}
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.86rem;
  padding: 6px 8px;
  border-radius: 999px;
}
.site-nav a[aria-current="page"],
.site-nav a:hover { color: #fff; background: rgba(240, 122, 18, 0.22); }
.nav-cta { display: none; }
.header-actions { margin-left: auto; display: flex; gap: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  border: 1px solid transparent;
}
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-solid { background: linear-gradient(180deg, #ff9a32, var(--orange)); color: #1a1006; }
.btn-solid:hover { color: #1a1006; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line:hover { color: var(--ink); }

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.hero, .page-head { padding: 28px 0 8px; color: #fff; }
.kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #ffb15a;
  margin: 0 0 8px;
}
.site-nav .nav-brand {
  color: #ffb15a;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 8px 8px 4px;
}
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; }
.hero h1, .page-head h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.12;
  margin: 0 0 12px;
  max-width: 18ch;
}
.lede, .page-head p { max-width: 68ch; color: #d5e4f7; font-size: 1.05rem; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 22px; align-items: start; }

.slider { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: #000; }
.slide { display: none; margin: 0; }
.slide.is-active { display: block; }
.slide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.slide figcaption, .banner-note {
  margin: 0;
  padding: 12px 14px;
  background: #10233d;
  color: #f2f6fc;
  font-size: 1rem;
  line-height: 1.45;
}
.banner-note { background: #f3f7ff; color: var(--ink); border: 1px solid #d5e4ff; border-radius: 12px; margin: 8px 0 16px; }
.slider-controls { display: flex; gap: 6px; padding: 8px 12px 0; background: #10233d; }
.slider-controls button, .dots button {
  border: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font: inherit;
  cursor: pointer;
}
.dots { display: flex; gap: 6px; margin-top: 10px; }
.dots button[aria-selected="true"] { background: var(--orange); color: #1a1006; }

.panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 18px;
}
.panel h2 { color: #fff; font-size: 1.35rem; margin: 0 0 8px; }
.panel ol { margin: 0; padding-left: 1.15rem; color: #e7eef8; }
.panel a { color: #ffd7ad; }

.sheet {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 22px;
  padding: 28px;
  margin: 22px auto 40px;
  box-shadow: var(--shadow);
}
h2 { font-size: 1.7rem; margin: 1.5em 0 0.35em; }
h3 { margin: 1.1em 0 0.25em; }
.note, .example, .check { border-radius: 16px; padding: 16px 18px; margin: 16px 0; }
.note { background: #f3f7ff; border: 1px solid #d5e4ff; }
.example { background: #fff8ef; border: 1px solid #f2d2ae; border-left: 6px solid var(--orange); }
.check { background: #f3fbf7; border: 1px solid #cde8db; }
.flag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--danger);
}
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  margin: 12px 0;
}
.steps li::before {
  content: counter(step);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: #fff;
  font-weight: 700;
}

.cards, .games, .providers { display: grid; gap: 14px; }
.cards { grid-template-columns: repeat(3, 1fr); }
.games { grid-template-columns: repeat(5, 1fr); }
.providers { grid-template-columns: repeat(4, 1fr); }
.card, .game, .provider {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover, .game:hover, .provider:hover,
.card:focus-visible, .game:focus-visible, .provider:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(4, 12, 28, 0.16);
}
.btn { transition: transform 0.15s ease, background 0.15s ease; }
.btn:active { transform: translateY(1px); }
.related a { transition: transform 0.15s ease, border-color 0.15s ease; }
.related a:hover, .related a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--orange);
}
.card { display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
.card div, .game span { padding: 10px 12px 14px; }
.card h3 { margin: 0 0 4px; font-size: 1rem; }
.card p, .provider span, .game span { color: var(--muted); font-size: 0.88rem; }
.game img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #0c1730; }
.game { text-align: center; }
.provider { display: grid; place-items: center; min-height: 96px; padding: 10px 8px 4px; background: #0c1730; border-radius: 12px; }
.provider img { max-height: 46px; width: auto; margin: 0 auto; }
.provider span { text-align: center; padding-bottom: 8px; color: #d5e4f7; }

table { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: 0.95rem; }
th, td { border-bottom: 1px solid var(--line); text-align: left; padding: 10px 8px; vertical-align: top; }
th { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.related { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.related a {
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--ink);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.site-footer { background: var(--bg); color: #c5d4e8; padding: 28px 0 40px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.fine { color: #8ea0b8; font-size: 0.88rem; }

@media (max-width: 900px) {
  .hero-grid, .cards, .footer-grid { grid-template-columns: 1fr; }
  .games { grid-template-columns: repeat(2, 1fr); }
  .providers { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; }
  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    z-index: 30;
    top: var(--header);
    left: 0;
    right: 0;
    max-height: calc(100vh - 140px);
    overflow: auto;
    padding: 8px 16px 16px;
    background: #07111f;
  }
  .header-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    margin: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(7, 17, 31, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .header-actions .btn { min-height: 48px; width: 100%; }
  body { padding-bottom: 84px; }
  .sheet { padding: 18px; }
}
.qa { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0.7em 0;
  font-size: 1.2rem;
}
.qa summary h2::after {
  content: "+";
  flex: none;
  color: var(--orange);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1;
}
.qa[open] summary h2::after { content: "\2013"; }
.qa p { margin-top: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.promo-popup {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 28px 16px;
  background: rgba(4, 10, 22, 0.78);
}
.promo-popup[hidden] { display: none; }
.promo-popup-card {
  position: relative;
  width: min(560px, 100%);
  padding: 12px;
  background: #0c1730;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.promo-popup-card img { width: 100%; border-radius: 12px; }
.promo-popup-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #152033;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.promo-reopen {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 15;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #ff9a32, var(--orange));
  color: #1a1006;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.promo-reopen[hidden] { display: none; }

@media (min-width: 901px) {
  .site-nav .nav-brand { display: none; }
}
@media (max-width: 900px) {
  .promo-reopen { bottom: 96px; }
  .promo-popup-close { top: 4px; right: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .game, .provider, .related a, .btn { transition: none; }
  .card:hover, .game:hover, .provider:hover,
  .card:focus-visible, .game:focus-visible, .provider:focus-visible,
  .related a:hover, .related a:focus-visible { transform: none; }
}
