/* =========================================================
   CANPLAY.CLUB — Design System
   Colors: #00FFD1 (cyan) | #FF2E63 (pink) | #39FF14 (green)
   Fonts:  Space Grotesk (headlines) | Inter (body)
            Press Start 2P (pixel / arcade accents)
   ========================================================= */

/* =========================================================
   SELF-HOSTED FONTS
   ========================================================= */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/press-start-2p-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   RETRO ARCADE LAYER
   ========================================================= */

/* ── CRT Scanlines ───────────────────────────────────── */
.crt-scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0, 0, 0, 0.18) 2px,
    rgba(0, 0, 0, 0.18) 4px
  );
}

/* ── CRT Vignette ────────────────────────────────────── */
.crt-vignette {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: radial-gradient(
    ellipse 110% 110% at 50% 50%,
    transparent 55%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

/* ── Pixel font utility ──────────────────────────────── */
.pixel-font {
  font-family: 'Press Start 2P', monospace !important;
  font-size: 11px !important;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

/* ── Blinking cursor ─────────────────────────────────── */
.pixel-blink {
  animation: blink 1s step-end infinite;
}
.hero__cursor {
  color: var(--cyan);
  animation: blink 0.9s step-end infinite;
  font-size: 18px;
  line-height: 1;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── Neon text-shadow glows ──────────────────────────── */
.accent-cyan  { color: var(--cyan);  text-shadow: 0 0 8px rgba(0,255,209,0.7), 0 0 20px rgba(0,255,209,0.3); }
.accent-pink  { color: var(--pink);  text-shadow: 0 0 8px rgba(255,46,99,0.7),  0 0 20px rgba(255,46,99,0.3); }
.accent-green { color: var(--green); text-shadow: 0 0 8px rgba(57,255,20,0.7),  0 0 20px rgba(57,255,20,0.3); }

/* ── Glitch animation ────────────────────────────────── */
@keyframes glitch-skew {
  0%   { transform: skewX(0deg); }
  2%   { transform: skewX(-3deg); }
  4%   { transform: skewX(2deg); }
  6%   { transform: skewX(0deg); }
  100% { transform: skewX(0deg); }
}
@keyframes glitch-before {
  0%   { clip-path: inset(40% 0 50% 0); transform: translate(-4px, 0); }
  20%  { clip-path: inset(10% 0 70% 0); transform: translate(4px, 0); }
  40%  { clip-path: inset(60% 0 20% 0); transform: translate(-3px, 0); }
  60%  { clip-path: inset(80% 0 5%  0); transform: translate(3px, 0); }
  80%  { clip-path: inset(25% 0 60% 0); transform: translate(-2px, 0); }
  100% { clip-path: inset(40% 0 50% 0); transform: translate(0, 0); }
}
@keyframes glitch-after {
  0%   { clip-path: inset(50% 0 30% 0); transform: translate(4px, 0); }
  20%  { clip-path: inset(20% 0 60% 0); transform: translate(-4px, 0); }
  40%  { clip-path: inset(70% 0 15% 0); transform: translate(3px, 0); }
  60%  { clip-path: inset(5%  0 80% 0); transform: translate(-3px, 0); }
  80%  { clip-path: inset(35% 0 40% 0); transform: translate(2px, 0); }
  100% { clip-path: inset(50% 0 30% 0); transform: translate(0, 0); }
}

.glitch-target {
  position: relative;
  display: inline-block;
}
.glitch-target.is-glitching {
  animation: glitch-skew 0.4s linear;
}
.glitch-target.is-glitching::before,
.glitch-target.is-glitching::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  animation-duration: 0.4s;
  animation-timing-function: steps(1);
  animation-fill-mode: forwards;
}
.glitch-target.is-glitching::before {
  color: var(--pink);
  animation-name: glitch-before;
  left: 2px;
}
.glitch-target.is-glitching::after {
  color: var(--cyan);
  animation-name: glitch-after;
  left: -2px;
}

/* ── Pulsing neon button ─────────────────────────────── */
@keyframes neon-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(0,255,209,0.5),  0 0 20px rgba(0,255,209,0.2); }
  50%       { box-shadow: 0 0 14px rgba(0,255,209,0.8), 0 0 36px rgba(0,255,209,0.4); }
}

/* ── Pixel corner clip on cards ──────────────────────── */
@keyframes arcade-flicker {
  0%, 97%, 100% { opacity: 1; }
  98%            { opacity: 0.92; }
  99%            { opacity: 1; }
}

/* subtle whole-page flicker like a CRT */
body { animation: arcade-flicker 8s infinite; }

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cyan:    #00FFD1;
  --pink:    #FF2E63;
  --green:   #39FF14;
  --purple:  #a78bfa;

  --bg:      #0E1113;
  --bg-2:    #141719;
  --bg-3:    #1a1e21;
  --border:  rgba(255,255,255,0.07);
  --border-bright: rgba(0,255,209,0.25);

  --text:    #e8eaec;
  --text-muted: #9aa3b0;

  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius:  10px;
  --radius-lg: 18px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Keyboard focus ring (WCAG 2.4.7) ─────────────── */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 3px;
}
.btn:focus-visible,
.input:focus-visible,
.faq-item summary:focus-visible {
  outline-offset: 2px;
}

