/* ============================================================
   DESIGN TOKENS (mirror the app's GameColors / store brand.css)
   ============================================================ */
:root {
  --ink: #07090D;
  --gunmetal: #11151C;
  --gunmetal-hi: #1B212B;
  --line: rgba(255, 255, 255, 0.08);
  --hazard: #FFC21A;
  --hazard-deep: #FF8A00;
  --reticle: #39FF6E;
  --lock: #FF2B3D;
  --blue: #3FA9FF;
  --violet: #A78BFA;
  --text: #F4F6FA;
  --text-dim: #9AA4B4;
  --text-faint: #6B7586;
  --font-body: 'Roboto', system-ui, sans-serif;
  --font-label: 'Roboto Condensed', 'Roboto', sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --gutter: 48px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

strong { color: var(--text); font-weight: 700; }

/* ============================================================
   BRAND PRIMITIVES
   ============================================================ */
.display {
  font-family: var(--font-body);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  -webkit-text-stroke: 0.08em #000;
  paint-order: stroke fill;
}

.label {
  font-family: var(--font-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hl { color: var(--hazard); }

.scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px);
}

.tape {
  height: 14px;
  background: repeating-linear-gradient(-55deg, var(--ink) 0 12px, var(--hazard) 12px 28px);
}

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  padding: 6px 16px;
  border-radius: 999px;
  color: var(--hazard);
  background: rgba(255, 194, 26, 0.12);
  margin-bottom: 18px;
}
.kicker-blue { color: var(--blue); background: rgba(63, 169, 255, 0.14); }

.fine {
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border-radius: 16px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}

.btn-stack { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.btn-small { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.02em; opacity: 0.8; }
.btn-big { font-size: 1.15rem; font-weight: 900; font-style: italic; text-transform: uppercase; }

.btn-apk {
  padding: 14px 28px 14px 22px;
  color: #120A00;
  background: linear-gradient(180deg, var(--hazard), var(--hazard-deep));
  box-shadow: 0 0 0 3px rgba(255, 194, 26, 0.25), 0 10px 32px rgba(255, 138, 0, 0.35);
}
.btn-apk .btn-big { font-size: 1.4rem; }
.btn-apk:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px rgba(255, 194, 26, 0.4), 0 14px 40px rgba(255, 138, 0, 0.5);
}
.btn-apk:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  border-radius: 14px;
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  cursor: not-allowed;
  user-select: none;
}
.store-btn .btn-big { font-size: 0.95rem; color: var(--text-dim); }

.btn-nav {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  color: #120A00;
  background: var(--hazard);
}
.btn-nav:hover { background: #FFD24D; }

.get-app { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.get-app-center { align-items: center; }
.store-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--gutter);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 9, 13, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-icon { width: 36px; height: 36px; border-radius: 9px; }
.brand-name {
  font-weight: 900;
  font-style: italic;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.nav-links { list-style: none; display: flex; gap: 32px; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--text); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px var(--gutter) 56px;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 60% at 75% 55%, rgba(255, 138, 0, 0.22), transparent 70%),
    radial-gradient(ellipse 40% 45% at 15% 20%, rgba(255, 43, 61, 0.12), transparent 70%);
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero-copy { flex: 1; max-width: 660px; }

.hero-title {
  font-size: clamp(3.2rem, 6.4vw, 5.4rem);
  margin-bottom: 24px;
}

.hero-sub {
  color: var(--text-dim);
  font-size: 1.12rem;
  max-width: 480px;
  margin-bottom: 32px;
}

/* Phones */
.phone {
  padding: 8px;
  border-radius: 34px;
  background: linear-gradient(#2A3240, var(--gunmetal));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}
.phone img { width: 100%; aspect-ratio: 9 / 20; object-fit: cover; border-radius: 27px; background: #000; }

.phone-sm { width: 220px; border-radius: 30px; padding: 7px; }
.phone-sm img { border-radius: 24px; }
.phone-lg { width: 290px; }

.hero-phones {
  position: relative;
  flex-shrink: 0;
  width: 440px;
  height: 620px;
}
.hero-phones .phone { position: absolute; width: 268px; }
.phone-front {
  right: 0;
  bottom: 0;
  z-index: 2;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), inset 0 0 0 2px rgba(255, 255, 255, 0.08),
    0 0 120px rgba(255, 138, 0, 0.3);
}
.phone-back {
  left: 0;
  top: 0;
  opacity: 0.55;
  transform: rotate(-7deg) scale(0.88);
  transform-origin: top left;
}

.chips {
  position: relative;
  list-style: none;
  max-width: 1200px;
  margin: 48px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  font-size: 0.82rem;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1.5px solid currentColor;
}
.chip-hazard { color: var(--hazard); }
.chip-lock { color: var(--lock); }
.chip-reticle { color: var(--reticle); }
.chip-blue { color: var(--blue); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 112px var(--gutter);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-dim);
  font-size: 1.06rem;
  line-height: 1.65;
}

/* Steps */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  position: relative;
  background: var(--gunmetal);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px 28px 30px;
  text-align: center;
}
.step-shot { margin: 0 auto 24px; width: 180px; }
.step-num {
  display: block;
  font-size: 2.6rem;
  color: var(--hazard);
  margin-bottom: 6px;
}
.step h3 {
  font-size: 1.25rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.step p { color: var(--text-dim); font-size: 0.95rem; }

/* Split layouts */
.split-wrap {
  background: var(--gunmetal);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 104px var(--gutter);
}
.split {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
}
.split-media { flex-shrink: 0; }
.split-copy { flex: 1; }
.split-copy .section-sub { margin-bottom: 28px; }

.glow-blue {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), inset 0 0 0 2px rgba(255, 255, 255, 0.08),
    0 0 120px rgba(63, 169, 255, 0.28);
}

.ticks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--text-dim);
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 14px;
  height: 14px;
  /* crosshair tick */
  background:
    linear-gradient(var(--reticle), var(--reticle)) center / 2px 100% no-repeat,
    linear-gradient(var(--reticle), var(--reticle)) center / 100% 2px no-repeat;
}

