/* ===========================================================
   CasinoRank — dark casino-ranking theme
   Brand palette: Lemon + Fireball + Bison combined gradients.
   =========================================================== */

:root {
  /* Core dark palette */
  --bg-900: #0a0b12;
  --bg-850: #0e1019;
  --bg-800: #12141f;
  --bg-750: #171a27;
  --bg-700: #1d2030;
  --bg-600: #262a3d;
  --line: #2c3046;
  --line-soft: #232739;

  /* Text */
  --text: #e9ecf6;
  --text-soft: #aab0c6;
  --text-dim: #757c98;

  /* Brand — Lemon */
  --lemon-teal: #20716b;
  --lemon-gold: #ffd36c;

  /* Brand — Fireball */
  --fireball-orange: #ff9f47;
  --fireball-flame: #e0461d;

  /* Brand — Bison */
  --bison-navy: #1f3a5d;
  --bison-slate: #38587e;
  --bison-amber: #976243;

  /* Mapped accents (Lemon + Fireball + Bison) */
  --gold: var(--lemon-gold);
  --gold-deep: #e8b84a;
  --violet: var(--bison-slate);
  --violet-deep: var(--bison-navy);
  --teal: var(--lemon-teal);
  --rose: var(--fireball-flame);
  --orange: var(--fireball-orange);
  --green: #46d18a;

  /* Brand gradients */
  --grad-brand: linear-gradient(
    120deg,
    var(--lemon-gold) 0%,
    var(--fireball-orange) 35%,
    var(--fireball-flame) 55%,
    var(--lemon-teal) 78%,
    var(--bison-slate) 100%
  );
  --grad-brand-h: linear-gradient(
    90deg,
    var(--lemon-gold),
    var(--fireball-orange),
    var(--fireball-flame),
    var(--lemon-teal),
    var(--bison-slate)
  );
  --grad-text: linear-gradient(
    100deg,
    var(--lemon-gold) 0%,
    var(--fireball-orange) 38%,
    var(--fireball-flame) 62%,
    var(--lemon-teal) 100%
  );
  --grad-cta: linear-gradient(135deg, var(--lemon-gold), var(--fireball-orange));
  --grad-accent: linear-gradient(135deg, var(--bison-slate), var(--lemon-teal));

  /* Effects */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8);
  --shadow-soft: 0 8px 24px -12px rgba(0, 0, 0, 0.7);
  --glow-gold: 0 0 0 1px rgba(255, 211, 108, 0.35), 0 0 30px -6px rgba(255, 159, 71, 0.35);
  --ring: 0 0 0 3px rgba(32, 113, 107, 0.35);

  --maxw: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(900px 520px at 8% 4%, rgba(255, 211, 108, 0.11), transparent 55%),
    radial-gradient(1100px 600px at 82% -8%, rgba(255, 159, 71, 0.14), transparent 58%),
    radial-gradient(800px 480px at 50% 100%, rgba(31, 58, 93, 0.24), transparent 60%),
    var(--bg-900);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.6em; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1rem; color: var(--text-soft); }
section p strong, .prose strong { color: var(--text); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.text-grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--pad-y) 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: var(--grad-cta);
  color: #1a1405;
  box-shadow: var(--glow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,211,108,.5), 0 14px 30px -10px rgba(255,159,71,.55); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--bison-slate); background: rgba(56,88,126,0.12); }
