/* =========================================================
   GPIdea — casinoguide
   Designspråk lånat från gpidea.org: ljus header, mörk
   navigationsrad, breda sektioner i vitt / grått / petrol,
   raka knappar och en mörk footer med länkkolumner.
   ========================================================= */

:root{
  --blue:        #06617f;   /* petrolblå — rubriker, sektioner, footer */
  --blue-dark:   #054e66;
  --blue-darker: #04404f;
  --green:       #4c7c3f;   /* knappgrön */
  --green-dark:  #3d6533;
  --green-light: #8cc63f;   /* accent, footerlänkar */
  --ink:         #4a4a4a;   /* brödtext */
  --ink-strong:  #333333;
  --gray-bg:     #ebebeb;
  --gray-line:   #d7d7d7;
  --dark:        #2b2b2b;   /* navigationsrad */
  --wrap:        1140px;
  --content:     1040px;   /* enhetlig bredd för brödtext, tabeller, kort */
  --sans: "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }

html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }

body{
  margin:0;
  font-family:var(--sans);
  font-size:17px;
  line-height:1.65;
  color:var(--ink);
  background:#fff;
}

img{ max-width:100%; height:auto; }

a{ color:var(--blue); }
a:hover{ color:var(--blue-dark); }

h1,h2,h3{ color:var(--ink-strong); margin:0 0 .6em; }

p{ margin:0 0 1.2em; }

code{ font-family:Consolas,Menlo,monospace; font-size:.92em; background:rgba(0,0,0,.06); padding:.1em .35em; }

.wrap{ width:100%; max-width:var(--wrap); margin:0 auto; padding:0 24px; }
.wrap-narrow{ max-width:var(--content); }
.center{ text-align:center; }

