:root {
  --ink: #16201c;
  --muted: #60706a;
  --paper: #f8f6f1;
  --surface: #ffffff;
  --line: #e2ded4;
  --red: #b6292d;
  --red-dark: #7e171d;
  --teal: #0a776f;
  --teal-dark: #064540;
  --gold: #c7943f;
  --blue: #28668f;
  --shadow: 0 24px 70px rgba(22, 32, 28, .13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body.locked { overflow: hidden; }

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 76px);
  border-bottom: 1px solid rgba(22, 32, 28, .08);
  background: rgba(248, 246, 241, .93);
  backdrop-filter: blur(16px);
}

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

.brand-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(182, 41, 45, .22);
}

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

.nav a {
  text-decoration: none;
}

.nav a:hover { color: var(--red-dark); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(340px, 1.08fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
  min-height: calc(100vh - 71px);
  padding: clamp(42px, 6vw, 74px) clamp(18px, 5vw, 76px) 54px;
  background:
    linear-gradient(110deg, rgba(182, 41, 45, .12), rgba(10, 119, 111, .08) 42%, rgba(199, 148, 63, .13)),
    #faf8f2;
}

.hero-copy { max-width: 780px; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 5.2vw, 70px);
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions,
.age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn,
.visit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.primary,
.visit {
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 26px rgba(182, 41, 45, .24);
}

.secondary {
  color: var(--teal-dark);
  border-color: rgba(10, 119, 111, .24);
  background: rgba(255, 255, 255, .7);
}

.ghost {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.hero-visual {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 76px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  transform: translateY(-26px);
}

.trust-strip div {
  padding: 18px;
  background: var(--surface);
}

.trust-strip strong,
.trust-strip span { display: block; }

.trust-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(48px, 7vw, 86px) clamp(18px, 5vw, 76px);
}

.intro {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px;
  padding-top: 34px;
}

.intro p,
.section-head p,
.criteria-grid p,
.legal-intro p,
.legal-grid p,
.footer p { color: var(--muted); }

.section-head {
  max-width: 840px;
  margin-bottom: 30px;
}

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

.casino-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(22, 32, 28, .07);
}

.casino-card.featured { border-color: rgba(199, 148, 63, .65); }

.rank {
  position: absolute;
  top: 16px;
  right: 18px;
  color: rgba(22, 32, 28, .16);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  margin-bottom: 20px;
  padding-right: 52px;
}

.card-top img {
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.card-top h3,
.card-top p { margin: 0; }

.card-top p,
.card-copy,
.facts dd { color: var(--muted); }

.facts {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.facts div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(226, 222, 212, .86);
}

.facts dt { font-weight: 900; }

.facts dd { margin: 0; }

.card-copy { flex: 1; }

.visit {
  width: 100%;
  margin-top: 10px;
}

.criteria {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 34px;
  background: #edf3ef;
}

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

.criteria-grid article {
  padding: 20px;
  border: 1px solid rgba(10, 119, 111, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
}

.criteria-grid span {
  color: var(--gold);
  font-weight: 900;
}

.legal-band {
  background: var(--ink);
  color: #fff;
}

.legal-band .eyebrow { color: #ffb4b6; }

.legal-intro { max-width: 880px; }

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

.legal-grid article {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}

.legal-grid a { color: #ffb4b6; }

.contact {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 32px;
}

address {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-style: normal;
}

address span { color: var(--muted); }

address a {
  color: var(--red-dark);
  font-weight: 900;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 76px);
  color: #fff;
  background: var(--teal-dark);
}

.footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .78);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(11, 20, 18, .78);
  backdrop-filter: blur(12px);
}

.age-gate[hidden] { display: none; }

.age-card {
  width: min(560px, 100%);
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.age-mark {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-weight: 900;
}

.age-small {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.blocked {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 24px;
  color: #fff;
  text-align: center;
  background: var(--ink);
}

.blocked[hidden] { display: none; }

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--paper);
}

.not-found .age-card { text-align: center; }

.not-found h1 {
  font-size: clamp(42px, 8vw, 86px);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .intro,
  .criteria,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    order: -1;
  }

  .trust-strip,
  .cards,
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav { gap: 16px; }

  .hero {
    padding-top: 28px;
  }

  .hero-actions,
  .age-actions,
  .footer,
  .footer-links {
    align-items: stretch;
    flex-direction: column;
  }

  .trust-strip,
  .cards,
  .criteria-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    transform: none;
    margin-top: 18px;
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .card-top {
    align-items: flex-start;
    padding-right: 44px;
  }
}
