/* ============================================================
   Arcadeify — felles stil for nettsiden (forside, arkade, premier,
   slik fungerer det, FAQ). Designsystemet er fra handoffen
   «Arcadeify nettside»: mørk lilla bunn, neonfarger, Orbitron.
   Spillsidene har egen stil og bruker ikke denne fila.
   ============================================================ */

:root {
  --bg:        oklch(0.13 0.025 285);
  --bg-deep:   oklch(0.09 0.02 285);
  --panel:     oklch(0.17 0.03 286);
  --panel-2:   oklch(0.21 0.035 288);
  --line:      oklch(0.32 0.04 290 / 0.55);
  --line-soft: oklch(0.4 0.04 290 / 0.22);

  --ink:       oklch(0.97 0.01 280);
  --ink-soft:  oklch(0.78 0.02 285);
  --ink-mute:  oklch(0.6 0.025 288);

  --cyan:    oklch(0.82 0.15 200);
  --pink:    oklch(0.72 0.2 350);
  --gold:    oklch(0.86 0.16 90);
  --green:   oklch(0.84 0.2 152);
  --purple:  oklch(0.68 0.2 300);
  --red:     oklch(0.68 0.22 25);
  --gold-deep: oklch(0.78 0.17 80);

  --radius:    16px;
  --radius-lg: 22px;
  --radius-sm: 10px;
  --maxw: 1320px;
  --shadow-card: 0 18px 40px -22px oklch(0.02 0 0 / 0.9);

  --font-display: "Orbitron", system-ui, sans-serif;
  --font-ui: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  background:
    radial-gradient(1200px 700px at 12% -8%, oklch(0.35 0.18 300 / 0.22), transparent 60%),
    radial-gradient(1100px 700px at 92% -6%, oklch(0.42 0.16 200 / 0.18), transparent 58%),
    radial-gradient(1000px 800px at 50% 120%, oklch(0.4 0.16 330 / 0.14), transparent 60%),
    var(--bg-deep);
  color: var(--ink);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  overflow-x: hidden;
}
main { flex: 1; }
::selection { background: var(--pink); color: #fff; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; padding: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 64px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3vw, 38px); letter-spacing: 0.02em; }
.section-head p { margin: 8px 0 0; color: var(--ink-soft); font-size: 15px; max-width: 60ch; line-height: 1.5; }
.eyebrow { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.28em; font-size: 12px; color: var(--cyan); }
.muted { color: var(--ink-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── knapper ─────────────────────────────────────────────── */
.btn {
  --bw: 1.5px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  font-size: 14px; padding: 15px 26px; border-radius: 13px; line-height: 1; white-space: nowrap;
  transition: transform 0.14s, box-shadow 0.22s, background 0.2s, color 0.2s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-gold {
  background: linear-gradient(180deg, oklch(0.9 0.16 92), var(--gold-deep)); color: oklch(0.2 0.06 80);
  box-shadow: 0 0 0 var(--bw) oklch(0.92 0.14 92 / 0.5), 0 10px 30px -10px oklch(0.86 0.16 90 / 0.7);
}
.btn-gold:hover { box-shadow: 0 0 0 var(--bw) oklch(0.95 0.14 92), 0 0 34px oklch(0.86 0.16 90 / 0.6); transform: translateY(-1px); }
.btn-ghost { background: oklch(0.2 0.03 290 / 0.4); color: var(--ink); box-shadow: inset 0 0 0 var(--bw) var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 var(--bw) var(--cyan); color: var(--cyan); transform: translateY(-1px); }
.btn-sm { padding: 11px 16px; font-size: 12px; border-radius: 10px; }
.btn-lg { padding: 18px 34px; font-size: 16px; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

/* ── toppmeny ────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(180deg, oklch(0.1 0.02 285 / 0.94), oklch(0.1 0.02 285 / 0.72));
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; gap: 22px; height: 74px; }
.brand { flex: none; display: block; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; gap: 4px; }
.nav a {
  position: relative; font-weight: 600; font-size: 13.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); padding: 10px 14px; border-radius: 10px; transition: color 0.18s, background 0.18s;
}
.nav a:hover { color: var(--ink); background: oklch(0.3 0.05 290 / 0.25); }
.nav a.active { color: var(--gold); }
.nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--gold); box-shadow: 0 0 10px var(--gold); border-radius: 2px;
}
.header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* saldo: coins og tickets */
.saldo {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 9px; border-radius: 999px;
  background: oklch(0.2 0.04 290 / 0.7); border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums; transition: box-shadow 0.2s, border-color 0.2s;
}
.saldo img { width: 20px; height: 20px; object-fit: contain; }
.saldo.coins { color: var(--gold); border-color: oklch(0.86 0.16 90 / 0.4); }
.saldo.tickets { color: var(--pink); border-color: oklch(0.72 0.2 350 / 0.45); }
.saldo:hover { box-shadow: 0 0 20px -4px currentColor; }
.saldo .pluss {
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; margin-left: 2px;
  background: linear-gradient(180deg, oklch(0.9 0.16 92), var(--gold-deep)); color: oklch(0.2 0.06 80);
  font-size: 15px; line-height: 1;
}
.saldo.bump { animation: bump 0.5s ease; }
@keyframes bump { 0%, 100% { transform: none; } 30% { transform: scale(1.12); } }

/* bruker-meny */
.user-wrap { position: relative; }
.user-pill {
  display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border-radius: 999px;
  background: oklch(0.2 0.04 290 / 0.7); border: 1px solid var(--line); transition: border-color 0.16s;
}
.user-pill:hover, .user-pill[aria-expanded="true"] { border-color: var(--cyan); }
.ua {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--cyan);
  background: oklch(0.14 0.03 240); border: 1.5px solid var(--cyan); box-shadow: 0 0 10px -2px var(--cyan);
}
.user-pill .cv { color: var(--ink-mute); font-size: 11px; transition: transform 0.2s; }
.user-pill[aria-expanded="true"] .cv { transform: rotate(180deg); }
.user-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 240px; z-index: 70;
  background: linear-gradient(180deg, oklch(0.18 0.03 288), oklch(0.13 0.025 286));
  border: 1px solid var(--line); border-radius: 14px; padding: 8px;
  box-shadow: 0 20px 44px -18px #000, 0 0 24px -12px var(--cyan);
  animation: menu-in 0.18s ease both;
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.um-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line-soft); margin-bottom: 6px; display: flex; align-items: center; gap: 12px; }
.um-head .ua { width: 38px; height: 38px; font-size: 17px; }
.um-head .em { font-size: 13px; color: var(--ink-soft); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.um-item {
  width: 100%; display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 9px;
  font-size: 14px; color: var(--ink-soft); text-align: left; transition: background 0.14s, color 0.14s;
}
.um-item:hover { background: oklch(0.26 0.04 290 / 0.5); color: var(--ink); }
.um-item .ico { width: 18px; text-align: center; }
.um-item.danger:hover { color: var(--red); }

/* mobilmeny */
.meny-knapp {
  display: none; width: 42px; height: 42px; border-radius: 11px; place-items: center;
  border: 1px solid var(--line); background: oklch(0.2 0.03 290 / 0.5);
}
.meny-knapp span, .meny-knapp span::before, .meny-knapp span::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; content: "";
}
.meny-knapp span::before { position: absolute; top: -6px; }
.meny-knapp span::after { position: absolute; top: 6px; }
.mobilmeny { display: none; border-top: 1px solid var(--line-soft); padding: 10px 0 16px; }
.mobilmeny.on { display: block; }
.mobilmeny nav a, .mobilmeny [data-mobilkonto] > button {
  display: block; width: 100%; text-align: left; padding: 13px 4px; font-size: 16px; font-weight: 600;
  color: var(--ink-soft); border-bottom: 1px solid var(--line-soft);
}
.mobilmeny nav a.active { color: var(--gold); }
.mobilmeny .mm-knapper { display: flex; gap: 10px; padding-top: 14px; }
.mobilmeny .mm-knapper .btn { flex: 1; padding: 14px; }

/* ── forside: hero ───────────────────────────────────────── */
.hero { position: relative; padding: 52px 0 36px; }
.hero-grid { display: grid; grid-template-columns: minmax(320px, 0.9fr) 1.1fr; gap: 48px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-copy .velkommen {
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.16em; font-size: 15px;
  color: var(--ink-soft); text-transform: uppercase; margin-bottom: 14px;
}
.hero-logo img { width: min(430px, 100%); height: auto; filter: drop-shadow(0 14px 36px oklch(0.5 0.18 300 / 0.32)); }
.hero-copy h1 {
  font-family: var(--font-ui); font-weight: 600; font-size: clamp(19px, 1.7vw, 23px);
  color: var(--ink-soft); line-height: 1.45; max-width: 30ch; margin: 22px 0 28px;
}
.hero-copy h1 b { color: var(--ink); font-weight: 700; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.feature-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 26px; max-width: 520px; }
.feature { display: flex; gap: 12px; align-items: flex-start; }
.feature .fi {
  flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: oklch(0.2 0.04 290 / 0.6); border: 1px solid var(--line); font-size: 19px;
}
.feature h3 { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin: 2px 0 5px; }
.feature p { margin: 0; font-size: 13px; color: var(--ink-mute); line-height: 1.45; }

/* ── «slik fungerer det»-stripe ──────────────────────────── */
.how-strip { display: grid; grid-template-columns: repeat(3, 1fr) minmax(220px, 0.8fr); gap: 22px; align-items: stretch; }
.how-step { display: flex; gap: 14px; align-items: flex-start; }
.how-ico {
  flex: none; width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-size: 28px;
  border: 1.5px solid var(--c, var(--purple)); background: oklch(0.13 0.02 286 / 0.7);
  box-shadow: 0 0 20px -6px var(--c, var(--purple)), inset 0 0 18px -8px var(--c, var(--purple));
}
.how-ico img { width: 34px; height: 34px; object-fit: contain; }
.how-step .nr { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--ink-mute); }
.how-step h3 { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.04em; margin: 4px 0 6px; color: var(--c, var(--gold)); text-transform: uppercase; }
.how-step p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.how-cta {
  border: 1.5px solid oklch(0.86 0.16 90 / 0.45); border-radius: var(--radius); box-shadow: inset 0 0 26px -10px var(--gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 22px;
}
.how-cta b { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--gold); text-shadow: 0 0 14px oklch(0.86 0.16 90 / 0.5); }

/* ── spillkort ───────────────────────────────────────────── */
/* Sju spill: fire på første rad og tre midt under på store skjermer, ellers tre og tre eller to og to —
   et kort som står alene på siste rad, står midt på den. */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (min-width: 1181px) {
  .games-grid { grid-template-columns: repeat(8, 1fr); }
  .games-grid > * { grid-column: span 2; }
  /* den siste raden midt under: dens første kort flyttes inn én kolonne per kort som mangler */
  .games-grid > :nth-child(4n + 1):nth-last-child(3) { grid-column: 2 / span 2; }
  .games-grid > :nth-child(4n + 1):nth-last-child(2) { grid-column: 3 / span 2; }
  .games-grid > :nth-child(4n + 1):last-child { grid-column: 4 / span 2; }
}
.game-card {
  --c: var(--cyan);
  border-radius: var(--radius-lg); overflow: hidden; position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, oklch(0.16 0.03 286), oklch(0.11 0.02 286));
  border: 1.5px solid color-mix(in oklch, var(--c) 50%, transparent);
  box-shadow: 0 0 28px -10px var(--c); transition: transform 0.2s, box-shadow 0.25s;
}
.game-card:hover { transform: translateY(-6px); box-shadow: 0 0 44px -8px var(--c); }
.game-cab {
  display: flex; align-items: flex-end; justify-content: center; padding: 22px 16px 14px; height: 250px;
  background: radial-gradient(120% 86% at 50% 38%, color-mix(in oklch, var(--c) 20%, transparent), transparent 62%);
  border-bottom: 1.5px solid color-mix(in oklch, var(--c) 30%, transparent);
}
.game-cab .kab { height: 100%; width: auto; }
.game-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.game-body h3 {
  font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--c); text-shadow: 0 0 14px color-mix(in oklch, var(--c) 60%, transparent);
}
.game-body p { margin: 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.45; flex: 1; }
.game-body .btn { align-self: stretch; }

