/* Roads are Hell – website styles. Colors come from the game: sunset fire over a night city. */
:root {
  --bg: #0b0c18;
  --bg2: #12142a;
  --card: #171a33;
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef0fa;
  --dim: #a9aecb;
  --fire: #ff7a1a;
  --red: #e2262c;
  --gold: #ffd21a;
  --green: #3ccf6e;
  --radius: 18px;
  --head: "Russo One", "Nunito", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 12, 24, 0.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 400 21px var(--head); letter-spacing: 0.3px; }
.logo img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 0 0 2px rgba(255, 178, 30, 0.6); }
.links { display: flex; gap: 6px; }
.links a { color: var(--dim); text-decoration: none; font-weight: 800; padding: 8px 12px; border-radius: 10px; }
.links a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.links a.active { color: #fff; background: linear-gradient(180deg, rgba(255, 122, 26, 0.25), rgba(226, 38, 44, 0.2)); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: #fff; font-size: 22px; border-radius: 10px; padding: 4px 12px; cursor: pointer; }

/* ---------- buttons, badges ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 28px; border-radius: 14px;
  background: linear-gradient(180deg, #ffb21e, var(--fire) 55%, #e2501a);
  color: #2a1000; text-decoration: none; font-weight: 900; font-size: 18px;
  box-shadow: 0 6px 0 #9a3208, 0 14px 30px rgba(255, 122, 26, 0.35);
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #9a3208; }
.btn.ghost { background: rgba(255, 255, 255, 0.07); color: #fff; border: 2px solid rgba(255, 255, 255, 0.25); box-shadow: none; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.badge { display: inline-block; padding: 7px 16px; border-radius: 99px; background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 210, 26, 0.5); color: var(--gold); font-weight: 800; font-size: 15px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; text-align: center; padding: 70px 0 120px; min-height: 640px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("/img/hero.jpg") center 58% / cover no-repeat;
  transform: scale(1.04);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 12, 24, 0.55) 0%, rgba(11, 12, 24, 0.25) 40%, rgba(11, 12, 24, 0.75) 78%, var(--bg) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero .game-logo { width: min(560px, 92%); margin: 6px auto 8px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.6)); }
.hero p.lead { max-width: 640px; margin: 10px auto 0; font-size: 20px; font-weight: 700; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85); }
.hero h1.big { font: 400 clamp(56px, 12vw, 120px)/1 var(--head); margin: 18px 0 0; color: #fff; text-shadow: 0 6px 0 #7a1010, 0 10px 30px rgba(0, 0, 0, 0.6); }

/* ---------- stats strip ---------- */
.stats { margin-top: -60px; position: relative; z-index: 2; }
.stats .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { background: linear-gradient(180deg, #1c1f3d, #141631); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.stat b { display: block; font: 400 34px/1.1 var(--head); color: var(--gold); }
.stat span { color: var(--dim); font-weight: 800; font-size: 15px; }

/* ---------- sections ---------- */
section { padding: 70px 0; }
h2 { font: 400 clamp(30px, 5vw, 44px)/1.15 var(--head); margin: 0 0 8px; text-align: center; }
h2 .hot { background: linear-gradient(180deg, var(--gold), var(--fire)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { text-align: center; color: var(--dim); margin: 0 auto 36px; max-width: 640px; font-size: 18px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--fire), var(--gold)); }
.card .emoji { font-size: 38px; line-height: 1; margin-bottom: 12px; }
.card h3 { margin: 0 0 6px; font: 400 20px var(--head); }
.card p { margin: 0; color: var(--dim); font-size: 16px; }

/* screenshots */
.shots { display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 18px; scroll-snap-type: x mandatory; }
.shots figure { margin: 0; flex: 0 0 220px; scroll-snap-align: start; }
.shots img { width: 220px; border-radius: 22px; border: 3px solid #2a2e55; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5); }
.shots figcaption { text-align: center; color: var(--dim); font-weight: 800; margin-top: 10px; font-size: 15px; }

/* cities */
.cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.city { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.city .n { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; display: grid; place-items: center; font: 400 17px var(--head); color: #2a1a00; background: var(--gold); }
.city b { display: block; font-size: 18px; }
.city small { color: var(--dim); font-weight: 700; }
.city.special .n { background: linear-gradient(135deg, #1fe0ff, #ff3fb4); color: #fff; }
.banner-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.banner-pics img { width: 100%; height: 150px; object-fit: cover; border-radius: 14px; border: 2px solid #2a2e55; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(180deg, var(--fire), var(--red)); font: 400 22px var(--head); margin-bottom: 12px; }
.step h3 { margin: 0 0 4px; font: 400 20px var(--head); }
.step p { margin: 0; color: var(--dim); }

/* call to action */
.cta {
  text-align: center; border-radius: 26px; padding: 54px 24px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(226, 38, 44, 0.92), rgba(255, 122, 26, 0.85)), url("/img/home.jpg") center / cover;
  box-shadow: 0 20px 50px rgba(226, 38, 44, 0.25);
}
.cta h2 { color: #fff; }
.cta .sub { color: #ffe9d6; margin-bottom: 26px; }
.cta .btn { background: #fff; color: #b8200f; box-shadow: 0 6px 0 #7a1a10; }

/* ---------- documents (privacy, terms, support, delete) ---------- */
.page { padding: 48px 20px 80px; }
.doc { max-width: 820px; margin: 0 auto; background: var(--bg2); border: 1px solid var(--line); border-radius: 24px; padding: 44px 46px; }
.doc h1 { font: 400 clamp(32px, 5vw, 46px)/1.15 var(--head); margin: 0 0 6px; }
.doc .date { color: var(--dim); margin-top: 0; }
.doc h2 { text-align: left; font-size: 24px; margin: 34px 0 8px; color: var(--gold); }
.doc h3 { margin: 18px 0 6px; font-size: 19px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: rgba(255, 255, 255, 0.05); }
.table-scroll { overflow-x: auto; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin: 10px 0; padding: 0 18px; }
summary { cursor: pointer; padding: 16px 0; font-weight: 900; font-size: 18px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "▸"; display: inline-block; margin-right: 10px; color: var(--fire); transition: transform 0.15s; }
details[open] summary::before { transform: rotate(90deg); }
details p { margin: 0 0 16px; color: var(--dim); }
.note { background: rgba(255, 122, 26, 0.12); border: 1px solid rgba(255, 122, 26, 0.45); border-radius: 14px; padding: 14px 18px; margin-top: 24px; }
.mailbox { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin: 12px 0; }
.mailbox .emoji { font-size: 30px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); background: #08091200; padding: 30px 0 40px; color: var(--dim); font-size: 15px; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--dim); text-decoration: none; font-weight: 800; }
.foot-links a:hover { color: #fff; }

/* ---------- phones ---------- */
@media (max-width: 900px) {
  .grid, .steps, .cities { grid-template-columns: repeat(2, 1fr); }
  .stats .row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #0e1022; border-bottom: 1px solid var(--line); padding: 10px 16px; }
  .links.open { display: flex; }
  .hero { padding: 40px 0 100px; min-height: 560px; }
  .hero p.lead { font-size: 18px; background: rgba(11, 12, 24, 0.55); border-radius: 14px; padding: 10px 12px; }
  section { padding: 50px 0; }
  .doc { padding: 28px 20px; border-radius: 18px; }
  .page { padding: 24px 12px 60px; }
  .banner-pics { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .grid, .steps, .cities { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
}