/* ── Skip-to-content link (WCAG 2.4.1) ────────────── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  z-index: 10000;
  padding: 10px 16px;
  background: var(--cyan);
  color: #000;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 8px;
  outline: 2px solid #000;
  outline-offset: 2px;
}

/* ── Utilities ────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent-cyan  { color: var(--cyan); }
.accent-pink  { color: var(--pink); }
.accent-green { color: var(--green); }

.label {
  font-family: 'Press Start 2P', monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.8;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 10px 22px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: var(--cyan);
  color: #000;
  border-color: var(--cyan);
  animation: neon-pulse 2.5s ease-in-out infinite;
  border-radius: 4px;
}
.btn--primary:hover {
  background: transparent;
  color: var(--cyan);
  box-shadow: 0 0 24px rgba(0,255,209,0.6), 0 0 50px rgba(0,255,209,0.25);
}

.btn--outlined {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--outlined:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
  font-size: 15px;
}
.btn--ghost:hover { color: var(--cyan); }

.btn--lg { padding: 14px 32px; font-size: 15px; }
.btn--sm { padding: 7px 16px; font-size: 13px; }

/* ── Badges ───────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 6px 11px;
  border-radius: 2px;
}
.badge--green  { background: rgba(57,255,20,0.12);  color: var(--green); border: 1px solid rgba(57,255,20,0.5);  text-shadow: 0 0 6px rgba(57,255,20,0.6); }
.badge--cyan   { background: rgba(0,255,209,0.12);  color: var(--cyan);  border: 1px solid rgba(0,255,209,0.5);  text-shadow: 0 0 6px rgba(0,255,209,0.6); }
.badge--pink   { background: rgba(255,46,99,0.12);  color: var(--pink);  border: 1px solid rgba(255,46,99,0.5);  text-shadow: 0 0 6px rgba(255,46,99,0.6); }

/* ── Input ────────────────────────────────────────────── */
.input {
  background: var(--bg-3);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 18px;
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}
.input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,255,209,0.12); }
.input::placeholder { color: var(--text-muted); }

/* ── Section Common ───────────────────────────────────── */
.section { padding: 70px 0; }

.section__header {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.section__title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section__sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 520px;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(14,17,19,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 66px;
}
.nav__logo {
  font-family: 'Press Start 2P', monospace;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__logo-mark {
  color: var(--cyan);
  font-size: 16px;
  line-height: 1;
  text-shadow: 0 0 8px rgba(0,255,209,0.9);
}
/* Desktop nav links (mobile drawer only — hidden on desktop) */
.nav__links { display: none; }

/* ── Desktop dropdown nav ─────────────────────────── */
.nav__desktop {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav__item { position: relative; }
.nav__item-link {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 6px;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}
.nav__item-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav__item-link.is-current { color: var(--cyan); }
.nav__chevron {
  width: 12px; height: 12px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  opacity: 0.6;
}
.nav__item:hover .nav__chevron,
.nav__item:focus-within .nav__chevron,
.nav__item-link[aria-expanded="true"] .nav__chevron { transform: rotate(180deg); opacity: 1; }
.nav__item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}
.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: rgba(14,17,19,0.98);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown,
.nav__item-link[aria-expanded="true"] + .nav__dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav__dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}
.nav__dropdown a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav__dropdown a.is-current { color: var(--cyan); font-weight: 600; }
.nav__dropdown-icon { font-size: 14px; width: 20px; text-align: center; flex-shrink: 0; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 66px;
  overflow: hidden;
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,255,209,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,209,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero__grid-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,255,209,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,209,0.03) 1px, transparent 1px);
  background-size: 12px 12px;
}
.hero__grid-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 85% 65% at 50% 50%, transparent 25%, var(--bg) 75%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  max-width: 700px;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--text-muted);
}

