/* Duel MMO: the game's own colours (the menu's navy, the HUD's cyan line) and its UI font, Exo 2. */
@font-face {
  font-family: "Exo 2";
  src: url("fonts/Exo2-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #07111f;
  --navy-2: #0b1a2d;
  --line: #2fc7f0;
  --line-dim: rgba(47, 199, 240, 0.35);
  --text: #d9e3ee;
  --muted: #8ea2b8;
  --gold: #e2b55a;
  --width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font: 400 17px/1.6 "Exo 2", "Segoe UI", sans-serif;
}

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

h2 {
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
  color: #fff;
}
h2::after {                 /* the short cyan rule under a window title in the game */
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 8px;
  background: var(--line);
}

/* ---- top bar */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px max(20px, calc((100% - var(--width)) / 2));
  background: rgba(7, 17, 31, 0.94);
  border-bottom: 1px solid var(--line-dim);
}
.brand {                 /* the logo of the hero, small (the user, 2026-11-25) */
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand img {
  display: block;
  height: 46px;
  width: auto;
}
.top nav a {
  margin-left: 22px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.top nav a:hover { color: #fff; }
.top nav a.dl {
  color: var(--navy);
  background: var(--line);
  padding: 6px 14px;
  border-radius: 3px;
  font-weight: 600;
}

/* ---- hero: one real screenshot, the logo on its darker corner */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-dim);
}
.hero-shot {               /* the picture's own 16:9 where the window allows: the tower's crown and the jets both stay in */
  display: block;
  width: 100%;
  height: min(calc(100vh - 66px), 56.25vw);
  min-height: 420px;
  object-fit: cover;
  object-position: 50% 40%;
}
.hero-text {              /* in the sky left of the tower: the plaza and both jets stay clear */
  position: absolute;
  left: 3vw;
  top: 7%;
  max-width: 520px;
  padding: 22px 24px 20px;
  background: rgba(7, 17, 31, 0.82);
  border-left: 3px solid var(--line);
}
.hero-text .logo { width: 100%; max-width: 380px; display: block; margin: 0 0 6px -6px; }
.hero-text p { margin: 0 0 18px; }

.button {
  display: inline-block;
  padding: 11px 22px;
  background: var(--line);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border-radius: 3px;
}
.button:hover { background: #7fe0ff; }
.version { display: inline-block; margin-left: 14px; color: var(--muted); font-size: 0.9rem; }

/* ---- the sections */
main { max-width: var(--width); margin: 0 auto; padding: 0 20px; }

.row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.row.flip .words { order: 2; }
.row p { color: var(--text); margin: 0 0 1em; }
figure { margin: 0; }
figure img {
  display: block;
  width: 100%;
  border: 1px solid var(--line-dim);
}
figcaption { margin-top: 8px; color: var(--muted); font-size: 0.85rem; font-style: italic; }

.shots { padding: 64px 0; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line-dim);
  transition: border-color 0.15s;
}
.grid a:hover img { border-color: var(--line); }

.download {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  margin: 10px 0 64px;
  padding: 30px 32px;
  background: var(--navy-2);
  border: 1px solid var(--line-dim);
}
.download p { margin: 0 0 0.8em; color: var(--muted); }
.download .box { text-align: center; }
.download .box .version { display: block; margin: 10px 0 0; }

.faq { padding-bottom: 60px; }
details {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
}
details:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
summary { cursor: pointer; font-weight: 600; color: #fff; }
summary::marker { color: var(--line); }
details p { margin: 10px 0 0; color: var(--muted); }

footer {
  padding: 26px 20px 34px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--line-dim);
}

@media (max-width: 820px) {
  .top nav a:not(.dl) { display: none; }
  .hero-text { right: 16px; left: 16px; top: auto; bottom: 16px; max-width: none; }
  .row { grid-template-columns: 1fr; gap: 22px; padding: 44px 0; }
  .row.flip .words { order: 0; }
  .grid { grid-template-columns: 1fr 1fr; }
  .download { grid-template-columns: 1fr; }
}
