/* =============================================
   CrazyTimeBD v21 — Unified Design System
   ============================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@700;800&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --bg:        #0a0a12;
  --bg2:       #12121e;
  --bg3:       #1a1a2a;
  --bg4:       #22223a;
  --border:    rgba(255,255,255,0.08);
  --border2:   rgba(124,92,252,0.25);
  --text:      #f0f0f8;
  --text2:     #b0b0cc;
  --muted:     #6868a0;
  --accent:    #7c5cfc;
  --accent2:   #9b7dff;
  --accent3:   #c084fc;
  --cta:       #f59e0b;
  --cta-hover: #fbbf24;
  --green:     #22c55e;
  --red:       #ef4444;
  --yellow:    #eab308;
  --orange:    #f97316;
  --gold:      #f59e0b;
  /* Spacing */
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  20px;
  --r-2xl: 24px;
  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,.4);
  --shadow-md:  0 4px 20px rgba(0,0,0,.5);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.6);
  --glow:       0 0 24px rgba(124,92,252,.3);
}

/* ---------- Light Theme ---------- */
[data-theme="light"] {
  --bg:     #f4f4f8;
  --bg2:    #ffffff;
  --bg3:    #eaeaf4;
  --bg4:    #ddddf0;
  --border: rgba(0,0,0,.08);
  --text:   #0a0a18;
  --text2:  #3a3a5c;
  --muted:  #7878a0;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100vw;
}
img { max-width: 100%; display: block; }
a { color: var(--accent2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent3); }

/* ---------- Typography ---------- */
h1 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: clamp(26px,5vw,42px); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(20px,3vw,28px); font-weight: 700; line-height: 1.25; }
h3 { font-size: clamp(16px,2.5vw,20px); font-weight: 700; }
h4 { font-size: 15px; font-weight: 600; }
p { color: var(--text2); }
.text-muted { color: var(--muted); font-size: 13px; }
.text-accent { color: var(--accent2); }
.text-cta    { color: var(--cta); }
.text-green  { color: var(--green); }
.text-red    { color: var(--red); }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,18,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  height: 60px;
}
.logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px; font-weight: 800;
  color: #fff; text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(135deg, #7c5cfc, #c084fc);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.logo span { -webkit-text-fill-color: var(--cta); }
.nav-main {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin-left: auto;
}
.nav-main a {
  display: block; padding: 6px 10px;
  color: var(--text2); font-size: 13px; font-weight: 500;
  border-radius: var(--r-sm); transition: all .2s;
}
.nav-main a:hover,
.nav-main a.active { color: #fff; background: rgba(255,255,255,.07); }
.header-actions {
  display: flex; align-items: center; gap: 8px; margin-left: 12px;
}
.btn-cta-sm {
  background: var(--cta); color: #000;
  font-size: 13px; font-weight: 700;
  padding: 7px 16px; border-radius: var(--r-md);
  border: none; cursor: pointer; transition: all .2s;
  white-space: nowrap; text-decoration: none; display: inline-block;
}
.btn-cta-sm:hover { background: var(--cta-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245,158,11,.4); }

/* Theme switcher */
.theme-btn {
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--text2); font-size: 13px;
  padding: 6px 12px; border-radius: var(--r-md);
  cursor: pointer; transition: all .2s;
}
.theme-btn:hover { background: var(--bg4); color: var(--text); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 4px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text2); border-radius: 2px; transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

