/* Sportstream – test.sportsstream.se. Färger som streaming.html, typsnitt Plus Jakarta Sans (lokalt). */
@font-face { font-family: "Jakarta"; src: url(fonts/jakarta-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(fonts/jakarta-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(fonts/jakarta-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --bg: #0f1b19;
  --panel: #172723;
  --panel-2: #1d322d;
  --line: #26413b;
  --text: #eef3f1;
  --muted: #9fb3ad;
  --ball: #c8d93c;
  --ball-ink: #15210c;
  --warn: #f0b35a;
  --radius: 14px;
  --wrap: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 "Jakarta", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ball); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 7vw, 72px); font-weight: 800; }
h2 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ball); }

/* Navigering */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.nav img { height: 26px; width: auto; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 600; }
.nav ul a { color: var(--muted); text-decoration: none; }
.nav ul a:hover { color: var(--text); }
.menu { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px;
  padding: 8px 12px; font: inherit; font-size: 15px; }
@media (max-width: 820px) {
  .menu { display: block; }
  .nav ul { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav.open ul { display: flex; }
  .nav ul a { display: block; padding: 10px 0; }
}

/* Knappar */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--ball); color: var(--ball-ink); }
.btn.ghost { border-color: var(--line); color: var(--text); background: var(--panel); }
.btn.ghost:hover { border-color: var(--muted); }
.btn.small { padding: 9px 16px; font-size: 15px; }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .bg { position: absolute; inset: 0; opacity: .5;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(200,217,60,.16), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 300' fill='none' stroke='%2326413b' stroke-width='2'%3E%3Crect x='40' y='30' width='520' height='240'/%3E%3Cpath d='M40 60h520M40 240h520M170 60v180M430 60v180M170 150h260M300 20v260'/%3E%3C/svg%3E") right -80px center/min(900px,120%) no-repeat; }
.hero .bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,27,25,.35) 0%, var(--bg) 100%); }
.hero .wrap { position: relative; padding-top: clamp(64px, 12vw, 140px); padding-bottom: clamp(56px, 9vw, 110px); display: grid; gap: 22px; }
.hero h1 span { color: var(--ball); }
.hero p.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 46ch; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff5a4f; box-shadow: 0 0 0 0 rgba(255,90,79,.6); animation: puls 1.8s infinite; }
@keyframes puls { 70% { box-shadow: 0 0 0 9px rgba(255,90,79,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,79,0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } html { scroll-behavior: auto; } }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 18px; color: var(--muted); font-size: 15px; }
.facts b { color: var(--text); font-weight: 600; }

/* Sektioner */
section.block { padding: clamp(56px, 9vw, 104px) 0; border-bottom: 1px solid var(--line); }
.head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 62ch; }
.grid { display: grid; gap: 16px; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; align-items: center; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.card .num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ball); color: var(--ball-ink); font-weight: 800; font-size: 15px; }

/* Ikoner */
.ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: color-mix(in srgb, var(--ball) 14%, transparent); color: var(--ball); }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.note { display: flex; gap: 16px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.note > div { display: grid; gap: 6px; }
.info { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.feats { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feat { display: grid; gap: 8px; align-content: start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feat .ico { margin-bottom: 4px; }
#for-klubbar .feats { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Klubbar */
.club { gap: 14px; }
.club .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.club h3 { font-size: 24px; font-weight: 800; }

/* Bildrader */
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.shots img { border-radius: 12px; border: 1px solid var(--line); aspect-ratio: 9 / 16; object-fit: cover; width: 100%; scroll-snap-align: start; }
.shots.wide { grid-auto-columns: 300px; }
.shots.wide img { aspect-ratio: 4 / 3; }
.photo { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; max-height: 520px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 6px 13px; font-size: 14px; color: var(--muted); }

ul.check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
ul.check li { padding-left: 28px; position: relative; }
ul.check li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--ball); }

.price { font-size: 15px; color: var(--muted); border-left: 3px solid var(--ball); padding-left: 14px; }

/* Vanliga frågor */
details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
details + details { margin-top: 10px; }
summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--ball); font-weight: 400; }
details[open] summary::after { content: "–"; }
details > div { padding: 0 0 20px; color: var(--muted); display: grid; gap: 10px; }

/* Kontakt och sidfot */
.contact { background: linear-gradient(135deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(28px, 5vw, 56px); display: grid; gap: 16px; justify-items: start; }
footer { padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
footer a { color: var(--muted); }

/* Textsida (villkor) */
.doc { max-width: 72ch; padding: clamp(40px, 7vw, 80px) 0; display: grid; gap: 14px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 10px; }
.doc h2 { font-size: 22px; margin-top: 22px; }
.doc p { color: #cfdcd8; }

/* Intresseformulär */
.form { gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.form input:not([type=checkbox]), .form textarea { font: inherit; font-weight: 400; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; width: 100%; }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--ball); outline-offset: 1px; border-color: transparent; }
.form .row2 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.form .kort { max-width: 160px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.form legend { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.form label.val { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.form input[type=checkbox] { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ball); flex: none; }
.form .dold { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .skicka { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.form button[disabled] { opacity: .6; cursor: wait; }
.status { font-size: 15px; }
.status.ok { color: var(--ball); font-weight: 600; }
.status.fel { color: var(--warn); }
