/* style.css – all text & kommentarer på svenska, färger inspirerade av Maria-toner */

/* Variabler & grundfärger */
:root{
  --navy:#0c1a2a;
  --navy-2:#15283c;
  --text:#e6eef7;
  --white:#ffffff;
  --cerise:#e81f4d;       /* accent för knappar/markeringar */
  --cerise-2:#ff4d6d;     /* hover */
  --muted:#8aa0b6;
  --surface:#0f2236;
  --card:#12283f;
  --line:rgba(255,255,255,.08);
  --focus:#79ffe1;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,var(--navy) 0%, var(--surface) 100%);
}

/* Containrar */
.container{width:min(1160px,92vw);margin:0 auto}

/* Header & meny */
.site-header{position:sticky;top:0;z-index:50;background:rgba(12,26,42,.9);backdrop-filter:saturate(140%) blur(8px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.brand-mark{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:8px;background:var(--cerise);color:var(--white);font-weight:800;letter-spacing:.5px}
.brand-word{color:var(--white);font-weight:700;letter-spacing:.08em}
.brand-word strong{font-weight:800}

.main-nav ul{display:flex;gap:22px;list-style:none;margin:0;padding:0}
.main-nav a{color:var(--text);text-decoration:none;font-weight:700;padding:8px 10px;border-radius:8px}
.main-nav a:hover{background:rgba(255,255,255,.06)}

.auth-cta{display:flex;gap:10px}
.btn{display:inline-block;padding:10px 16px;border-radius:10px;text-decoration:none;font-weight:800;letter-spacing:.02em;transition:transform .06s ease,background .2s ease,color .2s ease;border:2px solid transparent}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--cerise);color:var(--white)}
.btn-primary:hover{background:var(--cerise-2)}
.btn-outline{background:transparent;color:var(--white);border-color:var(--cerise)}
.btn-outline:hover{background:rgba(232,31,77,.12)}
.btn-secondary{background:#233850;color:var(--white)}
.btn-secondary:hover{background:#2a4360}
.btn-cta{background:linear-gradient(90deg,var(--cerise),var(--cerise-2));color:var(--white)}

/* Hero */
.hero{padding:36px 0 18px}
.hero-inner{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:28px}
.hero-copy h1{font-size:2.2rem;margin:0 0 10px}
.hero-copy p{color:#d3e0ee;margin:0 0 14px}
.hero-art img{width:100%;height:auto;border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.35)}

/* Intro */
.page-intro h1{font-size:1.9rem;margin:.6rem 0}
.page-intro p{color:#ccdae9}

/* Kort & innehåll */
.content{margin-bottom:40px}
.card{background:var(--card);border:1px solid var(--line);padding:22px;border-radius:16px;box-shadow:0 12px 30px rgba(0,0,0,.18);margin:22px 0}
.card h2{font-size:1.35rem;margin:0 0 12px}
.card p{color:#c8d7e8;line-height:1.65}
.card ol{color:#cfe0f1;padding-left:22px}
.steps li{margin:.25rem 0}

/* Tabeller */
.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px}
.table{width:100%;border-collapse:collapse;min-width:720px;background:#0f2439}
.table thead th{position:sticky;top:0;background:#0e1f32;color:#cfe0f1;text-align:left;padding:12px;border-bottom:1px solid var(--line);font-weight:800}
.table tbody td{padding:12px;border-bottom:1px solid var(--line);color:#e2edf7}
.table-games img{display:block;border-radius:8px;box-shadow:0 6px 16px rgba(0,0,0,.25)}
.note{font-size:.95rem;color:#a9c1d9}

/* Bred CTA */
.wide-cta{margin:20px 0 60px}
.wide-cta-inner{background:linear-gradient(90deg,#1a2f48,#0f2236);border:1px solid var(--line);padding:22px;border-radius:16px;text-align:center}
.wide-cta-inner h3{margin:0 0 8px;font-size:1.5rem}
.wide-cta-inner p{margin:6px 0}

/* Länkar & fokus */
a{text-underline-offset:2px}
.text-link{color:#9bd1ff}
.text-link:hover{color:#c3e2ff}
a:focus,button:focus{outline:2px dashed var(--focus);outline-offset:3px}

/* Sidfot */
.site-footer{background:#0a1726;border-top:1px solid var(--line);margin-top:40px}
.footer-grid{display:grid;grid-template-columns:2fr 2fr 3fr;gap:24px;padding:24px 0}
.site-footer h4{margin:0 0 8px}
.footer-links{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.footer-links a{text-decoration:none;color:#cfe0f1}
.footer-links a:hover{text-decoration:underline}
.legal{border-top:1px solid var(--line);font-size:.9rem;color:#a8bed6;padding:10px 0}

/* Fäst CTA-knapp */
.sticky-cta{position:fixed;left:16px;bottom:16px;z-index:60;background:var(--cerise);color:var(--white);text-decoration:none;font-weight:800;padding:12px 16px;border-radius:12px;box-shadow:0 10px 25px rgba(232,31,77,.45)}
.sticky-cta:hover{background:var(--cerise-2)}

/* Responsiv design */
@media (max-width:980px){
  .hero-inner{grid-template-columns:1fr;text-align:center}
  .main-nav ul{gap:14px}
}
@media (max-width:820px){
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:560px){
  .header-inner{gap:10px}
  .brand-word{display:none}
  .footer-grid{grid-template-columns:1fr}
  .table{min-width:600px}
}
