/* ============================================================
   365in — Premium Gaming Affiliate Design System
   style.css — full design system
   Build order:
   1.  Custom Properties / Tokens
   2.  Reset
   3.  Typography Scale
   4.  Layout System
   5.  Scrollbar
   6.  Affiliate Bar
   7.  Header
   8.  Mobile Nav Drawer
   9.  Hero (Arena Stage)
   10. Trust Ticker
   11. Games Showcase + Cards
   12. Download Section + CSS Phone
   13. Stats Ribbon
   14. Bonus Cards
   15. Bento Features
   16. Referral + Calculator
   17. Screenshots Carousel
   18. Leaderboard
   19. Testimonials
   20. Blog Preview
   21. CTA Band
   22. Footer
   23. Sticky Bottom Bar
   24. Modals / Cookie / Exit
   25. Alert Strip
   26. Buttons
   27. Forms
   28. Badges + Pills
   29. Game Detail Layout
   30. Blog Post Layout
   31. Static / Legal Pages
   32. 404
   33. Section Dividers
   34. Utilities
   35. Responsive
   ============================================================ */

/* ====================== 1. TOKENS ====================== */
:root {
  /* Backgrounds */
  --bg-base:         #0A0F0A;
  --bg-surface:      #0F1A0F;
  --bg-elevated:     #162016;
  --bg-glass:        rgba(15, 26, 15, 0.72);

  /* Green Scale */
  --green-core:      #00C853;
  --green-bright:    #00E676;
  --green-soft:      #1B5E20;
  --green-glow:      rgba(0, 200, 83, 0.25);
  --green-border:    rgba(0, 200, 83, 0.18);

  /* Accent */
  --gold:            #FFD700;
  --gold-soft:       rgba(255, 215, 0, 0.15);

  /* Typography colors */
  --text-primary:    #F0FFF4;
  --text-secondary:  #A5D6A7;
  --text-muted:      #4CAF50;
  --text-dim:        #2E7D32;

  /* Feedback */
  --danger:          #FF3D00;
  --success:         #00E676;
  --warning:         #FFD740;

  /* Fonts */
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body:    "DM Sans", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 100px;

  /* Shadows / depth */
  --shadow-1: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-2: 0 8px 28px rgba(0,0,0,0.45);
  --shadow-3: 0 24px 60px rgba(0,0,0,0.55);
  --shadow-glow: 0 0 40px var(--green-glow);
  --inner-glass: inset 0 1px 0 rgba(255,255,255,0.04);

  /* Layout */
  --container: 1280px;
  --container-narrow: 860px;
  --header-h: 76px;
  --header-h-scrolled: 60px;
  --gutter: clamp(16px, 4vw, 40px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 0.35s;
}

/* ====================== 2. RESET ====================== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
img, svg, video, canvas { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ====================== 3. TYPOGRAPHY ====================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 800; }
h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; }
h4 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 700; }
h5 { font-size: 1.05rem; font-weight: 600; }
p  { font-size: clamp(0.98rem, 1.1vw, 1.08rem); color: var(--text-secondary); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--text-secondary); line-height: 1.6; }
.mono { font-family: var(--font-mono); letter-spacing: -0.02em; }
strong { color: var(--text-primary); font-weight: 600; }
.gradient-text {
  background: linear-gradient(100deg, var(--green-bright), var(--gold) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-bright);
}
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 14px; }

/* ====================== 4. LAYOUT ====================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; padding-block: clamp(56px, 9vw, 120px); overflow: hidden; }
.section-sm { padding-block: clamp(40px, 6vw, 72px); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 3vw, 32px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 28px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 24px); }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 2vw, 22px); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(16px, 2.4vw, 26px); }

/* asymmetric split */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.left-heavy  { grid-template-columns: 1.25fr 0.75fr; }
.split.right-heavy { grid-template-columns: 0.75fr 1.25fr; }

/* ambient glow blobs */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
.glow-blob.green { background: var(--green-glow); }
.glow-blob.deep  { background: rgba(27, 94, 32, 0.4); }
.glow-blob.gold  { background: var(--gold-soft); }
section > .container, section > .container-narrow { position: relative; z-index: 1; }

/* ====================== 5. SCROLLBAR ====================== */
* { scrollbar-width: thin; scrollbar-color: var(--green-soft) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--green-soft), var(--green-core));
  border-radius: 100px;
}
::-webkit-scrollbar-thumb:hover { background: var(--green-bright); }

/* ====================== 6. AFFILIATE BAR ====================== */
.affiliate-bar {
  background: linear-gradient(90deg, var(--bg-elevated), var(--green-soft) 50%, var(--bg-elevated));
  color: var(--text-secondary);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 6px 16px;
  position: relative;
  z-index: 60;
  border-bottom: 1px solid var(--green-border);
}
.affiliate-bar strong { color: var(--text-primary); font-weight: 600; }

/* ====================== 7. HEADER ====================== */
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--green-core);
  color: #04130A;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-weight: 700;
  z-index: 200;
  transition: top var(--speed) var(--ease);
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 15, 10, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--green-border);
  transition: height var(--speed) var(--ease), background var(--speed) var(--ease);
}
.site-header.scrolled {
  height: var(--header-h-scrolled);
  background: rgba(8, 12, 8, 0.92);
  box-shadow: var(--shadow-2);
}
.header-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--text-primary); }
.site-logo { display: block; height: 42px; width: auto; max-width: 160px; object-fit: contain; image-rendering: auto; }
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-core), var(--green-soft));
  color: #04130A;
  font-weight: 800;
  box-shadow: var(--shadow-glow);
  font-family: var(--font-display);
}
.brand span { color: var(--green-bright); }

.main-nav { display: flex; gap: 4px; margin-inline: auto; }
.main-nav a {
  padding: 9px 15px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color var(--speed) var(--ease), background var(--speed) var(--ease);
  position: relative;
}
.main-nav a:hover { color: var(--text-primary); background: rgba(0, 200, 83, 0.08); }
.main-nav a.active { color: var(--green-bright); background: rgba(0, 200, 83, 0.12); }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 220px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--green-border);
  border-radius: var(--r-md);
  padding: 8px;
  box-shadow: var(--shadow-3);
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all var(--speed) var(--ease);
  z-index: 95;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(6px); }
.dropdown a { display: block; padding: 9px 14px; border-radius: 10px; font-size: 0.9rem; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--green-border);
  background: var(--bg-glass);
  place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px;
  background: var(--green-bright); border-radius: 2px; position: relative;
  transition: transform var(--speed) var(--ease);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }

