/* =========================================================
   Panda Casino — pandacasinosss.vip
   Тёмная тема, зелёно-золотой акцент
   ========================================================= */

:root {
  --bg: #070d09;
  --bg-alt: #0a140c;
  --surface: #0f1c13;
  --surface-2: #142819;
  --surface-border: rgba(231, 193, 90, 0.16);
  --surface-border-strong: rgba(231, 193, 90, 0.32);

  --gold: #e7c15a;
  --gold-light: #f8e6ab;
  --gold-dark: #a9822c;

  --green: #1fae5e;
  --green-light: #3fd67e;
  --green-dark: #0d6b3a;

  --text: #f3f6f2;
  --text-muted: #9db3a4;
  --text-faint: #6f8577;

  --danger: #e05a5a;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --shadow-soft: 0 20px 50px -20px rgba(0, 0, 0, 0.65);
  --font-head: "Unbounded", "Montserrat", sans-serif;
  --font-body: "Manrope", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(120% 100% at 50% -10%, #10241a 0%, #070d09 45%, #050805 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.25;
  margin: 0 0 16px;
  font-weight: 600;
  color: var(--text);
}

h1 { font-size: clamp(28px, 4.6vw, 46px); }
h2 { font-size: clamp(22px, 3.2vw, 32px); }
h3 { font-size: clamp(18px, 2.2vw, 22px); }

p { margin: 0 0 14px; color: var(--text-muted); }

ul, ol { color: var(--text-muted); padding-left: 22px; margin: 0 0 16px; }
ul li, ol li { margin-bottom: 8px; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.section-head .eyebrow { display: block; margin-bottom: 10px; }
.section-head p { color: var(--text-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(231, 193, 90, 0.09);
  border: 1px solid var(--surface-border);
  padding: 6px 14px;
  border-radius: 100px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color: #1a1305;
  box-shadow: 0 12px 30px -10px rgba(231, 193, 90, 0.55);
}
.btn--gold:hover { filter: brightness(1.08); box-shadow: 0 16px 36px -10px rgba(231, 193, 90, 0.7); }

.btn--green {
  background: linear-gradient(135deg, var(--green-light), var(--green) 60%, var(--green-dark));
  color: #05170d;
  box-shadow: 0 12px 30px -10px rgba(31, 174, 94, 0.55);
}
.btn--green:hover { filter: brightness(1.08); box-shadow: 0 16px 36px -10px rgba(31, 174, 94, 0.7); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--surface-border-strong);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); }

.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(6, 12, 8, 0.82);
  border-bottom: 1px solid var(--surface-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.main-nav a.is-active { color: var(--gold-light); background: rgba(231, 193, 90, 0.1); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 60px 0 40px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 480px;
  background: radial-gradient(60% 100% at 30% 0%, rgba(31, 174, 94, 0.22), transparent 70%),
              radial-gradient(50% 100% at 80% 10%, rgba(231, 193, 90, 0.16), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy .lead { font-size: 17.5px; color: var(--text-muted); max-width: 520px; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-stats {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--gold-light);
}
.hero-stats div span { font-size: 13px; color: var(--text-faint); }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.55));
}
.hero-badge {
  position: absolute;
  bottom: 18px;
  left: -10px;
  background: var(--surface);
  border: 1px solid var(--surface-border-strong);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-soft);
}
.hero-badge .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green-light);
  box-shadow: 0 0 0 4px rgba(63, 214, 126, 0.18);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(63, 214, 126, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(63, 214, 126, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 214, 126, 0); }
}

/* ---------- Trust bar ---------- */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding: 22px 0;
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
}
.trust-item strong { color: var(--text); }

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 22px;
}
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--surface-border-strong); box-shadow: var(--shadow-soft); }

