@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #142033;
  --muted: #5c6670;
  --blue: #2f6fd6;
  --blue-dark: #1f56b4;
  --blue-soft: #eaf1ff;
  --cyan: #3acfcf;
  --gold: #f5c451;
  --green: #18875d;
  --red: #a73737;
  --paper: #ffffff;
  --surface: #f5f7fb;
  --line: #dfe5ee;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 10px 15px -3px rgba(20, 32, 51, .08), 0 4px 6px -2px rgba(20, 32, 51, .05);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--muted);
  font-family: "Exo 2", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

body.menu-open { overflow: hidden; }

img, svg { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
button, input, textarea { font: inherit; }

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 1000;
  padding: .7rem 1rem;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: rgba(13, 25, 45, .97);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}

.brand-mark svg { width: 24px; height: 24px; }
.brand small { display: block; color: #aebbd0; font-size: .62rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.brand > img {
  width: min(300px, 62vw);
  height: auto;
  max-height: 52px;
  object-fit: contain;
}
.brand:has(.brand-mark) {
  width: min(300px, 62vw);
  min-height: 52px;
  background: url("/assets/credit-card-casinos-logo.webp") left center / contain no-repeat;
}
.brand:has(.brand-mark) > span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 7px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.main-nav { display: flex; align-items: center; gap: 1.3rem; }
.main-nav a { color: #dce5f4; font-size: .94rem; font-weight: 600; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; }
.main-nav .nav-safe {
  padding: .55rem .85rem;
  color: #10213c;
  background: var(--cyan);
  border-radius: 6px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 2.25rem 0 1.75rem;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(58,207,207,.25), transparent 30%),
    linear-gradient(135deg, #12233f 0%, #173a72 58%, #2459a8 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -160px;
  width: 480px;
  height: 480px;
  border: 80px solid rgba(255,255,255,.04);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .65fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .55rem;
  color: var(--cyan);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

h1, h2, h3, h4 {
  margin: 0 0 .8rem;
  color: var(--ink);
  line-height: 1.17;
  letter-spacing: -.025em;
}
h1 { max-width: 820px; color: #fff; font-size: clamp(2.25rem, 5vw, 3.65rem); }
h2 { margin-top: 3.5rem; font-size: clamp(1.8rem, 4vw, 2.65rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1.15rem; }

.hero-copy { max-width: 760px; margin: .8rem 0 0; color: #dce7f8; font-size: 1rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin-top: .7rem; color: #c3d1e6; font-size: .8rem; }
.hero-meta a { color: #fff; }

.hero-panel {
  padding: 1.1rem;
  color: var(--ink);
  background: rgba(255,255,255,.96);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.hero-panel h2 { margin: 0 0 .5rem; font-size: 1.25rem; }
.hero-panel ul { padding: 0; margin: .7rem 0 0; list-style: none; }
.hero-panel li { position: relative; padding: .5rem 0 .5rem 1.8rem; border-top: 1px solid var(--line); }
.hero-panel li::before { content: "✓"; position: absolute; left: .2rem; color: var(--green); font-weight: 800; }

.warning {
  margin: 2rem auto;
  padding: 1rem 1.2rem;
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  color: #563d09;
  background: #fff8df;
  border: 1px solid #f0d27a;
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
}
.warning svg { flex: 0 0 24px; margin-top: .15rem; }
.warning strong { color: #3e2c08; }

.section { padding: 1rem 0 4rem; }
.section-alt { background: var(--surface); }
.section-head { max-width: 800px; margin-bottom: 2rem; }
.section-head h2 { margin-top: 0; }
.toplist-section { padding-top: 1.25rem; }
.toplist-section .section-head {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr);
  column-gap: 2rem;
  margin-bottom: 1rem;
}
.toplist-section .section-head .kicker,
.toplist-section .section-head h2 { grid-column: 1; }
.toplist-section .section-head p:last-child {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: end;
  margin: 0;
  font-size: .92rem;
}
.kicker { margin-bottom: .35rem; color: var(--blue); font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.status-card {
  position: relative;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 230px;
  gap: 0;
  margin: 1.2rem 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.casino-list {
  margin: 0 0 3rem;
  padding: 0;
  display: grid;
  gap: .85rem;
  list-style: none;
  counter-reset: casino-rank;
}

.casino-row {
  position: relative;
  display: grid;
  grid-template-columns: 76px 190px minmax(0, 1fr) 190px;
  min-height: 122px;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  counter-increment: casino-rank;
}

.casino-rank {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  font-size: 1.55rem;
  font-weight: 800;
}
.casino-rank::before { content: counter(casino-rank); }

.casino-brand {
  padding: 1.15rem;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--blue-soft);
  text-align: center;
}
.casino-brand strong { font-size: 1.12rem; line-height: 1.2; }
.casino-brand img {
  width: min(150px, 100%);
  height: 64px;
  margin-bottom: .35rem;
  display: block;
  object-fit: contain;
}
.casino-brand img.logo-on-dark {
  padding: .45rem .65rem;
  background: var(--ink);
  border-radius: 8px;
}
.casino-brand span {
  width: 42px;
  height: 42px;
  margin-bottom: .45rem;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 8px;
  font-weight: 800;
}

.casino-details { padding: 1.1rem 1.25rem; }
.casino-details h3 { margin-bottom: .25rem; font-size: 1rem; }
.casino-details > p {
  margin: 0 0 .65rem;
  color: var(--blue-dark);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  font-weight: 800;
  line-height: 1.35;
}
.casino-cta {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
  text-align: center;
}
.casino-cta .fine-print { margin-top: .5rem; }

.status-label {
  position: absolute;
  top: 0;
  left: 0;
  padding: .28rem .75rem;
  color: #fff;
  background: var(--blue);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.status-brand {
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 2.5rem 1rem 1rem;
  text-align: center;
  background: var(--blue-soft);
}
.status-brand .brand-mark { width: 64px; height: 64px; margin: 0 auto .7rem; }
.status-brand strong { display: block; color: var(--ink); }
.status-brand small { font-size: .75rem; }

.status-body { padding: 1.5rem; }
.status-body h3 { margin-bottom: .35rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: .8rem 0 1rem; }
.chip { padding: .26rem .6rem; color: #33445f; background: #edf1f6; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.chip.good { color: #0a6745; background: #e3f5ed; }
.chip.warn { color: #7c5200; background: #fff3ca; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem 1rem; margin: .75rem 0 0; padding: 0; list-style: none; font-size: .9rem; }
.check-list li::before { content: "✓"; margin-right: .45rem; color: var(--green); font-weight: 800; }

.status-action {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border-left: 1px solid var(--line);
}
.score { color: var(--ink); font-size: 2rem; font-weight: 800; }
.score small { font-size: .8rem; font-weight: 600; }
.button {
  display: inline-flex;
  min-height: 46px;
  padding: .7rem 1rem;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}
.button:hover { color: #fff; background: var(--blue-dark); }
.button-outline { color: var(--blue); background: #fff; }
.button-outline:hover { color: #fff; }
.fine-print { margin: .6rem 0 0; font-size: .72rem; line-height: 1.4; }

.note-card {
  padding: 1.4rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.note-card p:last-child { margin-bottom: 0; }

.grid-2, .grid-3 { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.number-card { padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.number-card b { display: grid; width: 36px; height: 36px; margin-bottom: .8rem; place-items: center; color: #fff; background: var(--blue); border-radius: 50%; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: .9rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: var(--ink); background: var(--blue-soft); font-size: .87rem; }
tr:last-child td { border-bottom: 0; }

.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; margin: 2rem 0; }
.timeline::before { content: ""; position: absolute; top: 21px; left: 9%; right: 9%; height: 2px; background: #b9c9e8; }
.step { position: relative; z-index: 1; text-align: center; }
.step b { display: grid; width: 44px; height: 44px; margin: 0 auto .7rem; place-items: center; color: #fff; background: var(--blue); border: 4px solid var(--blue-soft); border-radius: 50%; }
.step h3 { font-size: .95rem; }
.step p { font-size: .82rem; line-height: 1.45; }

.score-grid { display: grid; gap: .8rem; }
.score-row { display: grid; grid-template-columns: 165px minmax(100px, 1fr) 45px; gap: .8rem; align-items: center; }
.score-row span:first-child { color: var(--ink); font-weight: 700; }
.bar { height: 10px; overflow: hidden; background: #e5eaf2; border-radius: 999px; }
.bar i { display: block; height: 100%; width: var(--value); background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: inherit; }

.toc { padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.toc h2 { margin: 0 0 .6rem; font-size: 1.2rem; }
.toc ol { columns: 2; margin: 0; padding-left: 1.4rem; }
.toc li { padding: .2rem .8rem .2rem 0; break-inside: avoid; }

.faq details { margin: .7rem 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { padding: 1rem 1.2rem; color: var(--ink); cursor: pointer; font-weight: 700; }
.faq details p { padding: 0 1.2rem 1.1rem; }

.author-box { display: grid; grid-template-columns: 84px 1fr; gap: 1.2rem; align-items: center; margin-top: 2.5rem; padding: 1.3rem; background: var(--surface); border-radius: var(--radius); }
.team-avatar { width: 84px; height: 84px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), var(--cyan)); border-radius: 50%; font-size: 1.3rem; font-weight: 800; }
.author-box h2 { margin: 0 0 .25rem; font-size: 1.2rem; }
.author-box p { margin: 0; font-size: .9rem; }
.author-box > a { display: block; width: 84px; height: 84px; }
.author-box > a img { width: 84px; height: 84px; object-fit: cover; border-radius: 50%; }

.hero-author { display: flex; align-items: center; gap: .8rem; margin: .75rem 0 .45rem; color: #eef5ff; }
.hero-author > a { flex: 0 0 52px; height: 52px; }
.hero-author img { width: 52px; height: 52px; object-fit: cover; border: 2px solid rgba(255,255,255,.72); border-radius: 50%; }
.hero-author span, .hero-author small { display: block; }
.hero-author small { color: #b9cbe5; font-size: .78rem; }
.hero-author a { color: #fff; }

.author-index-card { display: grid; grid-template-columns: 150px 1fr; gap: 1.5rem; align-items: center; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.author-index-card img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; }
.author-index-card h2 { margin: 0 0 .25rem; }
.author-role { margin: 0 0 .7rem; color: var(--blue-dark); font-weight: 700; }
.author-profile-hero { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; }
.author-profile-hero img { width: 220px; height: 220px; object-fit: cover; border: 4px solid rgba(255,255,255,.75); border-radius: 50%; box-shadow: var(--shadow); }
.author-profile-hero h1 { margin-bottom: .2rem; }
.author-profile-hero p { margin: .2rem 0; }
.expertise-tags { display: flex; flex-wrap: wrap; gap: .55rem; padding: 0 !important; list-style: none; }
.expertise-tags li { margin: 0; padding: .45rem .7rem; color: var(--blue-dark); background: var(--blue-soft); border-radius: 999px; font-size: .82rem; font-weight: 700; }
.author-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin: 1.5rem 0; }
.author-stat { padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.author-stat strong { display: block; color: var(--ink); font-size: 1.45rem; }

.page-hero { padding: 4rem 0 3rem; color: #dce7f8; background: linear-gradient(135deg, #12233f, #2459a8); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
.breadcrumbs { margin-bottom: 1rem; font-size: .82rem; }
.breadcrumbs a { color: #fff; }
.prose { max-width: 820px; padding: 3rem 0 5rem; }
.prose h2 { margin-top: 2.6rem; font-size: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .5rem; }
.policy-meta { padding: .8rem 1rem; background: var(--blue-soft); border-radius: var(--radius); font-size: .86rem; }

.site-footer { margin-top: 4rem; color: #c8d3e3; background: #10213c; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; padding: 3rem 0 2rem; }
.site-footer h2 { margin: 0 0 .8rem; color: #fff; font-size: 1rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: .35rem 0; }
.site-footer a { color: #dce7f8; }
.footer-note { padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; text-align: center; }
.safety-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.safety-badge { padding: .4rem .6rem; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 5px; font-size: .72rem; font-weight: 700; text-decoration: none; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    padding: 1.2rem 1rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    background: #10213c;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .45rem .7rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .status-card { grid-template-columns: 150px 1fr; }
  .casino-row { grid-template-columns: 64px 150px minmax(0, 1fr); }
  .casino-cta { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: .8rem; align-items: center; border-top: 1px solid var(--line); border-left: 0; }
  .status-action { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 220px; align-items: center; border-top: 1px solid var(--line); border-left: 0; }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { top: 20px; bottom: 20px; left: 21px; right: auto; width: 2px; height: auto; }
  .step { display: grid; grid-template-columns: 44px 1fr; gap: 0 1rem; text-align: left; }
  .step b { grid-row: 1 / 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 1.2rem), var(--max)); }
  .brand:not(:has(.brand-mark)) > span:last-child { display: none; }
  .hero { padding: 1.35rem 0 1.25rem; }
  .hero-grid { gap: 1rem; }
  h1 { font-size: 2.05rem; line-height: 1.1; }
  .hero-copy { font-size: .95rem; line-height: 1.55; }
  .hero-meta span:not(:first-child) { display: none; }
  .toplist-section { padding-top: .9rem; }
  .toplist-section .section-head { display: block; margin-bottom: .85rem; }
  .toplist-section .section-head h2 { margin-bottom: .5rem; font-size: 1.75rem; }
  .toplist-section .section-head p:last-child { font-size: .86rem; line-height: 1.5; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .status-card { grid-template-columns: 1fr; }
  .casino-row { grid-template-columns: 54px 1fr; }
  .casino-row > *, .status-card > * { min-width: 0; }
  .casino-brand { min-height: 112px; }
  .casino-details { grid-column: 1 / -1; }
  .casino-cta { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .status-brand { min-height: 150px; }
  .status-action { grid-column: auto; grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
  }
  .table-wrap table,
  .table-wrap tbody,
  .table-wrap tr,
  .table-wrap td { display: block; width: 100%; }
  .table-wrap table { background: transparent; }
  .table-wrap thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
  .table-wrap tbody { display: grid; gap: .75rem; }
  .table-wrap tr {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 5px 15px rgba(15, 37, 70, .06);
  }
  .table-wrap td {
    display: grid;
    grid-template-columns: minmax(105px, 40%) minmax(0, 1fr);
    gap: .75rem;
    padding: .72rem .85rem;
    overflow-wrap: anywhere;
    border-bottom: 1px solid var(--line);
  }
  .table-wrap td::before {
    content: attr(data-label);
    color: var(--ink);
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.35;
  }
  .table-wrap tr:last-child td:not(:last-child),
  .table-wrap td:not(:last-child) { border-bottom: 1px solid var(--line); }
  .table-wrap td:last-child { border-bottom: 0; }
  .toc ol { columns: 1; }
  .score-row { grid-template-columns: 110px 1fr 38px; font-size: .82rem; }
  .author-box { grid-template-columns: 60px 1fr; }
  .author-box > a, .author-box > a img { width: 60px; height: 60px; }
  .team-avatar { width: 60px; height: 60px; }
  .author-index-card, .author-profile-hero { grid-template-columns: 1fr; text-align: center; }
  .author-index-card img, .author-profile-hero img { margin-inline: auto; }
  .author-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

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