.visually-hidden{
  position:absolute; width:1px; height:1px; margin:-1px;
  padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

:focus-visible{ outline:3px solid var(--green-light); outline-offset:2px; }

/* ---------- knappar ---------- */
.btn{
  display:inline-block;
  padding:13px 26px;
  border:0; border-radius:0;
  font-size:15px; line-height:1.2;
  text-decoration:none; text-align:center;
  cursor:pointer;
  transition:background-color .15s ease, color .15s ease;
}
.btn-green{ background:var(--green); color:#fff; }
.btn-green:hover{ background:var(--green-dark); color:#fff; }
.btn-sm{ padding:9px 16px; font-size:13px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  background:#fff;
  border-top:4px solid var(--green-light);
  border-bottom:2px solid var(--green-light);
}
.header-inner{
  display:flex;
  align-items:center;
  gap:24px;
  padding-top:22px;
  padding-bottom:22px;
}

.logo{ display:flex; align-items:center; }
.logo-img{ display:block; width:auto; height:64px; }

/* =========================================================
   SEKTIONER
   ========================================================= */
section { padding:76px 0; }
.section-gray{ background:var(--gray-bg); }
.section-blue{ background:var(--blue); color:#e9f4f8; }
.section-blue h2,.section-blue h3{ color:#fff; }
.section-hero{ padding-top:64px; }

h2{
  font-size:44px; font-weight:300; line-height:1.15;
  text-align:center; margin-bottom:.5em;
}
h2.left{ text-align:left; }
h2 + .criteria,
h2 + .cols-2,
h2 + .table-card,
h2 + .offers{ margin-top:0; }

p{ max-width:var(--content); margin:0 auto 40px; text-align:left; }
.section-blue p{ color:#d6ebf2; }

/* ---------- hero ---------- */
.hero-text{ max-width:var(--content); text-align:left; }
.hero-text h1{ font-size:52px; font-weight:300; line-height:1.1; margin-bottom:.5em; }
.hero-text p:last-child{ margin-bottom:0; }

/* =========================================================
   CASINOTYPER — kortlista
   ========================================================= */
.title-slash{
  display:inline-block; width:26px; height:9px; margin-right:14px;
  background:var(--green-light); transform:skewX(-20deg);
  vertical-align:middle;
}

.offers{ display:flex; flex-direction:column; gap:18px; max-width:var(--content); margin:32px auto; }

.offer{
  display:grid;
  grid-template-columns:1.1fr 1fr 1.1fr .85fr;
  align-items:center;
  gap:0;
  padding:22px 26px;
  background:#fff;
  border-radius:16px;
  box-shadow:0 4px 14px rgba(13,59,92,.09);
  transition:box-shadow .18s ease, transform .18s ease;
}
.offer:hover{ box-shadow:0 8px 24px rgba(13,59,92,.16); transform:translateY(-2px); }

.offer > * + *{ border-left:1px solid #e7e7e7; }
.offer > *{ padding:6px 22px; }
.offer > *:first-child{ padding-left:0; }
.offer > *:last-child{ padding-right:0; }

.offer-media{ display:flex; align-items:center; gap:16px; }
.offer-art{
  display:flex; align-items:center; justify-content:center;
  width:76px; height:76px; flex:0 0 auto;
  background:#eef4f7; border-radius:12px;
}
.offer-art svg{ width:52px; height:52px; display:block; }
.offer-name{
  margin:0; font-size:18px; font-weight:700; line-height:1.3;
  color:var(--ink-strong);
}

.offer-bonus{ text-align:center; }
.offer-label{ display:block; font-size:12px; color:#8a8a8a; margin-bottom:4px; }
.offer-amount{
  display:block; font-size:19px; font-weight:700; line-height:1.3;
  color:var(--ink-strong);
}
.offer-type{ display:block; margin-top:4px; font-size:15px; font-weight:600; color:var(--blue); }

.offer-perks .offer-label{ margin-bottom:8px; }
.offer-perks ul{ margin:0; padding:0; list-style:none; }
.offer-perks li{
  position:relative;
  padding:0 0 7px 26px;
  font-size:14px; line-height:1.45; color:var(--ink);
}
.offer-perks li:last-child{ padding-bottom:0; }
.offer-perks li::before{
  content:""; position:absolute; left:6px; top:4px;
  width:7px; height:12px;
  border:solid var(--green); border-width:0 2px 2px 0;
  transform:rotate(45deg);
}

.offer-action{ display:flex; justify-content:flex-end; }
.btn-play{
  display:inline-block; width:100%; max-width:220px;
  padding:14px 20px;
  background:var(--green); color:#fff;
  border-radius:999px;
  font-size:16px; font-weight:600; text-align:center; text-decoration:none;
  transition:background-color .15s ease;
}
.btn-play:hover{ background:var(--green-dark); color:#fff; }

.disclaimer{ max-width:var(--content); margin:32px auto 0; text-align:left; font-size:13px; line-height:1.6; color:#6f6f6f; }

/* =========================================================
   VARFÖR-SEKTIONEN
   ========================================================= */
.feature{ max-width:1000px; margin:0 auto 56px; }
.feature:last-child{ margin-bottom:0; }
.feature h3{ font-size:30px; font-weight:700; color:var(--blue); margin-bottom:.5em; }
.feature .btn{ margin-top:4px; }

/* =========================================================
   KRITERIER
   ========================================================= */
.criteria{
  display:grid; gap:28px; max-width:var(--content); margin:32px auto; text-align:left;
  grid-template-columns:repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}
.criterion{
  padding:28px 26px;
  background:rgba(255,255,255,.08);
  border-top:3px solid var(--green-light);
}
.criterion-num{
  display:block; margin-bottom:10px;
  font-size:34px; font-weight:300; color:var(--green-light); line-height:1;
}
.criterion h3{ font-size:20px; font-weight:600; margin-bottom:.5em; }
.criterion p{ margin:0; font-size:15px; color:#d6ebf2; }

/* =========================================================
   BONUSAR
   ========================================================= */
.cols-2{ display:grid; gap:28px; max-width:var(--content); margin:32px auto; text-align:left; grid-template-columns:repeat(auto-fit, minmax(min(320px, 100%),1fr)); }
.col-box{ padding:28px 26px; background:#f6f6f6; border-left:4px solid var(--blue); }
.col-box h3{ font-size:22px; font-weight:700; color:var(--blue); }

.tick-list{ margin:0; padding:0; list-style:none; }
.tick-list li{ position:relative; padding:0 0 14px 30px; font-size:15px; }
.tick-list li:last-child{ padding-bottom:0; }
.tick-list li::before{
  content:""; position:absolute; left:4px; top:8px;
  width:9px; height:14px;
  border:solid var(--green); border-width:0 2px 2px 0;
  transform:rotate(45deg);
}
.tick-list strong{ color:var(--ink-strong); }
.section-blue .tick-list strong,
.section-blue .cross-list strong{ color:#fff; }

/* =========================================================
   OMDÖMEN
   ========================================================= */
.quote{
  max-width:820px; margin:32px 0 0;
  padding-left:24px; border-left:4px solid var(--blue);
}
.quote p{ font-size:19px; line-height:1.6; color:var(--ink-strong); }
.quote cite{ font-style:normal; font-size:15px; color:#6f6f6f; }

/* =========================================================
   FAQ
   ========================================================= */
.faq{ border-top:1px solid var(--gray-line); }
.faq-item{ border-bottom:1px solid var(--gray-line); }
.faq-q{
  display:flex; justify-content:space-between; align-items:center; gap:20px;
  width:100%; padding:20px 4px;
  background:none; border:0;
  font:inherit; font-size:18px; font-weight:600; color:var(--blue);
  text-align:left; cursor:pointer;
}
.faq-q::after{
  content:""; flex:0 0 auto;
  width:11px; height:11px;
  border:solid var(--blue); border-width:0 2px 2px 0;
  transform:rotate(45deg) translateY(-3px);
  transition:transform .2s ease;
}
.faq-item.is-open .faq-q::after{ transform:rotate(-135deg) translateY(-3px); }
.faq-q:hover{ color:var(--blue-dark); }

.faq-a{ display:none; padding:0 4px 20px; }
.faq-item.is-open .faq-a{ display:block; }
.faq-a p{ margin:0; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background:var(--blue); color:#dceaf0; }
.footer-inner{
  display:flex; flex-direction:column; align-items:center; gap:34px;
  padding-top:44px; padding-bottom:44px;
}
.footer-logo img{ display:block; width:auto; height:56px; }

.footer-badges{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
  gap:24px 38px;
  width:100%; margin:0; padding:32px 0 0; list-style:none;
  border-top:1px solid rgba(255,255,255,.18);
}
.footer-badges li{ display:flex; align-items:center; }
.footer-badges a{ display:block; }
.badge{
  display:block; width:auto; height:40px;
  opacity:.9; transition:opacity .15s ease;
}
.badge-plate{
  height:56px;
  background:#fff; padding:6px 10px; border-radius:4px;
}
.footer-badges a:hover .badge{ opacity:1; }

/* =========================================================
   INNEHÅLLSFÖRTECKNING (TOC)
   ========================================================= */
section[id]{ scroll-margin-top:20px; }

/* =========================================================
   LÄSVÄNLIGT INNEHÅLL
   ========================================================= */
.content-block{ max-width:var(--content); margin:0 auto; text-align:left; }
.content-block h3{ font-size:23px; font-weight:700; color:var(--blue); margin:1.7em 0 .55em; }
.content-block > h3:first-child{ margin-top:0; }
.content-block .tick-list,
.content-block .cross-list{ margin-top:32px; margin-bottom:32px; }
.section-blue .content-block h3{ color:#fff; }

/* =========================================================
   DATA-TABELLER
   ========================================================= */
.table-card{
  max-width:var(--content); margin:32px auto; overflow-x:auto; -webkit-overflow-scrolling:touch;
  background:#fff; border-radius:14px; text-align:left;
  box-shadow:0 4px 14px rgba(13,59,92,.09);
}
.table-card table{ width:100%; border-collapse:collapse; min-width:520px; }
.table-card thead th{
  background:var(--blue); color:#fff;
  font-size:13px; font-weight:600; letter-spacing:.02em;
  text-align:left; padding:14px 18px; white-space:nowrap;
}
.table-card tbody td{
  padding:13px 18px; font-size:14.5px; line-height:1.5; color:var(--ink);
  border-bottom:1px solid var(--gray-line); vertical-align:top;
}
.table-card tbody tr:last-child td{ border-bottom:0; }
.table-card tbody tr:nth-child(even){ background:#f7f9fa; }
.table-card tbody a{ word-break:break-word; }

/* =========================================================
   CALLOUT / EXEMPEL
   ========================================================= */
.callout{
  margin:32px 0; padding:20px 24px;
  background:#eef6ea; border-left:4px solid var(--green);
  border-radius:0 10px 10px 0;
}
.callout-label{
  display:block; margin-bottom:8px;
  font-size:12px; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; color:var(--green-dark);
}
.callout p{ margin:0 0 .8em; }
.callout p:last-child{ margin-bottom:0; }
.section-blue .callout{ background:rgba(255,255,255,.1); border-left-color:var(--green-light); }
.section-blue .callout-label{ color:var(--green-light); }
.section-blue .callout p{ color:#e9f4f8; }

/* =========================================================
   KRITERIER — ljus variant (för vita/grå sektioner)
   ========================================================= */
.criteria-light .criterion{
  background:#fff; border-top:3px solid var(--blue);
  box-shadow:0 4px 14px rgba(13,59,92,.09);
}
.criteria-light .criterion-num{ color:var(--blue); }
.criteria-light .criterion p{ color:var(--ink); }

/* =========================================================
   FÖR- OCH NACKDELAR
   ========================================================= */
.cross-list{ margin:0; padding:0; list-style:none; }
.cross-list li{ position:relative; padding:0 0 14px 30px; font-size:15px; }
.cross-list li:last-child{ padding-bottom:0; }
.cross-list li::before,.cross-list li::after{
  content:""; position:absolute; left:6px; top:9px;
  width:14px; height:2px; background:#c0392b; border-radius:1px;
}
.cross-list li::before{ transform:rotate(45deg); }
.cross-list li::after{ transform:rotate(-45deg); }
.cross-list strong{ color:var(--ink-strong); }

.col-box-neg{ border-left-color:#c0392b; }

/* =========================================================
   RESPONSIVT
   ========================================================= */
@media (max-width:1024px){
  .offer{ grid-template-columns:1fr 1fr; row-gap:20px; }
  .offer > *{ padding:0 18px; }
  .offer > *:nth-child(odd){ padding-left:0; border-left:0; }
  .offer > *:nth-child(even){ border-left:1px solid #e7e7e7; }
  .offer-action{ justify-content:flex-start; }
  .btn-play{ max-width:none; }
}

@media (max-width:900px){
  body{ font-size:16px; }
  section { padding:56px 0; }
  h2{ font-size:34px; }
  .hero-text h1{ font-size:40px; }
  .criteria,.cols-2{ gap:20px; }
  .table-card thead th{ padding:12px 14px; }
  .table-card tbody td{ padding:11px 14px; }
}

@media (max-width:640px){
  h2{ font-size:29px; }
  .hero-text h1{ font-size:33px; }
  .feature h3{ font-size:24px; }
  .logo-img{ height:48px; }
  .footer-logo img{ height:42px; }
  .criterion,.col-box{ padding:24px 22px; }
  .callout{ padding:18px 20px; }
  .faq-q{ font-size:16px; gap:12px; }

  /* korten staplas i en kolumn */
  .offer{ grid-template-columns:1fr; row-gap:16px; padding:22px 20px; text-align:center; }
  .offer > *{ padding:0; border-left:0 !important; }
  .offer > * + *{ padding-top:16px; border-top:1px solid #e7e7e7; }
  .offer-media{ flex-direction:column; gap:12px; }
  .offer-action{ justify-content:center; }
  .offer-perks ul{ display:inline-block; text-align:left; }
}

@media (max-width:480px){
  .wrap{ padding:0 16px; }
  section { padding:40px 0; }
  .section-hero{ padding-top:36px; }
  h2{ font-size:24px; }
  .hero-text h1{ font-size:28px; }
  p{ margin-bottom:28px; }
  .criteria,.cols-2,.offers,.table-card{ margin-top:24px; margin-bottom:24px; }
  .content-block .tick-list,.content-block .cross-list{ margin-top:24px; margin-bottom:24px; }
  .callout{ margin:24px 0; padding:16px 18px; }
  .criterion{ padding:20px 18px; }
  .criterion-num{ font-size:28px; }
  .col-box{ padding:22px 20px; }
  .table-card thead th,.table-card tbody td{ padding:10px 12px; font-size:13.5px; }
  .footer-inner{ gap:28px; padding-top:36px; padding-bottom:36px; }
  .footer-badges{ gap:20px 24px; padding-top:28px; }
  .badge-plate{ height:48px; }
}

@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition:none !important; }
  html{ scroll-behavior:auto; }
}

.cols-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: var(--content);
    margin: 32px auto;
    text-align: left;
}

.cols-2 > * {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .cols-2 {
        grid-template-columns: 1fr;
    }
}