/* ── premiekort ──────────────────────────────────────────── */
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 16px; scrollbar-width: thin;
}
.rail > * { scroll-snap-align: start; }
.rail-lenke { display: flex; }
.rail-lenke > .reward { flex: 1; }
.rail-btn {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: oklch(0.18 0.03 290 / 0.92); border: 1px solid var(--line); color: var(--ink); font-size: 20px;
  transition: border-color 0.16s, color 0.16s, box-shadow 0.16s;
}
.rail-btn:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 18px oklch(0.82 0.15 200 / 0.4); }
.rail-btn.prev { left: -14px; } .rail-btn.next { right: -14px; }

.reward {
  display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), oklch(0.13 0.025 286)); border: 1px solid var(--line-soft);
  transition: transform 0.18s, border-color 0.2s, box-shadow 0.25s;
}
.reward:hover { transform: translateY(-4px); border-color: oklch(0.68 0.2 300 / 0.6); box-shadow: 0 0 30px -10px var(--purple); }
.reward .shot { aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: #fff; display: grid; place-items: center; }
.reward .shot img { width: 100%; height: 100%; object-fit: cover; }
.reward .shot.tom { background: oklch(0.2 0.04 290); font-size: 52px; }
.reward h3 { font-size: 15px; font-weight: 600; text-align: center; line-height: 1.35; min-height: 2.7em; }
.reward .cost {
  margin-top: auto;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--pink);
}
.reward .cost img { width: 20px; height: 20px; object-fit: contain; }
.reward .rest { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; color: var(--ink-mute); }
.reward .rest.ok { color: var(--green); }
.reward .btn { width: 100%; }