/* Game card */
.game-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  isolation: isolate;
}
.game-card .thumb-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.game-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.game-card:hover img { transform: scale(1.07); }
.game-card .tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 2;
}
.tag--hot { background: linear-gradient(120deg, #ff8a5c, #e05a5a); color: #fff; }
.tag--new { background: linear-gradient(120deg, var(--green-light), var(--green)); color: #06170d; }
.tag--jackpot { background: linear-gradient(120deg, var(--gold-light), var(--gold)); color: #1a1305; }

.game-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,13,9,0) 40%, rgba(7,13,9,0.92) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 2;
}
.game-card:hover .overlay { opacity: 1; }

.game-card .info { padding: 12px 14px 14px; }
.game-card .info .name { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.game-card .info .provider { font-size: 12px; color: var(--text-faint); }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.filter-btn {
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-btn:hover { color: var(--text); }
.filter-btn.is-active {
  background: linear-gradient(135deg, var(--green-light), var(--green));
  color: #06170d;
  border-color: transparent;
}

/* Bonus card */
.bonus-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--surface-border);
  background: #0a1710;
  display: flex;
  flex-direction: column;
}
.bonus-card .bonus-media { position: relative; width: 100%; aspect-ratio: 21/9; overflow: hidden; background: #050b06; }
.bonus-card .bonus-media img { width: 100%; height: 100%; object-fit: cover; }
.bonus-card .bonus-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.bonus-card .bonus-percent {
  font-family: var(--font-head);
  font-size: 30px;
  color: var(--gold-light);
  margin-bottom: 6px;
}
.bonus-card ul { font-size: 14px; margin-bottom: 20px; }
.bonus-card .bonus-body .btn { margin-top: auto; align-self: flex-start; }

/* Live card */
.live-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  background: var(--surface);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.live-card .live-media {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, #0d2317, #061109);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.live-card .live-media img { width: 70%; height: auto; filter: drop-shadow(0 12px 20px rgba(0,0,0,0.5)); }
.live-card .live-badge {
  position: absolute; top: 12px; left: 12px;
  display: flex; align-items: center; gap: 6px;
  background: rgba(224, 90, 90, 0.14);
  border: 1px solid rgba(224, 90, 90, 0.5);
  color: #ff8a8a;
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  padding: 5px 10px; border-radius: 100px;
}
.live-card .live-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #ff5a5a; animation: pulse 1.6s infinite; }
.live-card .live-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.live-card .live-body p { flex: 1; }
.live-card .live-body .btn { margin-top: auto; }

/* Winners / live feed */
.winners-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  background: linear-gradient(180deg, var(--surface), var(--bg-alt));
  padding: 22px;
  overflow: hidden;
}
.winners-panel .winners-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.winners-panel .winners-head .live-dot {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--green-light); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.winners-panel .winners-head .live-dot span.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); animation: pulse 1.6s infinite; }

.winners-list { display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow: hidden; }
.winner-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--surface-border);
  animation: winnerIn 0.5s ease;
}
@keyframes winnerIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.winner-row .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  color: #06170d;
  flex-shrink: 0;
}
.winner-row .who { flex: 1; min-width: 0; }
.winner-row .who .name { font-size: 13.5px; font-weight: 700; color: var(--text); }
.winner-row .who .game { font-size: 12px; color: var(--text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.winner-row .amount { font-family: var(--font-head); font-weight: 700; color: var(--gold-light); font-size: 14.5px; white-space: nowrap; }
.winner-row .time { font-size: 11px; color: var(--text-faint); white-space: nowrap; }

/* Floating toast */
.win-toast {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 20, 13, 0.94);
  border: 1px solid var(--surface-border-strong);
  border-radius: 16px;
  padding: 12px 16px 12px 12px;
  box-shadow: var(--shadow-soft);
  max-width: 300px;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(.2,.9,.3,1.2), opacity 0.3s ease;
}
.win-toast.is-visible { transform: translateY(0); opacity: 1; }
.win-toast .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700;
  color: #06170d; flex-shrink: 0;
}
.win-toast .txt { font-size: 12.5px; color: var(--text-muted); line-height: 1.4; }
.win-toast .txt strong { color: var(--text); }
.win-toast .txt .amt { color: var(--gold-light); font-weight: 700; }
.win-toast .close {
  margin-left: auto;
  background: none; border: none; color: var(--text-faint);
  cursor: pointer; font-size: 16px; padding: 0 2px; flex-shrink: 0;
}

