/* Orelia game site — a PROMO page, not a document.
 *
 * Dardan, 2026-09-13: "the website is too simple, it should promote the
 * game, put screenshots etc, like all the other apps." The first version
 * was a stack of unstyled links on a white page: correct, and no reason to
 * look at it for more than a second.
 *
 * The palette lives in variables and every game overrides them from the
 * [orelia:custom] region of its index.html, so one stylesheet serves a
 * candy-night puzzle and a painted-dusk archery game without either
 * looking like the other. Defaults here are a neutral dark game palette —
 * good enough to ship unedited, not a look any game has to keep.
 */
:root {
  --ink: #F7F4FF;
  --muted: #B5AEC9;
  --bg-top: #1A1430;
  --bg-bottom: #0D0A18;
  --accent: #FFC83D;
  --accent-deep: #B27A0F;
  --go: #57C86B;
  --card: rgba(255, 255, 255, 0.06);
  --rim: rgba(255, 255, 255, 0.16);
  --font: "Baloo 2", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main { max-width: 1040px; margin: 0 auto; padding: 0 22px 64px; }

/* ---- hero ---------------------------------------------------------- */
header { text-align: center; padding: 56px 0 8px; }
header img.wordmark {
  width: min(430px, 82vw);
  height: auto;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.5));
}
header h1 {
  font-size: clamp(2.1rem, 7vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.5);
}
.tagline {
  font-size: clamp(1.15rem, 3.2vw, 1.6rem);
  font-weight: 700;
  margin-top: 18px;
  color: var(--ink);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.subline {
  color: var(--muted);
  font-weight: 500;
  margin: 10px auto 0;
  max-width: 54ch;
}

/* ---- store badges -------------------------------------------------- */
.badges {
  display: flex; gap: 13px; justify-content: center;
  margin-top: 28px; flex-wrap: wrap;
}
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  border: 2px solid var(--rim); border-radius: 14px;
  padding: 9px 20px; background: rgba(0, 0, 0, 0.3);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.badge .lines { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.badge .small {
  font-size: .66rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.badge .big { font-size: 1.05rem; font-weight: 800; }
a.badge:hover { transform: translateY(-3px); border-color: var(--accent); background: rgba(0, 0, 0, .5); }
/* A store the game is not on yet: a promise, never a dead link. */
.badge.soon { opacity: .55; }
.badge.soon .small { color: var(--accent); }

/* ---- screenshots --------------------------------------------------- */
.shots {
  display: flex; gap: 26px; justify-content: center;
  padding: 46px 0 10px; flex-wrap: wrap;
}
.shots img {
  width: min(260px, 74vw); height: auto; display: block;
  border-radius: 26px; border: 3px solid var(--rim);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .55);
}
.shots img:nth-child(2) { transform: translateY(-16px); }
@media (max-width: 760px) { .shots img:nth-child(2) { transform: none; } }

/* ---- feature cards ------------------------------------------------- */
section { padding: 54px 0 0; }
h2 {
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  font-weight: 800; text-align: center;
}
.features {
  display: grid; gap: 18px; margin-top: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.feature {
  background: var(--card); border: 1px solid var(--rim);
  border-radius: 18px; padding: 22px 22px 24px;
}
.feature h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .97rem; }

/* ---- document pages (privacy, faq) --------------------------------- */
.doc { max-width: 68ch; margin: 0 auto; padding-top: 40px; }
.doc h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; }
.doc h2 { font-size: 1.15rem; text-align: left; margin: 28px 0 6px; }
.doc p, .doc li { color: var(--muted); margin-bottom: 10px; }
.doc ul { padding-left: 1.2em; }
.doc .muted { font-size: .9rem; }
.doc a { color: var(--accent); }

/* ---- nav + footer -------------------------------------------------- */
nav {
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
  padding: 46px 0 0;
}
nav a, footer a { color: var(--muted); text-decoration: none; font-weight: 600; }
nav a:hover, footer a:hover { color: var(--accent); text-decoration: underline; }
footer {
  text-align: center; color: var(--muted); font-size: .9rem;
  padding: 26px 0 0; border-top: 1px solid var(--rim); margin-top: 40px;
}
