/* ══════════════════════════════════════════════
   FORSAKEN SCRIPT — style.css
   Palette: Forsaken Red #e5001c + Green #00e05c
   Fonts: Barlow Condensed (display) · DM Sans (body) · JetBrains Mono (code)
═══════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --red:        #e5001c;
  --red-hi:     #ff1f38;
  --red-dim:    rgba(229,0,28,.12);
  --red-glow:   rgba(229,0,28,.28);
  --green:      #00e05c;
  --green-dim:  rgba(0,224,92,.10);
  --green-glow: rgba(0,224,92,.22);

  --bg:         #060a09;
  --bg2:        #09100e;
  --bg3:        #0c1512;
  --card:       #0e1a17;
  --card2:      #111f1c;
  --border:     #162018;
  --border2:    #1d2e28;

  --white:      #e8f5ef;
  --text:       #7fa896;
  --muted:      #3a5547;
  --subtle:     #162018;

  --fd: 'Barlow Condensed', sans-serif;
  --fb: 'DM Sans', sans-serif;
  --fm: 'JetBrains Mono', monospace;

  --r:  8px;
  --rl: 14px;
  --ease: cubic-bezier(.22,1,.36,1);
  --tf:  160ms;
  --tm:  300ms;
}

/* ── RESET ── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--fb);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; font-family: inherit; }
a { color: inherit; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }

/* ── LAYOUT ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ── BG DOTS ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: radial-gradient(circle, rgba(0,224,92,.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3 { font-family: var(--fd); color: var(--white); line-height: 1.08; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem,8vw,4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem,4vw,2.5rem); font-weight: 700; margin-bottom: 10px; }
h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.tl { color: var(--green); text-decoration: none; border-bottom: 1px solid rgba(0,224,92,.3); }
.tl:hover { border-color: var(--green); }
.tl-btn { background: none; border: none; color: var(--green); font: inherit; cursor: pointer; border-bottom: 1px solid rgba(0,224,92,.3); padding: 0; }
.tl-btn:hover { border-color: var(--green); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--tm) var(--ease), transform var(--tm) var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.rd1 { transition-delay: 80ms; }
.rd2 { transition-delay: 160ms; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fb); font-weight: 600; font-size: .82rem;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  padding: 12px 22px; border-radius: var(--r);
  border: 1px solid transparent; outline: none;
  white-space: nowrap; user-select: none;
  transition: transform var(--tf) var(--ease), box-shadow var(--tf), background var(--tf), border-color var(--tf), color var(--tf);
}
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }

.btn-primary {
  background: var(--red); color: #fff; border-color: var(--red);
  box-shadow: 0 0 20px var(--red-glow);
}
.btn-primary:hover {
  background: var(--red-hi); border-color: var(--red-hi);
  transform: translateY(-2px); box-shadow: 0 6px 28px rgba(229,0,28,.45);
}
.btn-primary:active { transform: none; }

.btn-ghost {
  background: transparent; color: var(--text); border-color: var(--border2);
}
.btn-ghost:hover {
  border-color: var(--green); color: var(--green);
  transform: translateY(-2px); box-shadow: 0 4px 18px var(--green-glow);
}

.btn-lg { padding: 14px 28px; font-size: .88rem; }
.btn-xl { padding: 16px 40px; font-size: .95rem; }
.btn-hdr { padding: 9px 18px; font-size: .76rem; }

/* ── HEADER ── */
#siteHeader {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,10,9,.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--tf);
}
.hdr-inner {
  display: flex; align-items: center; gap: 12px; height: 58px;
}

/* LOGO */
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 28px; width: auto; display: block; }
.logo-txt, .logo-fallback {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--fd); font-weight: 800; font-size: 1.1rem;
  letter-spacing: .12em; color: var(--white);
}
.logo-icon { color: var(--red); font-size: 1.2rem; }