.btn-violet {
  background: var(--grad-accent);
  color: #fff;
}
.btn-violet:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(31,58,93,.7); }
.btn-sm { --pad-y: 8px; padding: 8px 14px; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.topbar {
  background: linear-gradient(90deg, rgba(31,58,93,0.22), rgba(255,159,71,0.12), rgba(255,211,108,0.10));
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.8rem;
  color: var(--text-soft);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 7px; }
.topbar .pulse { color: var(--teal); font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 11, 18, 0.78);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; padding-block: 14px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.18rem; letter-spacing: -0.02em; }
.logo .mark {
  height: 38px; min-width: 38px; padding: 0 8px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--grad-brand-h);
  color: #120e02; font-size: 0.95rem; font-weight: 800; letter-spacing: 0.04em;
  box-shadow: var(--shadow-soft);
}
.logo span small { display: block; font-size: 0.62rem; letter-spacing: 0.22em; color: var(--text-dim); font-weight: 600; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 9px 14px; border-radius: 10px; font-size: 0.9rem; font-weight: 600; color: var(--text-soft);
  transition: color 0.15s, background 0.15s;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.header-cta { margin-left: 8px; }

.burger { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 9px 11px; cursor: pointer; margin-left: auto; }

/* ---------- Hero ---------- */
.hero { padding-block: 56px 30px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 0.4em; }
.hero .lede { font-size: 1.06rem; max-width: 60ch; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin: 18px 0 26px; font-size: 0.85rem; color: var(--text-dim); }
.hero-meta b { color: var(--text-soft); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card {
  background: linear-gradient(165deg, var(--bg-750), var(--bg-800));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: ""; position: absolute; inset: -1px -1px auto -1px; height: 4px;
  background: var(--grad-brand-h);
}
.hero-card .pill { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.hero-card h3 { margin: 10px 0 2px; font-size: 1.5rem; }
.hero-card .bonus { font-size: 1.15rem; font-weight: 800; color: var(--teal); margin-bottom: 14px; }
.hero-card ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; }
.hero-card li { display: flex; align-items: center; gap: 9px; font-size: 0.9rem; color: var(--text-soft); }
.hero-card li::before { content: "✓"; color: var(--green); font-weight: 800; }

/* ---------- Stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 36px; }
.stat {
  background: var(--bg-800); border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  padding: 16px 14px; text-align: center;
}
.stat b { display: block; font-size: 1.5rem; font-weight: 800; color: var(--gold); letter-spacing: -0.02em; }
.stat small { font-size: 0.74rem; color: var(--text-dim); line-height: 1.35; display: block; margin-top: 2px; }

/* ---------- Sections ---------- */
section { padding-block: 40px; }
.section-head { max-width: 760px; margin-bottom: 26px; }
.section-head h2 { margin-bottom: 0.35em; }
.section-head p { margin: 0; }

/* ---------- Ranking tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tab {
  padding: 9px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 700;
  background: var(--bg-800); border: 1px solid var(--line); color: var(--text-soft); cursor: pointer;
  transition: all 0.15s;
}
.tab:hover { color: var(--text); }
.tab.is-active { background: var(--grad-accent); color: #fff; border-color: transparent; box-shadow: var(--shadow-soft); }

.casino-list { display: grid; gap: 14px; }
.tabpanel { display: none; }
.tabpanel.is-active { display: grid; gap: 14px; animation: fade 0.3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Casino row card ---------- */
.casino {
  display: grid;
  grid-template-columns: 54px 1.4fr 1.6fr 1fr auto;
  align-items: center;
  gap: 20px;
  background: linear-gradient(120deg, var(--bg-800), var(--bg-750));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
  position: relative;
}
.casino:hover { border-color: rgba(255,159,71,0.55); transform: translateY(-2px); box-shadow: var(--shadow); }
.casino.is-top {
  border-color: rgba(255,211,108,0.5);
  background: linear-gradient(120deg, rgba(255,211,108,0.08), rgba(31,58,93,0.12), var(--bg-750));
}
.casino .rank { font-size: 1.5rem; font-weight: 800; color: var(--text-dim); text-align: center; }
.casino.is-top .rank { color: var(--gold); }

.brand { display: flex; flex-direction: column; gap: 4px; }
.brand .logo-chip {
  width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center;
  overflow: hidden; background: var(--bg-700); margin-bottom: 6px; padding: 8px;
}
.brand .logo-chip img { width: 100%; height: 100%; object-fit: contain; display: block; }

.casino-logo-full {
  display: block;
  max-width: min(220px, 100%);
  max-height: 52px;
  width: auto;
  height: auto;
  margin: 0 0 12px;
  object-fit: contain;
}
.review .head .casino-logo-full { max-height: 44px; margin: 0; flex-shrink: 0; }
.brand .name { font-size: 1.12rem; font-weight: 800; }
.brand .badge {
  align-self: flex-start; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 3px 9px; border-radius: 999px; background: rgba(32,113,107,0.18); color: var(--teal); border: 1px solid rgba(32,113,107,0.35);
}
.brand .badge.top { background: rgba(255,211,108,0.15); color: var(--gold); border-color: rgba(255,211,108,0.35); }

.offer .bonus-amt { font-size: 1.18rem; font-weight: 800; color: var(--teal); margin-bottom: 4px; line-height: 1.25; }
.offer .note { font-size: 0.82rem; color: var(--text-dim); }

.meta-list { display: grid; gap: 6px; font-size: 0.82rem; }
.meta-list div { color: var(--text-soft); }
.meta-list .k { color: var(--text-dim); }

.score {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  font-weight: 800; font-size: 1.05rem; color: var(--text);
  background: conic-gradient(var(--green) calc(var(--v) * 1%), var(--bg-600) 0);
  margin: 0 auto 6px;
  position: relative;
}
.score::after {
  content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--bg-800);
}
.score span { position: relative; z-index: 1; }
.score-wrap { text-align: center; }
.score-wrap small { font-size: 0.7rem; color: var(--text-dim); }

.casino .cta { display: grid; gap: 8px; min-width: 150px; }

.more-row { text-align: center; margin-top: 22px; }

/* ---------- Best bonus highlight ---------- */
.spotlight {
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(255,159,71,0.16), transparent 60%),
    radial-gradient(480px 260px at 0% 100%, rgba(31,58,93,0.20), transparent 55%),
    linear-gradient(160deg, var(--bg-750), var(--bg-850));
  border: 1px solid rgba(255,211,108,0.28);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}
