* { box-sizing: border-box; }

:root {
  --bg: #0d0f12;
  --bg2: #14171c;
  --bg3: #1b2027;
  --line: #2a313a;
  --text: #e9ecf1;
  --muted: #9aa4b2;
  --gold: #f5a623;
  --gold2: #ffd166;
  --green: #7ed957;
  --red: #ff5c5c;
  --head: 'Russo One', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.15; }
a { color: inherit; }
img, svg { max-width: 100%; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 780px; }
.accent { color: var(--gold); }

/* ---------- Topbar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 22px;
  background: rgba(13, 15, 18, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: transform .3s;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__badge {
  font-family: var(--head); font-size: 14px; letter-spacing: 1px;
  background: linear-gradient(135deg, var(--gold), #e07b00);
  color: #14171c; padding: 5px 9px; border-radius: 5px;
}
.logo__text { font-family: var(--head); font-size: 14px; color: var(--muted); letter-spacing: 3px; }
.nav { display: flex; gap: 20px; }
.nav a {
  text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted);
  padding: 4px 2px; border-bottom: 2px solid transparent; transition: .2s;
}
.nav a:hover { color: var(--gold); border-color: var(--gold); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .25s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 110px 20px 70px; overflow: hidden;
}
.hero__sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% -10%, rgba(245, 166, 35, .28), transparent 55%),
    radial-gradient(ellipse at 15% 110%, rgba(126, 217, 87, .12), transparent 50%),
    linear-gradient(180deg, #10161f 0%, var(--bg) 78%);
}
.hero__sky::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 46px 46px; opacity: .35;
}
.hero__plane {
  position: absolute; top: 14%; left: -140px; opacity: .55;
  animation: fly 26s linear infinite;
}
@keyframes fly { to { transform: translateX(calc(100vw + 260px)); } }
.hero__chute { position: absolute; top: 18%; right: 12%; animation: sway 7s ease-in-out infinite; filter: drop-shadow(0 8px 14px rgba(0,0,0,.5)); }
@keyframes sway {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(46px) rotate(4deg); }
}
.hero__content { position: relative; z-index: 2; max-width: 760px; }
.hero__kicker {
  display: inline-block; margin: 0 0 14px; padding: 6px 14px;
  font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold2); border: 1px solid rgba(245, 166, 35, .5); border-radius: 999px;
}
.hero__title { margin: 0; font-size: clamp(52px, 12vw, 118px); letter-spacing: 2px; text-shadow: 0 6px 30px rgba(0,0,0,.6); }
.hero__lead { margin: 18px auto 0; max-width: 560px; color: var(--muted); font-size: clamp(15px, 2.4vw, 18px); }
.hero__lead b { color: var(--gold); }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.btn {
  display: inline-block; text-decoration: none; font-family: var(--head); font-size: 15px;
  padding: 14px 30px; border-radius: 8px; border: 2px solid transparent; transition: .2s;
}
.btn--gold { background: linear-gradient(135deg, var(--gold), #e07b00); color: #14171c; }
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(245, 166, 35, .35); }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.hero__facts {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 34px; margin: 44px 0 0; padding: 0;
}
.hero__facts b { display: block; font-family: var(--head); font-size: 30px; color: var(--gold); }
.hero__facts span { font-size: 12px; color: var(--muted); letter-spacing: .5px; }
.hero__scroll { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--gold); animation: bounce 1.6s infinite; opacity: .8; }
@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Sections ---------- */
.section { padding: 78px 0; scroll-margin-top: 74px; }
.hero { scroll-margin-top: 0; }
.section--alt { background: var(--bg2); border-block: 1px solid var(--line); }
.section__title { margin: 0 0 10px; font-size: clamp(28px, 5vw, 42px); text-align: center; }
.section__title::after {
  content: ''; display: block; width: 64px; height: 4px; margin: 14px auto 0;
  background: linear-gradient(90deg, var(--gold), transparent); border-radius: 4px;
}
.section__sub { max-width: 640px; margin: 0 auto 34px; text-align: center; color: var(--muted); font-size: 15px; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--bg3); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 22px; transition: .25s;
}
.card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 14px 30px rgba(0,0,0,.4); }
.card__icon { font-size: 34px; margin-bottom: 12px; }
.card h3 { margin: 0 0 8px; font-size: 19px; color: var(--gold2); }
.card p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Tabs / panel ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 24px; }
.tab {
  font-family: var(--head); font-size: 14px; color: var(--muted); cursor: pointer;
  background: var(--bg3); border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; transition: .2s;
}
.tab:hover { color: var(--text); border-color: var(--gold); }
.tab.is-active { background: var(--gold); border-color: var(--gold); color: #14171c; }
.panel {
  background: linear-gradient(135deg, rgba(245, 166, 35, .07), transparent 60%), var(--bg3);
  border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 14px; padding: 30px clamp(20px, 4vw, 40px); min-height: 210px;
}
.panel__title { margin: 0 0 10px; font-size: 24px; color: var(--gold2); }
.panel__text { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.panel__list { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; }
.panel__list li::marker { color: var(--gold); }
.fade-in { animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Maps ---------- */
.maps { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: start; }
.maps__grid { display: grid; gap: 10px; }
.mapchip {
  text-align: left; font-family: var(--head); font-size: 16px; letter-spacing: 1px;
  color: var(--muted); cursor: pointer; padding: 15px 18px;
  background: var(--bg3); border: 1px solid var(--line); border-radius: 10px; transition: .2s;
}
.mapchip:hover { border-color: var(--gold); color: var(--text); transform: translateX(5px); }
.mapchip.is-active { background: linear-gradient(90deg, rgba(245,166,35,.18), transparent); border-color: var(--gold); color: var(--gold2); }
.maps__info {
  background: var(--bg3); border: 1px solid var(--line); border-radius: 14px; padding: 30px;
  position: relative; overflow: hidden;
}
.maps__info::before {
  content: ''; position: absolute; top: -60px; right: -60px; width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(245,166,35,.25), transparent 70%);
}
.maps__badge {
  display: inline-block; font-family: var(--head); font-size: 13px;
  background: var(--gold); color: #14171c; border-radius: 6px; padding: 4px 10px; margin-bottom: 12px;
}
.maps__info h3 { margin: 0 0 10px; font-size: 28px; }
.maps__info p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.maps__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.maps__tags span {
  font-size: 12px; font-weight: 700; color: var(--green);
  border: 1px solid rgba(126, 217, 87, .4); border-radius: 999px; padding: 4px 12px;
}

/* ---------- Guns ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 28px; }
.chip {
  font-family: var(--head); font-size: 13px; cursor: pointer; color: var(--muted);
  background: none; border: 1px solid var(--line); border-radius: 999px; padding: 9px 20px; transition: .2s;
}
.chip:hover { color: var(--text); border-color: var(--gold); }
.chip.is-active { background: var(--gold); border-color: var(--gold); color: #14171c; }
.guns { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gun {
  background: var(--bg3); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px; transition: .25s;
}
.gun:hover { border-color: var(--gold); transform: translateY(-4px); }
.gun__top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.gun__name { font-family: var(--head); font-size: 20px; color: var(--gold2); }
.gun__type { font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.gun__ammo { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.stat { display: grid; grid-template-columns: 74px 1fr 34px; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 7px; }
.stat__label { color: var(--muted); }
.stat__bar { height: 7px; background: #10131a; border-radius: 99px; overflow: hidden; }
.stat__fill { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold), var(--gold2)); width: 0; transition: width .8s cubic-bezier(.2, .8, .3, 1); }
.stat__val { text-align: right; color: var(--text); font-weight: 700; }
.gun.is-hidden { display: none; }

/* ---------- Accordion ---------- */
.acc { display: grid; gap: 12px; }
.acc__item {
  background: var(--bg3); border: 1px solid var(--line); border-radius: 12px;
  padding: 0 20px; overflow: hidden; transition: border-color .2s;
}
.acc__item[open] { border-color: var(--gold); }
.acc__item summary {
  cursor: pointer; list-style: none; padding: 17px 30px 17px 0;
  font-family: var(--head); font-size: 16px; position: relative;
}
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 22px; transition: transform .2s;
}
.acc__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acc__item p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; }

/* ---------- Footer / to-top ---------- */
.footer { background: var(--bg2); border-top: 1px solid var(--line); padding: 40px 0; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.footer p { margin: 10px 0 0; max-width: 440px; font-size: 13px; color: var(--muted); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer__nav a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer__nav a:hover { color: var(--gold); }
.totop {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: var(--gold); color: #14171c; border: 0; font-size: 16px;
  opacity: 0; pointer-events: none; transform: translateY(12px); transition: .3s;
}
.totop.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .maps { grid-template-columns: 1fr; }
  .burger { display: block; }
  .nav {
    position: fixed; top: 62px; right: 0; left: 0;
    flex-direction: column; gap: 0;
    background: rgba(13, 15, 18, .97); border-bottom: 1px solid var(--line);
    padding: 10px 22px 18px;
    clip-path: inset(0 0 100% 0); transition: clip-path .3s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .hero__chute { right: 4%; transform: scale(.75); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
