:root {
  --ink: #10152b;
  --ink-2: #17203d;
  --paper: #f4f1e8;
  --paper-2: #fffdf6;
  --muted: #656b7a;
  --line: rgba(16, 21, 43, 0.14);
  --yellow: #f6d34b;
  --yellow-strong: #e5b918;
  --coral: #f36e52;
  --cyan: #35b8dd;
  --green: #22947b;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shadow: 0 22px 60px rgba(16, 21, 43, 0.12);
  --content: 1180px;
  --reading: 760px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(53, 184, 221, 0.08), transparent 24rem),
    linear-gradient(180deg, #faf8f1 0%, var(--paper) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 21, 43, 0.94);
  color: #fff;
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(var(--content), calc(100% - 36px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: inset 0 -3px 0 rgba(16, 21, 43, 0.12);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a {
  color: #dbe0f2;
  text-decoration: none;
}

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

.nav-toggle {
  display: none;
  border: 0;
  border-radius: 10px;
  padding: 8px 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.notice-bar {
  background: #0b1022;
  color: #bbc3dd;
  font-size: 0.78rem;
  text-align: center;
  padding: 8px 18px;
}

.notice-bar strong { color: #fff; }

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

.section { padding: clamp(64px, 8vw, 108px) 0; }
.section-tight { padding: clamp(42px, 6vw, 72px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #735400;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(246, 211, 75, 0.24);
}

h1, h2, h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

h1 { font-size: clamp(3rem, 7.5vw, 6.8rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); }

p { margin: 0 0 1.25em; }

.lead {
  max-width: 62ch;
  color: #4c5366;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero {
  overflow: hidden;
  color: #fff;
  background: #0a1128;
}

.hero-grid {
  width: min(1440px, 100%);
  min-height: min(760px, calc(100vh - 104px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(340px, 0.85fr) minmax(560px, 1.15fr);
  align-items: stretch;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(72px, 9vw, 132px) clamp(28px, 5vw, 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(90deg, #0a1128 78%, rgba(10, 17, 40, 0));
}

.hero-copy h1 {
  max-width: 8ch;
  margin-bottom: 26px;
}

.hero-copy .lead { color: #cbd3ea; }

.hero-art {
  min-height: 520px;
  margin-left: -16%;
}

.hero-art picture,
.article-hero-art picture {
  display: block;
  width: 100%;
  height: 100%;
}

.game-card picture {
  display: block;
  width: 100%;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  box-shadow: inset 0 -3px 0 rgba(16, 21, 43, 0.12);
}

.button:hover,
.button:focus-visible { background: #ffe16e; transform: translateY(-1px); }

.button.secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  box-shadow: none;
}

.button.secondary:hover,
.button.secondary:focus-visible { background: rgba(255, 255, 255, 0.12); }

.button.is-disabled {
  color: #707685;
  background: #e5e2d9;
  box-shadow: none;
  cursor: not-allowed;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 34px;
  color: #9ea9c9;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-proof span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--yellow);
}

.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-head h2 { margin-bottom: 18px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.game-card {
  overflow: hidden;
  border: 1px solid rgba(16, 21, 43, 0.1);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  box-shadow: 0 14px 40px rgba(16, 21, 43, 0.07);
}

.game-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.game-card-body { padding: clamp(24px, 4vw, 38px); }
.game-card h3 { margin-bottom: 12px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.game-card p { color: var(--muted); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
}

.card-link::after { content: "→"; color: var(--coral); }
.card-link:hover { color: #9c7610; }

.fact-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 253, 246, 0.7);
}

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

.fact {
  padding: 30px clamp(16px, 3vw, 36px);
  border-right: 1px solid var(--line);
}

.fact:last-child { border-right: 0; }
.fact strong { display: block; font-family: Georgia, serif; font-size: 1.45rem; }
.fact span { color: var(--muted); font-size: 0.82rem; }

.guide-grid,
.operator-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mini-card,
.operator-card,
.trust-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 246, 0.82);
}

.mini-card .number,
.trust-card .number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
}

.mini-card h3,
.trust-card h3 { margin-bottom: 12px; letter-spacing: -0.03em; }
.mini-card p,
.trust-card p { color: var(--muted); font-size: 0.94rem; }

.dark-section {
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(53, 184, 221, 0.14), transparent 28rem),
    #0c132b;
}

.hero .eyebrow,
.article-hero .eyebrow,
.hub-hero .eyebrow,
.dark-section .eyebrow { color: var(--yellow); }
.dark-section .lead { color: #b9c3df; }

.operator-card {
  position: relative;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
}

.operator-card.featured {
  border-color: rgba(246, 211, 75, 0.6);
  box-shadow: inset 0 0 0 1px rgba(246, 211, 75, 0.16);
}

.operator-card .tag,
.choice-card .tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.operator-card h3,
.choice-card h3 { margin-bottom: 10px; }
.operator-card p { color: #b9c3df; font-size: 0.92rem; }
.operator-card .button { width: 100%; margin-top: 10px; }

.operator-note {
  max-width: 72ch;
  margin-top: 20px;
  color: #8f9aba;
  font-size: 0.78rem;
}

.article-hero {
  overflow: hidden;
  color: #fff;
  background: #0a1128;
}

.article-hero-grid {
  width: min(1440px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(400px, 0.92fr) minmax(500px, 1.08fr);
  align-items: stretch;
}

.article-hero-copy {
  z-index: 2;
  padding: clamp(64px, 8vw, 112px) clamp(28px, 5vw, 76px);
  background: linear-gradient(90deg, #0a1128 80%, rgba(10, 17, 40, 0));
}

.article-hero h1 {
  max-width: 100%;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 5.4vw, 4.6rem);
}

.article-hero .lead { color: #cbd3ea; }

.article-hero-art { min-height: 520px; margin-left: -12%; }
.article-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }

.breadcrumbs {
  margin-bottom: 24px;
  color: #929dbd;
  font-size: 0.78rem;
}

.breadcrumbs a { color: #cbd3ea; text-decoration: none; }
.breadcrumbs span { padding: 0 7px; }

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.quick-facts span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #dce2f4;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  font-weight: 800;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--reading)) minmax(240px, 300px);
  justify-content: space-between;
  gap: 64px;
  align-items: start;
}

.article-body { min-width: 0; }

.article-body > p:first-of-type {
  font-size: 1.18rem;
  line-height: 1.75;
}

.article-body h2 { margin: 2em 0 0.55em; font-size: clamp(2rem, 4vw, 3.15rem); }
.article-body h3 { margin: 1.65em 0 0.55em; }
.article-body ul,
.article-body ol { margin: 0 0 1.5em; padding-left: 1.25em; }
.article-body li { margin-bottom: 0.55em; }
.article-body a { text-decoration-color: var(--yellow-strong); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.toc {
  position: sticky;
  top: 105px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 246, 0.82);
}

.toc strong {
  display: block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
  text-decoration: none;
}

.toc a:hover { color: var(--ink); }

.callout,
.warning,
.math-box {
  margin: 30px 0;
  padding: 24px 26px;
  border-radius: var(--radius-md);
}

.callout {
  border-left: 5px solid var(--cyan);
  background: rgba(53, 184, 221, 0.1);
}

.warning {
  border-left: 5px solid var(--coral);
  background: rgba(243, 110, 82, 0.1);
}

.math-box {
  border: 1px solid rgba(246, 211, 75, 0.7);
  background: rgba(246, 211, 75, 0.14);
}

.callout p:last-child,
.warning p:last-child,
.math-box p:last-child { margin-bottom: 0; }

.steps {
  margin: 28px 0 34px;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 52px;
  margin-bottom: 16px;
  padding: 0 0 16px 68px;
  border-bottom: 1px solid var(--line);
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--ink);
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
}

.data-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; margin: 28px 0; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.data-table th,
.data-table td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { background: rgba(16, 21, 43, 0.05); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }

.faq { margin-top: 58px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 20px 40px 20px 0; cursor: pointer; font-family: Georgia, serif; font-size: 1.18rem; font-weight: 700; line-height: 1.35; }
.faq details p { color: var(--muted); }

.source-note {
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.source-note a { word-break: break-word; }

.review-box {
  margin: 42px 0 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 246, 0.72);
  color: var(--muted);
  font-size: 0.82rem;
}

.review-box p { margin: 0; }
.review-box p + p { margin-top: 6px; }
.review-box strong { color: var(--ink); }

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0;
}

.choice-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-2);
}

.choice-card.featured { border-color: #d8b332; }
.choice-card h3 { margin-bottom: 8px; }
.choice-card p { color: var(--muted); font-size: 0.9rem; }
.choice-card .button { width: 100%; }

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

.conversion-panel {
  margin: 58px 0;
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid rgba(16, 21, 43, 0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(246, 211, 75, 0.14), rgba(255, 253, 246, 0.88));
}

.conversion-panel h2 { margin-bottom: 18px; }
.conversion-panel .operator-note { color: var(--muted); }

.hub-hero {
  padding: clamp(70px, 9vw, 118px) 0;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(53, 184, 221, 0.18), transparent 24rem),
    #0a1128;
}

.hub-hero h1 { max-width: 12ch; margin-bottom: 22px; }
.hub-hero .lead { color: #cbd3ea; }

.country-hero h1 { max-width: 13ch; }

.compact-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.compact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-2);
}

.compact-card h2,
.compact-card h3 { margin-bottom: 10px; font-size: 1.7rem; }
.compact-card p { color: var(--muted); font-size: 0.92rem; }
.compact-card .quick-facts { margin: 0 0 16px; }
.compact-card .quick-facts span { color: var(--muted); border-color: var(--line); background: rgba(16, 21, 43, 0.03); }

.related {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related a {
  min-height: 124px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-2);
  font-weight: 900;
  line-height: 1.3;
  text-decoration: none;
}

.related a span { display: block; margin-top: 9px; color: var(--muted); font-size: 0.76rem; font-weight: 600; }
.related a:hover { border-color: var(--yellow-strong); transform: translateY(-2px); }

.editorial-banner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 38px;
  align-items: center;
  padding: clamp(32px, 5vw, 58px);
  border-radius: var(--radius-lg);
  color: #fff;
  background: var(--ink);
}

.editorial-banner h2 { margin-bottom: 16px; }
.editorial-banner p { color: #bdc6df; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin: 12px 0; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--yellow); font-weight: 900; }

.site-footer {
  padding: 58px 0 28px;
  color: #aab3cf;
  background: #080e20;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 50px;
}

.footer-grid h2,
.footer-grid h3 { color: #fff; font-family: inherit; letter-spacing: -0.02em; }
.footer-grid h2 { font-size: 1.25rem; }
.footer-grid h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-grid p { max-width: 48ch; font-size: 0.85rem; }
.footer-grid a { display: block; width: fit-content; margin: 7px 0; color: #cdd4e8; font-size: 0.86rem; text-decoration: none; }
.footer-grid a:hover { color: var(--yellow); }

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.74rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .article-hero-grid { grid-template-columns: 1fr; }
  .hero-copy,
  .article-hero-copy { padding-bottom: 44px; background: #0a1128; }
  .hero-copy h1,
  .article-hero h1 { max-width: 10ch; }
  .hero-art,
  .article-hero-art { min-height: 420px; margin: 0; }
  .hero-art img,
  .article-hero-art img { object-position: center; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .fact-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); }
  .guide-grid,
  .operator-grid,
  .trust-grid,
  .compact-card-grid { grid-template-columns: 1fr 1fr; }
  .editorial-banner { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  body { background: var(--paper); }
  .site-header {
    background: var(--ink);
    backdrop-filter: none;
  }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    inset: 72px 0 auto;
    display: none;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #10152b;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 2px; }
  .hero-grid { min-height: auto; }
  .hero-copy { padding-top: 58px; }
  .hero-art,
  .article-hero-art { min-height: 260px; }
  .game-card { box-shadow: none; }
  .dark-section { background: #0c132b; }
  .card-grid,
  .guide-grid,
  .operator-grid,
  .trust-grid,
  .compact-card-grid,
  .choice-grid,
  .choice-grid.four-up,
  .related-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .button-row { flex-direction: column; align-items: stretch; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .related a { transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
}

@media print {
  .site-header,
  .notice-bar,
  .toc,
  .site-footer,
  .button-row { display: none; }
  body { background: #fff; color: #000; }
  .article-layout { display: block; }
}
