* { box-sizing: border-box; }

:root {
  --bg: #0d0f14;
  --bg2: #12151c;
  --panel: #171b24;
  --line: #262c39;
  --text: #e9ecf3;
  --muted: #9aa3b5;
  --orange: #f7a23b;
  --orange-deep: #e07b1f;
  --blue: #56a8ff;
  --green: #8fd14f;
  --radius: 14px;
  font-size: 16px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'SN Pro', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'JetBrains Mono', Menlo, monospace;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a { color: inherit; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  background: rgba(13, 15, 20, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  background: var(--orange);
  color: #17130b;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  font-size: 1.05rem;
}

.nav__logo b { color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.35); }

.nav__links {
  margin-left: auto;
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  font-size: 0.92rem;
}

.nav__links a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav__links a:hover { color: var(--text); border-color: var(--orange); }

.nav__burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 0.3rem 0.6rem;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.25rem 5rem;
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 50% -10%, rgba(247, 162, 59, 0.16), transparent 65%),
    linear-gradient(180deg, #10131a, var(--bg));
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(86, 168, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 168, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
}

.hero__crosshair {
  position: absolute;
  width: min(760px, 120vw);
  aspect-ratio: 1;
  fill: none;
  stroke: rgba(247, 162, 59, 0.35);
  stroke-width: 1.4;
  animation: spin 60s linear infinite;
  pointer-events: none;
}

.hero__dot { fill: var(--orange); stroke: none; }

@keyframes spin { to { transform: rotate(360deg); } }

.hero__inner { position: relative; max-width: 780px; }

.tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--orange);
  border: 1px solid rgba(247, 162, 59, 0.45);
  background: rgba(247, 162, 59, 0.08);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
}

.hero__title {
  margin: 1.1rem 0 0;
  font-size: clamp(2.4rem, 8vw, 5rem);
  font-weight: 600;
  text-transform: uppercase;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.6);
}

.hero__title .accent {
  color: var(--orange);
  display: inline-block;
  margin-left: 0.15em;
}

.hero__lead {
  margin: 1rem auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(0.95rem, 2.2vw, 1.08rem);
}

.hero__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover { transform: translateY(-2px); border-color: var(--orange); }

.btn--primary {
  background: linear-gradient(180deg, var(--orange), var(--orange-deep));
  border-color: transparent;
  color: #1a1206;
  font-weight: 600;
}

.btn--ghost { background: transparent; }

.hero__stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2.75rem);
  margin: 2.75rem 0 0;
  padding: 0;
}

.hero__stats b {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--orange);
}

.hero__stats span { font-size: 0.78rem; color: var(--muted); }

.feed {
  margin: 2rem auto 0;
  max-width: 460px;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  text-align: left;
}

.feed__row {
  background: rgba(23, 27, 36, 0.85);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 8px;
  padding: 0.3rem 0.6rem;
  animation: feedIn 0.35s ease;
}

.feed__row b { color: var(--blue); }
.feed__row i { color: var(--orange); font-style: normal; }

@keyframes feedIn {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: none; }
}

.hero__scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  text-decoration: none;
  animation: bounce 1.6s ease-in-out infinite;
}

@keyframes bounce { 50% { transform: translate(-50%, 8px); } }

/* ---------- sections ---------- */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 5vw, 4rem);
  max-width: 1160px;
  margin: 0 auto;
}

.section--alt { max-width: none; background: var(--bg2); }
.section--alt > * { max-width: 1160px; margin-left: auto; margin-right: auto; }

.section__head { margin-bottom: 2.5rem; }

.kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}

.section h2 {
  margin: 0.4rem 0 0;
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
}

.section__lead { color: var(--muted); max-width: 720px; }
.section__lead b { color: var(--text); }

/* ---------- cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover { transform: translateY(-5px); border-color: var(--orange); }

.card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.card__icon--orange { background: rgba(247,162,59,.15); color: var(--orange); border: 1px solid rgba(247,162,59,.4); }
.card__icon--blue { background: rgba(86,168,255,.14); color: var(--blue); border: 1px solid rgba(86,168,255,.4); }
.card__icon--smoke { background: rgba(255,255,255,.07); color: #d5d9e2; border: 1px solid var(--line); font-size: 1.5rem; }

.card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- timeline ---------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  padding: 0 0 2.25rem 1.75rem;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg2);
  border: 3px solid var(--blue);
}

.timeline__item--hot::before { border-color: var(--orange); box-shadow: 0 0 14px rgba(247,162,59,.7); }

.timeline__year {
  font-family: 'JetBrains Mono', monospace;
  color: var(--orange);
  font-weight: 600;
}

.timeline h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.timeline p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---------- modes ---------- */
.modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.mode {
  background: linear-gradient(160deg, var(--panel), #14171f);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  position: relative;
  overflow: hidden;
}

.mode::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--orange), transparent);
}