/* ====================== 8. MOBILE DRAWER ====================== */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--speed) var(--ease), visibility var(--speed);
  z-index: 110;
}
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.mobile-drawer {
  position: fixed; top: 0; right: 0;
  height: 100dvh; width: min(80vw, 360px);
  background: var(--bg-surface);
  border-left: 2px solid var(--green-core);
  box-shadow: -20px 0 60px rgba(0,0,0,0.6);
  transform: translateX(100%);
  transition: transform var(--speed) var(--ease);
  z-index: 120;
  display: flex; flex-direction: column;
  padding: 22px;
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.drawer-close {
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--green-border);
  display: grid; place-items: center; color: var(--green-bright); font-size: 1.4rem;
}
.mobile-drawer nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-drawer nav a {
  padding: 13px 16px; border-radius: 12px; font-weight: 600;
  color: var(--text-secondary); border-left: 3px solid transparent;
  transition: all var(--speed) var(--ease);
}
.mobile-drawer nav a:hover, .mobile-drawer nav a.active {
  color: var(--text-primary); background: rgba(0,200,83,0.1); border-left-color: var(--green-core);
}
.drawer-foot { margin-top: auto; padding-top: 22px; }

/* ====================== 9. HERO — ARENA STAGE ====================== */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
  padding-block: clamp(40px, 8vw, 90px);
  overflow: hidden;
}
.hero .glow-blob.h1 { width: 560px; height: 560px; top: -120px; left: -100px; }
.hero .glow-blob.h2 { width: 480px; height: 480px; bottom: -160px; right: -80px; }
.hero-grid { display: grid; grid-template-columns: 55% 45%; align-items: center; gap: clamp(24px, 4vw, 48px); }
.hero-content { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.hero h1 { line-height: 1.02; }
.hero h1 .accent { display: block; }
.hero .lead { max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.86rem; color: var(--text-muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }

/* Arena screen */
.arena {
  position: relative;
  aspect-ratio: 4 / 3.4;
  display: grid; place-items: center;
  animation: floatArena 7s ease-in-out infinite;
}
.signal-ring {
  position: absolute; top: 50%; left: 50%;
  width: 80%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--green-core);
  transform: translate(-50%, -50%);
  animation: signalRing 3.4s ease-out infinite;
}
.signal-ring.delay { animation-delay: 1.7s; }
.arena-screen {
  position: relative; z-index: 2;
  width: 92%;
  border-radius: 28px 28px 36px 36px / 22px 22px 60px 60px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(0,200,83,0.16), transparent 60%),
    var(--bg-elevated);
  border: 1px solid var(--green-border);
  box-shadow: var(--shadow-3), inset 0 0 60px rgba(0,200,83,0.06);
  padding: 18px;
  overflow: hidden;
}
.arena-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.arena-live { display: inline-flex; align-items: center; gap: 7px; font-size: 0.72rem; color: var(--green-bright); font-weight: 700; letter-spacing: 0.06em; }
.arena-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 10px var(--green-bright); animation: glowPulse 1.6s infinite; }
.arena-feed {
  height: 110px; overflow: hidden; position: relative;
  border-radius: 14px; background: rgba(0,0,0,0.3); padding: 8px 12px;
  border: 1px solid var(--green-border);
  -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
}
.arena-feed ul { animation: tickerUp 12s linear infinite; }
.arena-feed li { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.78rem; color: var(--text-secondary); }
.arena-feed li b { color: var(--green-bright); font-family: var(--font-mono); }
.arena-games { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.arena-tile {
  aspect-ratio: 1.4; border-radius: 12px; display: grid; place-items: center; font-size: 1.6rem;
  background: linear-gradient(140deg, var(--bg-surface), rgba(0,200,83,0.08));
  border: 1px solid var(--green-border);
  overflow: hidden;
}
.arena-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.arena-tile:hover img { transform: scale(1.06); }
.arena-balance {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(100deg, rgba(0,200,83,0.16), rgba(255,215,0,0.06));
  border: 1px solid var(--green-border); border-radius: 14px; padding: 12px 14px;
}
.arena-balance .label { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.arena-balance .amt { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 700; color: var(--text-primary); }

/* ====================== 10. TRUST TICKER ====================== */
.trust-ticker { padding-block: 26px; border-block: 1px solid var(--green-border); background: var(--bg-surface); overflow: hidden; }
.ticker-track { display: flex; gap: 56px; width: max-content; animation: tickerRight 26s linear infinite; }
.trust-ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; color: var(--text-secondary); font-size: 1.05rem; opacity: 0.8; white-space: nowrap; }
.ticker-item svg { color: var(--green-bright); }

/* ====================== 11. GAMES SHOWCASE + CARDS ====================== */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-tab {
  padding: 9px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--green-border); background: var(--bg-glass);
  color: var(--text-secondary); font-weight: 600; font-size: 0.9rem;
  transition: all var(--speed) var(--ease);
}
.filter-tab:hover { color: var(--text-primary); border-color: var(--green-core); }
.filter-tab.active { background: linear-gradient(120deg, var(--green-core), var(--green-soft)); color: #04130A; border-color: transparent; }

.games-scroll { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 24px); }

.game-card {
  position: relative;
  border-radius: var(--r-md);
  background: var(--bg-glass);
  border: 1px solid var(--green-border);
  box-shadow: var(--shadow-1), var(--inner-glass);
  padding: 18px;
  overflow: hidden;
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  display: flex; flex-direction: column; gap: 12px;
}
.game-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, rgba(0,200,83,0.14), transparent 60%);
  opacity: 0; transition: opacity var(--speed) var(--ease); pointer-events: none;
}
.game-card:hover { transform: translateY(-6px); border-color: var(--green-core); box-shadow: var(--shadow-2), var(--shadow-glow); }
.game-card:hover::before { opacity: 1; }
.game-thumb {
  aspect-ratio: 1.6; border-radius: 12px; display: grid; place-items: center; font-size: 2.8rem;
  background: linear-gradient(150deg, var(--bg-elevated), rgba(0,200,83,0.1));
  border: 1px solid var(--green-border); position: relative; overflow: hidden;
}
.game-info { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.game-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.game-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.game-overlay {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-items: center;
  background: linear-gradient(0deg, rgba(10,15,10,0.85), rgba(10,15,10,0.4));
  opacity: 0; transition: opacity var(--speed) var(--ease);
}
.game-thumb:hover .game-overlay, .game-card:hover .game-overlay { opacity: 1; }
.load-more-wrap { text-align: center; margin-top: 40px; }
.game-count-badge { font-family: var(--font-mono); }

/* ====================== 12. DOWNLOAD SECTION + PHONE ====================== */
.steps-timeline { display: flex; flex-direction: column; gap: 4px; }
.step-item { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding-bottom: 28px; position: relative; }
.step-item:not(:last-child)::before {
  content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px;
  background: linear-gradient(var(--green-core), transparent);
}
.step-num {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-core), var(--green-soft)); color: #04130A;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; z-index: 1;
  box-shadow: var(--shadow-glow);
}
.step-body h4 { margin-bottom: 6px; }

/* CSS Phone */
.phone-mock {
  width: min(300px, 80vw); margin-inline: auto;
  aspect-ratio: 9 / 19;
  border-radius: 42px;
  background: var(--bg-elevated);
  border: 10px solid #060A06;
  box-shadow: var(--shadow-3), 0 0 50px var(--green-glow), inset 0 0 0 1px var(--green-border);
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.phone-mock::before {
  content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px; background: #060A06; border-radius: 0 0 16px 16px; z-index: 4;
}
.phone-screen {
  height: 100%; border-radius: 30px; overflow: hidden;
  background: radial-gradient(120% 60% at 50% 0%, rgba(0,200,83,0.18), var(--bg-surface));
  display: flex; flex-direction: column; padding: 30px 14px 14px;
}
.phone-appbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.phone-logo { display: flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; }
.phone-balance { background: rgba(0,200,83,0.12); border: 1px solid var(--green-border); border-radius: 14px; padding: 12px; text-align: center; margin-bottom: 12px; }
.phone-balance .amt { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; color: var(--green-bright); }
.phone-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.phone-grid .pg-tile { aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--bg-elevated); border: 1px solid var(--green-border); }
.phone-cta { margin-top: auto; }

