:root {
  --ink: #10202c;
  --muted: #587082;
  --paper: #fbfcf8;
  --panel: #ffffff;
  --line: #d9e4df;
  --teal: #096b72;
  --teal-2: #0c8c8d;
  --coral: #e5533d;
  --gold: #d6a43d;
  --green: #138a4b;
  --red: #c93232;
  --shadow: 0 18px 46px rgba(24, 47, 62, .12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

body.age-locked {
  overflow: hidden;
}

a {
  color: inherit;
}

.topbar {
  background: #0b2c34;
  color: #eaf8f3;
  font-size: 13px;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 20px;
}

.wrap {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 0 20px;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 252, 248, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
}

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

.brand img {
  width: 40px;
  height: 40px;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.navlinks a {
  text-decoration: none;
}

.navlinks a:hover {
  color: var(--teal);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-board.svg");
  background-size: cover;
  background-position: center;
  opacity: .95;
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  align-items: center;
  gap: 32px;
  min-height: 560px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 7px 11px;
  border: 1px solid rgba(9, 107, 114, .26);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: 76px;
}

.lead {
  max-width: 680px;
  margin: 20px 0 26px;
  color: #314b5c;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: #07565c;
}

.btn.secondary {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero-panel {
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(217, 228, 223, .9);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.metric {
  min-height: 104px;
  padding: 15px;
  border-radius: 8px;
  background: #f5faf8;
  border: 1px solid var(--line);
}

.metric strong {
  display: block;
  font-size: 26px;
  color: var(--teal);
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

section {
  padding: 64px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head p {
  max-width: 650px;
  margin: 10px 0 0;
  color: var(--muted);
}

.notice {
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: #fff8e5;
  border-radius: 6px;
  color: #5b4516;
}

.casino-list {
  display: grid;
  gap: 16px;
}

.casino-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 190px;
  align-items: center;
  gap: 22px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(32, 59, 73, .08);
}

.rank {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.badge {
  width: max-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e7f5f2;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
}

.logo-tile {
  display: grid;
  place-items: center;
  min-height: 76px;
  border-radius: 8px;
  background: #10202c;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
}

.logo-tile.betano {
  background: #101820;
  color: #ff4f2e;
}

.logo-tile.eight {
  background: #f47920;
}

.casino-main h3 {
  font-size: 25px;
}

.casino-main p {
  margin: 10px 0 14px;
  color: var(--muted);
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.features li {
  padding: 6px 9px;
  background: #f3f7f5;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
}

.cta-box {
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

.rating {
  font-size: 15px;
  color: var(--muted);
}

.rating strong {
  display: block;
  color: var(--ink);
  font-size: 30px;
}

.tiny {
  color: var(--muted);
  font-size: 12px;
}

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

.info-box {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.info-box p,
.text-page p,
.text-page li {
  color: var(--muted);
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.checklist li {
  padding: 13px 14px;
  background: #f5faf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.disclaimer {
  background: #0b2c34;
  color: #dcece9;
}

.disclaimer h2,
.disclaimer h3 {
  color: #fff;
}

.disclaimer p {
  color: #c4d7d5;
}

.disclaimer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

footer {
  padding: 34px 0;
  background: #071b20;
  color: #c8d9d6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, .8fr);
  gap: 28px;
}

footer a {
  color: #f4fbf9;
}

.footer-links {
  display: grid;
  gap: 7px;
}

.text-page {
  padding: 58px 0;
}

.text-page .content {
  max-width: 920px;
}

.text-page h1 {
  font-size: 58px;
  margin-bottom: 18px;
}

.text-page h2 {
  font-size: 26px;
  margin-top: 32px;
}

.age-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 18, 22, .82);
  backdrop-filter: blur(12px);
}

.age-modal.is-visible {
  display: flex;
}

.age-dialog {
  width: min(520px, 100%);
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .34);
}

.age-dialog h2 {
  font-size: 42px;
  margin-bottom: 12px;
}

.age-dialog p {
  color: var(--muted);
}

.age-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.age-yes {
  background: var(--green);
}

.age-no {
  background: var(--red);
}

.blocked-note {
  display: none;
  margin-top: 12px;
  padding: 11px;
  border-radius: 6px;
  background: #fff0f0;
  color: #8a2525;
  font-weight: 700;
}

.blocked-note.is-visible {
  display: block;
}

.brand-modal {
  position: fixed;
  inset: 0;
  z-index: 998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 18, 22, .66);
  backdrop-filter: blur(10px);
}

.brand-modal.is-visible {
  display: flex;
}

.brand-dialog {
  position: relative;
  width: min(720px, 100%);
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.brand-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.brand-close:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.brand-dialog h2 {
  max-width: 560px;
  font-size: 36px;
  margin-bottom: 10px;
}

.brand-intro {
  max-width: 590px;
  margin: 0 0 18px;
  color: var(--muted);
}

.brand-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.brand-option {
  display: grid;
  gap: 8px;
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbf9;
  text-decoration: none;
}

.brand-option:hover {
  border-color: var(--teal);
  box-shadow: 0 10px 24px rgba(32, 59, 73, .08);
}

.brand-option strong {
  font-size: 24px;
}

.brand-option span {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 860px) {
  .topbar .wrap,
  .nav,
  .section-head,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .navlinks {
    width: 100%;
    max-width: calc(100vw - 32px);
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .hero .wrap,
  .info-grid,
  .disclaimer-grid,
  .checklist,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero .wrap {
    min-height: auto;
  }

  .hero::before {
    opacity: .32;
    background-position: 70% center;
  }

  h1 {
    font-size: 52px;
  }

  .text-page h1 {
    font-size: 44px;
  }

  .casino-card {
    grid-template-columns: 1fr;
  }

  .cta-box {
    justify-items: start;
  }
}

@media (max-width: 540px) {
  .wrap {
    padding: 0 16px;
  }

  section {
    padding: 46px 0;
  }

  .hero-actions,
  .age-actions {
    grid-template-columns: 1fr;
    display: grid;
  }

  .btn {
    width: 100%;
  }

  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 17px;
  }

  .age-dialog {
    padding: 20px;
  }

  .age-dialog h2 {
    font-size: 31px;
  }

  .brand-dialog {
    padding: 22px;
  }

  .brand-dialog h2 {
    font-size: 28px;
    padding-right: 34px;
  }

  .brand-options {
    grid-template-columns: 1fr;
  }

  .navlinks {
    gap: 14px;
    font-size: 13px;
    display: grid;
    grid-template-columns: repeat(2, max-content);
    white-space: normal;
    overflow-x: visible;
  }

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