.nav-main {
  display: flex; align-items: center; flex: 1; justify-content: center; gap: 0;
}
.nav-main a {
  display: block; padding: 6px 13px;
  font-size: .76rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color var(--tf);
  position: relative;
}
.nav-main a::after {
  content: ''; position: absolute; bottom: 0; left: 13px; right: 13px;
  height: 1px; background: var(--green);
  transform: scaleX(0); transition: transform var(--tf) var(--ease);
}
.nav-main a:hover { color: var(--white); }
.nav-main a:hover::after { transform: scaleX(1); }

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px; flex-shrink: 0;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--tf), opacity var(--tf); }

.nav-mob {
  display: none; flex-direction: column; gap: 2px;
  padding: 16px 20px 20px;
  background: rgba(6,10,9,.98);
  border-top: 1px solid var(--border);
}
.nav-mob.open { display: flex; }
.nm-a {
  font-size: .85rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--text); text-decoration: none; padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--tf);
}
.nm-a:last-of-type { margin-bottom: 14px; }
.nm-a:hover { color: var(--white); }

/* ── BREADCRUMB ── */
.breadcrumb-wrap { background: var(--bg2); border-bottom: 1px solid var(--border); }
.bc { display: flex; align-items: center; list-style: none; padding: 10px 0; gap: 0; }
.bc a { font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color var(--tf); }
.bc a:hover { color: var(--green); }
.bc-sep { margin: 0 7px; color: var(--muted); font-size: .72rem; }

/* ── SECTIONS ── */
.sec { padding: 64px 0; position: relative; overflow: hidden; }
.sec-alt { background: var(--bg2); }
.sec-alt::before, .sec-alt::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 25%, var(--border) 75%, transparent);
}
.sec-alt::before { top: 0; }
.sec-alt::after  { bottom: 0; }

/* Section header */
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head p { color: var(--text); font-size: .95rem; max-width: 480px; margin: 8px auto 0; }

/* Eyebrow label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .65rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--green);
  margin-bottom: 10px;
}
.eyebrow::before { content: ''; display: block; width: 18px; height: 1px; background: var(--green); }

/* ── HERO ── */
.hero-sec { padding-top: 52px; padding-bottom: 48px; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  margin-bottom: 40px;
}

.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px; border-radius: 100px;
  background: rgba(0,224,92,.08); border: 1px solid rgba(0,224,92,.25);
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--white);
  margin-bottom: 18px;
}
.live-dot {
  width: 6px; height: 6px; background: var(--green); border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0,224,92,.5);
  animation: livepulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes livepulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,224,92,.5); }
  50%      { box-shadow: 0 0 0 5px rgba(0,224,92,0); }
}

.h1-eyebrow {
  display: block;
  font-family: var(--fb); font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 2px;
}
.h1-em { color: var(--red); font-style: normal; }

.hero-p {
  font-size: 1rem; color: var(--text); max-width: 440px;
  margin: 16px 0 22px; line-height: 1.75;
}

/* Feature pills */
.feat-pills {
  display: flex; flex-wrap: wrap; gap: 7px;
  list-style: none; margin-bottom: 28px;
}
.feat-pills li {
  padding: 5px 12px; border-radius: 6px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--red-dim); border: 1px solid rgba(229,0,28,.22); color: var(--red-hi);
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }

.trust-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
}
.trust-row span { display: flex; align-items: center; gap: 6px; }
.dot-g {
  display: inline-block; width: 5px; height: 5px;
  background: var(--green); border-radius: 50%;
  box-shadow: 0 0 5px var(--green);
  flex-shrink: 0;
}

/* Hero image placeholder */
.hero-img { position: relative; }

/* ── IMAGE PLACEHOLDERS ── */
.img-ph {
  position: relative; border-radius: var(--rl);
  border: 1px solid var(--border2);
  background: var(--card);
  overflow: hidden;
  min-height: 220px;
}
.img-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-hint {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--muted); font-size: .75rem; font-family: var(--fm);
  text-align: center; padding: 16px;
  pointer-events: none;
}
/* Hide hint when image loads successfully */
.img-ph img { position: relative; z-index: 1; }
.img-ph:not(.ph-empty) .ph-hint { display: none; }
.img-ph.ph-empty .ph-hint { display: flex; }

