:root {
  --ink: #17212b;
  --muted: #5f6d7a;
  --line: #d8e3e8;
  --paper: #f4f8f9;
  --panel: #ffffff;
  --soft: #e8f2f3;
  --deep: #17353a;
  --navy: #22324c;
  --accent: #18a999;
  --accent-2: #f0b84f;
  --danger: #8b1e3f;
  --shadow: 0 16px 38px rgba(23, 33, 43, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  overflow-x: hidden;
}
a { color: #0c6f83; font-weight: 700; text-decoration: none; }
a:hover { text-decoration: underline; }
.shell { width: calc(100% - 34px); max-width: 1180px; margin: 0 auto; }

.notice {
  padding: 10px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}
.notice.affiliate { background: var(--navy); color: #fff; }
.notice.age { background: #fff8e8; color: #563e08; border-bottom: 1px solid #efdcae; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 248, 249, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
  font-size: 21px;
}
.mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #092426;
  background: linear-gradient(145deg, var(--accent), #c7fff7);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
  font-size: 14px;
  letter-spacing: 0;
}
.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 14px;
}
.nav-links a { color: #263748; font-weight: 800; }
.badge-18 {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  border: 2px solid var(--danger);
  color: var(--danger);
  font-weight: 900;
}

section { padding: 74px 0; }
.hero {
  min-height: 610px;
  display: grid;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(23, 53, 58, .98) 0%, rgba(34, 50, 76, .92) 58%, rgba(24, 169, 153, .70) 100%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 1px, transparent 1px 28px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 44px;
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero h1, .page-hero h1 {
  margin: 0;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.03;
  letter-spacing: 0;
}
.hero p { max-width: 700px; color: #e8f6f6; font-size: 18px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0;
}
.hero-actions, .casino-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 900;
  border: 1px solid transparent;
  text-decoration: none;
}
.button.primary { background: var(--accent); color: #061f22; box-shadow: 0 14px 30px rgba(24, 169, 153, .28); }
.button.secondary { background: #fff; color: var(--ink); border-color: var(--line); }

.hero-board {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.24);
}
.hero-board div {
  min-height: 92px;
  border-left: 4px solid var(--accent-2);
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.hero-board strong { font-size: 34px; color: #fff; }
.hero-board span { color: #e7f4f3; font-weight: 800; text-align: right; }

h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.12; margin: 0 0 18px; }
h3 { margin: 0 0 8px; font-size: 20px; }
.alt { background: var(--soft); }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.method-grid article, .content-panel, .casino-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.method-grid article { padding: 24px; }
.method-grid article h3::before {
  content: "";
  display: block;
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
  margin-bottom: 14px;
}
.section-heading { max-width: 760px; margin-bottom: 24px; }
.section-heading p { color: var(--muted); }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 900;
  cursor: pointer;
}
.filter-btn.active { background: var(--deep); color: #fff; border-color: var(--deep); }
.ranking-list { display: grid; gap: 14px; }
.casino-card {
  display: grid;
  grid-template-columns: 54px 178px minmax(0, 1fr) 210px;
  gap: 18px;
  padding: 18px;
  align-items: center;
}
.rank {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
  font-weight: 900;
}
.logo-tile {
  min-height: 78px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #eef7f8);
  border: 1px solid var(--line);
}
.logo-tile img, .review-logo { max-width: 100%; height: auto; object-fit: contain; }
.casino-main h3 { font-size: 24px; }
.meta { color: var(--muted); font-size: 14px; font-weight: 800; }
.licence-row { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.licence-row span { color: #116a4f; font-weight: 900; }

.page-hero {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(23,53,58,.98), rgba(34,50,76,.92)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 1px, transparent 1px 30px);
}
.page-hero.compact { padding: 78px 0; min-height: auto; }
.page-hero p { max-width: 760px; color: #e8f6f6; font-size: 18px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(280px, .68fr); gap: 20px; align-items: start; }
.content-panel { padding: 28px; }
.muted-panel { background: #f9fcfc; }
.facts { display: grid; gap: 10px; margin: 0 0 18px; }
.facts div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
dt { font-weight: 900; color: #34404c; }
dd { margin: 0; }
.checklist { padding-left: 18px; }
.checklist li { margin-bottom: 8px; }
.split-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .6fr); gap: 24px; align-items: center; }
.support-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.support-links a {
  min-height: 58px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.site-footer {
  background: #17212b;
  color: #dce7eb;
  padding: 52px 0 22px;
}
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 26px; }
.footer-brand { color: #fff; margin-bottom: 12px; }
.site-footer h2 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.operator-warning {
  color: #fff;
  background: rgba(24,169,153,.16);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 12px;
  font-weight: 900;
}
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); color: #bdcbd0; font-size: 13px; }
[hidden] { display: none !important; }

@media (max-width: 900px) {
  .nav-shell { align-items: center; padding: 14px 0; flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; max-width: 100%; padding-bottom: 4px; }
  .hero-grid, .two-col, .split-band, .footer-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .casino-card { grid-template-columns: 48px minmax(0, 1fr); }
  .logo-tile { grid-column: 2; }
  .casino-main, .casino-actions { grid-column: 1 / -1; }
  .casino-actions .button { flex: 1 1 180px; }
}

@media (max-width: 560px) {
  .shell { width: 368px; max-width: calc(100vw - 22px); margin-left: 11px; margin-right: auto; }
  .hero-copy, .section-heading, .content-panel, .casino-main, .method-grid article { min-width: 0; max-width: 100%; }
  .notice { padding: 9px 12px; font-size: 13px; overflow-wrap: anywhere; }
  section { padding: 48px 0; }
  .hero { min-height: auto; padding: 56px 0; }
  .hero h1, .page-hero h1 { font-size: 29px; max-width: calc(100vw - 24px); overflow-wrap: anywhere; }
  .hero h1 span { display: block; }
  h2 { font-size: 24px; max-width: calc(100vw - 24px); overflow-wrap: anywhere; }
  .hero p, .page-hero p, .method-grid p, .casino-main p { font-size: 16px; max-width: 100%; overflow-wrap: anywhere; }
  .hero-board, .method-grid, .support-links { grid-template-columns: 1fr; }
  .hero-board div { align-items: flex-start; flex-direction: column; min-height: 104px; }
  .hero-board span { text-align: left; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .button { width: 100%; }
  .nav-shell { gap: 12px; }
  .nav-links { flex-wrap: wrap; overflow: visible; row-gap: 6px; }
  .brand-mark { font-size: 18px; }
}
