:root {
  --night: #0c1640;
  --night-2: #142158;
  --ink: #29212a;
  --gold: #ffc21f;
  --gold-deep: #f08a00;
  --grass: #5fd03c;
  --paper: #f6f1e4;
  --text: #e8ecfb;
  --muted: #a9b3d6;
  --card: #1b2a6b;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--gold); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* ---------- top bar ---------- */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; }
.brand img { width: 40px; height: 40px; border-radius: 10px; border: 3px solid var(--ink); }
.bar nav { display: flex; gap: 18px; flex-wrap: wrap; }
.bar nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.bar nav a:hover { color: var(--gold); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  border: 4px solid var(--ink);
  border-radius: 26px;
  overflow: hidden;
  background: #0f1c55 url("img/feature.png") center / cover no-repeat;
  min-height: min(52vw, 520px);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.35);
}
.hero-foot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}
.hero-foot img { width: 104px; height: 104px; border-radius: 24px; border: 4px solid var(--ink); box-shadow: 0 6px 0 rgba(0, 0, 0, 0.35); }
.hero-foot h1 { margin: 0; font-size: clamp(30px, 5vw, 48px); line-height: 1.1; font-weight: 900; color: var(--gold); text-shadow: 0 3px 0 var(--gold-deep), 0 6px 0 rgba(0, 0, 0, 0.35); }
.hero-foot p { margin: 6px 0 0; color: var(--muted); }
.cta {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 16px;
  border: 4px solid var(--ink);
  border-bottom-width: 9px;
  background: var(--grass);
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  text-decoration: none;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}
.cta.soon { background: #59607a; cursor: default; }

/* ---------- sections ---------- */
section { margin: 56px 0; }
h2 { font-size: 28px; font-weight: 900; margin: 0 0 18px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.feature {
  background: var(--card);
  border: 4px solid var(--ink);
  border-bottom-width: 8px;
  border-radius: var(--radius);
  padding: 18px;
}
.feature h3 { margin: 0 0 6px; color: var(--gold); font-size: 19px; }
.feature p { margin: 0; color: var(--text); font-size: 16px; }

.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 560px);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
}
.shots img {
  width: 100%;
  height: auto;
  display: block;
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  scroll-snap-align: start;
}

/* ---------- legal pages ---------- */
.doc {
  background: var(--paper);
  color: #2a2430;
  border: 4px solid var(--ink);
  border-radius: 22px;
  padding: clamp(18px, 4vw, 44px);
  margin: 18px 0 56px;
}
.doc h1 { margin-top: 0; font-size: clamp(28px, 5vw, 40px); line-height: 1.15; }
.doc h2 { font-size: 21px; margin: 30px 0 8px; }
.doc a { color: #1b4fd1; }
.doc .meta { color: #6b6672; font-size: 15px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }

footer {
  border-top: 2px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0 40px;
  color: var(--muted);
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
footer a { color: var(--muted); margin-left: 16px; }
footer a:first-child { margin-left: 0; }

@media (max-width: 640px) {
  .hero-foot { grid-template-columns: auto 1fr; }
  .hero-foot .cta { grid-column: 1 / -1; text-align: center; }
  .hero-foot img { width: 76px; height: 76px; border-radius: 18px; }
}
