/* ================================================================
   KINBET — style.css  |  Premium dark luxury casino
   ================================================================ */

:root {
  /* Brand palette */
  --color-primary-1: #000000;
  --color-primary-2: #FFD700;
  --color-accent-1: #FFFFFF;
  --color-accent-2: #C0C0C0;
  --color-bg: #040709;
  --color-text: #FFD700;
  --color-accent: #FFFFFF;
  --font-primary: Arial, Helvetica, sans-serif;
  --font-secondary: Helvetica, Arial, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 28px rgba(0, 0, 0, 0.55);

  /* Gold system */
  --gold: #ffd714;
  --gold-bright: #ffe84d;
  --gold-2: #b78600;
  --gold-glow: rgba(255, 215, 20, 0.22);
  --gold-soft: rgba(255, 215, 20, 0.09);

  /* Green accent */
  --green: #16d890;
  --green-dark: #0db87c;
  --green-soft: rgba(22, 216, 144, 0.13);

  /* Surfaces */
  --surface: #0d1219;
  --surface-2: #141d29;
  --surface-3: #1e2a38;

  /* Text */
  --text-1: #eef3fa;
  --text-2: #c2ccd9;
  --muted: #8592a3;

  /* Borders */
  --line: rgba(255, 255, 255, 0.07);
  --line-bright: rgba(255, 255, 255, 0.14);
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-top: 72px;
  background:
    radial-gradient(ellipse 130% 55% at 60% -10%, rgba(10, 24, 12, 0.90), transparent),
    radial-gradient(circle at 6% 88%, rgba(22, 216, 144, 0.05), transparent 40%),
    linear-gradient(170deg, #0d1318 0%, #070c10 40%, #030508 100%);
  color: var(--text-1);
  font-family: var(--font-secondary);
  line-height: 1.6;
  min-height: 100dvh;
}

/* Subtle grid texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.013) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.55;
}

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

/* ── Mobile topbar ─────────────────────────────────────────────── */
.mobile-topbar { display: none; }

/* ── Header ────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 22px;
  background: rgba(4, 6, 9, 0.90);
  border-bottom: 1px solid rgba(255, 215, 20, 0.10);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

/* ── Brand ─────────────────────────────────────────────────────── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold) 52%, #c49800);
  color: #070800;
  font-weight: 900;
  font-size: 22px;
  font-family: var(--font-primary);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 0 rgba(0, 0, 0, 0.20),
    0 0 0 1px rgba(255, 215, 0, 0.32),
    0 4px 18px rgba(255, 215, 0, 0.24);
}

.brand-text {
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0.4px;
  background: linear-gradient(130deg, #ffffff 20%, #ffd714 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Nav ───────────────────────────────────────────────────────── */
.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.header-nav a {
  text-decoration: none;
  color: #8fa0b4;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 11px;
  border-radius: 8px;
  transition: color 180ms ease, background 180ms ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn,
.btn-outline,
.btn-small,
.btn-gold,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition:
    transform 200ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 200ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 200ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 200ms ease;
}

/* Shine sweep on gold buttons */
.btn-gold::after,
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -90%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.30), transparent);
  transform: skewX(-18deg);
  transition: left 520ms ease;
  pointer-events: none;
}

.btn-gold:hover::after,
.btn:hover::after {
  left: 165%;
}

.btn:active,
.btn-outline:active,
.btn-small:active,
.btn-gold:active,
.btn-ghost:active {
  transform: translateY(1px) scale(0.99);
}