.hero-img .img-ph { height: 100%; min-height: 300px; }
.img-ph.wide { width: 100%; height: 320px; margin-top: 44px; }
.setup-ph { height: 200px; margin-top: 12px; }

/* ── STATS ── */
.stats-band {
  background: var(--bg3); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  position: relative; z-index: 1;
}
.stats-inner { display: grid; grid-template-columns: repeat(4,1fr); }
.stat {
  padding: 22px 16px; text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--tf);
}
.stat:last-child { border-right: none; }
.stat:hover { background: rgba(0,224,92,.03); }
.sn { font-family: var(--fd); font-size: 2rem; font-weight: 800; color: var(--white); transition: color var(--tf); }
.stat:hover .sn { color: var(--green); }
.ss { font-family: var(--fd); font-size: 1.2rem; font-weight: 700; color: var(--red); vertical-align: top; margin-top: 4px; }
.sl { display: block; font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

/* ── FEATURES ── */
.feat-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 14px;
}
.f-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--rl);
  padding: 24px; position: relative; overflow: hidden;
  transition: border-color var(--tm) var(--ease), transform var(--tm) var(--ease), box-shadow var(--tm);
}
.f-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--green));
  opacity: 0; transition: opacity var(--tm);
}
.f-card:hover { border-color: rgba(0,224,92,.3); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.f-card:hover::before { opacity: 1; }
.f-ico { font-size: 1.6rem; margin-bottom: 14px; }
.f-card p { font-size: .86rem; color: var(--text); line-height: 1.65; margin-bottom: 14px; }
.chip {
  display: inline-block; padding: 3px 10px; border-radius: 100px;
  font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--green-dim); border: 1px solid rgba(0,224,92,.2); color: var(--green);
}

/* ── GAMES ── */
.games-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.g-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--rl);
  padding: 18px 16px;
  transition: border-color var(--tm), transform var(--tm), box-shadow var(--tm);
}
.g-card:hover { border-color: var(--border2); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.g-tag { font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); display: block; margin-bottom: 6px; }
.g-name { font-family: var(--fd); font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 6px; letter-spacing: .02em; }
.g-desc { font-size: .75rem; color: var(--muted); line-height: 1.5; }
.g-all { border-color: rgba(0,224,92,.18); }
.g-all .g-tag { color: var(--green); }

/* ── SETUP ── */
.setup-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.steps-wrap { display: flex; flex-direction: column; gap: 10px; }
.step {
  display: flex; gap: 16px;
  background: var(--card); border: 1px solid var(--border);
  border-left: 3px solid var(--border);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 16px 18px;
  transition: border-left-color var(--tf);
}
.step:hover { border-left-color: var(--red); }
.stp-n { font-family: var(--fm); font-size: 1.3rem; font-weight: 600; color: var(--red); opacity: .5; flex-shrink: 0; line-height: 1.4; min-width: 28px; }
.stp-b { display: flex; flex-direction: column; gap: 3px; }
.stp-b strong { color: var(--white); font-size: .9rem; font-weight: 700; }
.stp-b span { font-size: .83rem; color: var(--text); }

/* compat box */
.compat-box { background: var(--card); border: 1px solid var(--border2); border-radius: var(--rl); overflow: hidden; position: sticky; top: 72px; }
.compat-hdr { padding: 12px 16px; background: var(--card2); border-bottom: 1px solid var(--border); font-family: var(--fm); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.compat-rows { padding: 4px 0; }
.cr { display: flex; align-items: center; gap: 10px; padding: 8px 16px; font-size: .84rem; color: var(--text); border-bottom: 1px solid var(--border); transition: background var(--tf), color var(--tf); }
.cr:last-child { border-bottom: none; }
.cr:hover:not(.cr-note) { background: rgba(255,255,255,.02); color: var(--white); }
.ck { color: var(--green); font-size: .8rem; flex-shrink: 0; }
.cr-note { font-family: var(--fm); font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); justify-content: center; background: var(--bg2); }