/* Mobile nav drawer */
.nav-drawer {
  display: none; position: fixed; top: 60px; left: 0; right: 0;
  background: rgba(10,10,18,.98); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); z-index: 99;
  padding: 16px 20px 20px; flex-direction: column; gap: 4px;
  max-height: calc(100vh - 60px); overflow-y: auto;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  display: block; padding: 10px 14px;
  color: var(--text2); font-size: 15px; font-weight: 500;
  border-radius: var(--r-md); transition: all .2s;
  border: 1px solid transparent;
}
.nav-drawer a:hover,
.nav-drawer a.active {
  color: #fff; background: var(--bg3);
  border-color: var(--border2);
}

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  background: linear-gradient(90deg, rgba(124,92,252,.12) 0%, rgba(192,132,252,.08) 100%);
  border-bottom: 1px solid var(--border);
  padding: 8px 20px;
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap;
  font-size: 12px; color: var(--text2);
}
.trust-bar .trust-item {
  display: flex; align-items: center; gap: 6px;
}
.trust-bar .trust-item svg { width: 14px; height: 14px; flex-shrink: 0; }
.trust-bar .trust-divider { color: var(--muted); }

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  background: radial-gradient(ellipse at 30% 20%, rgba(124,92,252,.18) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(192,132,252,.12) 0%, transparent 50%),
              var(--bg);
  padding: clamp(40px,8vw,80px) 20px clamp(32px,6vw,64px);
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%237c5cfc' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  max-width: 800px; margin: 0 auto; position: relative;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(124,92,252,.15); border: 1px solid rgba(124,92,252,.3);
  color: var(--accent2); font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 100px; margin-bottom: 16px;
}
.hero h1 { margin-bottom: 16px; }
.hero .hero-sub {
  font-size: 16px; color: var(--text2); margin-bottom: 24px; line-height: 1.7;
}
.hero-cta-group {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--r-lg);
  font-size: 14px; font-weight: 700; cursor: pointer;
  border: none; transition: all .2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--cta); color: #000;
}
.btn-primary:hover {
  background: var(--cta-hover); transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,158,11,.4); color: #000;
}
.btn-ghost {
  background: transparent; color: var(--text2);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg3); color: var(--text); transform: translateY(-1px); }
.btn-accent {
  background: var(--accent); color: #fff;
}
.btn-accent:hover {
  background: var(--accent2); transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124,92,252,.4); color: #fff;
}

/* =============================================
   CARDS & GLASSMORPHISM
   ============================================= */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 20px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.glass-card {
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-xl);
  padding: 20px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.glass-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124,92,252,.3);
  box-shadow: 0 8px 32px rgba(0,0,0,.4), var(--glow);
}

.card-featured {
  background: linear-gradient(135deg, rgba(124,92,252,.12) 0%, rgba(192,132,252,.06) 100%);
  border: 1px solid rgba(245,158,11,.35);
  border-radius: var(--r-2xl);
  padding: 24px;
  position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.card-featured::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--accent3), var(--gold));
}
.card-featured:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.5); }

/* =============================================
   SECTION WRAPPER
   ============================================= */
.section {
  max-width: 1200px; margin: 0 auto; padding: 40px 20px;
}
.section-title {
  font-size: 20px; font-weight: 700; color: var(--text);
  margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.section-title .icon { font-size: 22px; }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}

/* =============================================
   BADGE
   ============================================= */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 100px;
}
.badge-gold   { background: rgba(245,158,11,.15); color: var(--gold); border: 1px solid rgba(245,158,11,.3); }
.badge-purple { background: rgba(124,92,252,.15); color: var(--accent2); border: 1px solid var(--border2); }
.badge-green  { background: rgba(34,197,94,.12); color: var(--green); border: 1px solid rgba(34,197,94,.25); }
.badge-red    { background: rgba(239,68,68,.12); color: var(--red); border: 1px solid rgba(239,68,68,.25); }
.badge-live   { background: rgba(239,68,68,.15); color: #ff6b6b; border: 1px solid rgba(239,68,68,.3); animation: pulse-badge 2s infinite; }
@keyframes pulse-badge {
  0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,.4); }
  50%      { box-shadow: 0 0 0 4px rgba(239,68,68,0); }
}

/* =============================================
   SKELETON SCREENS
   ============================================= */