/* Gold (primary) */
.btn-gold,
.btn {
  color: #070900;
  background: linear-gradient(180deg, #ffe84d 0%, #ffd714 40%, #e0b000 100%);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    inset 0 -2px 0 rgba(0, 0, 0, 0.18),
    0 4px 20px rgba(255, 215, 0, 0.28),
    0 1px 4px rgba(0, 0, 0, 0.4);
}

.btn-gold:hover,
.btn:hover,
.btn-gold:focus-visible,
.btn:focus-visible {
  filter: brightness(1.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    inset 0 -2px 0 rgba(0, 0, 0, 0.18),
    0 6px 30px rgba(255, 215, 0, 0.40),
    0 1px 4px rgba(0, 0, 0, 0.4);
  outline: 2px solid rgba(255, 215, 0, 0.40);
  outline-offset: 2px;
}

/* Outline / secondary */
.btn-outline,
.btn-small {
  color: #dce5f0;
  background: linear-gradient(180deg, rgba(32, 42, 58, 0.96), rgba(16, 22, 33, 0.96));
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.btn-outline:hover,
.btn-small:hover,
.btn-outline:focus-visible,
.btn-small:focus-visible {
  filter: brightness(1.14);
  border-color: rgba(255, 255, 255, 0.24);
  outline: 2px solid rgba(255, 215, 0, 0.28);
  outline-offset: 2px;
}

/* Ghost */
.btn-ghost {
  color: var(--green);
  background: rgba(22, 216, 144, 0.07);
  border-color: rgba(22, 216, 144, 0.28);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(22, 216, 144, 0.12);
  border-color: rgba(22, 216, 144, 0.52);
  box-shadow: 0 0 22px rgba(22, 216, 144, 0.14);
  outline: 2px solid rgba(22, 216, 144, 0.28);
  outline-offset: 2px;
}

.btn-small {
  min-height: 34px;
  padding: 0 14px;
  font-size: 12px;
}

/* ── Layout ────────────────────────────────────────────────────── */
.layout {
  width: min(100%, 1440px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
  gap: 22px;
  padding: 18px 20px 64px;
}

/* ── Sidebar ───────────────────────────────────────────────────── */
.side-rail {
  position: sticky;
  top: 90px;
  align-self: start;
}

.rail-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 64px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(22, 216, 144, 0.20) 0%, rgba(8, 22, 16, 0.96) 100%);
  border: 1px solid rgba(22, 216, 144, 0.50);
  font-weight: 900;
  font-size: 12px;
  box-shadow: 0 4px 20px rgba(22, 216, 144, 0.07);
}

.rail-card span:last-child {
  font-size: 22px;
  filter: drop-shadow(0 0 8px rgba(22, 216, 144, 0.55));
}

.side-rail nav {
  display: grid;
  gap: 3px;
}

.side-rail a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 12px;
  color: #7a8ea4;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  background: linear-gradient(180deg, rgba(20, 26, 37, 0.92), rgba(13, 18, 28, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.side-rail a.active,
.side-rail a:hover,
.side-rail a:focus-visible {
  color: #22f0a2;
  border-color: rgba(22, 216, 144, 0.48);
  background: linear-gradient(180deg, rgba(22, 216, 144, 0.14), rgba(12, 20, 18, 0.96));
  outline: none;
}

/* ── Main ──────────────────────────────────────────────────────── */
.main-content { min-width: 0; }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 215, 20, 0.16);
  background: #060d08;
  box-shadow:
    0 12px 52px rgba(0, 0, 0, 0.60),
    0 0 0 1px rgba(22, 216, 144, 0.06),
    0 0 70px rgba(255, 215, 0, 0.05);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg,
      rgba(4, 8, 5, 0.97) 0%,
      rgba(4, 8, 5, 0.90) 26%,
      rgba(4, 8, 5, 0.55) 52%,
      rgba(4, 8, 5, 0.18) 74%,
      rgba(4, 8, 5, 0.04) 100%),
    url("img/kinbet-interface.png");
  background-size: cover;
  background-position: center 13%;
  transform: scale(1.02);
}

/* Gold left-edge accent */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--gold) 28%, var(--gold) 72%, transparent);
  border-radius: 0 2px 2px 0;
  opacity: 0.65;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(600px, 100%);
  padding: 72px 52px;
}

/* ── Labels ────────────────────────────────────────────────────── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-weight: 900;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ── Typography ────────────────────────────────────────────────── */
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-primary);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