.req-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 14px; }
.req-card { text-align: center; padding: 20px 14px; border-radius: var(--r-md); background: var(--bg-glass); border: 1px solid var(--green-border); }
.req-card .ricon { font-size: 1.6rem; margin-bottom: 8px; }
.req-card .rlabel { font-size: 0.78rem; color: var(--text-muted); }
.req-card .rval { font-family: var(--font-mono); font-weight: 700; color: var(--text-primary); }

/* Countdown */
.countdown { display: flex; gap: 12px; justify-content: center; }
.cd-unit { background: var(--bg-elevated); border: 1px solid var(--green-border); border-radius: 14px; padding: 14px 18px; min-width: 72px; text-align: center; }
.cd-unit .num { font-family: var(--font-mono); font-size: 1.8rem; font-weight: 700; color: var(--green-bright); }
.cd-unit .lbl { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }

/* QR (CSS) */
.qr-code { width: 140px; height: 140px; border-radius: 14px; padding: 10px; background: #F0FFF4; display: grid; grid-template-columns: repeat(7,1fr); grid-template-rows: repeat(7,1fr); gap: 3px; }
.qr-code i { background: #04130A; border-radius: 2px; }
.qr-code i.off { background: transparent; }

/* ====================== 13. STATS RIBBON ====================== */
.stats-ribbon {
  background:
    radial-gradient(80% 140% at 50% 0%, rgba(0,200,83,0.14), transparent),
    var(--bg-surface);
  border-block: 1px solid var(--green-border);
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat-item .stat-num { font-family: var(--font-mono); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; color: var(--green-bright); line-height: 1; }
.stat-item .stat-num .suffix { color: var(--gold); }
.stat-item .stat-label { margin-top: 8px; color: var(--text-secondary); font-weight: 500; }

/* ====================== 14. BONUS CARDS ====================== */
.bonus-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); padding: 28px;
  background: var(--bg-glass); border: 1px solid var(--green-border);
  box-shadow: var(--shadow-2), var(--inner-glass);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.bonus-card:hover { transform: translateY(-6px); border-color: var(--green-core); }
.bonus-card.featured { background: linear-gradient(160deg, rgba(0,200,83,0.14), var(--bg-glass)); border-color: var(--green-core); }
.ribbon {
  position: absolute; top: 18px; right: -38px;
  transform: rotate(45deg);
  background: linear-gradient(90deg, var(--gold), #FFB300);
  color: #1A1200; font-weight: 800; font-size: 0.72rem; letter-spacing: 0.1em;
  padding: 6px 48px; box-shadow: var(--shadow-1);
}
.ribbon.hot { background: linear-gradient(90deg, var(--danger), #FF6E40); color: #fff; }
.bonus-amt { font-family: var(--font-mono); font-size: 2.4rem; font-weight: 800; color: var(--green-bright); }
.bonus-card ul.checks li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; color: var(--text-secondary); font-size: 0.92rem; }
.bonus-card ul.checks li::before { content: "✓"; color: var(--green-bright); font-weight: 800; }

/* ====================== 15. FEATURE GRID ====================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
}
.feature-card {
  border-radius: var(--r-lg);
  background: var(--bg-glass);
  border: 1px solid var(--green-border);
  box-shadow: var(--shadow-1), var(--inner-glass);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--green-core);
  box-shadow: var(--shadow-3), 0 0 0 1px var(--green-core);
}
.feature-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(140deg, var(--bg-surface), rgba(0,200,83,0.06));
}
.feature-media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s var(--ease);
}
.feature-card:hover .feature-media img { transform: scale(1.05); }
.feature-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,15,10,0.55), transparent 55%);
  pointer-events: none;
}
.feature-text { padding: clamp(18px, 2.2vw, 26px); display: flex; flex-direction: column; gap: 8px; }
.feature-text h3 { font-size: 1.18rem; }
.feature-text p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }

/* ====================== 16. REFERRAL + CALCULATOR ====================== */
.calc-card {
  border-radius: var(--r-lg); padding: 30px;
  background: linear-gradient(165deg, rgba(0,200,83,0.1), var(--bg-glass));
  border: 1px solid var(--green-core); box-shadow: var(--shadow-2), var(--shadow-glow);
}
.calc-row { margin-bottom: 22px; }
.calc-row label { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 10px; }
.calc-row label .val { font-family: var(--font-mono); color: var(--green-bright); }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 100px;
  background: var(--bg-elevated); outline: none; border: 1px solid var(--green-border);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-bright), var(--green-core));
  cursor: pointer; box-shadow: var(--shadow-glow); border: 2px solid #04130A;
}
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--green-bright); cursor: pointer; border: 2px solid #04130A; }
.calc-output { display: grid; gap: 12px; margin-top: 8px; }
.calc-line { display: flex; justify-content: space-between; padding: 12px 16px; border-radius: 12px; background: var(--bg-elevated); border: 1px solid var(--green-border); }
.calc-line .amount { font-family: var(--font-mono); font-weight: 700; }
.calc-total { background: linear-gradient(100deg, rgba(0,200,83,0.2), rgba(255,215,0,0.08)); border-color: var(--green-core); }
.calc-total .amount { color: var(--green-bright); font-size: 1.4rem; }

/* ====================== 17. SCREENSHOTS CAROUSEL (legacy — kept for other pages) ====================== */
.carousel { position: relative; max-width: 920px; margin-inline: auto; }
.carousel-viewport { overflow: hidden; border-radius: var(--r-lg); }
.carousel-track { display: flex; transition: transform 0.6s var(--ease); }
.carousel-slide { min-width: 100%; display: grid; place-items: center; padding: 20px; }
.shot-frame {
  width: min(260px, 70vw); aspect-ratio: 9/18; border-radius: 34px; border: 9px solid #060A06;
  background: linear-gradient(160deg, rgba(0,200,83,0.16), var(--bg-surface));
  box-shadow: var(--shadow-3); padding: 22px 12px; display: flex; flex-direction: column; gap: 10px;
}
.shot-frame .shot-head { text-align: center; font-family: var(--font-display); font-weight: 700; }
.shot-frame .shot-tile { border-radius: 12px; background: var(--bg-elevated); border: 1px solid var(--green-border); padding: 14px; display: grid; place-items: center; font-size: 1.6rem; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-glass); border: 1px solid var(--green-border);
  color: var(--green-bright); font-size: 1.3rem; display: grid; place-items: center; z-index: 3;
  transition: all var(--speed) var(--ease);
}
.carousel-btn:hover { background: var(--green-core); color: #04130A; }
.carousel-btn.prev { left: 6px; }
.carousel-btn.next { right: 6px; }
.carousel-dots { display: flex; justify-content: center; gap: 9px; margin-top: 22px; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-elevated); border: 1px solid var(--green-border); transition: all var(--speed) var(--ease); }
.carousel-dots button.active { width: 28px; border-radius: 100px; background: var(--green-core); }

