/* planet.servereniskogen.no: the game's own small website (17 Nov 2026). Plain HTML and CSS, no scripts, no cookies and
   no outside requests: the fonts and pictures are served from here. Built from site/ with no build step. */
@font-face { font-family: 'Fredoka'; font-weight: 500; font-display: swap; src: url('/fonts/fredoka-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fredoka'; font-weight: 600; font-display: swap; src: url('/fonts/fredoka-latin-600-normal.woff2') format('woff2'); }

:root {
  --night: #05060f;
  --night-2: #0d0f1f;
  --ink: #f3f1ff;
  --dim: #a9a7c4;
  --lava: #ff8a3c;
  --gold: #ffd166;
  --card: #fdf6e3;
  --card-ink: #2a2233;
  --line: #ffffff22;
}

* { box-sizing: border-box; }
html { background: var(--night); color: var(--ink); }
body {
  margin: 0;
  font: 500 18px/1.55 'Fredoka', 'Trebuchet MS', system-ui, sans-serif;
  background: radial-gradient(1200px 600px at 20% -10%, #1a1450 0%, transparent 60%), var(--night);
  min-height: 100vh;
}
a { color: var(--lava); }
a:hover { color: #ffb070; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }

header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
header.top a.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
header.top a.brand img { width: 36px; height: 36px; border-radius: 50%; }
header.top nav { display: flex; gap: 16px; font-size: 16px; }
header.top nav a { color: var(--dim); text-decoration: none; }
header.top nav a:hover, header.top nav a[aria-current] { color: var(--ink); }

.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; padding: 28px 0 40px; }
.hero h1 { font-size: clamp(44px, 8vw, 76px); line-height: .95; margin: 8px 0 14px; letter-spacing: -.5px; }
.hero h1 span { color: var(--lava); }
.stars { font-size: 28px; letter-spacing: 5px; color: #ffffff3d; }
.stars b { color: var(--gold); font-weight: 400; }
.hero p.lead { font-size: 21px; color: #dcdaf0; margin: 0 0 22px; }
.hero .planet { border-radius: 50%; box-shadow: 0 0 80px #4a8cff33; }

.buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-block; padding: 12px 20px; border-radius: 14px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); color: var(--ink); background: #ffffff10; }
.button.main { background: var(--lava); border-color: var(--lava); color: #1b0d03; }
.button.main:hover { background: #ffa161; color: #1b0d03; }
.button:hover { color: var(--ink); background: #ffffff1c; }
.soon { color: var(--dim); font-size: 16px; margin-top: 12px; }

section { padding: 26px 0; border-top: 1px solid var(--line); }
h2 { font-size: 30px; margin: 0 0 12px; }
h3 { font-size: 21px; margin: 22px 0 6px; }
p, li { color: #dcdaf0; }

.bubble { background: var(--card); color: var(--card-ink); border-radius: 18px 18px 18px 4px; padding: 14px 18px; max-width: 420px; box-shadow: 0 10px 30px #000a; }
.bubble span { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.bubble em { color: #d9711b; font-style: normal; letter-spacing: 1px; }
.bubbles { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.bubbles .bubble:nth-child(2) { transform: rotate(1.5deg); }
.bubbles .bubble:nth-child(1) { transform: rotate(-1.5deg); }

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.shots img { border-radius: 14px; border: 1px solid var(--line); }

.video { display: block; position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.video::after { content: '▶'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%;
  background: #000000a0; color: #fff; font-size: 34px; display: grid; place-items: center; padding-left: 6px; }

.text { max-width: 720px; }
.text ul { padding-left: 22px; }
table.facts { border-collapse: collapse; width: 100%; max-width: 720px; }
table.facts th, table.facts td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.facts th { color: var(--dim); font-weight: 500; width: 34%; }
.downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.downloads a { color: var(--ink); text-decoration: none; font-size: 15px; }
.downloads img { border-radius: 10px; border: 1px solid var(--line); margin-bottom: 6px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.small { font-size: 15px; color: var(--dim); }

footer { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 15px; color: var(--dim); }
footer a { color: var(--dim); }

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; padding-top: 8px; }
  .hero .planet { max-width: 320px; margin: 0 auto; order: -1; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  header.top nav { gap: 12px; }
}