.giftcard-visual {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center; position: relative;
  background:
    radial-gradient(120% 120% at 20% 0%, oklch(0.42 0.18 300 / 0.9), transparent 60%),
    linear-gradient(145deg, oklch(0.32 0.12 270), oklch(0.2 0.06 260));
}
.giftcard-visual::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 22px, oklch(1 0 0 / 0.04) 22px 24px); }
.giftcard-visual .gc-brand { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.3em; color: var(--cyan); text-transform: uppercase; }
.giftcard-visual .gc-amount { font-family: var(--font-display); font-weight: 900; font-size: clamp(28px, 3vw, 40px); color: #fff; line-height: 1; text-shadow: 0 0 18px oklch(0.72 0.2 350 / 0.5); }
.giftcard-visual .gc-amount i { font-style: normal; font-size: 0.42em; font-weight: 700; margin-left: 4px; color: var(--ink-soft); }
.giftcard-visual .gc-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; }

/* ── undersider ──────────────────────────────────────────── */
.page-hero { padding: 52px 0 30px; text-align: center; }
.page-hero h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(32px, 5vw, 58px); letter-spacing: 0.02em; margin: 10px 0 14px; }
.page-hero p { color: var(--ink-soft); font-size: 17px; max-width: 58ch; margin: 0 auto; line-height: 1.55; }