/* ── CHANGELOG ── */
.cl-list { border: 1px solid var(--border); border-radius: var(--rl); overflow: hidden; }
.cl-item { padding: 24px 28px; border-bottom: 1px solid var(--border); transition: background var(--tf); }
.cl-item:last-child { border-bottom: none; }
.cl-item:hover { background: var(--bg3); }
.cl-hdr { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.cl-v { font-family: var(--fm); font-size: .84rem; font-weight: 600; color: var(--white); background: var(--card2); border: 1px solid var(--border2); padding: 2px 10px; border-radius: 5px; }
.cl-d { font-size: .74rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.cl-tag { padding: 2px 9px; border-radius: 100px; font-size: .6rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: var(--green-dim); border: 1px solid rgba(0,224,92,.3); color: var(--green); }
.cl-ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.cl-ul li { font-family: var(--fm); font-size: .8rem; color: var(--text); line-height: 1.6; }
.plus { color: var(--green); font-style: normal; margin-right: 6px; }
.upd  { color: #3bc9e0; font-style: normal; margin-right: 6px; }
.fix  { color: var(--muted); font-style: normal; margin-right: 6px; }

/* ── FAQ ── */
.faq-wrap { border: 1px solid var(--border); border-radius: var(--rl); overflow: hidden; max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-btn {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  padding: 18px 22px; background: var(--card); border: none; text-align: left;
  font-size: .9rem; font-weight: 600; color: var(--white); gap: 16px; cursor: pointer;
  transition: background var(--tf);
}
.faq-btn:hover { background: var(--card2); }
.faq-ic { display: block; width: 18px; height: 18px; flex-shrink: 0; position: relative; }
.faq-ic::before,.faq-ic::after { content: ''; position: absolute; background: var(--red); border-radius: 2px; transition: transform var(--tf) var(--ease), opacity var(--tf); }
.faq-ic::before { top: 50%; left: 2px; right: 2px; height: 2px; transform: translateY(-50%); }
.faq-ic::after  { left: 50%; top: 2px; bottom: 2px; width: 2px; transform: translateX(-50%); }
.faq-btn[aria-expanded="true"] { background: var(--card2); }
.faq-btn[aria-expanded="true"] .faq-ic::after { transform: translateX(-50%) scale(0); opacity: 0; }
.faq-ans { display: none; padding: 0 22px 16px; font-size: .87rem; color: var(--text); background: var(--card2); line-height: 1.75; }
.faq-ans.open { display: block; }

/* ── CTA SECTION ── */
.sec-cta { background: var(--bg); padding: 60px 0; }
.cta-box {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: 18px; padding: 56px 32px;
  text-align: center; position: relative; overflow: hidden;
  max-width: 680px; margin: 0 auto;
}
.cta-box::before {
  content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), var(--green), transparent);
}
.cta-box::after {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(229,0,28,.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-box h2 { margin-bottom: 10px; position: relative; z-index: 1; }
.cta-box p { color: var(--text); font-size: .92rem; margin-bottom: 28px; position: relative; z-index: 1; }
.cta-box .btn { position: relative; z-index: 1; }

/* ── SHARE ROW ── */
.share-row {
  display: flex; flex-wrap: wrap; gap: 7px; align-items: center;
  margin-top: 28px; justify-content: center;
}
.share-lbl { font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 3px; }
.sb {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .69rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 6px; text-decoration: none; border: 1px solid;
  transition: transform var(--tf), box-shadow var(--tf), background var(--tf), color var(--tf);
}
.sb svg { width: 12px; height: 12px; }
.sb:hover { transform: translateY(-2px); }
.sb.li { border-color: rgba(10,102,194,.4); color: #4d9de0; }
.sb.li:hover { background: #0a66c2; color: #fff; border-color: #0a66c2; box-shadow: 0 4px 14px rgba(10,102,194,.35); }
.sb.fb { border-color: rgba(24,119,242,.35); color: #5ba3f5; }
.sb.fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; box-shadow: 0 4px 14px rgba(24,119,242,.35); }
.sb.tw { border-color: rgba(29,161,242,.35); color: #5bbaf5; }
.sb.tw:hover { background: #1da1f2; color: #fff; border-color: #1da1f2; box-shadow: 0 4px 14px rgba(29,161,242,.35); }
.sb.rd { border-color: rgba(255,69,0,.35); color: #ff7040; }
.sb.rd:hover { background: #ff4500; color: #fff; border-color: #ff4500; box-shadow: 0 4px 14px rgba(255,69,0,.35); }
.sb.pi { border-color: rgba(230,0,35,.35); color: #f05570; }
.sb.pi:hover { background: #e60023; color: #fff; border-color: #e60023; box-shadow: 0 4px 14px rgba(230,0,35,.35); }


/* ── FOOTER ── */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 40px 0 22px; }
.ftr-inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; margin-bottom: 28px; }
.ftr-brand p { font-size: .82rem; color: var(--muted); max-width: 260px; margin-top: 10px; line-height: 1.6; }
.ftr-nav { display: flex; flex-wrap: wrap; gap: 5px 18px; justify-content: flex-end; padding-top: 4px; }
.ftr-nav a { font-size: .74rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color var(--tf); }
.ftr-nav a:hover { color: var(--green); }
.ftr-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 20px; border-top: 1px solid var(--border); font-size: .73rem; color: var(--muted); }
.ftr-bottom a { color: var(--muted); text-decoration: none; }
.ftr-bottom a:hover { color: var(--green); }
.ftr-disc { text-align: right; }

/* ── FOCUS ── */
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 3px; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */

/* Tablet: ≤900px */
@media (max-width: 900px) {
  .hero-grid      { grid-template-columns: 1fr; gap: 32px; }
  .hero-img       { order: -1; }
  .hero-img .img-ph { min-height: 200px; height: 240px; }
  .hero-p         { max-width: 100%; }
  .feat-grid      { grid-template-columns: repeat(2,1fr); }
  .games-grid     { grid-template-columns: repeat(2,1fr); }
  .setup-grid     { grid-template-columns: 1fr; gap: 28px; }
  .compat-box     { position: static; }
  .setup-side     { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
  .ftr-inner      { grid-template-columns: 1fr; gap: 20px; }
  .ftr-nav        { justify-content: flex-start; }
  .ftr-disc       { text-align: left; }
  .stats-inner    { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: none; }
}

/* Mobile: ≤640px */
@media (max-width: 640px) {
  .sec           { padding: 48px 0; }
  .hero-sec      { padding-top: 36px; padding-bottom: 36px; }
  .hero-grid     { gap: 24px; margin-bottom: 28px; }
  .hero-img      { display: none; } /* hide on small phones to keep hero clean */

  h1             { font-size: 2.4rem; }
  h2             { font-size: 1.6rem; }
  .hero-p        { font-size: .93rem; }
  .feat-pills    { gap: 5px; }
  .hero-btns     { flex-direction: column; gap: 8px; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .trust-row     { gap: 10px; }

  .feat-grid     { grid-template-columns: 1fr; gap: 10px; }
  .games-grid    { grid-template-columns: 1fr 1fr; gap: 10px; }

  .setup-side    { display: block; }
  .setup-ph      { margin-top: 12px; }

  .stats-inner   { grid-template-columns: repeat(2,1fr); }
  .stat          { padding: 18px 12px; }
  .sn            { font-size: 1.6rem; }

  .cl-item       { padding: 18px 16px; }
  .cta-box       { padding: 36px 20px; }

  .nav-main      { display: none; }
  .btn-hdr       { display: none; }
  .burger        { display: flex; }

  .share-row     { gap: 6px; }
  .sb            { padding: 6px 10px; font-size: .65rem; }

  .ftr-inner     { grid-template-columns: 1fr; }
  .ftr-bottom    { flex-direction: column; align-items: flex-start; gap: 4px; }
  .ftr-disc      { text-align: left; }

  .img-ph.wide   { height: 180px; }
  .popup-body    { padding: 20px 16px; }
  .popup-box     { max-width: 100%; }
}

/* Very small: ≤380px */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  h1 { font-size: 2rem; }
  .games-grid { grid-template-columns: 1fr; }
  .feat-pills li { font-size: .65rem; padding: 4px 9px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