.spotlight .label { color: var(--gold); }
.spotlight h3 { font-size: 1.8rem; }
.spotlight .metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }
.spotlight .metric { background: rgba(0,0,0,0.25); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; }
.spotlight .metric small { color: var(--text-dim); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.spotlight .metric b { display: block; font-size: 1.15rem; margin-top: 3px; }

/* ---------- Generic content cards / grids ---------- */
.cards { display: grid; gap: 18px; }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-800);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.18s, transform 0.18s;
}
.card:hover { border-color: var(--line); transform: translateY(-2px); }
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem;
  background: linear-gradient(135deg, rgba(255,211,108,0.22), rgba(255,159,71,0.18), rgba(32,113,107,0.20));
  margin-bottom: 14px;
}
.card h3 { font-size: 1.12rem; margin-bottom: 0.4em; }
.card p { font-size: 0.9rem; margin: 0; }

/* TOP 5 review blocks */
.review {
  background: var(--bg-800); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 26px; margin-bottom: 18px;
}
.review .head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.review .head .logo-chip {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  overflow: hidden; background: var(--bg-700); padding: 6px; flex-shrink: 0;
}
.review .head .logo-chip img { width: 100%; height: 100%; object-fit: contain; display: block; }
.review .head h3 { margin: 0; }
.review .head .tag { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); border: 1px solid rgba(255,159,71,0.4); border-radius: 999px; padding: 3px 10px; }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line-soft); }
table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 0.9rem; }
caption { text-align: left; padding: 14px 18px 0; color: var(--text-dim); font-size: 0.82rem; }
th, td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); }
thead th { background: var(--bg-700); color: var(--text); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
tbody tr { background: var(--bg-800); }
tbody tr:nth-child(even) { background: var(--bg-850); }
tbody tr:hover { background: var(--bg-750); }
td .k { color: var(--text); font-weight: 700; }

/* ---------- Casino finder quiz ---------- */
.finder {
  background: linear-gradient(160deg, var(--bg-750), var(--bg-850));
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px;
}
.finder .steps { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.finder .step-dot { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-dim); }
.finder .step-dot b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-700); border: 1px solid var(--line); font-size: 0.8rem; }
.finder .step-dot.active b { background: var(--fireball-orange); border-color: transparent; color: #1a1405; }
.finder .step-dot.done b { background: var(--green); border-color: transparent; color: #07130c; }

.finder-q { display: none; }
.finder-q.is-active { display: block; animation: fade 0.3s ease; }
.finder-q h3 { margin-bottom: 16px; }
.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.opt {
  text-align: left; padding: 16px; border-radius: var(--radius-sm); background: var(--bg-800);
  border: 1px solid var(--line); color: var(--text); cursor: pointer; font-size: 0.9rem; font-weight: 600;
  transition: all 0.15s;
}
.opt:hover { border-color: var(--bison-slate); }
.opt.is-picked { border-color: var(--gold); background: rgba(255,211,108,0.1); box-shadow: var(--glow-gold); }
.finder-nav { display: flex; justify-content: space-between; gap: 12px; }

.finder-result { display: none; }
.finder-result.is-active { display: block; animation: fade 0.3s; }
.result-list { display: grid; gap: 12px; margin: 18px 0; }
.result-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--bg-800); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; }
.result-item .logo-chip {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  overflow: hidden; background: var(--bg-700); padding: 5px; flex-shrink: 0;
}
.result-item .logo-chip img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.member { text-align: center; background: var(--bg-800); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px 16px; }
.member .avatar { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; color: #0c0a14; background: var(--grad-brand); }
.member b { display: block; }
.member small { color: var(--text-dim); }
.member .count { margin-top: 8px; font-size: 0.78rem; color: var(--gold); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--bg-800); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 4px 20px;
  transition: border-color 0.18s;
}
.faq details[open] { border-color: var(--bison-slate); }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--gold); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 14px; margin: 0; font-size: 0.92rem; }

