/*
 * One stylesheet for the landing page and the two legal pages.
 *
 * The colours are the game's own - the deep navy of the sea, the gold of the
 * coin - because the page a player lands on from the store should look like the
 * thing they are about to install.
 */

:root {
  --deep: #0d2233;
  --panel: #12314a;
  --edge: rgba(255, 255, 255, 0.12);
  --ink: #eaf6ff;
  --body: #a9c6d6;
  --muted: #6f8b9c;
  --gold: #ffd479;
  --blue: #4aa8ff;
  --sea: linear-gradient(180deg, #7fd0ff 0%, #2b7fc4 42%, #0d2233 100%);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--deep);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ------------------------------------------------------------- landing */

.hero {
  position: relative;
  background: var(--sea);
  padding: 72px 24px 88px;
  text-align: center;
  overflow: hidden;
}

/* The waterline, so the hero ends in a sea rather than in a gradient. */
.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -1px;
  height: 90px;
  background: var(--deep);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }

.appicon {
  width: 132px;
  height: 132px;
  border-radius: 30px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  display: block;
  margin: 0 auto 26px;
}

h1 {
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.1;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.35);
}

.tag {
  font-size: clamp(16px, 2.6vw, 20px);
  color: #eaf6ff;
  opacity: 0.94;
  margin: 0 auto 30px;
  max-width: 560px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta {
  display: inline-block;
  background: linear-gradient(180deg, #ffd479, #f0a93a);
  color: #2a1a00;
  font-weight: 800;
  font-size: 17px;
  padding: 15px 34px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}
.cta:hover { text-decoration: none; filter: brightness(1.06); }
.cta.soon { background: rgba(255, 255, 255, 0.16); color: var(--ink); box-shadow: none; }

.sub { margin-top: 14px; font-size: 13px; color: rgba(234, 246, 255, 0.75); }

/* --------------------------------------------------------------- body */

.wrap { max-width: 940px; margin: 0 auto; padding: 0 24px 80px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 16px;
  margin: 8px 0 56px;
}

.card {
  background: linear-gradient(180deg, rgba(18, 49, 74, 0.95), rgba(5, 18, 28, 0.95));
  border: 1px solid var(--edge);
  border-top-color: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--body); font-size: 15px; }
.card .em { font-size: 26px; display: block; margin-bottom: 12px; }

h2 { font-size: 24px; margin: 46px 0 14px; }

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}
.stats li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--edge);
  border-radius: 999px;
  padding: 9px 17px;
  font-size: 14px;
  color: var(--body);
}
.stats b { color: var(--gold); }

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}
.shots img { width: 100%; border-radius: 14px; border: 1px solid var(--edge); display: block; }

.site-footer {
  border-top: 1px solid var(--edge);
  padding: 26px 24px 60px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.site-footer a { color: var(--body); }

/* ---------------------------------------------------------- legal docs */

.doc { max-width: 720px; margin: 0 auto; padding: 40px 24px 80px; }
.doc h1 { font-size: 30px; text-shadow: none; margin-bottom: 6px; }
.doc h2 { font-size: 19px; margin: 34px 0 8px; }
.doc p { color: var(--body); }
.doc code { background: rgba(255, 255, 255, 0.08); padding: 2px 6px; border-radius: 5px; font-size: 13px; }
.doc .meta { color: var(--muted); font-size: 14px; margin-top: 0; }
.doc footer { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--edge); color: var(--muted); font-size: 14px; }

.back { display: inline-block; margin-bottom: 22px; color: var(--body); font-size: 15px; }

.callout {
  background: rgba(74, 168, 255, 0.10);
  border: 1px solid rgba(74, 168, 255, 0.34);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 22px 0 8px;
}
.callout p { margin: 0; color: var(--ink); }
