/* ====== Grund & varumärkeskänsla ======
   Mörk palett + grön accent i ComeOn-anda.
   All text, kommentarer och namn på svenska. */
:root{
  --bg: #121315;
  --bg-elev: #1a1b1d;
  --text: #ffffff;
  --muted: #b8bcc6;
  --brand: #7cc142;
  --brand-2: #9fe870;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img{ max-width:100%; height:auto; display:block; }

.container{ width:min(1140px, 92%); margin-inline:auto; }
.section{ padding: 48px 0; }
.content > p{ margin: 0 0 1rem; color: var(--muted); }
.content a{ color: var(--brand); text-decoration: none; }
.content a:hover{ text-decoration: underline; }

h1,h2,h3,h4{ margin: 0 0 12px; line-height:1.25; }
h1{ font-size: clamp(1.9rem, 1.2rem + 2vw, 2.6rem); }
h2{ font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem); }
h3{ font-size: 1.15rem; }
.lead{ color: var(--text); font-size: 1.1rem; }

/* ====== Huvud ====== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18,19,21,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #222;
}
.header-grid{
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 72px;
}
.brand-logo{ height: 28px; width:auto; }

/* Meny */
.main-nav ul{
  list-style:none; margin:0; padding:0;
  display:flex; gap: 24px; justify-content: center; align-items: center;
}
.main-nav a{
  color: var(--muted);
  text-decoration:none; font-weight: 600;
}
.main-nav a:hover{ color: var(--text); }

/* Knappar */
.auth-ctas{ display:flex; gap:10px; }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  text-decoration:none;
  transition: transform .05s ease, background .2s ease, color .2s ease;
  border: 1px solid transparent;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{ background: var(--brand); color: #0b0c0d; }
.btn-primary:hover{ background: var(--brand-2); }
.btn-ghost{ background: transparent; color: var(--text); border-color: #333; }
.btn-ghost:hover{ background: #232428; }
.btn-xl{ padding: 14px 22px; font-size: 1.05rem; }
.btn-lg{ padding: 12px 18px; }
.btn-sm{ padding: 8px 12px; font-size:.95rem; }

/* ====== Hero ====== */
.hero{ padding: 36px 0 16px; background: linear-gradient(180deg, rgba(124,193,66,0.08), transparent 35%); }
.hero-grid{
  display:grid; gap: 28px;
  grid-template-columns: 1.05fr .95fr;
  align-items:center;
}
.hero-media img{
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,.45);
}
.hero-cta{ margin: 16px 0 8px; }
.fineprint{ color:#8a8f99; font-size:.85rem; }

/* ====== Listor & paneler ====== */
.steps{ padding-left: 1.1rem; }
.steps li{ margin: .35rem 0; }
.table-wrap{ overflow:auto; background: var(--bg-elev); border:1px solid #23262c; border-radius: 12px; margin: 12px 0 18px; }
.table{ width:100%; border-collapse: collapse; }
.table th, .table td{ padding: 12px 14px; border-bottom: 1px solid #23262c; vertical-align: top; }
.table th{ text-align:left; color:#d6dbe5; }
.table-games img{ width: 120px; height: 70px; object-fit: cover; border-radius: 8px; border: 1px solid #2a2d33; }

/* ====== CTA-panel ====== */
.cta-panel{
  margin-top: 28px;
  background: var(--bg-elev);
  border: 1px solid #23262c;
  border-radius: 14px;
  padding: 18px;
  display:flex; align-items:center; justify-content: space-between; gap: 16px;
}
.cta-panel-copy p{ margin: 6px 0 0; color: var(--muted); }

/* ====== Fast “Spela nu” ====== */
.sticky-play{
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  background: var(--brand);
  color: #0b0c0d;
  text-decoration: none;
  font-weight: 800;
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.sticky-play:hover{ background: var(--brand-2); }

/* ====== Sidfot ====== */
.site-footer{
  margin-top: 48px;
  padding: 36px 0 0;
  background: #0f1012;
  border-top: 1px solid #1f2126;
}
.footer-grid{
  display:grid; gap: 24px;
  grid-template-columns: repeat(3,1fr);
}
.footer-nav ul{ list-style:none; margin: 8px 0 0; padding:0; }
.footer-nav a{ color: var(--muted); text-decoration:none; }
.footer-nav a:hover{ color: var(--text); }
.rg-links{ list-style: none; margin: 8px 0 0; padding: 0; }
.rg-links a{ color: var(--brand); text-decoration: none; }
.rg-links a:hover{ text-decoration: underline; }
.address{ color: var(--muted); font-style: normal; }
.footer-bottom{
  border-top: 1px solid #1f2126;
  margin-top: 24px;
  padding: 14px 0;
  color: #848a96;
  font-size: .95rem;
}

/* ====== Responsivitet ====== */
@media (max-width: 980px){
  .header-grid{ grid-template-columns: 150px 1fr auto; }
  .hero-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 680px){
  .main-nav ul{ gap: 14px; font-size: .95rem; }
  .auth-ctas .btn{ padding: 8px 12px; }
  .footer-grid{ grid-template-columns: 1fr; }
}