@keyframes skeleton-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--bg3) 25%, var(--bg4) 50%, var(--bg3) 75%);
  background-size: 800px 100%;
  animation: skeleton-shimmer 1.6s infinite;
  border-radius: var(--r-md);
}
.skeleton-text { height: 14px; margin-bottom: 8px; }
.skeleton-text.w-80 { width: 80%; }
.skeleton-text.w-60 { width: 60%; }
.skeleton-text.w-40 { width: 40%; }
.skeleton-title { height: 24px; margin-bottom: 12px; }
.skeleton-card {
  border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 20px;
  background: var(--bg2);
}
.skeleton-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.skeleton-circle { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.skeleton-lines { flex: 1; }

/* =============================================
   STATS GRID (Bento)
   ============================================= */
.stats-bento {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.stat-cell {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 20px;
  transition: all .2s;
}
.stat-cell:hover { border-color: var(--border2); transform: translateY(-2px); }
.stat-cell.featured {
  background: linear-gradient(135deg, rgba(124,92,252,.1), rgba(192,132,252,.05));
  border-color: var(--border2);
  grid-row: span 2;
  display: flex; flex-direction: column; justify-content: center;
}
.stat-num {
  font-size: clamp(28px,5vw,48px); font-weight: 900;
  line-height: 1; font-family: 'Plus Jakarta Sans', sans-serif;
}
.stat-label { font-size: 12px; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }
.stat-sublabel { font-size: 13px; color: var(--text2); margin-top: 8px; }

/* =============================================
   PROGRESS BARS
   ============================================= */
.progress-row { margin-bottom: 14px; }
.progress-header { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13px; }
.progress-label { color: var(--text2); font-weight: 500; }
.progress-val { color: var(--text); font-weight: 700; }
.progress-track { height: 8px; background: var(--bg3); border-radius: 4px; overflow: hidden; }
.progress-fill {
  height: 100%; border-radius: 4px;
  transition: width 1s ease-out;
}

/* =============================================
   RESULTS TABLE
   ============================================= */
.results-table { width: 100%; border-collapse: collapse; }
.results-table th {
  text-align: left; padding: 10px 14px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.results-table td {
  padding: 10px 14px; font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background .15s;
}
.results-table tr:hover td { background: rgba(255,255,255,.03); }
.result-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 48px; height: 28px; padding: 0 8px;
  border-radius: var(--r-sm); font-size: 12px; font-weight: 800;
}
.result-x1  { background: rgba(255,255,255,.08); color: #ccc; }
.result-x2  { background: rgba(245,158,11,.15); color: var(--gold); }
.result-x5  { background: rgba(34,197,94,.12); color: var(--green); }
.result-x10 { background: rgba(124,92,252,.15); color: var(--accent2); }
.result-ct  { background: linear-gradient(135deg, rgba(124,92,252,.3), rgba(192,132,252,.2)); color: #c084fc; }
.result-cf  { background: rgba(239,68,68,.12); color: var(--red); }
.result-pa  { background: rgba(34,197,94,.15); color: var(--green); }
.result-bw  { background: rgba(251,191,36,.15); color: #fbbf24; }

/* =============================================
   CASINO CARD
   ============================================= */
.casino-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r-2xl); padding: 20px 24px;
  transition: all .2s; position: relative;
}
.casino-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.casino-card.top-pick {
  background: linear-gradient(135deg, rgba(124,92,252,.08) 0%, rgba(245,158,11,.06) 100%);
  border-color: rgba(245,158,11,.35);
}
.casino-card.top-pick::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--accent3));
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
}
.casino-logo {
  width: 56px; height: 56px; border-radius: var(--r-lg);
  background: var(--bg3); display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.casino-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.casino-name { font-size: 17px; font-weight: 700; color: var(--text); }
.casino-bonus {
  font-size: clamp(22px,4vw,32px); font-weight: 900;
  color: var(--gold); font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1;
}
.casino-bonus-sub { font-size: 13px; color: var(--text2); margin-top: 3px; }
.casino-features { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.feature-tag {
  background: var(--bg3); color: var(--text2);
  font-size: 11px; padding: 3px 8px; border-radius: 100px;
}
.btn-casino {
  display: block; width: 100%; text-align: center;
  background: var(--cta); color: #000;
  font-weight: 700; font-size: 14px; padding: 12px;
  border-radius: var(--r-lg); transition: all .2s;
  text-decoration: none;
}
.btn-casino:hover { background: var(--cta-hover); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(245,158,11,.4); color: #000; }

/* =============================================
   BOTTOM NAV (Mobile Only)
   ============================================= */
.bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(10,10,18,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.bottom-nav-inner {
  display: flex; align-items: stretch;
  height: 56px;
}
.bottom-nav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  color: var(--muted); font-size: 10px; font-weight: 600;
  text-decoration: none; transition: color .2s;
  padding: 6px 0;
}
.bottom-nav-item:hover,
.bottom-nav-item.active { color: var(--accent2); }
.bottom-nav-item .nav-icon { font-size: 20px; line-height: 1; }

/* Body padding for bottom nav */
.has-bottom-nav { padding-bottom: 72px; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 40px 20px 24px;
  margin-top: 40px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px; margin-bottom: 32px;
}
.footer-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px; font-weight: 800;
  background: linear-gradient(135deg, #7c5cfc, #c084fc);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 10px; display: block;
}
.footer-about { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.footer-heading { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text2); font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-legal { font-size: 12px; color: var(--muted); line-height: 1.6; }
.footer-badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-badge {
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--muted); font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: var(--r-sm);
}

/* =============================================
   LIVE FEED TICKER
   ============================================= */
.live-ticker {
  overflow: hidden; background: var(--bg2);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 12px;
}
.live-ticker-label {
  font-size: 11px; font-weight: 700; color: var(--red);
  text-transform: uppercase; letter-spacing: .08em; white-space: nowrap;
  display: flex; align-items: center; gap: 5px;
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); animation: blink 1.2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.ticker-scroll {
  display: flex; gap: 24px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.ticker-item { font-size: 13px; color: var(--text2); }
.ticker-item .t-result { color: var(--text); font-weight: 700; }

/* =============================================
   FAQ / ACCORDION
   ============================================= */
.faq-item {
  border: 1px solid var(--border); border-radius: var(--r-lg);
  margin-bottom: 8px; overflow: hidden;
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; cursor: pointer;
  font-weight: 600; font-size: 15px; color: var(--text);
  background: var(--bg2); transition: background .2s;
  user-select: none;
}
.faq-question:hover { background: var(--bg3); }
.faq-arrow { transition: transform .3s; color: var(--muted); font-size: 12px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  display: none; padding: 0 20px 16px;
  font-size: 14px; color: var(--text2); line-height: 1.7;
  background: var(--bg2);
}
.faq-item.open .faq-answer { display: block; }

/* =============================================
   PAGE HERO VARIANTS
   ============================================= */
.page-hero {
  background: radial-gradient(ellipse at 50% 0%, rgba(124,92,252,.2) 0%, transparent 70%),
              var(--bg);
  padding: clamp(32px,6vw,64px) 20px;
  text-align: center;
}
.page-hero-inner { max-width: 700px; margin: 0 auto; }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   UTILITY
   ============================================= */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.divider { height: 1px; background: var(--border); margin: 32px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .nav-main { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .header-actions .btn-cta-sm { display: none; }
  
  .bottom-nav { display: block; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: span 2; }
  
  .stats-bento { grid-template-columns: 1fr 1fr; }
  .stats-bento .stat-cell.featured { grid-row: span 1; grid-column: span 2; }
  
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  
  .trust-bar { gap: 12px; }
  .trust-bar .trust-divider { display: none; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: span 1; }
  .trust-bar { font-size: 11px; }
}