/* Arsenal classes */
.classes { display: flex; flex-direction: column; gap: 12px; }
.class-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--gunmetal);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
.tag {
  flex-shrink: 0;
  min-width: 104px;
  text-align: center;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
}
.tag-sniper { background: rgba(63, 169, 255, 0.16); color: var(--blue); }
.tag-assault { background: rgba(255, 138, 0, 0.16); color: var(--hazard-deep); }
.tag-battle { background: rgba(167, 139, 250, 0.16); color: var(--violet); }
.tag-bullpup { background: rgba(57, 255, 110, 0.12); color: var(--reticle); }
.class-guns { font-weight: 700; font-size: 0.98rem; }

/* Privacy */
.privacy-wrap { padding: 0 var(--gutter) 104px; }
.privacy {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(57, 255, 110, 0.07), transparent 60%), var(--gunmetal);
  border: 1px solid rgba(57, 255, 110, 0.2);
  border-radius: 22px;
  padding: 28px 30px;
}
.privacy-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--reticle);
  background: rgba(57, 255, 110, 0.1);
}
.privacy-title {
  font-size: 1.3rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.privacy p { color: var(--text-dim); }

/* Screens strip */
.section-screens { max-width: none; padding-left: 0; padding-right: 0; }
.screens {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px max(var(--gutter), calc((100vw - 1200px) / 2)) 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--gunmetal-hi) transparent;
}
.screens:focus-visible { outline: 2px solid var(--hazard); outline-offset: -2px; }
.screen { flex-shrink: 0; scroll-snap-align: center; text-align: center; }
.screen figcaption {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* ============================================================
   DOWNLOAD
   ============================================================ */
.download {
  position: relative;
  overflow: hidden;
  padding: 112px var(--gutter);
  text-align: center;
}
.download .hero-glow {
  background:
    radial-gradient(ellipse 60% 70% at 50% 40%, rgba(255, 138, 0, 0.2), transparent 70%),
    radial-gradient(ellipse 35% 40% at 10% 90%, rgba(255, 43, 61, 0.12), transparent 70%);
}
.download-inner { position: relative; max-width: 720px; margin: 0 auto; }
.download-title { font-size: clamp(3rem, 8vw, 5.5rem); margin-bottom: 18px; }
.download .section-sub { margin-bottom: 36px; }

.install {
  margin: 48px auto 0;
  max-width: 560px;
  text-align: left;
  background: rgba(17, 21, 28, 0.85);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 28px;
}
.install-title { font-size: 0.9rem; color: var(--hazard); margin-bottom: 12px; }
.install-steps {
  counter-reset: s;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.install-steps li {
  counter-increment: s;
  position: relative;
  padding-left: 36px;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.install-steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 900;
  color: #120A00;
  background: var(--hazard);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gunmetal);
  border-top: 1px solid var(--line);
  padding: 36px var(--gutter);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.footer .brand-icon { width: 28px; height: 28px; border-radius: 7px; }
.footer .brand-name { font-size: 1rem; }
.footer-note { font-size: 0.82rem; color: var(--text-faint); max-width: 560px; }
.footer-copy { font-size: 0.82rem; color: var(--text-faint); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --gutter: 32px; }
  .hero-phones { width: 360px; height: 520px; }
  .hero-phones .phone { width: 224px; }
  .split { gap: 48px; }
  .phone-lg { width: 250px; }
  .steps { gap: 16px; }
  .step { padding: 24px 18px; }
  .step-shot { width: 150px; }
}

@media (max-width: 820px) {
  :root { --gutter: 16px; }

  .nav-links { display: none; }

  .hero { padding-top: 96px; }
  .hero-inner { flex-direction: column; align-items: stretch; gap: 40px; }
  .hero-copy { max-width: none; }
  .hero-phones { align-self: center; width: 300px; height: 470px; }
  .hero-phones .phone { width: 208px; }

  .chips { margin-top: 36px; justify-content: center; }

  .section { padding-top: 72px; padding-bottom: 72px; }
  .section-head { margin-bottom: 40px; }

  .steps { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }

  .split-wrap { padding-top: 72px; padding-bottom: 72px; }
  .split, .split-rev { flex-direction: column; gap: 40px; }
  .split-rev .split-media { order: -1; }
  .split-media { align-self: center; }
  .phone-lg { width: 240px; }

  .class-row { flex-direction: column; align-items: flex-start; gap: 8px; }

  .privacy-wrap { padding-bottom: 72px; }
  .privacy { flex-direction: column; padding: 24px 20px; }

  .screens { gap: 16px; }
  .screen .phone-sm { width: 180px; }

  .download { padding-top: 80px; padding-bottom: 80px; }
  .install { padding: 20px; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 14px; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 1.05rem; }
  .btn-nav { padding: 8px 14px; }
  .get-app { align-items: stretch; }
  .btn-apk { justify-content: center; }
  .store-row { display: grid; grid-template-columns: 1fr 1fr; }
  .store-btn { justify-content: center; padding: 10px 8px; }
}