.mode h3 { margin: 0 0 0.5rem; font-size: 1rem; color: var(--orange); text-transform: uppercase; }
.mode p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* ---------- maps ---------- */
.maps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.map {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.map:hover { transform: translateY(-5px); border-color: var(--orange); }

.map__art {
  position: relative;
  background: var(--sky);
  height: 150px;
}

.map__art svg { position: absolute; bottom: 0; width: 100%; height: 90%; display: block; }

.map__body { padding: 1.1rem 1.25rem 1.35rem; }
.map__body h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.map__body p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* ---------- arsenal ---------- */
.guns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}

.gun {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.gun--ct { border-left-color: var(--blue); }
.gun--awp { border-left-color: var(--green); }
.gun--pistol { border-left-color: #c78bff; }

.gun__top { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.gun h3 { margin: 0; font-size: 1.1rem; }
.gun__top span { font-family: 'JetBrains Mono', monospace; color: var(--orange); font-size: 0.88rem; }
.gun p { color: var(--muted); font-size: 0.88rem; margin: 0.6rem 0 0.9rem; }

.bar {
  height: 8px;
  background: #0e1117;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  width: var(--v);
  background: linear-gradient(90deg, var(--orange-deep), var(--orange));
}

.bar__label { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }

.fact {
  margin-top: 2rem;
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius);
  background: rgba(143, 209, 79, 0.08);
  border: 1px solid rgba(143, 209, 79, 0.35);
  color: #d7e9c5;
  font-size: 0.95rem;
}

.fact b { color: var(--green); }

/* ---------- smoke demo ---------- */
.smoke-demo {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 360px);
  gap: 1.5rem;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.smoke-demo__scene {
  position: relative;
  height: 230px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(#2b3242 0 55%, #4a3b2a 55% 100%);
}

.smoke-demo__wall {
  position: absolute;
  left: 8%;
  bottom: 0;
  width: 26%;
  height: 70%;
  background: repeating-linear-gradient(#5a4a38 0 22px, #4e3f2f 22px 44px);
  box-shadow: 8px 0 0 rgba(0,0,0,.25);
}

.smoke-demo__cloud {
  position: absolute;
  left: 34%;
  bottom: 6%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, #f2f4f7 0 18%, transparent 55%),
    radial-gradient(circle at 70% 40%, #dfe3ea 0 20%, transparent 58%),
    radial-gradient(circle at 50% 70%, #cfd5df 0 22%, transparent 60%),
    radial-gradient(circle at 50% 50%, #e8ebf1 0 60%, transparent 75%);
  filter: blur(2px);
  transition: opacity 0.8s, transform 1s;
}

.smoke-demo__cloud.is-blown {
  opacity: 0;
  transform: scale(2.4) translateY(-40px);
}

.smoke-demo__cloud.is-burnt {
  opacity: 0.18;
  transform: scale(1.35);
  background:
    radial-gradient(circle at 50% 50%, rgba(255,170,60,.55) 0 55%, transparent 75%);
}

.smoke-demo__hint {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #eef1f6;
  background: rgba(0, 0, 0, 0.55);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}

.smoke-demo__controls { display: flex; flex-direction: column; gap: 0.65rem; }
.smoke-demo__controls p { color: var(--muted); font-size: 0.88rem; margin: 0.35rem 0 0; }

/* ---------- comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

.cmp { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 560px; }

.cmp th, .cmp td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }

.cmp thead th {
  background: #141821;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.cmp td:first-child { color: var(--text); font-weight: 700; }
.cmp td { color: var(--muted); }
.cmp tbody tr:hover { background: rgba(255,255,255,0.03); }
.cmp__cs2 { color: var(--orange) !important; background: rgba(247, 162, 59, 0.06); }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem clamp(1.25rem, 5vw, 4rem);
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer__logo {
  display: inline-flex;
  gap: 2px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  background: var(--orange);
  color: #17130b;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  margin-bottom: 0.9rem;
}

.footer__logo b { color: #fff; }
.footer p { margin: 0.3rem 0; }
.footer__meta { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 780px) {
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: rgba(13, 15, 20, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }

  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
  .nav__burger { display: block; }
  .timeline__item { grid-template-columns: 1fr; gap: 0.25rem; }
  .smoke-demo { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