.hero__headline {
  font-family: var(--font-head);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero__sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  width: 100%;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}
.stat__plus, .stat__pct {
  font-size: 20px;
  vertical-align: top;
  margin-top: 4px;
  display: inline-block;
}
.stat__label { font-size: 13px; color: var(--text-muted); font-family: var(--font-head); }
.stat__divider { width: 1px; height: 48px; background: var(--border); }

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.18;
}
.hero__glow--cyan {
  width: 700px; height: 700px;
  background: var(--cyan);
  top: -150px; right: -200px;
  opacity: 0.22;
}
.hero__glow--pink {
  width: 500px; height: 500px;
  background: var(--pink);
  bottom: -100px; left: -150px;
  opacity: 0.16;
}

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-bar__label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.trust-bar__logos {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.trust-pill {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  transition: all var(--transition);
}
.trust-pill:hover { border-color: var(--cyan); color: var(--cyan); }

/* =========================================================
   TOOLS
   ========================================================= */
.tools { background: var(--bg); }

.tools__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.tool-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  /* Pixel corner notches */
  clip-path: polygon(
    0 8px, 8px 0,
    calc(100% - 8px) 0, 100% 8px,
    100% calc(100% - 8px), calc(100% - 8px) 100%,
    8px 100%, 0 calc(100% - 8px)
  );
}
.tool-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0,255,209,0.12), 0 0 1px rgba(0,255,209,0.5);
}
.tool-card--featured {
  border-color: rgba(0,255,209,0.3);
  background: linear-gradient(135deg, rgba(0,255,209,0.06) 0%, var(--bg-2) 60%);
  box-shadow: 0 0 16px rgba(0,255,209,0.1);
}

.tool-card__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-color, var(--cyan));
  border: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.tool-card__title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.tool-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}
.tool-card__link {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.03em;
  transition: opacity var(--transition);
  align-self: flex-start;
}
.tool-card__link:hover { opacity: 0.75; }

.tool-card__glow {
  position: absolute;
  bottom: -40px; right: -40px;
  width: 140px; height: 140px;
  background: var(--cyan);
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.07;
  pointer-events: none;
}

/* =========================================================
   CASINOS TABLE
   ========================================================= */
.casinos { background: var(--bg-2); }

.casinos__table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.casinos__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.casinos__table thead {
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}
.casinos__table th {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 16px 20px;
  text-align: left;
  white-space: nowrap;
}
.casinos__table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.casino-row:last-child td { border-bottom: none; }
.casino-row:hover td { background: rgba(255,255,255,0.02); }
.casino-row--top { background: rgba(0,255,209,0.03); }

.rank {
  font-family: 'Press Start 2P', monospace;
  font-size: 11px;
  color: var(--text-muted);
}
.rank--gold { color: var(--cyan); text-shadow: 0 0 8px rgba(0,255,209,0.7); }

