/* -----------------------------------------
   SpeedyBet-inspirerad design (svenska)
   Färgpalett: mörk bakgrund, ljus text, turkos accent
   Alla kommentarer och namn på svenska
------------------------------------------ */

:root{
  --bakgrund: #000B0A;
  --text: #CEDBDA;
  --text-dov: #9fb5b3;
  --accent: #00C2A2;
  --accent-hover: #009985;
  --yta: #071716;
  --linje: #1e2b2a;
  --maxbredd: 1180px;
  --radie: 14px;
  --skugga: 0 6px 24px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background: var(--bakgrund);
  color: var(--text);
  line-height: 1.65;
}

img{max-width:100%;height:auto;display:block}
a{color:var(--text);text-decoration:none}
a:hover{opacity:.9}

.container{width:min(100%, var(--maxbredd));margin-inline:auto;padding-inline:16px}

/* ===== Sidhuvud ===== */
.site-header{
  position:sticky; top:0; z-index:1000;
  backdrop-filter:saturate(140%) blur(8px);
  background: color-mix(in srgb, var(--bakgrund) 86%, transparent);
  border-bottom:1px solid var(--linje);
}
.header-grid{
  display:grid;
  grid-template-columns: 180px 1fr auto;
  align-items:center;
  gap:16px; padding:12px 0;
}
.logo img{height:36px}
.main-nav ul{
  display:flex; justify-content:center; gap:28px;
  list-style:none; margin:0; padding:0;
}
.main-nav a{font-weight:700}
.auth-cta{display:flex; gap:12px}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 18px; border-radius:999px; font-weight:800;
  border:1px solid var(--linje); transition:all .15s ease;
}
.btn-outline{background:transparent}
.btn-outline:hover{border-color:var(--text-dov)}
.btn-solid{background:var(--yta); border-color:transparent}
.btn-solid:hover{background:#0e2322}
.btn-cta{background:var(--accent); color:#001311; border-color:transparent}
.btn-cta:hover{background:var(--accent-hover)}
.btn-sm{padding:8px 12px}
.btn-xl{padding:14px 22px; font-size:1.05rem}

/* ===== Hero ===== */
.hero{position:relative; isolation:isolate; overflow:hidden; border-bottom:1px solid var(--linje)}
.hero-content{padding: clamp(48px, 8vw, 96px) 0}
.hero-title{font-size: clamp(28px, 4vw, 48px); margin:0 0 8px; text-shadow:0 1px 0 rgba(0,0,0,.5)}
.hero-sub{max-width:60ch; margin:0 0 18px; color:var(--text-dov)}
.hero-bg{
  position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(1200px 600px at 90% 20%, color-mix(in srgb, var(--accent) 22%, transparent) 0%, transparent 60%),
    radial-gradient(800px 600px at -10% 110%, color-mix(in srgb, #1fd3bd 18%, transparent) 0%, transparent 70%),
    url('hero-casino.jpg') center/cover no-repeat;
  opacity:.25; filter:saturate(120%) contrast(110%);
}

/* ===== Innehåll/paneler ===== */
.content{padding:40px 0}
.content h1{font-size:clamp(24px,3.2vw,36px); margin:0 0 12px}
.panel{
  background:var(--yta); border:1px solid var(--linje);
  border-radius:var(--radie); padding:22px; margin:18px 0; box-shadow:var(--skugga);
}
.panel h2{margin-top:0; font-size:clamp(20px,2.6vw,28px)}
.kalla{margin-top:8px; color:var(--text-dov); font-size:.95rem}
.obs{margin-top:10px; color:var(--text-dov)}

/* Tabeller */
.tabell-omslag{overflow:auto; border-radius:12px; border:1px solid var(--linje); margin-top:10px}
.tabell{width:100%; border-collapse:collapse; min-width:720px}
.tabell th,.tabell td{padding:12px 14px; border-bottom:1px solid var(--linje); text-align:left}
.tabell thead th{background:#0b1f1d; font-weight:800}

/* Steglista */
.steps{margin:10px 0 0 20px}
.steps li{margin:6px 0}

/* Kakel för spel */
.kakel{
  display:grid; gap:14px;
  grid-template-columns: repeat(6, minmax(0,1fr));
}
.spel{
  display:flex; flex-direction:column; gap:8px;
  background:#071f1e; border:1px solid var(--linje); border-radius:12px; padding:10px;
}
.spel span{font-weight:700}

/* CTA-rad */
.cta-rad{margin-top:12px}

/* Klistrad snabbknapp */
.sticky-play{
  position:fixed; left:16px; bottom:18px; z-index:1001;
  background:var(--accent); color:#001311; font-weight:900;
  padding:14px 18px; border-radius:999px; box-shadow:var(--skugga);
}
.sticky-play:hover{background:var(--accent-hover)}

/* Sidfot */
.site-footer{
  margin-top:40px; padding:28px 0 10px;
  border-top:1px solid var(--linje); background:#030e0e;
}
.footer-grid{display:grid; gap:24px; grid-template-columns: repeat(3, minmax(0,1fr))}
.footer-links{list-style:none;margin:8px 0 0;padding:0}
.footer-links li{margin:6px 0}
.age-18{margin-top:8px; font-weight:700}
.legal{border-top:1px solid var(--linje); margin-top:18px; padding-top:12px; color:var(--text-dov)}
.small{font-size:.9rem}

/* Responsivitet */
@media (max-width: 1100px){
  .kakel{grid-template-columns: repeat(4, minmax(0,1fr))}
}
@media (max-width: 920px){
  .header-grid{grid-template-columns: 1fr auto}
  .main-nav{display:none} /* mobil: enkel topp – snabbknappar + klistrad CTA */
  .kakel{grid-template-columns: repeat(3, minmax(0,1fr))}
}
@media (max-width: 640px){
  .auth-cta .btn{padding:10px 14px}
  .footer-grid{grid-template-columns:1fr}
  .kakel{grid-template-columns: repeat(2, minmax(0,1fr))}
}
