/* ==========================================================================
   parisbonusmax — comparateur ANJ
   Tokens, base, layout, components, responsive
   ========================================================================== */

:root {
  /* palette */
  --bg-0: #0b1020;
  --bg-1: #0f152e;
  --surface-1: #141a35;
  --surface-2: #1a2148;
  --surface-3: #232b59;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #e7ebff;
  --text-muted: #9aa3c7;
  --text-soft: #c5cce8;

  --accent: #4f8cff;
  --accent-2: #6ea3ff;
  --green: #22c55e;
  --green-2: #16a34a;
  --gold: #fbbf24;
  --red: #ef4444;

  /* gradients */
  --grad-cta: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  --grad-blue: linear-gradient(135deg, #4f8cff 0%, #2563eb 100%);
  --grad-card: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 100%);

  /* radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  /* shadows */
  --sh-sm: 0 2px 6px rgba(0,0,0,0.3);
  --sh-md: 0 12px 32px -8px rgba(0,0,0,0.55);
  --sh-lg: 0 24px 60px -16px rgba(0,0,0,0.7);
  --sh-glow: 0 0 0 1px rgba(79,140,255,0.4), 0 12px 40px -12px rgba(79,140,255,0.4);

  /* type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Manrope", var(--font-sans);
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

/* reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-0);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(79,140,255,0.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(34,197,94,0.10), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent-2); text-decoration: none; transition: color .2s ease; }
a:hover { color: #fff; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.18; letter-spacing: -0.01em; margin: 0 0 .4em; }
ul { padding-left: 1.1em; margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* layout */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ============= Header ============= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 16, 32, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: rgba(11, 16, 32, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px -16px rgba(0,0,0,0.6);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; font-size: 20px;
}
.brand:hover { color: #fff; }
.brand-mark { display: inline-flex; }
.brand-text { white-space: nowrap; }
.brand-accent {
  background: linear-gradient(90deg, var(--accent) 0%, var(--green) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.primary-nav {
  display: flex; gap: 6px; margin-left: auto;
}
.primary-nav a {
  color: var(--text-soft); font-weight: 500; font-size: 14.5px;
  padding: 8px 14px; border-radius: 999px; transition: background .2s ease, color .2s ease;
}
.primary-nav a:hover { color: #fff; background: rgba(255,255,255,0.06); }

.header-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  border: 1px solid var(--border-strong); border-radius: 999px; padding: 6px 10px;
}
.header-badge .age { color: var(--red); font-weight: 700; }
.header-badge .reg { color: var(--text-muted); }
.header-badge.static { margin-top: 14px; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border-strong); color: var(--text);
  width: 40px; height: 40px; border-radius: 10px; margin-left: auto;
  cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============= Hero ============= */
.hero {
  position: relative; padding: clamp(52px, 9vw, 110px) 0 clamp(40px, 7vw, 80px);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -10%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(79,140,255,0.35), transparent 60%),
    radial-gradient(ellipse 45% 35% at 85% 70%, rgba(34,197,94,0.28), transparent 60%),
    radial-gradient(ellipse 35% 25% at 50% 100%, rgba(99,102,241,0.18), transparent 60%);
  filter: blur(20px);
  animation: heroPan 22s ease-in-out infinite alternate;
}
@keyframes heroPan {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.06); }
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: center;
}
.hero-content { max-width: 720px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-soft);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 12px;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100%{ opacity: 1; } 50% { opacity: 0.4; } }

.hero-title {
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}
.hero-title .hl {
  background: linear-gradient(90deg, var(--accent) 0%, var(--green) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: clamp(16px, 1.4vw, 18.5px); color: var(--text-soft); max-width: 720px; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -0.005em;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--grad-blue); color: #fff;
  box-shadow: 0 10px 30px -10px rgba(79,140,255,0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(79,140,255,0.7); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,0.04); color: var(--text); border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }
.btn-visit {
  background: var(--grad-cta); color: #fff; box-shadow: 0 10px 28px -10px rgba(34,197,94,0.55);
  width: 100%;
}
.btn-visit:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(34,197,94,0.65); color: #fff; }
.btn-sm { padding: 9px 14px; font-size: 13px; width: auto; }

