:root {
  --navy: #0f1b2d;
  --navy-2: #1b2d48;
  --gold: #ffb800;
  --gold-hover: #ffc933;
  --gold-shadow: #d99a00;
  --ink: #1c2433;
  --muted: #5b6474;
  --bg: #f3f5f9;
  --white: #ffffff;
  --line: #e2e6ee;
  --radius: 14px;
  --focus: #005fcc;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img { display: block; max-width: 100%; height: auto; }
a { color: #0a58ca; }

a:focus-visible,
.btn--play:focus-visible,
.nav-label:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.container { width: min(100% - 32px, 1120px); margin-inline: auto; }

.skip-link { position: absolute; left: -9999px; top: auto; }
.skip-link:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  min-height: 64px;
  padding: 10px 0;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 40px; width: auto; }

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.nav-label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
}

.site-nav {
  display: none;
  flex-basis: 100%;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 8px;
}

.nav-toggle:checked ~ .site-nav { display: flex; }

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  color: #e8edf7;
  text-decoration: none;
  font-weight: 600;
}

.site-nav a:hover { background: var(--navy-2); color: #fff; }
.site-nav a[aria-current="page"] { background: var(--gold); color: var(--navy); }

@media (min-width: 820px) {
  .nav-label { display: none; }
  .site-nav { display: flex; flex-direction: row; flex-basis: auto; gap: 6px; padding: 0; }
  .site-nav a { min-height: 40px; }
}

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 28px 0 36px;
}

.breadcrumbs { font-size: 14px; color: #c4cde0; margin-bottom: 12px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "\203A"; margin-right: 6px; color: #8fa0bf; }
.breadcrumbs a { color: #ffd45c; }

.hero h1 {
  margin: 0;
  font-size: clamp(1.65rem, 4.2vw, 2.5rem);
  line-height: 1.2;
  text-wrap: balance;
}

.content { padding: 32px 0 8px; }
.content p,
.content ul { max-width: none; }
.content p { margin: 0 0 1em; font-size: 1.0625rem; }
.content ul { padding-left: 1.25em; margin: 0 0 1.2em; }
.content li { margin: .35em 0; }
.content > p:first-of-type { font-size: 1.1rem; }

.content h2 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  color: var(--navy);
  line-height: 1.3;
  margin: 2.2em 0 .6em;
  scroll-margin-top: 90px;
}

.content h3 {
  font-size: 1.15rem;
  color: var(--navy-2);
  line-height: 1.35;
  margin: 1.8em 0 .5em;
  scroll-margin-top: 90px;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 1.2em 0 1.6em;
}

.table-wrap table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 15px;
}

th, td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th { background: var(--navy); color: #fff; font-weight: 600; }
tr:last-child td { border-bottom: 0; }

.casino-grid {
  list-style: none;
  margin: 20px 0 28px;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .casino-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
  .casino-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.casino-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  box-shadow: 0 1px 3px rgba(15, 27, 45, .06);
}

.casino-card__logo {
  width: 112px;
  height: 112px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 27, 45, .14);
}

.casino-card__logo img { width: 100%; height: 100%; object-fit: cover; }

.casino-card__name {
  margin: 16px 0 2px;
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--navy);
}

.casino-card__label {
  margin: 0;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.casino-card__offer {
  margin: 6px 0 18px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.btn--play {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 1.02rem;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--gold-shadow);
  transition: background .15s, transform .05s, box-shadow .05s;
}

.btn--play:hover { background: var(--gold-hover); }
.btn--play:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--gold-shadow); }

.banner-group { display: grid; gap: 18px; margin: 20px 0 28px; }
.banner { margin: 0; }

.banner a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
}

.banner img { width: 100%; height: auto; }
.banner figcaption { margin-top: 6px; font-size: .9rem; color: var(--muted); }

.related {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 32px 0 36px;
  margin-top: 24px;
}

.related h2 { margin: 0 0 16px; font-size: 1.4rem; color: var(--navy); }

.related-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.related-card {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
}

.related-card strong { display: block; color: var(--navy); font-size: 1.1rem; margin-bottom: 4px; }
.related-card span { font-size: .95rem; color: var(--muted); }
.related-card:hover { border-color: var(--gold); background: #fffaf0; }

.site-footer {
  background: var(--navy);
  color: #c4cde0;
  padding: 26px 0 30px;
  font-size: 14px;
}

.site-footer p { margin: 0 0 8px; }
.site-footer a { color: var(--gold); }

.age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: 8px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 800;
  font-size: 13px;
  vertical-align: middle;
}

.illustration { margin: 24px 0 32px; }

.illustration img {
  width: 100%;
  max-width: 880px;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.faq { padding: 24px 0 40px; background: var(--white); border-top: 1px solid var(--line); }
.faq h2 { margin: 0 0 16px; font-size: clamp(1.3rem, 3vw, 1.6rem); color: var(--navy); }
.faq details {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 10px 0;
  padding: 0 18px;
}
.faq details[open] { border-color: var(--gold); background: #fffaf0; }
.faq summary {
  cursor: pointer;
  list-style: none;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  color: var(--navy-2);
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > :not(summary) { margin: 0 0 14px; max-width: none; }
.faq details ul { padding-left: 1.25em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