/* ====================== 17B. SCREENSHOT SHOWCASE (homepage) ====================== */
.ss-section { overflow: hidden; }
.ss-section .section-head p { max-width: 520px; margin-inline: auto; }

.ss-showcase {
  position: relative;
  overflow: hidden;          /* always clip track content */
  padding: 0 56px;
  max-width: 100%;
  box-sizing: border-box;
  /* Fade edges to reveal depth */
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}

.ss-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 32px 60px 40px;
  align-items: center;
}
.ss-track::-webkit-scrollbar { display: none; }

.ss-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.ss-phone {
  width: 188px;
  aspect-ratio: 9 / 18;
  border-radius: 38px;
  border: 9px solid #080e08;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 0 1.5px rgba(0,200,83,0.12),
    0 20px 55px rgba(0,0,0,0.72),
    inset 0 0 0 1px rgba(255,255,255,0.03);
  transition: transform 0.42s cubic-bezier(0.34,1.4,0.64,1), box-shadow 0.42s ease;
}
/* Notch */
.ss-phone::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 58px; height: 24px; border-radius: 0 0 16px 16px;
  background: #080e08; z-index: 5; pointer-events: none;
}
/* Side button nub (kept inside — no overflow) */
.ss-phone::after {
  content: "";
  position: absolute; right: 0; top: 28%;
  width: 3px; height: 44px; background: rgba(0,0,0,0.5);
  border-radius: 0 2px 2px 0; pointer-events: none;
}

.ss-phone img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}
.ss-item:hover .ss-phone {
  transform: translateY(-14px) scale(1.05);
  box-shadow:
    0 0 0 2px rgba(0,200,83,0.38),
    0 32px 80px rgba(0,0,0,0.78),
    0 0 55px rgba(0,200,83,0.22);
}
.ss-item:hover .ss-phone img { transform: scale(1.04); }

/* Nav buttons */
.ss-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(6,12,6,0.94); backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(0,200,83,0.3); color: var(--green-bright);
  font-size: 1.4rem; line-height: 1; display: grid; place-items: center;
  cursor: pointer; z-index: 10; padding: 0;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.ss-btn:hover {
  background: rgba(0,200,83,0.14);
  border-color: rgba(0,200,83,0.7);
  transform: translateY(-50%) scale(1.1);
}
.ss-prev { left: 8px; }
.ss-next { right: 8px; }

/* Dots */
.ss-dots {
  display: flex; justify-content: center; gap: 7px;
  margin-top: 8px; flex-wrap: wrap;
}
.ss-dots button {
  width: 8px; height: 8px; border-radius: 100px; padding: 0;
  background: rgba(0,200,83,0.2); border: 1px solid rgba(0,200,83,0.2);
  cursor: pointer;
  transition: width 0.32s ease, background 0.32s ease, border-color 0.32s ease;
}
.ss-dots button.active {
  width: 28px; background: var(--green-bright); border-color: var(--green-bright);
}

/* Responsive — ss-showcase */
@media (max-width: 1024px) {
  .ss-showcase { padding: 0 48px; }
  .ss-track { padding: 28px 32px 36px; }
}
@media (max-width: 768px) {
  .ss-showcase { padding: 0 40px; }
  .ss-track { gap: 14px; padding: 24px 24px 32px; }
  .ss-phone { width: 155px; border-radius: 30px; border-width: 7px; }
  .ss-phone::before { width: 46px; height: 20px; border-radius: 0 0 12px 12px; }
  .ss-btn { width: 36px; height: 36px; font-size: 1.1rem; }
}
@media (max-width: 480px) {
  .ss-showcase { padding: 0 32px; }
  .ss-track { gap: 10px; padding: 18px 16px 24px; }
  .ss-phone { width: 130px; border-radius: 24px; border-width: 6px; }
  .ss-phone::before { width: 38px; height: 16px; }
  .ss-phone::after { display: none; }
  .ss-btn { width: 30px; height: 30px; font-size: 0.95rem; }
}
@media (max-width: 360px) {
  .ss-showcase { padding: 0 26px; }
  .ss-track { gap: 8px; padding: 16px 12px 20px; }
  .ss-phone { width: 115px; border-radius: 20px; border-width: 5px; }
  .ss-btn { width: 26px; height: 26px; font-size: 0.85rem; }
}

/* ====================== 18. LEADERBOARD ====================== */
.podium { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 16px; align-items: end; margin-bottom: 40px; }
.podium-spot {
  border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 22px 16px; text-align: center;
  background: var(--bg-glass); border: 1px solid var(--green-border); position: relative;
}
.podium-spot.first { background: linear-gradient(180deg, var(--gold-soft), var(--bg-glass)); border-color: var(--gold); padding-block: 36px; }
.podium-spot.second { background: linear-gradient(180deg, rgba(165,214,167,0.12), var(--bg-glass)); }
.podium-medal { font-size: 2.2rem; margin-bottom: 8px; }
.podium-name { font-family: var(--font-display); font-weight: 700; }
.podium-amt { font-family: var(--font-mono); color: var(--green-bright); font-weight: 700; margin-top: 6px; }
.lb-table-wrap { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--green-border); }
.lb-table th, .lb-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--green-border); }
.lb-table th { background: var(--bg-elevated); font-family: var(--font-display); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.lb-table td { color: var(--text-secondary); font-size: 0.92rem; }
.lb-table tr:hover td { background: rgba(0,200,83,0.05); }
.lb-table .amt { font-family: var(--font-mono); color: var(--green-bright); font-weight: 700; }
.lb-rank { font-family: var(--font-mono); font-weight: 700; }

/* ====================== 19. TESTIMONIALS ====================== */
.testi-scroll { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 18px; scroll-snap-type: x mandatory; }
.testi-card {
  min-width: min(340px, 82vw); scroll-snap-align: start;
  border-radius: var(--r-lg); padding: 26px; background: var(--bg-glass);
  border: 1px solid var(--green-border); box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; gap: 14px;
}
.testi-stars { color: var(--gold); letter-spacing: 2px; }
.testi-card p { color: var(--text-secondary); font-style: italic; }
.testi-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--green-core), var(--green-soft)); color: #04130A; font-weight: 800; }
.testi-who .name { font-weight: 700; font-family: var(--font-display); font-size: 0.92rem; }
.testi-who .loc { font-size: 0.78rem; color: var(--text-muted); }