.balance-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 20px 26px; border-radius: var(--radius-lg); margin-bottom: 26px;
  background: linear-gradient(110deg, oklch(0.18 0.04 300 / 0.8), oklch(0.14 0.03 286 / 0.8));
  border: 1.5px solid oklch(0.72 0.2 350 / 0.4); box-shadow: inset 0 0 30px -12px var(--pink);
}
.bb-left { display: flex; align-items: center; gap: 16px; }
.bb-left img { width: 46px; height: 46px; object-fit: contain; }
.bb-num { font-family: var(--font-display); font-weight: 900; font-size: 34px; color: var(--pink); text-shadow: 0 0 20px oklch(0.72 0.2 350 / 0.45); line-height: 1; }
.bb-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }
.bb-tekst { color: var(--ink-soft); font-size: 14px; max-width: 46ch; line-height: 1.5; margin: 0; }

.filter-row { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; align-items: center; }
.filter-chips { display: contents; }
.filter-chip {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); transition: all 0.16s;
}
.filter-chip:hover { color: var(--ink); border-color: var(--cyan); }
.filter-chip[aria-pressed="true"] { background: var(--cyan); color: var(--bg-deep); border-color: var(--cyan); box-shadow: 0 0 16px oklch(0.82 0.15 200 / 0.4); }
.filter-row .sortering { margin-left: auto; }
.filter-row select {
  font: inherit; font-size: 13px; color: var(--ink); background: oklch(0.15 0.025 286); border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 12px;
}
.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.notis {
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 22px;
  color: var(--ink-soft); font-size: 14px; line-height: 1.5; background: oklch(0.15 0.025 286 / 0.6);
}