/* ---------- Prose blocks ---------- */
.prose h2 { margin-top: 0.4em; }
.prose h3 { color: var(--text); margin-top: 1.4em; }
.prose ul { padding-left: 1.1em; color: var(--text-soft); }
.prose li { margin-bottom: 0.5em; }
.prose a.inline { color: var(--gold); border-bottom: 1px dashed rgba(255,211,108,0.5); }

/* ---------- Newsletter / author ---------- */
.author-box { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; background: var(--bg-800); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; }
.author-box .avatar { width: 90px; height: 90px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; color: #0c0a14; background: var(--grad-brand); }

.newsletter {
  background: linear-gradient(135deg, rgba(31,58,93,0.18), rgba(255,159,71,0.10), rgba(255,211,108,0.08));
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; text-align: center;
}
.newsletter form { display: flex; gap: 10px; max-width: 480px; margin: 18px auto 12px; flex-wrap: wrap; }
.newsletter input[type="email"] {
  flex: 1; min-width: 220px; padding: 13px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg-900); color: var(--text); font-size: 0.92rem;
}
.newsletter input[type="email"]:focus { outline: none; box-shadow: var(--ring); border-color: var(--lemon-teal); }
.newsletter label.check { display: inline-flex; gap: 8px; align-items: center; font-size: 0.82rem; color: var(--text-dim); justify-content: center; }
.newsletter .fineprint { font-size: 0.74rem; color: var(--text-dim); margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); margin-top: 40px; padding-block: 40px 24px; background: var(--bg-850); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.site-footer h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--text-soft); font-size: 0.9rem; }
.site-footer a:hover { color: var(--gold); }
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.footer-badges span { font-size: 0.72rem; font-weight: 700; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; color: var(--text-dim); }
.age-badge { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--rose); color: var(--rose); font-weight: 800; font-size: 0.85rem; }
.footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: 0.8rem; color: var(--text-dim); display: flex; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.responsible { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; bottom: 18px; left: 18px; right: 18px; z-index: 80;
  max-width: 560px; margin-inline: auto;
  background: var(--bg-700); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow);
  display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  transition: opacity 0.3s, transform 0.3s;
}
.cookie.hide { opacity: 0; transform: translateY(20px); pointer-events: none; }
.cookie p { margin: 0; font-size: 0.85rem; flex: 1; min-width: 220px; }

/* ---------- Telegram floating ---------- */
.tg-float {
  position: fixed; bottom: 20px; right: 20px; z-index: 70;
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, #2aabee, #229ed9); color: #fff;
  padding: 11px 16px; border-radius: 999px; font-weight: 700; font-size: 0.85rem;
  box-shadow: 0 12px 30px -10px rgba(34,158,217,0.7);
  transition: transform 0.15s;
}
.tg-float:hover { transform: translateY(-2px); }

/* ---------- Helpers ---------- */
.divider { height: 1px; background: var(--line-soft); margin-block: 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 0.8rem; padding: 6px 12px; border-radius: 999px; background: var(--bg-700); border: 1px solid var(--line); color: var(--text-soft); }
.chip:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .spotlight { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(3, 1fr); }
  .cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .casino { grid-template-columns: 40px 1fr 1fr; grid-row-gap: 14px; }
  .casino .meta-list, .casino .score-wrap { grid-column: span 1; }
  .casino .cta { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-800); border-bottom: 1px solid var(--line); padding: 12px; gap: 4px;
  }
  .burger { display: inline-flex; }
  .header-cta { display: none; }
  .opt-grid { grid-template-columns: 1fr; }
  .cards.cols-2, .cards.cols-3 { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .casino { grid-template-columns: 36px 1fr; }
  .casino .offer, .casino .meta-list, .casino .score-wrap { grid-column: 2; }
  .spotlight .metrics { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