/* ====================== 20. BLOG PREVIEW ====================== */
.blog-magazine { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(18px, 3vw, 30px); }
.blog-side { display: grid; gap: 18px; }
.blog-card {
  border-radius: var(--r-md); overflow: hidden; background: var(--bg-glass);
  border: 1px solid var(--green-border); box-shadow: var(--shadow-1);
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--green-core); }
.blog-cover {
  aspect-ratio: 16/9; display: grid; place-items: center; font-size: 2.6rem;
  background: linear-gradient(140deg, var(--green-soft), var(--bg-elevated));
  border-bottom: 1px solid var(--green-border);
}
.blog-card.featured .blog-cover { aspect-ratio: 16/8.5; font-size: 4rem; }
.blog-card.row { flex-direction: row; }
.blog-card.row .blog-cover { aspect-ratio: 1; width: 120px; flex-shrink: 0; border-bottom: none; border-right: 1px solid var(--green-border); font-size: 1.8rem; }
.blog-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.blog-meta { display: flex; gap: 12px; font-size: 0.78rem; color: var(--text-muted); }
.blog-body h3, .blog-body h4 { line-height: 1.25; }
.read-more { color: var(--green-bright); font-weight: 700; font-size: 0.9rem; display: inline-flex; gap: 6px; align-items: center; margin-top: auto; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 26px); }

/* ====================== 21. CTA BAND ====================== */
.cta-band { text-align: center; overflow: hidden; }
.cta-band .glow-blob.c1 { width: 600px; height: 400px; top: 50%; left: 50%; transform: translate(-50%,-50%); opacity: 0.6; }
.cta-inner { position: relative; z-index: 1; max-width: 720px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }

/* ====================== 22. FOOTER ====================== */
.site-footer { background: var(--bg-surface); border-top: 1px solid var(--green-border); padding-top: clamp(48px, 7vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); }
.footer-col h5 { font-family: var(--font-display); margin-bottom: 16px; color: var(--text-primary); font-size: 0.95rem; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { color: var(--text-muted); font-size: 0.9rem; transition: color var(--speed) var(--ease); }
.footer-col ul a:hover { color: var(--green-bright); }
.footer-brand p { margin-top: 14px; max-width: 320px; font-size: 0.9rem; }
.footer-pays { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.footer-pays span { font-size: 0.72rem; padding: 5px 10px; border-radius: 8px; background: var(--bg-elevated); border: 1px solid var(--green-border); color: var(--text-muted); }
.footer-disclaimer { margin-top: clamp(40px, 5vw, 60px); padding: 24px; border-radius: var(--r-md); background: var(--bg-elevated); border: 1px solid var(--green-border); font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; }
.footer-disclaimer strong { color: var(--text-secondary); }
.restricted-states { color: var(--warning); }
.footer-bottom { margin-top: 30px; padding-block: 24px; border-top: 1px solid var(--green-border); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: 0.82rem; color: var(--text-muted); }
.age-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 100px; border: 1px solid var(--warning); color: var(--warning); font-weight: 700; font-size: 0.78rem; }

/* ====================== 23. STICKY BOTTOM BAR ====================== */
.sticky-bottom {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80;
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 16px; border-radius: var(--r-pill);
  background: var(--bg-glass); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--green-core); box-shadow: var(--shadow-3), var(--shadow-glow);
  transform: translateY(140%); transition: transform var(--speed) var(--ease);
}
.sticky-bottom.show { transform: translateY(0); }
.sticky-bottom .sb-text { font-weight: 700; font-size: 0.9rem; }
.sticky-bottom .sb-text small { display: block; color: var(--text-muted); font-weight: 500; font-size: 0.72rem; }

/* ====================== 24. MODALS / COOKIE / EXIT ====================== */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity var(--speed) var(--ease), visibility var(--speed);
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal {
  width: min(480px, 100%); border-radius: var(--r-lg); padding: 34px; text-align: center;
  background: linear-gradient(165deg, rgba(0,200,83,0.12), var(--bg-elevated));
  border: 1px solid var(--green-core); box-shadow: var(--shadow-3), var(--shadow-glow);
  transform: scale(0.94); transition: transform var(--speed) var(--ease); position: relative;
}
.modal-backdrop.open .modal { transform: scale(1); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--green-border); color: var(--text-secondary); font-size: 1.2rem; display: grid; place-items: center; }
.modal .modal-amt { font-family: var(--font-mono); font-size: 2.6rem; font-weight: 800; color: var(--green-bright); margin: 10px 0; }

.cookie-notice {
  position: fixed; left: 12px; bottom: 12px; z-index: 150; max-width: 420px;
  background: var(--bg-glass); backdrop-filter: blur(20px); border: 1px solid var(--green-border);
  border-radius: var(--r-md); padding: 20px; box-shadow: var(--shadow-3);
  transform: translateY(180%); transition: transform var(--speed) var(--ease);
}
.cookie-notice.show { transform: translateY(0); }
.cookie-notice p { font-size: 0.85rem; margin-bottom: 14px; }
.cookie-actions { display: flex; gap: 10px; }

/* ====================== 25. ALERT STRIP ====================== */
.alert-strip {
  background: linear-gradient(90deg, var(--green-soft), var(--green-core), var(--green-soft));
  background-size: 200% auto; animation: gradientShift 6s ease infinite;
  color: #04130A; text-align: center; font-weight: 700; font-size: 0.86rem;
  padding: 9px 44px 9px 16px; position: relative; z-index: 70;
}
.alert-strip a { text-decoration: underline; }
.alert-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; color: #04130A; font-size: 1rem; display: grid; place-items: center; }
.alert-close:hover { background: rgba(0,0,0,0.15); }

/* ====================== 26. BUTTONS ====================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; line-height: 1;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), background var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(120deg, var(--green-bright), var(--green-core));
  color: #04130A; box-shadow: var(--shadow-1), 0 6px 24px rgba(0,200,83,0.4);
}
.btn-primary:hover { box-shadow: var(--shadow-2), 0 8px 30px rgba(0,230,118,0.55); transform: translateY(-2px); }
.btn-ghost { background: var(--bg-glass); color: var(--text-primary); border-color: var(--green-border); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--green-core); color: var(--green-bright); transform: translateY(-2px); }
.btn-gold { background: linear-gradient(120deg, var(--gold), #FFB300); color: #1A1200; box-shadow: 0 6px 24px rgba(255,215,0,0.35); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,215,0,0.5); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-pill { border-radius: var(--r-pill); }
.btn-full { width: 100%; }

/* ====================== 27. FORMS ====================== */
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; }
.field .req { color: var(--green-bright); }
input, textarea, select {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  background: var(--bg-elevated); border: 1px solid var(--green-border);
  color: var(--text-primary); transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
input::placeholder, textarea::placeholder { color: var(--text-dim); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--green-core); box-shadow: 0 0 0 3px var(--green-glow); }
textarea { min-height: 130px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2300E676' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field.error input, .field.error textarea, .field.error select { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255,61,0,0.2); }
.field .error-msg { display: none; color: var(--danger); font-size: 0.8rem; margin-top: 6px; }
.field.error .error-msg { display: block; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 0.88rem; color: var(--text-secondary); }
.checkbox input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--green-core); margin-top: 2px; }
.form-success {
  display: none; padding: 16px 20px; border-radius: 12px; margin-top: 16px;
  background: rgba(0,230,118,0.12); border: 1px solid var(--green-core); color: var(--green-bright); font-weight: 600;
}
.form-success.show { display: block; animation: fadeScale 0.4s var(--ease); }
.search-box { position: relative; max-width: 480px; }
.search-box input { padding-left: 44px; }
.search-box svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }

