@font-face {
  font-family: 'Vogue';
  src: url('assets/VogueBold.ttf') format('truetype');
  font-display: swap;
}

:root {
  --deep: #071b52;
  --blue: #0b2a78;
  --panel: #153a8f;
  --edge: #5aa2e6;
  --outline: #235bad;
  --ink: #1f3b6e;
  --ink-soft: #4a6a9a;
  --gold: #ffc83d;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { background: var(--deep); }

body {
  margin: 0;
  color: var(--white);
  font-family: 'Vogue', 'Arial Rounded MT Bold', system-ui, sans-serif;
  background: linear-gradient(180deg, var(--blue) 0%, var(--deep) 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

/* The game's lettering: white with a heavy blue outline. */
.lettering {
  color: var(--white);
  -webkit-text-stroke: 0.06em var(--outline);
  paint-order: stroke fill;
  text-shadow: 0 0.06em 0 rgba(4, 18, 60, 0.55);
  letter-spacing: 0.01em;
}

.wrap { width: min(1080px, 100% - 32px); margin: 0 auto; }

/* Hero: the title-screen art. */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  background: var(--blue) url('assets/title-bg.jpg') center top / cover no-repeat;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 27, 82, 0.55) 0%, rgba(7, 27, 82, 0) 22%),
    linear-gradient(180deg, rgba(7, 27, 82, 0) 55%, rgba(7, 27, 82, 0.9) 88%, var(--deep) 100%);
}
/* As on the title screen: the logo in the sky, the call to action on the podium. */
.hero .wrap {
  position: relative;
  z-index: 1;
  min-height: min(96vh, 980px);
  padding: 36px 0 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.hero h1 { margin: 0; }
.hero h1 img { width: min(520px, 86%); height: auto; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45)); }
.tagline { font-size: clamp(20px, 3.4vw, 30px); margin: 18px auto 26px; max-width: 760px; line-height: 1.25; }

.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #3fe0ff 0%, #12b3e6 100%);
  border: 3px solid var(--white);
  box-shadow: 0 6px 0 #0a7fb0, 0 12px 24px rgba(0, 0, 0, 0.35);
  font-size: 20px;
  text-decoration: none;
}
.store-pill img { width: 34px; height: 34px; border-radius: 9px; }

section { padding: 64px 0; }
h2 { font-size: clamp(30px, 5vw, 44px); text-align: center; margin: 0 0 28px; }

/* White rounded cards, as the shop rows are drawn in game. */
.card {
  background: var(--white);
  color: var(--ink);
  border-radius: 22px;
  border: 3px solid #dbe9ff;
  box-shadow: 0 8px 0 rgba(4, 18, 60, 0.35);
}

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.features .card { padding: 22px 22px 20px; }
.features h3 { margin: 0 0 6px; font-size: 22px; color: var(--outline); }
.features p { margin: 0; font-family: system-ui, sans-serif; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }

.shots { display: flex; gap: 16px; overflow-x: auto; padding: 4px 4px 18px; scroll-snap-type: x mandatory; }
.shots img {
  flex: 0 0 auto;
  width: min(240px, 62vw);
  height: auto;
  border-radius: 22px;
  border: 4px solid var(--edge);
  scroll-snap-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.panel {
  background: var(--panel);
  border: 4px solid var(--edge);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 40px);
}
.support { text-align: center; }
.support p { font-family: system-ui, sans-serif; font-size: 17px; line-height: 1.6; color: #dbe9ff; margin: 0 0 10px; }

footer { padding: 40px 0 56px; text-align: center; }
footer .by { font-size: 18px; margin-bottom: 10px; }
footer img { height: 72px; width: auto; }
footer nav { margin-top: 18px; font-family: system-ui, sans-serif; font-size: 15px; }
footer nav a { margin: 0 10px; color: #dbe9ff; }

/* Long-form text pages (privacy policy). */
.doc-head { padding: 36px 0 8px; text-align: center; }
.doc-head a img { width: min(320px, 70%); height: auto; }
.doc h1 { font-size: clamp(32px, 6vw, 48px); text-align: center; margin: 18px 0 6px; }
.doc .updated { text-align: center; font-family: system-ui, sans-serif; color: #b9d0f5; margin: 0 0 28px; }
.doc .card { padding: clamp(22px, 4vw, 44px); font-family: system-ui, sans-serif; font-size: 16.5px; line-height: 1.65; }
.doc .card h2 { font-family: 'Vogue', system-ui, sans-serif; text-align: left; font-size: 24px; color: var(--outline); margin: 30px 0 8px; }
.doc .card h2:first-child { margin-top: 0; }
.doc .card a { color: var(--outline); }
.doc .card ul { padding-left: 22px; }
.doc .card li { margin: 4px 0; }