h1 {
  margin-top: 12px;
  font-size: clamp(36px, 5.5vw, 60px);
  max-width: 11ch;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

h2 { font-size: clamp(26px, 3.5vw, 40px); }
h3 { font-size: 18px; }

p {
  margin: 0;
  color: var(--text-2);
}

.hero p {
  margin-top: 14px;
  max-width: 500px;
  font-size: 17px;
  color: rgba(208, 222, 238, 0.88);
}

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

/* ── Quick cats ────────────────────────────────────────────────── */
.quick-cats {
  display: grid;
  grid-template-columns: repeat(9, minmax(88px, 1fr));
  gap: 8px;
  margin: 14px 0 26px;
}

.cat {
  min-height: 70px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px 6px;
  border-radius: 10px;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(22, 30, 44, 0.96), rgba(13, 18, 29, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-weight: 700;
  font-size: 11px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  transition: border-color 200ms ease, transform 200ms ease;
  cursor: default;
}

.cat:hover {
  border-color: rgba(255, 215, 0, 0.22);
  transform: translateY(-1px);
}

.cat strong {
  display: block;
  color: #e4eefa;
  font-size: 17px;
  line-height: 1.1;
  margin-bottom: 3px;
}

/* ── Sections ──────────────────────────────────────────────────── */
section {
  scroll-margin-top: 96px;
  margin-top: 44px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head p { max-width: 580px; }

/* ── Bonus grid ────────────────────────────────────────────────── */
.bonus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 16px;
}

/* ── Cards base ────────────────────────────────────────────────── */
.bonus-card,
.panel,
.promo-card,
.pay-card,
.about-card,
.rating-card,
.info-card {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22, 31, 46, 0.98), rgba(11, 16, 25, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.promo-card,
.about-card,
.rating-card {
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.promo-card:hover,
.about-card:hover,
.rating-card:hover {
  border-color: rgba(255, 215, 0, 0.18);
  box-shadow: var(--shadow), 0 0 26px rgba(255, 215, 0, 0.06);
  transform: translateY(-1px);
}

.bonus-card {
  padding: 28px;
  border-color: rgba(22, 216, 144, 0.38);
  background:
    linear-gradient(110deg, rgba(4, 9, 7, 0.97) 0%, rgba(4, 9, 7, 0.86) 42%, rgba(4, 9, 7, 0.40) 100%),
    url("img/kinbet-interface.png");
  background-size: cover;
  background-position: center 78%;
  box-shadow:
    0 6px 32px rgba(0, 0, 0, 0.62),
    inset 0 0 0 1px rgba(22, 216, 144, 0.30);
}

.bonus-card h2 {
  max-width: 760px;
  margin: 8px 0 12px;
}

/* ── Stat / point grids ────────────────────────────────────────── */
.bonus-points,
.stat-grid,
.method-grid,
.provider-grid,
.promo-grid,
.ratings-grid,
.about-grid {
  display: grid;
  gap: 12px;
}

.bonus-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0;
}

.point,
.stat,
.method,
.provider,
.badge {
  min-height: 80px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(5, 9, 15, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 200ms ease;
}

.point:hover,
.stat:hover,
.method:hover,
.provider:hover {
  border-color: rgba(255, 215, 0, 0.20);
}

.point b,
.stat b,
.method b,
.provider b,
.badge b {
  display: block;
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
}

.point span,
.stat span,
.method span,
.provider span,
.badge span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.stat-grid { grid-template-columns: 1fr; }
.panel { padding: 20px; }

/* ── Promo grid ────────────────────────────────────────────────── */
.promo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.promo-card {
  padding: 20px;
  display: grid;
  align-content: space-between;
  min-height: 236px;
}

.promo-card h3 { margin: 12px 0 8px; }

.promo-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 60%, #c49600);
  color: #050600;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.50),
    0 4px 14px rgba(255, 215, 0, 0.28);
}

/* ── Games ─────────────────────────────────────────────────────── */
.games-shell {
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 9, 15, 0.78);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.tab-button {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #8ea0b4;
  background: rgba(22, 30, 44, 0.90);
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tab-button:hover {
  color: #d0dce8;
  border-color: rgba(255, 255, 255, 0.20);
}

.tab-button.active,
.tab-button:focus-visible {
  color: #040e04;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(22, 216, 144, 0.32);
  outline: none;
}

.game-panel { display: none; }
.game-panel.active { display: block; }

.game-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

/* Game cards - three color families rotating */
.game-card {
  min-height: 164px;
  display: grid;
  align-content: end;
  gap: 6px;
  padding: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(22, 216, 144, 0.28);
  background:
    linear-gradient(180deg, transparent 28%, rgba(0, 0, 0, 0.84) 80%),
    radial-gradient(circle at 28% 15%, rgba(255, 215, 0, 0.70), transparent 34%),
    linear-gradient(148deg, #0c593b, #2b1429 56%, #0e1820);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.game-card:hover {
  transform: translateY(-3px) scale(1.015);
  border-color: rgba(22, 216, 144, 0.55);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 22px rgba(22, 216, 144, 0.10);
}

.game-card:nth-child(2n) {
  border-color: rgba(38, 210, 255, 0.22);
  background:
    linear-gradient(180deg, transparent 28%, rgba(0, 0, 0, 0.84) 80%),
    radial-gradient(circle at 68% 18%, rgba(38, 210, 255, 0.65), transparent 30%),
    linear-gradient(148deg, #4b1515, #5d3f0f 58%, #111927);
}
.game-card:nth-child(2n):hover {
  border-color: rgba(38, 210, 255, 0.48);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 22px rgba(38, 210, 255, 0.10);
}

.game-card:nth-child(3n) {
  border-color: rgba(255, 80, 160, 0.22);
  background:
    linear-gradient(180deg, transparent 28%, rgba(0, 0, 0, 0.84) 80%),
    radial-gradient(circle at 52% 18%, rgba(255, 80, 160, 0.72), transparent 28%),
    linear-gradient(148deg, #102e54, #3b1246 58%, #07100e);
}
.game-card:nth-child(3n):hover {
  border-color: rgba(255, 80, 160, 0.48);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 22px rgba(255, 80, 160, 0.10);
}

.game-card b {
  font-family: var(--font-primary);
  font-size: 15px;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

.game-card span {
  color: rgba(196, 212, 228, 0.85);
  font-size: 11px;
}

/* ── Providers ─────────────────────────────────────────────────── */
.provider-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 14px;
}

.provider { min-height: 70px; }

/* ── Payments / About / Ratings ────────────────────────────────── */
.payments-wrap,
.about-grid,
.ratings-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.method-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.method,
.about-card,
.rating-card { padding: 18px; }

/* ── Feature strip (About) ─────────────────────────────────────── */
.feature-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: stretch;
}

.image-panel {
  min-height: 280px;
  border-radius: var(--radius);
  border: 1px solid rgba(22, 216, 144, 0.32);
  background:
    linear-gradient(90deg, rgba(4, 8, 6, 0.94), rgba(4, 8, 6, 0.28)),
    url("img/kinbet-interface.png");
  background-size: cover;
  background-position: center 65%;
  padding: 28px;
  display: grid;
  align-content: center;
  box-shadow: 0 0 44px rgba(22, 216, 144, 0.05);
}

.image-panel h2 { max-width: 560px; }

/* ── FAQ ───────────────────────────────────────────────────────── */
.faq-list { display: grid; gap: 8px; }

.faq-item {
  border-radius: var(--radius);
  background: rgba(12, 18, 28, 0.90);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: border-color 200ms ease;
}

.faq-item.open,
.faq-item:focus-within {
  border-color: rgba(255, 215, 0, 0.22);
}

.faq-question {
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  border: 0;
  color: #e4eefa;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  text-align: left;
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  transition: color 180ms ease;
}

.faq-question:hover { color: #fff; }

.faq-question::after {
  content: "+";
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  font-weight: 400;
}

.faq-question[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer {
  display: none;
  padding: 0 18px 16px;
  color: #a8b6c6;
  font-size: 14px;
  line-height: 1.65;
}

.faq-item.open .faq-answer { display: block; }

/* ── Footer ────────────────────────────────────────────────────── */
.site-footer {
  margin-top: 64px;
  padding: 38px 22px;
  background: rgba(3, 5, 8, 0.98);
  border-top: 1px solid rgba(255, 215, 20, 0.09);
}

.footer-inner {
  width: min(100%, 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer-links { display: grid; gap: 8px; }

.footer-links strong {
  display: block;
  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 2px;
}

.footer-links a {
  color: #6a7a8c;
  text-decoration: none;
  font-size: 14px;
  transition: color 180ms ease;
}

.footer-links a:hover { color: var(--green); }

.legal {
  color: #4a5562;
  font-size: 12px;
  line-height: 1.6;
}

/* ── Popup ─────────────────────────────────────────────────────── */
.popup { display: none; }
.popup.active { display: block; }

.popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.popup-card {
  position: fixed;
  top: 50%; left: 50%;
  z-index: 1100;
  width: min(420px, calc(100% - 32px));
  transform: translate(-50%, -50%);
  padding: 34px;
  border-radius: 18px;
  background: linear-gradient(160deg, #0c1420, #050d10);
  border: 1px solid rgba(255, 215, 0, 0.48);
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.10),
    0 32px 80px rgba(0, 0, 0, 0.75),
    0 0 52px rgba(255, 215, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  animation: popupIn 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.popup-card .label {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #060700;
  padding: 3px 10px;
  border-radius: 100px;
  display: inline-flex;
}

.popup-card h2 {
  margin: 14px 0 8px;
  font-size: clamp(20px, 4vw, 26px);
}

.popup-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  border: 0;
  border-radius: 8px;
  color: #8a9db0;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-size: 20px;
  display: grid;
  place-items: center;
  transition: background 180ms ease, color 180ms ease;
}

.popup-close:hover { background: rgba(255, 255, 255, 0.13); color: #fff; }

@keyframes popupIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.90); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* ── Info pages ────────────────────────────────────────────────── */
.info-main {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 36px 20px 0;
}

.info-hero {
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid rgba(22, 216, 144, 0.36);
  background: linear-gradient(135deg, rgba(22, 216, 144, 0.09), rgba(7, 11, 18, 0.98));
  box-shadow: 0 0 44px rgba(22, 216, 144, 0.04);
}

.info-hero h1 { max-width: 760px; }

.info-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.info-card { padding: 22px; }

.step-list {
  margin: 14px 0 0;
  padding-left: 22px;
  color: #a0b0c2;
}

.step-list li + li { margin-top: 8px; }

/* ── 404 ───────────────────────────────────────────────────────── */
.not-found {
  min-height: calc(100dvh - 300px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 18px;
}

.not-found strong {
  display: block;
  color: var(--gold);
  font-size: clamp(96px, 18vw, 170px);
  line-height: 0.92;
  text-shadow: 0 0 60px rgba(255, 215, 0, 0.28), 0 4px 30px rgba(0, 0, 0, 0.6);
}

/* ── Reduced motion ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}

/* ── 1200px ────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .header-nav a:nth-last-child(-n + 3) { display: none; }

  .layout { grid-template-columns: 1fr; }
  .side-rail { display: none; }

  .quick-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .game-grid,
  .provider-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── 768px ─────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  body { padding-top: 108px; }

  .mobile-topbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 44px;
    z-index: 1001;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(3, 5, 8, 0.97);
    border-bottom: 1px solid rgba(255, 215, 20, 0.10);
  }

  .mobile-topbar a {
    display: grid;
    place-items: center;
    text-decoration: none;
    font-weight: 900;
    font-size: 13px;
    transition: filter 180ms ease;
  }

  .mobile-topbar a:hover { filter: brightness(1.12); }

  .mobile-topbar a:first-child {
    color: var(--green);
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    border-top: 2px solid rgba(22, 216, 144, 0.48);
  }

  .mobile-topbar a:last-child {
    color: #070900;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold) 60%, #c49600);
    border-top: 2px solid rgba(255, 215, 0, 0.55);
  }

  .site-header {
    top: 44px;
    height: 64px;
    padding: 0 14px;
  }

  .header-nav,
  .header-actions { display: none; }

  .brand-text { font-size: 20px; }

  .layout,
  .info-main {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero { min-height: 420px; }
  .hero-content { padding: 44px 20px; }
  .hero::before { background-position: center top; }
  .hero::after { display: none; }

  .quick-cats,
  .bonus-grid,
  .bonus-points,
  .promo-grid,
  .method-grid,
  .payments-wrap,
  .about-grid,
  .ratings-grid,
  .feature-strip,
  .footer-inner { grid-template-columns: 1fr; }

  .section-head { display: block; }
  .section-head p { margin-top: 10px; }

  .game-grid,
  .provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
