/* Conqueria — presentation page. The palette is the game's: deep navy, gold, war red. */
:root {
  --bg: #0b1520;
  --bg2: #0f1c2a;
  --panel: #142334;
  --panel2: #1a2c40;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e8eef4;
  --dim: #9fb0c2;
  --gold: #f2c14e;
  --gold-deep: #b8892b;
  --red: #d24b3f;
  --radius: 18px;
  --wrap: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Roboto, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
/* the hero's glow reaches past the screen edges; clip (not hidden) keeps the header sticky */
main { overflow-x: clip; }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); }
a:focus-visible, button:focus-visible, .strip:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 { line-height: 1.15; margin: 0; }
h2 {
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 900;
  letter-spacing: 0.01em;
  text-align: center;
  margin-bottom: 14px;
}

/* ---------------------------------------------------------------- header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px max(16px, calc((100vw - var(--wrap)) / 2));
  background: rgba(11, 21, 32, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.brand img { border-radius: 9px; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { color: var(--dim); text-decoration: none; font-weight: 600; font-size: 15px; }
.links a:hover { color: var(--text); }
.lang {
  font: inherit;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: transparent;
  border: 1px solid rgba(242, 193, 78, 0.5);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
}
.lang:hover { background: rgba(242, 193, 78, 0.1); }
@media (max-width: 720px) {
  .links { display: none; }
  .lang { margin-left: auto; }
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 72px 16px 56px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -80px -40vw 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 72% 40%, rgba(242, 193, 78, 0.16), transparent 70%),
    radial-gradient(45% 50% at 15% 10%, rgba(64, 120, 190, 0.18), transparent 70%),
    radial-gradient(40% 40% at 90% 95%, rgba(210, 75, 63, 0.12), transparent 70%);
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(52px, 9vw, 96px);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 0.95;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
}
.sub {
  margin: 10px 0 0;
  color: var(--gold);
  font-weight: 900;
  font-size: clamp(16px, 2.2vw, 22px);
  letter-spacing: 0.42em;
}
.tagline { margin: 26px 0 8px; font-size: clamp(19px, 2.2vw, 23px); font-weight: 700; }
.pitch { margin: 0; color: var(--dim); font-size: 17px; max-width: 34em; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.play, .ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 22px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
}
.play { background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); cursor: default; }
.play svg { width: 26px; height: 26px; fill: var(--gold); }
.play span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.play small { font-size: 11.5px; font-weight: 600; color: var(--dim); letter-spacing: 0.04em; }
.play b { font-size: 19px; letter-spacing: 0.01em; }
.ghost { color: var(--text); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.ghost:hover { border-color: rgba(242, 193, 78, 0.6); }

.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; list-style: none; color: var(--dim); font-size: 14.5px; }
.facts li::before { content: "✦"; color: var(--gold); margin-right: 8px; font-size: 11px; }

.hero-art { position: relative; min-height: 520px; }
.glow {
  position: absolute;
  inset: 8% 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 193, 78, 0.35), rgba(242, 193, 78, 0) 65%);
  filter: blur(10px);
}
.emblem {
  position: absolute;
  top: 0;
  left: 0;
  width: 74%;
  border-radius: 22%;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(242, 193, 78, 0.25);
  animation: float 7s ease-in-out infinite;
}
.phone-hero { position: absolute; right: 0; bottom: 0; width: 46%; margin: 0; transform: rotate(4deg); }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .emblem { animation: none; } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; text-align: center; gap: 28px; }
  .pitch { margin: 0 auto; }
  .cta, .facts { justify-content: center; }
  .hero-art { min-height: 0; max-width: 460px; width: 100%; margin: 0 auto; aspect-ratio: 1 / 1.05; }
  .sub { letter-spacing: 0.3em; }
}

/* ---------------------------------------------------------------- phones */
.phone {
  margin: 0;
  padding: 7px;
  border-radius: 30px;
  background: linear-gradient(160deg, #2a3a4d, #0d1621);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone img { border-radius: 23px; width: 100%; }
.phone figcaption { text-align: center; color: var(--dim); font-size: 14px; font-weight: 600; padding: 10px 4px 2px; }

/* -------------------------------------------------------------- features */
.features, .screens, .modes, .friends { max-width: var(--wrap); margin: 0 auto; padding: 64px 16px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid, .grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid, .grid.three { grid-template-columns: 1fr; } }
.card, .mode {
  padding: 24px 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
}
.card svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 14px;
}
.card h3, .mode h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.card p, .mode p { margin: 0; color: var(--dim); font-size: 15.5px; }
.mode { border-top: 3px solid var(--gold); }

/* ------------------------------------------------------------ screenshots */
.lead { text-align: center; color: var(--dim); margin: 0; }
.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 232px;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 34px 16px 18px;
  margin: 0 -16px;
  scrollbar-color: var(--gold-deep) transparent;
}
.strip .phone { scroll-snap-align: center; }
@media (max-width: 600px) { .strip { grid-auto-columns: 72%; } }

/* --------------------------------------------------------------- friends */
.friends { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.friends h2 { text-align: left; }
.friends p { color: var(--dim); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li { position: relative; padding: 7px 0 7px 32px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 16px;
  height: 9px;
  border-left: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  transform: rotate(-45deg);
}
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pair .phone:last-child { transform: translateY(36px); }
@media (max-width: 900px) {
  .friends { grid-template-columns: 1fr; }
  .friends h2 { text-align: center; }
  .pair { max-width: 480px; margin: 0 auto; width: 100%; }
}

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); background: var(--bg2); margin-top: 40px; }
.foot-in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 30px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 36px;
}
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { border-radius: 11px; }
.foot-brand b { display: block; }
.foot-brand span { color: var(--dim); font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.foot-links a { color: var(--dim); text-decoration: none; font-size: 14.5px; }
.foot-links a:hover { color: var(--gold); }
.copy { width: 100%; margin: 0; color: #6f8193; font-size: 13px; }