.steps-big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-big {
  --c: var(--purple);
  padding: 28px 24px; border-radius: var(--radius-lg); position: relative;
  background: linear-gradient(180deg, var(--panel), oklch(0.12 0.02 286));
  border: 1.5px solid color-mix(in oklch, var(--c) 45%, transparent); box-shadow: 0 0 28px -12px var(--c);
}
.step-big .num { font-family: var(--font-display); font-weight: 900; font-size: 50px; color: color-mix(in oklch, var(--c) 60%, transparent); line-height: 1; margin-bottom: 12px; }
.step-big .ico { height: 46px; margin-bottom: 14px; display: flex; align-items: center; font-size: 38px; filter: drop-shadow(0 0 14px var(--c)); }
.step-big .ico img { height: 44px; width: auto; }
.step-big h3 { font-family: var(--font-display); font-size: 19px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c); margin-bottom: 10px; }
.step-big p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

/* coins/tickets-tabellen */
.valuta { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; background: oklch(0.15 0.025 286 / 0.7); }
.valuta th, .valuta td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.valuta tr:last-child td { border-bottom: 0; }
.valuta thead th { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.valuta thead th span { display: inline-flex; align-items: center; gap: 8px; }
.valuta thead th img { width: 22px; height: 22px; object-fit: contain; }
.valuta td:first-child { color: var(--ink-soft); }
.valuta .ja { color: var(--green); font-weight: 700; }
.valuta .nei { color: var(--ink-mute); font-weight: 700; }
.valuta .c-coins { color: var(--gold); }
.valuta .c-tickets { color: var(--pink); }

.fair-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fair-card { padding: 24px 20px; border-radius: var(--radius); background: oklch(0.15 0.025 286 / 0.7); border: 1px solid var(--line-soft); }
.fair-card .ico { font-size: 26px; margin-bottom: 12px; }
.fair-card h3 { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 8px; }
.fair-card p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: var(--radius); border: 1px solid var(--line-soft); background: oklch(0.15 0.025 286 / 0.7); transition: border-color 0.2s; }
.faq-item[open] { border-color: oklch(0.82 0.15 200 / 0.5); box-shadow: 0 0 26px -14px var(--cyan); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; font-size: 16px; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .pm {
  flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--cyan); font-size: 18px; transition: transform 0.25s, background 0.2s;
}
.faq-item[open] .pm { transform: rotate(45deg); background: oklch(0.82 0.15 200 / 0.15); }
.faq-item .svar { padding: 0 22px 20px; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.faq-item .svar p { margin: 0 0 10px; } .faq-item .svar p:last-child { margin: 0; }
.faq-item .svar a { color: var(--cyan); text-decoration: underline; }

/* tekstsider (vilkår, personvern) */
.tekst { max-width: 760px; margin: 0 auto; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.tekst h2 { font-family: var(--font-display); font-size: 19px; letter-spacing: 0.03em; color: var(--ink); margin: 34px 0 10px; }
.tekst a { color: var(--cyan); text-decoration: underline; }
.utkast {
  border: 1.5px solid oklch(0.86 0.16 90 / 0.5); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 26px;
  background: oklch(0.86 0.16 90 / 0.08); color: var(--ink);
}

/* CTA-bånd */
.cta-band {
  text-align: center; padding: 56px 28px; border-radius: 26px; position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 50% 0%, oklch(0.24 0.08 300 / 0.7), oklch(0.12 0.02 286));
  border: 1.5px solid oklch(0.68 0.2 300 / 0.4); box-shadow: inset 0 0 50px -16px var(--purple);
}
.cta-band h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(28px, 4vw, 48px); letter-spacing: 0.02em; margin-bottom: 14px; }
.cta-band p { color: var(--ink-soft); font-size: 17px; margin: 0 auto 26px; max-width: 50ch; line-height: 1.5; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* bunntekst */
.footer { border-top: 1px solid var(--line-soft); background: oklch(0.1 0.02 285 / 0.6); margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding: 48px 0 28px; }
.footer-logo { height: 76px; width: auto; margin-bottom: 14px; }
.footer-inner > div > p { color: var(--ink-mute); font-size: 14px; line-height: 1.55; max-width: 34ch; margin: 0; }
.footer h2 { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a, .footer ul button { color: var(--ink-soft); font-size: 14px; transition: color 0.15s; text-align: left; }
.footer ul a:hover, .footer ul button:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 18px 0 34px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; gap: 12px; }
.footer-bottom span { font-size: 12.5px; color: var(--ink-mute); font-family: var(--font-mono); letter-spacing: 0.04em; }

/* ── responsivt ──────────────────────────────────────────── */
@media (max-width: 1180px) {
  .games-grid > :nth-child(3n + 1):last-child { grid-column: 2; }
  .header-inner { gap: 14px; }
  .nav a { padding: 10px 10px; letter-spacing: 0.08em; }
}
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .how-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
/* Én kolonne på nettbrett og små bærbare: teksten midtstilt over maskinklyngen, ikke venstrestilt med tom
   plass til høyre (16. nov. 2026). Under 721 px fyller teksten bredden og står til venstre som før. */
@media (min-width: 721px) and (max-width: 1080px) {
  .hero-copy { text-align: center; }
  .hero-logo img, .hero-copy h1 { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .feature-row { margin: 0 auto; text-align: left; }
}
@media (max-width: 960px) {
  .nav, .header-right .logg-inn.btn-ghost, .header-right .user-wrap { display: none; }
  .meny-knapp { display: grid; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .section { padding: 44px 0; }
  .header-inner { height: 64px; gap: 8px; }
  .brand img { height: 40px; }
  .saldo { padding: 6px 9px 6px 7px; font-size: 13px; gap: 6px; }
  .saldo img { width: 17px; height: 17px; }
  .saldo .pluss { display: none; }
  .hero { padding: 28px 0 20px; }
  .feature-row { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .games-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - 14px) / 2); }
  .game-cab { height: 190px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .reward { padding: 10px; gap: 9px; }
  .reward h3 { font-size: 13.5px; }
  .steps-big { grid-template-columns: 1fr; }
  .fair-grid { grid-template-columns: 1fr; }
  .how-strip { grid-template-columns: 1fr; }
  .rail-btn { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
  .filter-row .sortering { margin-left: 0; width: 100%; }
  /* Sju kategorier: på mobil én rad som sveipes sideveis, ikke fem rader med knapper. Raden går ut
     til skjermkanten, og polstringen gir plass til gløden rundt valgt kategori. */
  .filter-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; width: calc(100% + 32px);
    margin: -10px -16px; padding: 10px 16px; }
  .filter-chips::-webkit-scrollbar { display: none; }
  .filter-chip { flex: none; }
  .valuta th, .valuta td { padding: 12px 10px; font-size: 14px; }
  .balance-banner { padding: 16px 18px; }
}
@media (max-width: 420px) {
  .games-grid { grid-template-columns: 1fr; }
  .games-grid > :last-child:nth-child(odd) { width: auto; justify-self: stretch; }
  .game-cab { height: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