/* ====================== 28. BADGES + PILLS ====================== */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px;
  border-radius: 100px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; font-family: var(--font-display);
}
.badge-hot  { background: rgba(255,61,0,0.16); color: #FF6E40; border: 1px solid rgba(255,61,0,0.4); }
.badge-new  { background: rgba(0,230,118,0.16); color: var(--green-bright); border: 1px solid var(--green-border); }
.badge-live { background: rgba(255,61,0,0.14); color: #FF6E40; border: 1px solid rgba(255,61,0,0.3); }
.badge-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #FF6E40; animation: glowPulse 1.4s infinite; }
.badge-rtp  { background: rgba(255,215,0,0.12); color: var(--gold); border: 1px solid var(--gold-soft); font-family: var(--font-mono); }
.badge-cat  { background: var(--bg-elevated); color: var(--text-secondary); border: 1px solid var(--green-border); }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px;
  border-radius: 100px; background: var(--bg-glass); border: 1px solid var(--green-border);
  font-size: 0.82rem; font-weight: 600; color: var(--text-secondary);
}
.vol-meter { display: inline-flex; gap: 3px; }
.vol-meter i { width: 7px; height: 16px; border-radius: 2px; background: var(--bg-elevated); border: 1px solid var(--green-border); }
.vol-meter i.on { background: var(--green-core); border-color: var(--green-core); }

/* ====================== 29. GAME DETAIL LAYOUT ====================== */
.page-hero { padding-block: clamp(40px, 6vw, 72px); position: relative; overflow: hidden; text-align: center; }
.page-hero .glow-blob { width: 500px; height: 360px; top: -80px; left: 50%; transform: translateX(-50%); }
.page-hero-inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.breadcrumbs { display: flex; gap: 8px; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--green-bright); }
.breadcrumbs span { color: var(--text-dim); }
/* Centered page heroes (blog, legal, standard) — keep breadcrumbs & meta aligned with the centered headline */
.page-hero .breadcrumbs,
.page-hero .article-meta { justify-content: center; }
/* Game detail hero is intentionally left-aligned */
.game-detail-hero .breadcrumbs { justify-content: flex-start; }

.game-detail-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.gd-stat-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-block: 32px; }
.gd-stat { padding: 18px; border-radius: var(--r-md); background: var(--bg-glass); border: 1px solid var(--green-border); text-align: center; }
.gd-stat .gd-val { font-family: var(--font-mono); font-size: 1.3rem; font-weight: 700; color: var(--green-bright); }
.gd-stat .gd-lbl { font-size: 0.74rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

.tab-nav { display: flex; gap: 6px; border-bottom: 1px solid var(--green-border); margin-bottom: 30px; flex-wrap: wrap; }
.tab-btn { padding: 12px 20px; font-weight: 700; font-family: var(--font-display); color: var(--text-muted); border-bottom: 2px solid transparent; transition: all var(--speed) var(--ease); }
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active { color: var(--green-bright); border-bottom-color: var(--green-core); }
.tab-panel { display: none; animation: fadeScale 0.4s var(--ease); }
.tab-panel.active { display: block; }
.tab-panel h3 { margin-block: 22px 12px; }
.tab-panel p { margin-bottom: 14px; }
.tab-panel ul.bullets li { padding: 7px 0 7px 26px; position: relative; color: var(--text-secondary); }
.tab-panel ul.bullets li::before { content: "▸"; position: absolute; left: 0; color: var(--green-bright); }

/* ====================== 30. BLOG POST LAYOUT ====================== */
/* Single, centered reading column for a clean, professional article look */
.article { max-width: 760px; margin-inline: auto; }
.article-toc { display: none; }
.article-toc-legacy { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid var(--green-border); border-radius: var(--r-md); padding: 20px; background: var(--bg-glass); }
.article-toc h5 { margin-bottom: 12px; color: var(--text-muted); text-transform: uppercase; font-size: 0.74rem; letter-spacing: 0.1em; }
.article-toc a { display: block; padding: 6px 0; font-size: 0.88rem; color: var(--text-secondary); }
.article-toc a:hover { color: var(--green-bright); }
.article-body { max-width: 100%; margin-inline: auto; }
.article-body h2 { margin-block: 36px 16px; }
.article-body h3 { margin-block: 28px 12px; }
.article-body p { margin-bottom: 18px; color: var(--text-secondary); line-height: 1.8; }
.article-body ul, .article-body ol { margin-bottom: 18px; padding-left: 4px; }
.article-body ul li, .article-body ol li { padding: 6px 0 6px 28px; position: relative; color: var(--text-secondary); }
.article-body ul li::before { content: "✦"; position: absolute; left: 0; color: var(--green-bright); }
.article-body ol { counter-reset: ol; }
.article-body ol li { counter-increment: ol; }
.article-body ol li::before { content: counter(ol); position: absolute; left: 0; color: var(--green-bright); font-family: var(--font-mono); font-weight: 700; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 28px; }
.pull-quote { border-left: 3px solid var(--green-core); padding: 8px 22px; margin: 26px 0; font-size: 1.2rem; font-style: italic; color: var(--text-primary); font-family: var(--font-display); }
.info-box { border-radius: var(--r-md); padding: 22px; margin: 24px 0; background: linear-gradient(160deg, rgba(0,200,83,0.1), var(--bg-glass)); border: 1px solid var(--green-border); }
.info-box.warning { background: linear-gradient(160deg, rgba(255,215,0,0.08), var(--bg-glass)); border-color: var(--gold-soft); }
.info-box h4 { margin-bottom: 8px; }
.share-strip { display: flex; gap: 10px; align-items: center; margin: 30px 0; padding-block: 20px; border-block: 1px solid var(--green-border); }
.share-strip a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--green-border); display: grid; place-items: center; color: var(--text-secondary); transition: all var(--speed) var(--ease); }
.share-strip a:hover { border-color: var(--green-core); color: var(--green-bright); }

.table-styled { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.table-styled th, .table-styled td { padding: 12px 16px; text-align: left; border: 1px solid var(--green-border); }
.table-styled th { background: var(--bg-elevated); font-family: var(--font-display); font-size: 0.85rem; }
.table-styled td { color: var(--text-secondary); font-size: 0.9rem; }

/* ====================== 31. STATIC / LEGAL PAGES ====================== */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid var(--green-border); border-radius: var(--r-md); padding: 20px; background: var(--bg-glass); }
.legal-nav h5 { margin-bottom: 12px; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.legal-nav a { display: block; padding: 7px 0; font-size: 0.88rem; color: var(--text-secondary); }
.legal-nav a:hover { color: var(--green-bright); }
.legal-content { max-width: 800px; }
.legal-content h2 { margin-block: 34px 14px; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal-content h3 { margin-block: 22px 10px; }
.legal-content p, .legal-content li { color: var(--text-secondary); line-height: 1.8; }
.legal-content p { margin-bottom: 16px; }
.legal-content ul { margin-bottom: 18px; }
.legal-content ul li { padding: 5px 0 5px 24px; position: relative; }
.legal-content ul li::before { content: "—"; position: absolute; left: 0; color: var(--green-bright); }
.last-updated { display: inline-block; padding: 6px 14px; border-radius: 100px; background: var(--bg-elevated); border: 1px solid var(--green-border); font-size: 0.8rem; color: var(--text-muted); margin-bottom: 20px; }

/* Sitemap page */
.sitemap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.sitemap-col h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--green-border); }
.sitemap-col ul li { margin-bottom: 8px; }
.sitemap-col ul a { color: var(--text-secondary); font-size: 0.9rem; }
.sitemap-col ul a:hover { color: var(--green-bright); }

