:root {
  --bg: #f1f6fb;
  --bg-2: #ffffff;
  --bg-3: #e6eef7;
  --line: #d2dfeb;
  --line-soft: #e4ecf5;
  --text: #1b2a36;
  --muted: #5b6b7a;
  --accent: #0c8159;
  --accent-hover: #0a6d4b;
  --alt: #e3ecf6;
  --line-strong: #a5bfd8;

  --container: 1080px;
  --section-y: clamp(44px, 6vw, 72px);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--text); text-decoration: underline; text-decoration-color: #a7b7c6; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: #12222e;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); }
h3 { font-size: clamp(1.08rem, 2vw, 1.22rem); margin-bottom: .45em; }
h4 { font-size: 1rem; margin-bottom: .35em; }

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

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 24px);
}

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; background: var(--bg-2); padding: 10px 16px; z-index: 99; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(241, 246, 251, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
}
.brand { margin-right: auto; text-decoration: none; display: block; }
.brand img { height: 34px; width: auto; }

.nav { display: flex; gap: 22px; }
.nav a { font-size: .95rem; color: var(--muted); text-decoration: none; }
.nav a:hover { color: #12222e; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--accent); color: #ffffff; }
.btn--primary:hover { background: var(--accent-hover); color: #ffffff; }
.btn--line { border-color: var(--line); color: var(--text); }
.btn--line:hover { border-color: #a7b7c6; color: #12222e; }

.btn-play {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  font-size: .98rem;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color .15s ease;
}
.btn-play:hover { background: var(--accent-hover); color: #ffffff; }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--alt); border-block: 1px solid #d3e0ed; }
.section-head { margin-bottom: clamp(24px, 3vw, 36px); }
.section-head p { color: var(--muted); margin-bottom: 0; }

.hero { padding-block: clamp(40px, 7vw, 80px) clamp(32px, 5vw, 56px); }
.hero h1 { text-align: center; margin-bottom: .7em; }
.hero .lead { font-size: 1.14rem; color: #31424f; }
.hero p { color: var(--muted); }
.eyebrow { color: var(--muted); font-size: .85rem; letter-spacing: .06em; margin-bottom: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.highlights {
  list-style: none;
  margin: 34px 0 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
}
.highlights li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.6;
}
.highlights li:last-child { margin-bottom: 0; }
.highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}

.casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}
.casino-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.c-tile {
  background: var(--tile, #000);
  height: 118px;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow: hidden;
}
.c-tile img { max-height: 84px; width: auto; max-width: 86%; object-fit: contain; border-radius: 6px; }

.c-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.c-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 2px; }
.c-rank { color: #7d8c9a; font-size: .85rem; font-variant-numeric: tabular-nums; }
.c-name { font-size: 1.12rem; font-weight: 700; color: #12222e; margin: 0; }
.c-best { color: var(--muted); font-size: .88rem; margin: 0 0 14px; }
.c-bonus {
  font-size: 1rem;
  font-weight: 600;
  color: #12222e;
  line-height: 1.45;
  margin: 0 0 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.c-foot { margin-top: auto; }
.c-terms { display: block; text-align: center; color: #7d8c9a; font-size: .76rem; margin-top: 8px; }

.mini-offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.mini {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-areas: "tile text" "btn btn";
  align-items: center;
  gap: 12px 13px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
.mini-tile {
  grid-area: tile;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: var(--tile, #000);
  display: grid;
  place-items: center;
  padding: 6px;
  overflow: hidden;
}
.mini-tile img { max-height: 40px; max-width: 100%; object-fit: contain; border-radius: 4px; }
.mini-text { grid-area: text; min-width: 0; }
.mini-name { font-weight: 600; color: #12222e; font-size: .98rem; line-height: 1.3; }
.mini-bonus { color: var(--muted); font-size: .85rem; line-height: 1.45; }
.mini .btn-play { grid-area: btn; }

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: clamp(20px, 3vw, 28px);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.cta-text { flex: 1 1 300px; }
.cta h3 { margin-bottom: 4px; }
.cta p { color: var(--muted); margin: 0; font-size: .96rem; }

.prose { max-width: none; }
.prose h3 { margin-top: 2rem; }
.prose p { color: var(--muted); }

ul.list { list-style: none; margin: 0 0 1.2em; padding: 0; }
ul.list li { position: relative; padding-left: 20px; margin-bottom: 10px; color: var(--muted); }
ul.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a7b7c6;
}

.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.cols p { color: var(--muted); }
.cols h3 { margin-top: 0; }

.note {
  margin-top: 26px;
  padding: 16px 20px;
  border-left: 2px solid var(--accent);
  background: var(--bg-2);
  color: var(--muted);
  font-size: .96rem;
  border-radius: 0 8px 8px 0;
}

ol.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
ol.steps li {
  counter-increment: s;
  position: relative;
  padding: 0 0 18px 42px;
  color: var(--muted);
}
ol.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 2px;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .85rem;
  color: var(--text);
}
ol.steps li:last-child { padding-bottom: 0; }

.weights { list-style: none; margin: 0; padding: 0; }
.weights li { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.weights li:last-child { border-bottom: 0; }
.weight-row { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 9px; font-size: .97rem; }
.weight-row span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.bar i { display: block; height: 100%; background: #24455e; }

.table-wrap {
  margin: 26px 0;
  border: 2px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-2);
}
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
thead th {
  text-align: left;
  background: #dbe7f2;
  color: #12222e;
  font-weight: 600;
  font-size: .9rem;
  padding: 12px 18px;
  border-bottom: 2px solid var(--line-strong);
}
tbody td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  vertical-align: top;
}
tbody td:first-child { color: var(--text); }
tbody tr:last-child td { border-bottom: 0; }

.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.links a {
  font-size: .92rem;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  color: var(--muted);
}
.links a:hover { color: #12222e; border-color: #a7b7c6; }

.faq { border-top: 1px solid var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 40px 18px 0;
  position: relative;
  font-weight: 600;
  color: #12222e;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 26px;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq .answer { padding: 0 0 20px; }
.faq .answer p { font-size: .98rem; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 40px 30px;
  color: var(--muted);
  font-size: .92rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.site-footer img.logo { height: 26px; width: auto; margin-bottom: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: #12222e; }
.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: .85rem;
  color: #7d8c9a;
}
.site-footer p { max-width: 60ch; }

@media (max-width: 800px) {
  .brand img { height: 28px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 6px clamp(16px, 5vw, 24px) 14px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .highlights { display: none; }
  .casino-grid, .mini-offers { grid-template-columns: 1fr; }
  .mini {
    grid-template-columns: 1fr;
    grid-template-areas: "tile" "text" "btn";
    text-align: center;
    padding: 16px;
  }
  .mini-tile { width: 100%; height: 76px; }
  .mini-tile img { max-height: 54px; }
  .hero-actions .btn, .cta .btn { width: 100%; }

  .table-wrap { border: 0; border-radius: 0; }
  table, tbody, tr, td { display: block; width: 100%; }
  thead { display: none; }
    tbody tr {
    border: 2px solid var(--line-strong);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-2);
  }
  tbody td {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line-soft);
  }
  tbody td::before { content: attr(data-label); color: #7d8c9a; }
  tbody td:last-child { border-bottom: 0; }
  tbody td:first-child {
    display: block;
    background: var(--bg-3);
    color: #12222e;
    font-weight: 600;
    padding: 11px 14px;
  }
  tbody td:first-child::before { content: none; }
}

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