.casino-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
}
.casino-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.rating {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.rating__max { font-size: 12px; color: var(--text-muted); font-weight: 400; }

.payout {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}
.payout--fast { background: rgba(57,255,20,0.1); color: var(--green); border: 1px solid rgba(57,255,20,0.2); }
.payout--med  { background: rgba(255,193,7,0.1);  color: #ffc107;       border: 1px solid rgba(255,193,7,0.2); }

.casinos__footer {
  text-align: center;
  margin-top: 36px;
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how { background: var(--bg); }

.how__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px 60px;
  position: relative;
}
.how__steps::after {
  content: '';
  position: absolute;
  top: 26px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  pointer-events: none;
}

.step { display: flex; flex-direction: column; gap: 16px; position: relative; }
.step__num {
  font-family: 'Press Start 2P', monospace;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
}
.step__line {
  width: 40px; height: 2px;
  background: var(--border-bright);
  border-radius: 2px;
}
.step__title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
}
.step__desc { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  background:
    radial-gradient(ellipse 80% 120% at 50% 0%, rgba(0,255,209,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(0,255,209,0.06) 0%, transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  position: relative;
}

.cta-band__glow {
  display: none;
}

.cta-band__title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  position: relative;
}

.cta-band__sub {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 480px;
  position: relative;
}

.cta-band__form {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 440px;
  position: relative;
}

.cta-band__note {
  font-size: 12px;
  color: var(--text-muted);
  position: relative;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 60px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__tagline { font-size: 14px; color: var(--text-muted); max-width: 260px; line-height: 1.65; }
.footer__brand .nav__logo { font-size: 11px; gap: 0; }
.footer__brand .nav__logo-mark { display: none; }

.nav__drawer-tools { display: none; }
.nav__drawer-heading {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer__social { display: flex; gap: 10px; margin-top: 4px; }
.social-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition);
}
.social-btn:hover { border-color: var(--cyan); color: var(--cyan); }

.footer__cols {
  display: contents;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col h4 {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--cyan); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 24px;
  font-size: 12px;
  color: var(--text-muted);
}
.footer__bottom a { color: var(--text-muted); text-decoration: underline; }
.footer__bottom a:hover { color: var(--cyan); }
.footer__disclaimer { max-width: 420px; text-align: right; }

/* =========================================================
   SCROLLBAR
   ========================================================= */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(0,255,209,0.2); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,255,209,0.4); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .nav__links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 66px; left: 0;
    width: clamp(240px, 72vw, 300px);
    height: calc(100dvh - 66px);
    background: rgba(14,17,19,0.98);
    border-right: 1px solid var(--border);
    padding: 28px 24px 32px;
    gap: 20px;
    z-index: 99;
    backdrop-filter: blur(20px);
    transform: translateX(-110%);
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 17px; color: var(--text-muted); }
  .nav__links a:hover { color: var(--text); }
  .nav__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }
  .nav__backdrop.is-open { opacity: 1; pointer-events: all; }
  .nav .btn--primary { display: none; }
  .nav__burger { display: flex; }
  .nav__desktop { display: none; }
  .nav__links > a[href$="#tools"],
  .nav__links > a[href$="#about"],
  .nav__links > a[href$="/#tools"],
  .nav__links > a[href$="/#about"] { display: none; }
  .nav__drawer-tools {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }
  .nav__drawer-tools a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-muted);
    padding-left: 4px;
  }
  .nav__drawer-tools a:hover { color: var(--cyan); }
  .nav__drawer-tools a.is-current { color: var(--cyan); font-weight: 600; cursor: default; }
  .nav__drawer-icon { font-size: 16px; width: 22px; text-align: center; flex-shrink: 0; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__disclaimer { text-align: left; }
}

@media (max-width: 600px) {
  .nav__logo { font-size: 11px; gap: 6px; }
  .nav__logo-mark { font-size: 14px; }
  .section { padding: 70px 0; }
  .hero__stats { gap: 20px; flex-wrap: wrap; }
  .stat__divider { display: none; }
  .casinos__table th:nth-child(5),
  .casinos__table td:nth-child(5) { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__cols { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .cta-band__form { flex-direction: column; }
  .trust-bar__inner { flex-direction: column; align-items: flex-start; }
  .hero__inner { align-items: center; }
}

/* ── FAQ header (shared across tool pages) ── */
.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 48px 0 0;
}
.faq-header h2 { margin: 0; }
.tool-content-section .faq-header h2 { margin: 0; }
.faq-expand-all {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(0,255,209,0.07);
  border: 1px solid rgba(0,255,209,0.25);
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.faq-expand-all:hover {
  background: rgba(0,255,209,0.15);
  box-shadow: 0 0 12px rgba(0,255,209,0.2);
}
