/* Static pages about the game (o-grze/index.html, about/index.html): plain HTML for search engines and for players who
   look for the game before they sign up. No scripts. Colours follow the login page (css/app.css: .login-page). */
:root {
  color-scheme: dark;
  --bg: #060b12;
  --text: #e3ecf7;
  --muted: #9fb2c7;
  --accent: #a7c7e5;
  --accent-hover: #c3ddf5;
  --border: #91adc456;
  --card: linear-gradient(150deg, #172434ed, #09121df0);
  --red: #e0564f;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.65 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img { max-width: 100%; height: auto; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 8px 14px; background: var(--accent); color: #101e2e; }
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------- top bar */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: #060b12e6; backdrop-filter: blur(8px); border-bottom: 1px solid #91adc433;
}
.site-header .inner {
  display: flex; align-items: center; gap: 18px; width: min(1100px, 100%); margin: 0 auto; padding: 8px 20px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .06em; }
.brand img { width: 44px; height: 44px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-left: auto; font-size: .92rem; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--text); }
.lang-switch { font-size: .85rem; padding: 3px 9px; border: 1px solid var(--border); border-radius: 4px; text-decoration: none; }
.header-cta { padding: 7px 14px; font-size: .9rem; white-space: nowrap; }
@media (max-width: 860px) {
  .site-nav { display: none; }
  .lang-switch { margin-left: auto; }
}
/* Phones: logo only (the name stays for screen readers), so the language link and the button fit in one row. */
@media (max-width: 480px) {
  .site-header .inner { gap: 10px; padding: 8px 14px; }
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 5px; font-weight: 650; text-decoration: none;
  background: var(--accent); color: #101e2e; border: 1px solid var(--accent);
}
.btn:hover { background: var(--accent-hover); color: #101e2e; }
.btn.secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn.secondary:hover { border-color: var(--accent); color: var(--text); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; padding: 72px 20px 64px; text-align: center;
  background: linear-gradient(180deg, #04070c40, #04070c00 30%, #060b12 100%),
              url("../branding/orion-cinematic.jpg") center / cover no-repeat #060b12;
}
.hero .logo { width: 200px; height: 200px; filter: drop-shadow(0 6px 16px #03060b); }
.hero h1 { margin: 12px auto 14px; max-width: 22ch; font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.15; }
.hero .lead { margin: 0 auto; max-width: 62ch; font-size: 1.12rem; color: #d2deeb; }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px auto 0; padding: 0; list-style: none; max-width: 820px; }
.facts li { padding: 4px 12px; border: 1px solid var(--border); border-radius: 999px; background: #0b1623b3; font-size: .9rem; color: #d2deeb; }

/* ---------------------------------------------------------------- content */
main { display: block; }
.section { width: min(1100px, 100%); margin: 0 auto; padding: 48px 20px; }
.section > h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25; }
.section > .intro { margin: 0 0 24px; max-width: 75ch; color: #d2deeb; }
.section p { max-width: 75ch; }
.section + .section { border-top: 1px solid #91adc41f; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; position: relative; padding: 18px 18px 18px 58px; background: var(--card); border: 1px solid var(--border); border-radius: 6px; }
.steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #101e2e; font-weight: 700;
}
.steps strong { display: block; margin-bottom: 2px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.card { padding: 20px 22px; background: var(--card); border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 18px 60px #03060c59; }
.card h3 { margin: 0 0 8px; font-size: 1.18rem; line-height: 1.3; }
.card p { margin: 0 0 10px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { margin: 0 0 10px; padding-left: 1.2em; }
.card .icon { float: right; width: 80px; height: 80px; margin: -6px -6px 6px 12px; }

.ranks { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0 4px; padding: 0; list-style: none; }
.ranks li { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); }
.ranks img { width: 28px; height: 28px; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px 32px; align-items: start; }
.checklist { margin: 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.checklist li::before { content: "✓"; position: absolute; left: 4px; color: #58d68d; font-weight: 700; }

.faq h3 { margin: 22px 0 4px; font-size: 1.1rem; }
.faq p { margin: 0; color: #d2deeb; }

.note { font-size: .85rem; color: var(--muted); }

.cta { text-align: center; }
.cta .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid #91adc433; padding: 28px 20px 40px; color: var(--muted); font-size: .85rem; }
.site-footer .inner { width: min(1100px, 100%); margin: 0 auto; display: grid; gap: 10px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer p { margin: 0; }