/* values / team cards */
.value-card, .team-card { border-radius: var(--r-lg); padding: 26px; background: var(--bg-glass); border: 1px solid var(--green-border); box-shadow: var(--shadow-1); }
.value-card .v-icon, .team-card .t-avatar { font-size: 2rem; margin-bottom: 12px; }
.team-card .t-avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--green-core), var(--green-soft)); color: #04130A; font-size: 1.6rem; }
.team-card .t-role { color: var(--green-bright); font-weight: 600; font-size: 0.85rem; }

/* glossary */
.glossary-item { padding: 18px 0; border-bottom: 1px solid var(--green-border); }
.glossary-item dt { font-family: var(--font-display); font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.glossary-item dd { color: var(--text-secondary); margin: 0; }

/* video placeholder */
.video-card { aspect-ratio: 16/9; border-radius: var(--r-lg); background: linear-gradient(150deg, var(--green-soft), var(--bg-elevated)); border: 1px solid var(--green-border); display: grid; place-items: center; position: relative; overflow: hidden; }
.play-btn { width: 84px; height: 84px; border-radius: 50%; background: var(--green-core); color: #04130A; display: grid; place-items: center; box-shadow: var(--shadow-glow); transition: transform var(--speed) var(--ease); }
.video-card:hover .play-btn { transform: scale(1.1); }
.play-btn svg { margin-left: 4px; }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: var(--r-md); background: var(--bg-glass); border: 1px solid var(--green-border); overflow: hidden; transition: border-color var(--speed) var(--ease); }
.faq-item.open { border-color: var(--green-core); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--text-primary); }
.faq-q .faq-icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--green-border); display: grid; place-items: center; color: var(--green-bright); transition: transform var(--speed) var(--ease); font-size: 1.2rem; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--green-core); color: #04130A; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--speed) var(--ease); }
.faq-a-inner { padding: 0 22px 20px; color: var(--text-secondary); line-height: 1.7; }
.faq-group { margin-bottom: 40px; }
.faq-group h3 { margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }

/* ====================== 32. 404 ====================== */
.error-page { min-height: 80vh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; }
.error-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 22vw, 16rem); line-height: 1; position: relative; color: var(--green-bright); }
.error-num::before, .error-num::after { content: "404"; position: absolute; inset: 0; }
.error-num::before { color: var(--gold); animation: glitchNum 2.6s infinite; opacity: 0.7; mix-blend-mode: screen; }
.error-num::after { color: var(--danger); animation: glitchNum 2s infinite reverse; opacity: 0.6; mix-blend-mode: screen; }
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }

/* ====================== 33. SECTION DIVIDERS ====================== */
.divider-wave { display: block; width: 100%; height: 60px; }
.divider-wave svg { width: 100%; height: 100%; }
.section-alt { background: var(--bg-surface); }

/* ====================== HERO VISUAL — Real Image Stage ====================== */
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 540px;
}
.hv-glow-ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,83,0.16) 0%, transparent 68%);
  pointer-events: none; z-index: 0;
}
.hv-glow-blob {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,230,118,0.14) 0%, transparent 70%);
  animation: glowPulse 4s ease-in-out infinite;
  pointer-events: none; z-index: 0;
}
.hv-stage {
  position: relative; z-index: 1;
  animation: floatArena 8s ease-in-out infinite;
  display: inline-flex; align-items: center; justify-content: center;
}
.hv-img-wrap {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,200,83,0.22),
    0 24px 70px rgba(0,0,0,0.65),
    0 0 80px rgba(0,200,83,0.18);
}
.hv-img {
  display: block;
  width: 100%; max-width: 340px; height: auto;
  object-fit: contain;
  border-radius: 32px;
  image-rendering: -webkit-optimize-contrast;
}
.hv-img-glow {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,200,83,0.05) 0%, transparent 40%, rgba(0,200,83,0.06) 100%);
  border-radius: 32px; pointer-events: none; z-index: 2;
}
.hv-scan-line {
  position: absolute; inset: 0; z-index: 3;
  background: repeating-linear-gradient(
    0deg,
    transparent, transparent 2px,
    rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px
  );
  border-radius: 32px; pointer-events: none;
}

/* Floating glassmorphism stat cards */
.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 15px;
  border-radius: 16px;
  background: rgba(10, 18, 10, 0.82);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(0,200,83,0.24);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
  white-space: nowrap; z-index: 5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.float-card:hover { transform: scale(1.04); box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 20px rgba(0,200,83,0.2); }
.fc-icon-wrap { font-size: 1.3rem; line-height: 1; flex-shrink: 0; }
.fc-label { font-size: 0.62rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.2; }
.fc-value { font-family: var(--font-mono); font-size: 1.05rem; font-weight: 700; color: var(--green-bright); line-height: 1.2; }
.fc-live-dot {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
  background: var(--success); box-shadow: 0 0 10px var(--success);
  animation: glowPulse 1.5s infinite;
}

/* Card positions — offset from image */
.fc-bonus { top: 6%;  left: -22%; animation: floatY 5.2s ease-in-out infinite; }
.fc-live  { top: 36%; right: -18%; animation: floatY 6.1s ease-in-out 0.8s infinite; }
.fc-win   { bottom: 22%; left: -18%; animation: floatY 4.8s ease-in-out 1.6s infinite; }
.fc-rtp   { bottom: 5%;  right: -14%; animation: floatY 5.7s ease-in-out 2.4s infinite; }

/* Real screenshot carousel */
.shot-frame-real {
  width: min(240px, 60vw);
  aspect-ratio: 9 / 18;
  border-radius: 34px;
  border: 9px solid #060A06;
  overflow: hidden;
  box-shadow: var(--shadow-3), 0 0 40px rgba(0,200,83,0.14);
  position: relative;
}
.shot-frame-real img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
}
.shot-frame-real::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,200,83,0.04) 0%, transparent 30%);
  border-radius: 25px; pointer-events: none;
}

/* Download section — screenshot hero */
.dl-screenshot { position: relative; display: flex; align-items: center; justify-content: center; }
.dl-screenshot-wrap {
  border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-3), 0 0 60px rgba(0,200,83,0.2);
  max-width: 300px; width: 100%;
  border: 1px solid rgba(0,200,83,0.2);
}
.dl-screenshot-wrap img { width: 100%; height: auto; display: block; object-fit: cover; }