/* ---------- FAQ accordion ---------- */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}
.accordion-item button.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.accordion-item .plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--surface-border-strong);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform 0.25s ease, background 0.25s ease;
}
.accordion-item .plus::before, .accordion-item .plus::after {
  content: "";
  position: absolute;
  background: var(--gold-light);
}
.accordion-item .plus::before { width: 10px; height: 2px; }
.accordion-item .plus::after { width: 2px; height: 10px; }
.accordion-item.is-open .plus { transform: rotate(45deg); background: rgba(231,193,90,0.14); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-panel .inner { padding: 0 20px 20px; color: var(--text-muted); font-size: 14.5px; }
.accordion-item.is-open .accordion-panel { max-height: 600px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 26px 20px 20px; border-radius: var(--radius-md); border: 1px solid var(--surface-border); background: var(--surface); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: -14px; left: 20px;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1a1305;
}
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 14px; margin: 0; }

/* ---------- SEO text blocks ---------- */
.seo-text { max-width: 880px; margin: 0 auto; }
.seo-text h2 { margin-top: 40px; }
.seo-text h2:first-child { margin-top: 0; }
.seo-text h3 { margin-top: 24px; color: var(--gold-light); }
.seo-text p { font-size: 15px; }
.seo-text ul, .seo-text ol { font-size: 15px; }
.seo-text strong { color: var(--text); }
.seo-block {
  border-top: 1px solid var(--surface-border);
}

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--surface-border); border-radius: var(--radius-md); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
table th, table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--surface-border); white-space: nowrap; }
table th { color: var(--gold-light); font-family: var(--font-head); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; background: rgba(255,255,255,0.02); }
table tr:last-child td { border-bottom: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 46px 0 30px;
  border-bottom: 1px solid var(--surface-border);
  background: radial-gradient(60% 140% at 15% 0%, rgba(31,174,94,0.14), transparent 60%);
}
.breadcrumbs { font-size: 13px; color: var(--text-faint); margin-bottom: 14px; }
.breadcrumbs a:hover { color: var(--gold-light); }
.page-hero .lead { max-width: 640px; color: var(--text-muted); }

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: var(--radius-lg);
  padding: 46px;
  background: linear-gradient(120deg, #0e2417, #0a1710 60%, #1c1a08);
  border: 1px solid var(--surface-border-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h2 { margin-bottom: 8px; }
.cta-banner p { margin-bottom: 0; max-width: 460px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--surface-border);
  padding: 50px 0 26px;
  background: #050a06;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}
.footer-brand p { font-size: 13.5px; max-width: 320px; }
.footer-col h4 { font-size: 14px; color: var(--gold-light); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: var(--text-muted); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--surface-border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-faint);
}
.footer-disclaimer {
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.7;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--surface-border);
}
.age-badge {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--surface-border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  flex-shrink: 0;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.gold { color: var(--gold-light); }
.green { color: var(--green-light); }

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1a1305;
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 26px -8px rgba(231,193,90,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 360px; margin: 0 auto; }
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header.is-open .main-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(6,12,8,0.98);
    border-bottom: 1px solid var(--surface-border);
    padding: 10px 20px 18px;
    gap: 2px;
  }
  .site-header.is-open .main-nav a { padding: 12px 10px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 30px 22px; justify-content: center; text-align: center; }
  .cta-banner p { margin-left: auto; margin-right: auto; }
  .hero-stats { justify-content: center; }
  .win-toast { max-width: calc(100% - 36px); }
}

@media (max-width: 520px) {
  .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .header-actions .btn--ghost { display: none; }
}