.hero-meta { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 50px); }
.hero-meta > div { display: flex; flex-direction: column; }
.meta-num { font-family: var(--font-mono); font-size: clamp(28px, 3.5vw, 40px); font-weight: 700; color: #fff; line-height: 1; }
.meta-num small { font-size: 0.55em; color: var(--text-muted); margin-left: 2px; }
.meta-lbl { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-top: 4px; }

/* ============= Section heads ============= */
section { padding: clamp(56px, 8vw, 96px) 0; position: relative; }
.section-head { max-width: 760px; margin: 0 0 42px; }
.section-head .eyebrow {
  display: inline-block;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-2);
  padding: 5px 10px; border: 1px solid rgba(79,140,255,0.35); border-radius: 999px; background: rgba(79,140,255,0.08);
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 12px; }
.section-head p { color: var(--text-muted); font-size: clamp(15px, 1.2vw, 17px); margin: 0; }

/* ============= Cards / grids ============= */
.card {
  background: var(--surface-1);
  background-image: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--sh-md); }

.grid-4 {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.grid-3 {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.principle h3 { font-size: 18px; margin-bottom: 8px; }
.principle p { color: var(--text-muted); font-size: 14.5px; margin: 0; }

/* ============= Brand list ============= */
.brand-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 18px;
}
.brand-card {
  position: relative;
  display: grid;
  grid-template-columns: 60px 200px 1fr 240px;
  gap: 24px;
  align-items: center;
  padding: 26px 28px;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface-1) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.brand-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 0% 50%, rgba(79,140,255,0.08), transparent 60%);
  opacity: 0; transition: opacity .25s ease;
}
.brand-card:hover { transform: translateY(-3px); border-color: rgba(79,140,255,0.35); box-shadow: var(--sh-glow); }
.brand-card:hover::before { opacity: 1; }
.brand-card[data-rank="1"] { border-color: rgba(251,191,36,0.35); }
.brand-card[data-rank="1"]::after {
  content: "★ Choix de la rédaction"; position: absolute; top: 14px; right: 18px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); padding: 4px 10px; border: 1px solid rgba(251,191,36,0.4); border-radius: 999px;
  background: rgba(251,191,36,0.08);
}
.rank {
  font-family: var(--font-mono); font-weight: 700; font-size: 32px;
  color: var(--text-muted); opacity: 0.55; line-height: 1;
}
.brand-logo {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: center;
  min-height: 80px;
  overflow: hidden;
}
.brand-logo::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(79,140,255,0.12), transparent 70%);
  opacity: 0; transition: opacity .35s ease;
}
.brand-card:hover .brand-logo::before { opacity: 1; }
.brand-logo img {
  max-width: 100%; max-height: 60px; width: auto; object-fit: contain;
  position: relative; z-index: 1;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity .25s ease, filter .35s ease, transform .35s ease;
}
.brand-card:hover .brand-logo img { opacity: 1; transform: scale(1.04); }
.brand-body { min-width: 0; }
.brand-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px;
}
.tag-sport { background: rgba(79,140,255,0.16); color: #93b6ff; border: 1px solid rgba(79,140,255,0.28); }
.tag-poker { background: rgba(34,197,94,0.16); color: #6ee7a8; border: 1px solid rgba(34,197,94,0.28); }
.tag-hippique { background: rgba(251,191,36,0.16); color: #fcd34d; border: 1px solid rgba(251,191,36,0.28); }

.rating { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.stars { color: var(--gold); letter-spacing: 1px; font-size: 13px; }
.score { font-family: var(--font-mono); font-weight: 700; font-size: 15px; color: #fff; }
.out { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.brand-name { font-size: 22px; margin: 4px 0 6px; }
.brand-desc { color: var(--text-soft); font-size: 14.5px; margin: 0 0 12px; }
.features { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.features li {
  position: relative; padding-left: 18px; color: var(--text-muted); font-size: 13.5px;
}
.features li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 6px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.brand-cta { display: flex; flex-direction: column; gap: 10px; }
.bonus {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.22);
  border-radius: var(--r-md);
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 2px;
}
.bonus-lbl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #6ee7a8; }
.bonus-val { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: #fff; line-height: 1.15; }
.bonus-sub { color: var(--text-muted); font-size: 12.5px; }
.legal { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); text-align: center; letter-spacing: 0.04em; }

/* ============= Comparison table ============= */
.table-wrap {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmp-table thead th {
  text-align: left; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600;
  padding: 14px 18px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.02);
}
.cmp-table tbody tr { transition: background .2s ease; }
.cmp-table tbody tr:hover { background: rgba(79,140,255,0.06); }
.cmp-table tbody th, .cmp-table tbody td {
  padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border);
}
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table tbody th { font-weight: 700; color: #fff; font-size: 15px; }
.cmp-table strong { font-family: var(--font-mono); color: var(--gold); }
.cmp-note { color: var(--text-muted); font-size: 13.5px; margin: 16px 0 0; }

/* ============= Criteria grid ============= */
.grid-criteria {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.crit {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px 22px 20px;
  transition: transform .2s ease, border-color .2s ease;
}
.crit:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.crit .num {
  position: absolute; top: 14px; right: 16px;
  font-family: var(--font-mono); font-size: 12px; color: var(--accent); opacity: 0.7;
}
.crit h3 { font-size: 16px; margin-bottom: 6px; }
.crit p { color: var(--text-muted); font-size: 13.5px; margin: 0; }

/* ============= FAQ ============= */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 880px; }
.faq-item {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: rgba(79,140,255,0.28); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 24px;
  font-family: var(--font-display); font-weight: 600; font-size: 16.5px; color: #fff;
  display: flex; align-items: center; gap: 14px;
  position: relative;
  transition: background .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; margin-left: auto;
  width: 12px; height: 12px;
  border-right: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2);
  transform: rotate(45deg); transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(225deg); }
.faq-item summary:hover { background: rgba(255,255,255,0.03); }
.faq-body { padding: 0 24px 22px; color: var(--text-soft); font-size: 15px; }
.faq-body p { margin: 0; }
.faq-body code { background: rgba(255,255,255,0.06); padding: 1px 6px; border-radius: 5px; font-size: 0.9em; color: #6ee7a8; }

/* ============= Responsible ============= */
.responsible { background: linear-gradient(180deg, transparent 0%, rgba(239,68,68,0.04) 100%); }
.resp-warning {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(239,68,68,0.12), rgba(239,68,68,0.04));
  border: 1px solid rgba(239,68,68,0.32);
  border-radius: var(--r-md);
  margin-bottom: 28px;
}
.warn-ico { color: var(--red); flex-shrink: 0; }
.warn-ico svg { width: 32px; height: 32px; }
.warn-title { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #fff; margin: 0 0 4px; }
.warn-sub { color: var(--text-soft); margin: 0; font-size: 14.5px; }
.warn-sub a { color: #fff; }

.resp-icons {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-bottom: 32px;
}
.resp-ico {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 14px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-align: center;
  color: var(--text-soft); font-size: 13px; font-weight: 500;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.resp-ico:hover { transform: translateY(-2px); border-color: var(--border-strong); background: var(--surface-2); color: #fff; }
.resp-ico img {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 14px;
  max-height: 60px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity .25s ease, transform .25s ease;
}
.resp-ico:hover img { opacity: 1; transform: scale(1.04); }

.resp-tips .card { padding: 22px; }
.resp-tips .card h3 { font-size: 17px; }
.resp-tips .card p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* ============= Footer ============= */
.site-footer {
  margin-top: 40px;
  background: linear-gradient(180deg, transparent 0%, var(--bg-1) 100%);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid; gap: 36px;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  padding: 56px 0 40px;
}
.foot-col h4 {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-col ul a { color: var(--text-soft); font-size: 14.5px; }
.foot-col ul a:hover { color: #fff; }
.foot-desc { color: var(--text-muted); font-size: 14px; max-width: 320px; margin: 12px 0 16px; }
.foot-desc.small { font-size: 12.5px; line-height: 1.55; }
.contact-line { font-size: 14px; color: var(--text-soft); margin: 6px 0; }
.contact-line a { color: #fff; }
.legal-entity { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--border); }
.legal-entity .legal-name { font-family: var(--font-display); font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 6px; }
.legal-entity p { font-size: 13px; color: var(--text-soft); margin: 4px 0; line-height: 1.5; }
.legal-entity a { color: #fff; }
code { font-family: var(--font-mono); font-size: 0.9em; background: rgba(255,255,255,0.06); padding: 1px 6px; border-radius: 5px; color: #6ee7a8; }

.foot-bottom { border-top: 1px solid var(--border); }
.foot-bottom-inner {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  padding: 18px 0; font-size: 12.5px; color: var(--text-muted);
}
.warn-min { margin: 0; }
.warn-min a { color: var(--red); font-weight: 600; }

/* ============= Reveal animation ============= */
/* armed only by JS — without JS content stays visible */
.reveal { transition: opacity .7s ease, transform .7s ease; }
.reveal.is-armed { opacity: 0; transform: translateY(20px); }
.reveal.is-armed.is-visible { opacity: 1; transform: translateY(0); }
.brand-card.reveal { transition-duration: .8s; }
.brand-card.reveal:nth-child(2) { transition-delay: .08s; }
.brand-card.reveal:nth-child(3) { transition-delay: .14s; }
.brand-card.reveal:nth-child(4) { transition-delay: .2s; }
.brand-card.reveal:nth-child(5) { transition-delay: .26s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero-bg, .blob, .orbit, .marquee-track { animation: none !important; }
}

/* ============= Scroll progress ============= */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--green), var(--gold));
  z-index: 100;
  box-shadow: 0 0 12px rgba(79,140,255,0.6);
  transition: width .08s ease-out;
  border-radius: 0 3px 3px 0;
}

/* ============= Hero blobs / orbits / grid ============= */
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-bg .blob {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: blobFloat 18s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-bg .b1 { background: radial-gradient(circle at 30% 30%, #4f8cff, transparent 60%); top: -120px; left: -120px; }
.hero-bg .b2 { background: radial-gradient(circle at 70% 40%, #22c55e, transparent 60%); top: -50px; right: -160px; animation-duration: 22s; animation-delay: -3s; }
.hero-bg .b3 { background: radial-gradient(circle at 50% 70%, #a855f7, transparent 60%); bottom: -200px; left: 30%; animation-duration: 26s; animation-delay: -8s; opacity: 0.32; }
@keyframes blobFloat {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to   { transform: translate3d(5%, 4%, 0) scale(1.12); }
}
.hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.7; mix-blend-mode: screen; }
.hero-bg .orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(79,140,255,0.18);
  pointer-events: none;
  animation: orbitSpin 32s linear infinite;
}
.hero-bg .orbit::after {
  content: ""; position: absolute;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); top: -4px; left: 50%; transform: translateX(-50%);
  box-shadow: 0 0 18px var(--accent), 0 0 6px #fff;
}
.hero-bg .o1 { width: 520px; height: 520px; top: 50%; left: 60%; margin: -260px 0 0 -260px; }
.hero-bg .o2 { width: 720px; height: 720px; top: 50%; left: 60%; margin: -360px 0 0 -360px; border-color: rgba(34,197,94,0.12); animation-duration: 56s; animation-direction: reverse; }
.hero-bg .o2::after { background: var(--green); box-shadow: 0 0 18px var(--green), 0 0 6px #fff; left: auto; right: 50%; top: 50%; transform: translate(50%, -50%); right: -4px; left: auto; top: -4px; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }

/* ============= Hero stage (medallion + floating cards + sparks) ============= */
.hero-stage {
  position: relative;
  height: 480px;
  width: 100%;
  pointer-events: none;
  perspective: 900px;
}

/* sparks */
.spark {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 16px 4px rgba(255,255,255,0.7), 0 0 32px 6px rgba(79,140,255,0.5);
  animation: sparkTwinkle 2.6s ease-in-out infinite;
  opacity: 0;
}
.spark.s1 { top: 12%; left: 18%; width: 5px; height: 5px; animation-delay: -0.2s; }
.spark.s2 { top: 28%; right: 8%; width: 8px; height: 8px; animation-delay: -1.1s; box-shadow: 0 0 18px 4px rgba(251,191,36,0.7), 0 0 32px 6px rgba(251,191,36,0.4); }
.spark.s3 { bottom: 22%; left: 8%; width: 4px; height: 4px; animation-delay: -1.7s; box-shadow: 0 0 14px 3px rgba(34,197,94,0.7); }
.spark.s4 { bottom: 12%; right: 22%; width: 6px; height: 6px; animation-delay: -2.4s; }
.spark.s5 { top: 50%; left: 5%; width: 4px; height: 4px; animation-delay: -0.7s; }
@keyframes sparkTwinkle {
  0%, 100% { opacity: 0; transform: scale(0.4); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* stamp */
.stamp {
  position: absolute;
  top: 50%; left: 50%;
  width: 280px; height: 280px;
  margin: -140px 0 0 -140px;
  border-radius: 50%;
}
.stamp-text {
  position: absolute; inset: 0; width: 100%; height: 100%;
  animation: stampSpin 28s linear infinite;
}
@keyframes stampSpin { to { transform: rotate(360deg); } }

.stamp-inner {
  position: absolute; inset: 36px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 55%),
    linear-gradient(160deg, #1a2148 0%, #0f152e 65%, #0b1020 100%);
  border: 1px solid rgba(251,191,36,0.35);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    inset 0 30px 60px -30px rgba(251,191,36,0.18),
    0 30px 60px -20px rgba(0,0,0,0.6),
    0 0 0 1px rgba(79,140,255,0.18);
  color: var(--gold);
}
.stamp-shield { width: 50px; height: 50px; }
.stamp-num {
  font-family: var(--font-mono); font-weight: 700; font-size: 28px;
  color: #fff; letter-spacing: 0.04em;
  background: linear-gradient(180deg, #fff, #c5cce8);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-top: 2px;
}
.stamp-label {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em;
  color: var(--text-muted);
}

/* radial rings */
.stamp-ring {
  position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(79,140,255,0.18);
  animation: ringSpread 4s ease-out infinite;
}
.stamp-ring.r1 { inset: 0; }
.stamp-ring.r2 { inset: 0; animation-delay: -2s; border-color: rgba(34,197,94,0.18); }
@keyframes ringSpread {
  0%   { transform: scale(0.85); opacity: 0; }
  20%  { opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 0; }
}
.stamp-pulse {
  position: absolute; inset: -20px; border-radius: 50%;
  background: radial-gradient(circle, rgba(251,191,36,0.18) 0%, transparent 60%);
  animation: pulseGlow 4.5s ease-in-out infinite;
  z-index: -1;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(0.95); }
  50% { opacity: 0.9; transform: scale(1.08); }
}

/* floating cards */
.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px 9px 10px;
  background: linear-gradient(180deg, rgba(26,33,72,0.92), rgba(20,26,53,0.92));
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.7), 0 0 0 1px rgba(79,140,255,0.12);
  pointer-events: auto;
  font-size: 12px;
  white-space: nowrap;
  transform-style: preserve-3d;
  will-change: transform;
}
.float-card .fc-logo {
  width: 56px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 4px 6px;
  flex-shrink: 0;
}
.float-card .fc-logo img {
  max-width: 100%; max-height: 100%; width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.float-card .fc-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.float-card .fc-rate { font-family: var(--font-mono); font-weight: 700; color: var(--gold); font-size: 12px; }
.float-card .fc-bonus { color: var(--text-soft); font-size: 11.5px; }
.float-card .fc-pill {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #2563eb);
  padding: 3px 8px; border-radius: 999px;
  box-shadow: 0 4px 12px -4px rgba(79,140,255,0.6);
}
.float-card .fc-pill.poker {
  background: linear-gradient(135deg, var(--green), #16a34a);
  box-shadow: 0 4px 12px -4px rgba(34,197,94,0.6);
}
.float-card.fc1 { top: 6%; left: -8%; animation: floatA 6s ease-in-out infinite alternate; }
.float-card.fc2 { top: 38%; right: -10%; animation: floatB 7s ease-in-out infinite alternate; animation-delay: -2s; }
.float-card.fc3 { bottom: 8%; left: 6%; animation: floatC 5.5s ease-in-out infinite alternate; animation-delay: -1s; }
@keyframes floatA {
  from { transform: translateY(0) translateZ(20px) rotate(-2deg); }
  to   { transform: translateY(-18px) translateZ(20px) rotate(2deg); }
}
@keyframes floatB {
  from { transform: translateY(0) translateZ(40px) rotate(2deg); }
  to   { transform: translateY(-14px) translateZ(40px) rotate(-3deg); }
}
@keyframes floatC {
  from { transform: translateY(0) translateZ(10px) rotate(1deg); }
  to   { transform: translateY(-22px) translateZ(10px) rotate(-2deg); }
}

/* live pill */
.live-pill {
  position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-soft);
  background: rgba(11, 16, 32, 0.7);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 6px 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: liveBeat 1.6s ease-in-out infinite;
}
@keyframes liveBeat {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

/* hero stage responsive */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stage { height: 360px; max-width: 480px; margin: 20px auto 0; }
  .float-card.fc1 { left: 0; top: 4%; }
  .float-card.fc2 { right: 0; }
}
@media (max-width: 640px) {
  .hero-stage { height: 320px; max-width: 380px; }
  .stamp { width: 220px; height: 220px; margin: -110px 0 0 -110px; }
  .stamp-inner { inset: 28px; }
  .stamp-shield { width: 38px; height: 38px; }
  .stamp-num { font-size: 22px; }
  .float-card { padding: 7px 12px 7px 8px; font-size: 11px; }
  .float-card .fc-logo { width: 44px; height: 22px; }
  .float-card.fc1 { left: -4%; }
  .float-card.fc2 { right: -4%; }
}

/* ============= Marquee ============= */
.marquee {
  position: relative;
  margin-top: clamp(40px, 6vw, 64px);
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(79,140,255,0.04), rgba(34,197,94,0.04), rgba(255,255,255,0.02));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex; gap: 32px; align-items: center;
  width: max-content;
  animation: marqueeScroll 48s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.42);
  white-space: nowrap;
}
.marquee-track > span:not(.sep):hover { color: #fff; }
.marquee-track .sep { color: var(--accent); font-size: 14px; transform: translateY(-1px); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll { to { transform: translateX(-50%); } }

/* ============= Animated counters ============= */
.meta-num.is-counting { color: transparent; background: linear-gradient(135deg, #fff 30%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; }
.meta-num small { color: var(--text-muted); }

/* ============= Featured brand glow ============= */
.brand-card[data-rank="1"] {
  border-color: rgba(251,191,36,0.35);
  position: relative;
}
.brand-card[data-rank="1"]::before {
  background: radial-gradient(ellipse 60% 80% at 0% 50%, rgba(251,191,36,0.10), transparent 60%);
}
.brand-card[data-rank="1"] .brand-logo {
  border-color: rgba(251,191,36,0.4);
  box-shadow: inset 0 0 0 1px rgba(251,191,36,0.2), 0 8px 24px -8px rgba(251,191,36,0.3);
}
.brand-card[data-rank="1"] .brand-logo::before { background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(251,191,36,0.18), transparent 70%); opacity: 0.5; }
.brand-card[data-rank="1"]:hover .brand-logo::before { opacity: 1; }

/* tilt hint */
[data-tilt] { transform-style: preserve-3d; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
[data-tilt] > * { transform: translateZ(0); }
[data-tilt] .brand-logo { transform: translateZ(20px); }
[data-tilt] .brand-cta { transform: translateZ(14px); }

/* ============= Magnetic CTA / button polish ============= */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25), transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-visit { position: relative; overflow: hidden; }
.btn-visit::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.28), transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}
.btn-visit:hover::before { transform: translateX(120%); }

/* ============= Principle icon styling ============= */
.principle .ico {
  width: 56px; height: 56px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(79,140,255,0.18), rgba(34,197,94,0.14));
  border: 1px solid rgba(79,140,255,0.28);
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 6px 20px -8px rgba(79,140,255,0.4);
  transition: transform .35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .35s ease;
}
.principle .ico::before {
  content: ""; position: absolute; inset: -8px; border-radius: 22px;
  background: radial-gradient(closest-side, rgba(79,140,255,0.35), transparent 70%);
  opacity: 0; transition: opacity .3s ease;
  z-index: -1;
}
.principle:hover .ico { transform: scale(1.08) rotate(-3deg); box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 12px 32px -8px rgba(79,140,255,0.6); }
.principle:hover .ico::before { opacity: 1; }
.principle .ico svg { width: 26px; height: 26px; }

/* scale-in on reveal */
.principle.reveal.is-armed .ico { transform: scale(0.6) rotate(-12deg); opacity: 0; transition: transform .7s cubic-bezier(0.34, 1.56, 0.64, 1) .15s, opacity .5s ease .15s; }
.principle.reveal.is-armed.is-visible .ico { transform: scale(1) rotate(0); opacity: 1; }

/* card border glow on hover */
.card.principle { position: relative; isolation: isolate; }
.card.principle::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(79,140,255,0.5), transparent 40%, rgba(34,197,94,0.4));
  opacity: 0; transition: opacity .3s ease;
  -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px;
}
.card.principle:hover::after { opacity: 1; }

/* ============= Section divider ribbons ============= */
section.principles, section.criteria { position: relative; }
section.principles::before, section.criteria::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 40px;
  background: linear-gradient(180deg, transparent, rgba(79,140,255,0.4));
  transform: translateX(-50%);
}

/* ============= Cookie banner ============= */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 80; max-width: 880px; margin: 0 auto;
  background: linear-gradient(180deg, rgba(20,26,53,0.96), rgba(15,21,46,0.96));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg), 0 0 0 1px rgba(79,140,255,0.18);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  transform: translateY(140%); opacity: 0;
  transition: transform .55s cubic-bezier(0.22, 1, 0.36, 1), opacity .35s ease;
}
.cookie-banner.is-open { transform: translateY(0); opacity: 1; }
.cookie-banner[hidden] { display: none; }
.cookie-inner { padding: 22px 24px; }
.cookie-text { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.cookie-icon {
  flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(251,191,36,0.18), rgba(79,140,255,0.18));
  color: var(--gold);
}
.cookie-text h3 { font-size: 17px; margin: 0 0 4px; }
.cookie-text p { color: var(--text-muted); font-size: 14px; margin: 0; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie-actions .btn { min-width: 120px; }
.cookie-prefs {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px;
}
.cookie-prefs[hidden] { display: none; }
.cookie-banner[hidden] { display: none; }
.ck-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: var(--r-sm);
  font-size: 14px;
}
.ck-row .muted { color: var(--text-muted); font-weight: 400; font-size: 12.5px; }
.ck-row .ck-fixed { font-family: var(--font-mono); font-size: 11.5px; color: var(--green); padding: 4px 8px; background: rgba(34,197,94,0.1); border-radius: 6px; letter-spacing: 0.05em; text-transform: uppercase; }
.ck-row input[type="checkbox"] {
  appearance: none; width: 36px; height: 20px;
  background: rgba(255,255,255,0.1); border-radius: 999px; position: relative;
  cursor: pointer; transition: background .2s ease;
  flex-shrink: 0;
}
.ck-row input[type="checkbox"]::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; transition: transform .2s ease;
}
.ck-row input[type="checkbox"]:checked { background: var(--green); }
.ck-row input[type="checkbox"]:checked::after { transform: translateX(16px); }
.ck-prefs-actions { display: flex; justify-content: flex-end; }

@media (max-width: 640px) {
  .cookie-inner { padding: 18px; }
  .cookie-actions { flex-direction: column-reverse; }
  .cookie-actions .btn { width: 100%; min-width: 0; }
  .cookie-text { flex-direction: column; gap: 10px; }
}

/* ============= Policy pages ============= */
.policy-hero {
  padding: clamp(60px, 10vw, 110px) 0 clamp(30px, 5vw, 50px);
  position: relative; overflow: hidden;
}
.policy-hero::before {
  content: ""; position: absolute; inset: -10%; pointer-events: none;
  background:
    radial-gradient(ellipse 40% 30% at 30% 40%, rgba(79,140,255,0.25), transparent 60%),
    radial-gradient(ellipse 35% 25% at 80% 60%, rgba(34,197,94,0.18), transparent 60%);
  filter: blur(20px);
}
.policy-hero .container { position: relative; z-index: 1; max-width: 880px; }
.policy-hero h1 { font-size: clamp(30px, 4.5vw, 48px); margin-bottom: 14px; }
.policy-hero p { color: var(--text-muted); font-size: clamp(15px, 1.2vw, 17px); max-width: 680px; }
.policy-meta {
  display: inline-flex; gap: 8px; align-items: center;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--accent-2);
  border: 1px solid rgba(79,140,255,0.3); border-radius: 999px; padding: 5px 12px;
  background: rgba(79,140,255,0.08); margin-bottom: 16px;
}
.policy-body {
  max-width: 880px; padding: 20px 0 80px;
  font-size: 15.5px; line-height: 1.75; color: var(--text-soft);
}
.policy-body h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 48px 0 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  position: relative;
}
.policy-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.policy-body h2::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--green));
}
.policy-body h3 { font-size: 18px; margin: 28px 0 10px; color: #fff; }
.policy-body p { margin: 0 0 14px; }
.policy-body ul { padding-left: 22px; margin: 0 0 18px; }
.policy-body ul li { margin-bottom: 8px; }
.policy-body strong { color: #fff; }
.policy-body a { color: var(--accent-2); border-bottom: 1px dashed rgba(110,163,255,0.4); }
.policy-body a:hover { color: #fff; border-bottom-color: #fff; }
.policy-body .info-card {
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 18px 22px; margin: 18px 0;
}
.policy-body .info-card p:last-child { margin-bottom: 0; }
.policy-toc {
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 18px 22px; margin-bottom: 32px;
}
.policy-toc h4 {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600; margin-bottom: 10px;
}
.policy-toc ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.policy-toc a { color: var(--text-soft); border: none; }
.policy-toc a:hover { color: var(--accent-2); }

/* ============= Responsive ============= */
@media (max-width: 1024px) {
  .brand-card { grid-template-columns: 50px 160px 1fr; gap: 18px; }
  .brand-card .brand-cta { grid-column: 1 / -1; flex-direction: row; align-items: stretch; gap: 14px; }
  .brand-card .bonus { flex: 1; }
  .brand-card .btn-visit { width: auto; flex-shrink: 0; align-self: stretch; padding-left: 22px; padding-right: 22px; }
  .brand-card .legal { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .primary-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--bg-1); border-bottom: 1px solid var(--border);
    flex-direction: column; gap: 0; padding: 8px 0;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .primary-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .primary-nav a { padding: 14px var(--gutter); border-radius: 0; font-size: 16px; }
  .primary-nav a:hover { background: rgba(255,255,255,0.04); }
  .nav-toggle { display: inline-flex; }
  .header-badge { display: none; }
  .site-header.is-scrolled .header-badge { display: none; }

  .brand-card {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 22px;
  }
  .rank { font-size: 24px; opacity: 0.5; }
  .brand-logo { justify-self: start; min-width: 160px; }
  .brand-card[data-rank="1"] { padding-top: 56px; }
  .brand-card[data-rank="1"]::after { top: 16px; right: 16px; }
  .brand-card .brand-cta { flex-direction: column; }
  .brand-card .legal { display: block; }

  .cmp-table thead { display: none; }
  .cmp-table, .cmp-table tbody, .cmp-table tr, .cmp-table th, .cmp-table td { display: block; width: 100%; }
  .cmp-table tr { border-bottom: 1px solid var(--border); padding: 8px 0; }
  .cmp-table tr:last-child { border-bottom: none; }
  .cmp-table tbody th, .cmp-table tbody td {
    border: none; padding: 8px 18px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
  }
  .cmp-table tbody th::before, .cmp-table tbody td::before {
    content: attr(data-label);
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted);
  }
  .cmp-table tbody th { font-size: 17px; padding-top: 14px; }
  .cmp-table tbody th::before { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 28px; }
  .foot-bottom-inner { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  .hero { padding-top: 40px; }
  .hero-cta .btn { flex: 1; }
  .hero-meta { gap: 18px; }
  .meta-num { font-size: 26px; }
}