/* Game card real images */
.game-thumb-img {
  aspect-ratio: 1.6; border-radius: 12px; overflow: hidden; position: relative;
  background: var(--bg-elevated); border: 1px solid var(--green-border);
}
.game-thumb-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.45s var(--ease);
}
.game-card:hover .game-thumb-img img { transform: scale(1.06); }
.game-thumb-img .game-overlay {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-items: center;
  background: linear-gradient(0deg, rgba(10,15,10,0.85), rgba(10,15,10,0.3));
  opacity: 0; transition: opacity 0.35s ease;
}
.game-card:hover .game-thumb-img .game-overlay { opacity: 1; }

/* Blog article hero image */
.article-hero-img { border-radius: 16px; overflow: hidden; aspect-ratio: 21 / 9; max-height: 300px; margin-bottom: 2rem; border: 1px solid var(--green-border); box-shadow: var(--shadow-2); }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Blog card real images */
.blog-cover-img {
  aspect-ratio: 16/9; overflow: hidden;
  background: var(--bg-elevated); border-bottom: 1px solid var(--green-border);
  position: relative;
}
.blog-cover-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s var(--ease); }
.blog-card:hover .blog-cover-img img { transform: scale(1.04); }
.blog-card.featured .blog-cover-img { aspect-ratio: 16/8.5; }
.blog-card.row .blog-cover-img { width: 120px; flex-shrink: 0; aspect-ratio: 1; border-bottom: none; border-right: 1px solid var(--green-border); }

/* Responsive adjustments for float cards */
@media (max-width: 1100px) {
  .fc-bonus { left: -8%; }
  .fc-win   { left: -4%; }
  .fc-live  { right: -6%; }
  .fc-rtp   { right: -2%; }
}
@media (max-width: 900px) {
  .float-card { padding: 9px 12px; }
  .fc-value   { font-size: 0.95rem; }
  .fc-bonus { top: 2%; left: 2%; }
  .fc-live  { top: 36%; right: 2%; }
  .fc-win   { bottom: 18%; left: 2%; }
  .fc-rtp   { bottom: 2%; right: 2%; }
  .hv-img   { max-width: 280px; }
}
@media (max-width: 480px) {
  .fc-win, .fc-rtp { display: none; }
  .fc-bonus { top: -38px; left: 50%; transform: translateX(-50%); animation: none; }
  .fc-live  { top: auto; bottom: -38px; right: 50%; transform: translateX(50%); animation: none; }
  .hv-img   { max-width: 240px; }
}

/* ====================== 34. UTILITIES ====================== */
.sr-only, .visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; } .mb-5 { margin-bottom: 40px; }
.flex { display: flex; } .flex-wrap { flex-wrap: wrap; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .justify-center { justify-content: center; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.full-width { width: 100%; }
.relative { position: relative; }

/* ====================== 35. RESPONSIVE ====================== */

/* Global overflow guard — prevents any element from pushing page width */
.site-header,
.affiliate-bar,
.trust-ticker,
.alert-strip,
.site-footer,
.sticky-bottom {
  max-width: 100%;
  overflow-x: hidden;
}

/* Table scroll on mobile */
.lb-table-wrap { overflow-x: auto; }

/* Filter tabs scroll on all sub-desktop */
@media (max-width: 768px) {
  .filter-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; max-width: 100%; }
  .filter-tab  { white-space: nowrap; flex-shrink: 0; }
}

@media (max-width: 1280px) {
  .games-scroll { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .nav-toggle { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { align-items: center; text-align: center; }
  .hero-content .lead { margin-inline: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .arena { max-width: 400px; width: 100%; margin-inline: auto; aspect-ratio: auto; }
  .split.left-heavy, .split.right-heavy { grid-template-columns: 1fr; }
  .article, .legal-layout { grid-template-columns: 1fr; }
  .article-toc, .legal-nav { position: static; }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .game-detail-hero { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .games-scroll { grid-template-columns: repeat(2, 1fr); }
  .blog-magazine { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .req-grid, .gd-stat-strip { grid-template-columns: repeat(2,1fr); }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .sticky-bottom { display: flex; }
  body.has-sticky-bar { padding-bottom: 84px; }
  .podium { grid-template-columns: 1fr; }
  .podium-spot.first { order: -1; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .games-scroll { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .req-grid, .gd-stat-strip { grid-template-columns: 1fr 1fr; }
  .blog-card.row { flex-direction: column; }
  .blog-card.row .blog-cover { width: 100%; aspect-ratio: 16/9; border-right: none; border-bottom: 1px solid var(--green-border); }
  .blog-card.row .blog-cover-img { width: 100%; aspect-ratio: 16/9; border-right: none; border-bottom: 1px solid var(--green-border); }
  /* Wide data tables scroll horizontally instead of breaking the layout */
  .table-styled { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .table-styled th, .table-styled td { padding: 10px 13px; }
  .article-body { max-width: 100%; }
  /* Hero banner: short & compact on phones so it never dominates the screen */
  .article-hero-img { aspect-ratio: 2 / 1; max-height: 190px; border-radius: 12px; margin-bottom: 1.5rem; }
  /* Blog titles sized for small screens */
  .page-hero h1 { font-size: clamp(1.6rem, 6.5vw, 2.3rem); }
  .page-hero .lead { font-size: 1rem; }
  /* In-article CTAs become intentional, tappable full-width buttons */
  .article-body > .btn { display: block; width: 100%; text-align: center; margin: 6px 0 22px; }
  /* Comfortable reading rhythm */
  .article-body h2 { font-size: 1.4rem; margin-block: 28px 12px; }
  .article-body h3 { font-size: 1.15rem; }
  .article-body p, .article-body li { font-size: 0.98rem; }
  .pull-quote { font-size: 1.05rem; padding: 6px 16px; margin: 20px 0; }
}
@media (max-width: 480px) {
  :root { --gutter: 16px; }
  /* Keep a 2-up game grid on phones — denser, more app-like than a single column */
  .games-scroll { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .countdown { gap: 8px; }
  .cd-unit { min-width: 60px; padding: 10px 12px; }
  .filter-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
  .filter-tab { white-space: nowrap; }
  /* Arena tuning for small phones */
  .arena { max-width: 340px; }
  .arena-screen { padding: 14px; border-radius: 22px 22px 28px 28px / 18px 18px 44px 44px; }
  .arena-feed { height: 88px; }
  .arena-games { gap: 8px; margin: 12px 0; }
  .arena-balance .amt { font-size: 1.2rem; }
  .game-info { padding: 10px; }
  .game-name { font-size: 0.92rem; }
}
@media (max-width: 360px) {
  .brand { font-size: 1.1rem; }
  .btn { padding: 11px 18px; font-size: 0.88rem; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { width: 100%; }
  .games-scroll { grid-template-columns: 1fr; }
  .arena { max-width: 300px; }
}
@media print {
  .site-header, .site-footer, .sticky-bottom, .affiliate-bar, .alert-strip, .cookie-notice, .modal-backdrop, .legal-nav, .article-toc { display: none !important; }
  body { background: #fff; color: #000; }
  .legal-content, .article-body { max-width: 100%; }
  * { color: #000 !important; box-shadow: none !important; }
}
