/* Casumo SE — brand mirror: deep purple + coral CTA, rounded display type */
:root{
  --bg:#26005e;
  --bg-deep:#1b0044;
  --surface:#3b038e;
  --surface-2:#4602ae;
  --surface-3:#5a1bc9;
  --violet:#6e28fa;
  --coral:#ff643c;
  --coral-hover:#ff8058;
  --yellow:#ffe600;
  --pink:#ff78d2;
  --teal:#00d3c5;
  --text:#ffffff;
  --muted:#cdb9f4;
  --border:rgba(255,255,255,.14);
  --border-strong:rgba(255,255,255,.28);
  --radius:18px;
  --radius-sm:12px;
  --shadow:0 18px 40px rgba(10,0,35,.45);
  --font-display:"Fredoka","Baloo 2","Trebuchet MS",system-ui,sans-serif;
  --font-body:"Poppins","Segoe UI",system-ui,-apple-system,sans-serif;
  --wrap:1180px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:5.5rem}
body{
  margin:0;
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.72;
  color:var(--text);
  background:
    radial-gradient(1100px 600px at 12% -8%, rgba(110,40,250,.55), transparent 60%),
    radial-gradient(900px 520px at 92% 4%, rgba(255,120,210,.20), transparent 62%),
    var(--bg);
  background-attachment:fixed;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--teal);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4,.logo{font-family:var(--font-display);line-height:1.18;letter-spacing:-.01em}
h1{font-size:clamp(2rem,4.6vw,3.1rem);margin:0 0 .5em;font-weight:600}
h2{font-size:clamp(1.5rem,2.8vw,2.1rem);margin:2.4rem 0 .7rem;font-weight:600}
h3{font-size:clamp(1.15rem,2vw,1.4rem);margin:1.9rem 0 .5rem;font-weight:600}
p{margin:0 0 1.05rem}
ul,ol{margin:0 0 1.15rem;padding-left:1.25rem}
li{margin:.35rem 0}
strong{color:#fff}

.wrap{width:min(100% - 2.4rem,var(--wrap));margin-inline:auto}

/* ---------- header ---------- */
.site-head{
  position:sticky;top:0;z-index:60;
  background:rgba(27,0,68,.86);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}
.head-row{display:flex;align-items:center;gap:1rem;padding:.7rem 0}
.logo{
  display:inline-flex;align-items:center;gap:.5rem;
  font-size:1.45rem;font-weight:600;color:#fff;text-decoration:none;
}
.logo-dot{
  width:32px;height:32px;border-radius:8px;
  background:url("/foto/favicon.svg") center/contain no-repeat;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,.4));
}
.logo span{color:var(--yellow)}
.nav-toggle{
  margin-left:auto;display:none;background:transparent;border:1px solid var(--border-strong);
  color:#fff;border-radius:10px;padding:.45rem .7rem;font:inherit;font-size:.9rem;cursor:pointer;
}
.site-nav{margin-left:auto;display:flex;flex-wrap:wrap;gap:.15rem;align-items:center}
.site-nav a{
  color:#efe6ff;font-size:.93rem;font-weight:500;padding:.42rem .62rem;border-radius:999px;
}
.site-nav a:hover{background:rgba(255,255,255,.10);text-decoration:none}
.site-nav a[aria-current="page"]{background:var(--violet);color:#fff}
.head-cta{
  background:var(--coral);color:#fff !important;font-weight:600;
  padding:.55rem 1.05rem !important;border-radius:999px;margin-left:.4rem;
  box-shadow:0 6px 18px rgba(255,100,60,.35);
}
.head-cta:hover{background:var(--coral-hover);text-decoration:none}

/* ---------- hero ---------- */
.hero{padding:3.2rem 0 1.4rem}

/* svensk hero-banner */
.hero-se{
  position:relative;
  margin:1rem 0 .6rem;
  padding:2.8rem 2.2rem 2.4rem;
  border-radius:28px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 20px 50px rgba(10,0,35,.5);
  background:
    linear-gradient(90deg, rgba(16,0,40,.96) 0%, rgba(20,0,48,.88) 45%, rgba(20,0,48,.35) 75%, rgba(20,0,48,.10) 100%),
    url("/foto/banner.jpg") center right / cover no-repeat,
    var(--bg-deep);
}
.hero-se::after{
  content:"";position:absolute;inset:auto 0 0 0;height:120px;pointer-events:none;
  background:linear-gradient(to top, rgba(20,0,48,.85), transparent);
}
.hero-se > *{position:relative;z-index:1}
/* kompakt banner på undersidor */
.hero-inner{padding:2.1rem 1.6rem 1.5rem;margin-top:.4rem}
.hero-inner h1{margin-bottom:.45em}
.hero-inner .lead{margin-bottom:1.3rem}
.hero-inner-text{max-width:62ch}
.offer-strip{
  display:grid;grid-template-columns:auto 1fr auto;gap:1.4rem;align-items:center;
  background:linear-gradient(140deg, rgba(70,2,174,.92), rgba(59,3,142,.88));
  border:1px solid var(--border-strong);border-radius:20px;padding:1rem 1.25rem;
  box-shadow:0 12px 30px rgba(10,0,35,.35);
}
.offer-strip-label{
  margin:0 0 .1rem;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;
  font-weight:600;color:var(--yellow);
}
.offer-strip-amount{
  margin:0;font-family:var(--font-display);font-weight:600;font-size:1.45rem;
  color:#fff;line-height:1.15;white-space:nowrap;
}
.offer-strip-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.35rem 1.1rem}
.offer-strip-list li{
  display:flex;align-items:center;gap:.4rem;margin:0;font-size:.9rem;color:#efe6ff;max-width:none;
}
.offer-strip-list li::before{content:"◆";color:var(--teal);font-size:.65rem}
.offer-strip-cta{text-align:center}
.offer-strip-cta .btn{padding:.7rem 1.4rem;white-space:nowrap}
.offer-strip-cta .fineprint{margin:.45rem 0 0;font-size:.74rem}
@media (max-width:1000px){
  .offer-strip{grid-template-columns:1fr;gap:.9rem;text-align:left}
  .offer-strip-cta{text-align:left}
  .offer-strip-cta .btn{display:block;width:100%}
}

.se-badges{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1rem;padding:0;list-style:none}
.se-badges li{
  display:inline-flex;align-items:center;gap:.4rem;
  font-size:.82rem;font-weight:500;color:#fff;
  background:rgba(255,255,255,.10);border:1px solid var(--border-strong);
  border-radius:999px;padding:.32rem .8rem;
}
.se-badges li::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--teal)}
.se-badges li:nth-child(2)::before{background:var(--yellow)}
.se-badges li:nth-child(3)::before{background:var(--pink)}
.se-badges li:nth-child(4)::before{background:var(--coral)}
@media (max-width:900px){
  .hero-se{
    padding:1.6rem 1.1rem 1.6rem;border-radius:20px;
    background:
      linear-gradient(180deg, rgba(16,0,40,.94) 0%, rgba(20,0,48,.82) 60%, rgba(20,0,48,.40) 100%),
      url("/foto/banner.jpg") center center / cover no-repeat;
  }
  .se-badges{display:grid;grid-template-columns:1fr 1fr;gap:.4rem}
  .se-badges li{font-size:.74rem;padding:.28rem .6rem;justify-content:center}
  .se-badges li::before{width:7px;height:7px;flex:0 0 auto}
}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:2.2rem;align-items:center}
.eyebrow{
  display:inline-block;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;
  font-weight:600;color:var(--yellow);margin-bottom:.8rem;
}
.hero p.lead{font-size:1.12rem;color:#eadcff;max-width:70ch}
.hero-grid p.lead{max-width:46ch}
main p,main li{max-width:82ch}
.offer-card li,.card p,.game .tag,.answer p{max-width:none}
.offer-card{
  background:linear-gradient(160deg, rgba(37,14,82,.92), rgba(24,6,56,.90));
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.18);
  border-radius:26px;padding:1.6rem 1.5rem;
  box-shadow:0 16px 40px rgba(0,0,0,.45);
}
.offer-card .amount{font-family:var(--font-display);font-size:2.5rem;font-weight:600;color:var(--yellow);line-height:1.1}
.offer-card ul{list-style:none;padding:0;margin:1rem 0 1.2rem}
.offer-card li{display:flex;gap:.55rem;align-items:flex-start;font-size:.97rem;color:#f2e9ff}
.offer-card li::before{content:"◆";color:var(--teal);font-size:.75rem;line-height:1.9}
.fineprint{font-size:.82rem;color:var(--muted);margin:0}

/* ---------- buttons ---------- */
.btn{
  display:inline-block;background:var(--coral);color:#fff;font-weight:600;
  padding:.85rem 1.6rem;border-radius:999px;text-align:center;
  box-shadow:0 10px 26px rgba(255,100,60,.34);transition:transform .15s ease,background .15s ease;
}
.btn:hover{background:var(--coral-hover);text-decoration:none;transform:translateY(-2px)}
.btn-wide{display:block;width:100%}
.btn-ghost{
  display:inline-block;border:1px solid var(--border-strong);color:#fff;font-weight:500;
  padding:.8rem 1.4rem;border-radius:999px;background:rgba(255,255,255,.05);
}
.btn-ghost:hover{background:rgba(255,255,255,.12);text-decoration:none}

/* ---------- generic blocks ---------- */
main{padding-bottom:3rem}
.section{padding:.6rem 0}
.answer{
  background:linear-gradient(140deg,rgba(0,211,197,.14),rgba(110,40,250,.16));
  border:1px solid var(--border-strong);border-left:5px solid var(--teal);
  border-radius:var(--radius);padding:1.15rem 1.35rem;margin:0 0 1.8rem;
}
.answer p:last-child{margin-bottom:0}
.answer h2{margin-top:0}
.note{
  border:1px dashed var(--border-strong);border-radius:var(--radius-sm);
  padding:1rem 1.2rem;background:rgba(255,255,255,.05);margin:1.5rem 0;
}
.note strong{color:var(--yellow)}
.cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.1rem;margin:1.4rem 0}
.card{
  background:rgba(255,255,255,.06);border:1px solid var(--border);border-radius:var(--radius);
  padding:1.15rem 1.25rem;
}
.card h3{margin-top:0;font-size:1.1rem}
.card p:last-child{margin-bottom:0}
.steps{counter-reset:s;list-style:none;padding:0;margin:1.4rem 0}
.steps li{
  counter-increment:s;position:relative;padding:.2rem 0 .9rem 3rem;border-left:2px solid var(--border);
  margin:0 0 0 1rem;
}
.steps li:last-child{border-left-color:transparent}
.steps li::before{
  content:counter(s);position:absolute;left:-1.05rem;top:0;
  width:2.05rem;height:2.05rem;border-radius:50%;background:var(--violet);color:#fff;
  font-family:var(--font-display);font-weight:600;display:grid;place-items:center;font-size:.95rem;
}

/* ---------- tables ---------- */
.table-scroll{overflow-x:auto;margin:1.4rem 0;border-radius:var(--radius);border:1px solid var(--border)}
table{border-collapse:collapse;width:100%;min-width:520px;font-size:.95rem;background:rgba(255,255,255,.04)}
caption{caption-side:top;text-align:left;padding:.85rem 1rem;color:var(--muted);font-size:.9rem}
th,td{padding:.72rem .95rem;text-align:left;border-bottom:1px solid var(--border)}
thead th{background:var(--surface-2);color:#fff;font-family:var(--font-display);font-weight:600}
tbody tr:last-child td{border-bottom:none}
tbody tr:nth-child(even){background:rgba(255,255,255,.03)}

/* ---------- game grid ---------- */
.games{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem;margin:1.5rem 0}
@media (min-width:1000px){.games-7{grid-template-columns:repeat(7,1fr)}}
.game{
  background:rgba(255,255,255,.06);border:1px solid var(--border);border-radius:var(--radius-sm);
  overflow:hidden;transition:transform .15s ease,border-color .15s ease;
}
.game:hover,.game:focus-within{transform:translateY(-4px);border-color:var(--teal)}
.game-link{display:block;color:inherit;text-decoration:none}
.game-link:hover{text-decoration:none}
.game-link:focus-visible{outline:3px solid var(--yellow);outline-offset:3px;border-radius:var(--radius-sm)}
.game-art{position:relative;display:block}
.game img{width:100%;aspect-ratio:226/338;object-fit:cover}
.game-play{
  position:absolute;inset:0;display:grid;place-items:center;
  font-family:var(--font-display);font-weight:600;font-size:.9rem;color:#fff;
  background:linear-gradient(0deg, rgba(27,0,68,.74), rgba(110,40,250,.30));
  opacity:0;transition:opacity .15s ease;
}
.game-play > span,.game-play{line-height:1}
.game-play{padding:0}
.game-art .game-play{text-align:center}
.game-play::after{
  content:"";position:absolute;left:50%;top:50%;width:56px;height:56px;margin:-28px 0 0 -28px;
  border-radius:50%;border:2px solid var(--coral);
  box-shadow:0 8px 22px rgba(255,100,60,.35), inset 0 0 0 12px rgba(255,100,60,.18);
}
.game:hover .game-play,.game:focus-within .game-play{opacity:1}
.game .meta{display:block;padding:.6rem .7rem}
.game .name{display:block;font-family:var(--font-display);font-weight:600;font-size:.95rem;margin:0 0 .15rem;line-height:1.25}
.game .tag{display:block;font-size:.78rem;color:var(--muted);margin:0}
@media (hover:none){.game-play{opacity:0}}

/* ---------- FAQ ---------- */
.faq{margin:1.6rem 0}
.faq details{
  border:1px solid var(--border);border-radius:var(--radius-sm);
  background:rgba(255,255,255,.05);margin:0 0 .7rem;padding:.2rem 1.1rem;
}
.faq summary{
  cursor:pointer;font-family:var(--font-display);font-weight:600;font-size:1.02rem;
  padding:.85rem 0;list-style:none;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";float:right;color:var(--yellow);font-size:1.3rem;line-height:1}
.faq details[open] summary::after{content:"–"}
.faq details p{color:#eadcff}

/* ---------- breadcrumbs / related ---------- */
.crumbs{font-size:.86rem;color:var(--muted);padding:1.1rem 0 .2rem}
.crumbs a{color:var(--muted)}
.related{display:flex;flex-wrap:wrap;gap:.6rem;margin:2rem 0 0}
.related a{
  border:1px solid var(--border-strong);border-radius:999px;padding:.45rem .95rem;
  font-size:.9rem;color:#fff;background:rgba(255,255,255,.05);
}
.related a:hover{background:var(--violet);text-decoration:none}

/* ---------- cta band ---------- */
.cta-band{
  background:linear-gradient(120deg,var(--surface-2),var(--violet));
  border:1px solid var(--border-strong);border-radius:24px;
  padding:1.7rem;margin:2.4rem 0 1rem;display:flex;gap:1.4rem;
  align-items:center;justify-content:space-between;flex-wrap:wrap;
}
.cta-band h2{margin:0 0 .3rem}
.cta-band p{margin:0;color:#eadcff;max-width:52ch}

/* ---------- footer ---------- */
.site-foot{
  background:var(--bg-deep);border-top:1px solid var(--border);
  padding:2.4rem 0 5.5rem;font-size:.92rem;color:var(--muted);
}
.foot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.6rem}
.site-foot h3{color:#fff;font-size:1rem;margin:0 0 .6rem}
.site-foot ul{list-style:none;padding:0;margin:0}
.site-foot a{color:var(--muted)}
.foot-legal{margin-top:1.8rem;border-top:1px solid var(--border);padding-top:1.2rem;font-size:.85rem}
.age{
  display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;
  border:2px solid var(--coral);color:var(--coral);font-weight:700;font-size:.85rem;margin-right:.6rem;
}

/* ---------- sticky mobile CTA ---------- */
.sticky-cta{
  position:fixed;left:0;right:0;bottom:0;z-index:70;display:none;
  padding:.6rem .9rem calc(.6rem + env(safe-area-inset-bottom));
  background:rgba(27,0,68,.95);border-top:1px solid var(--border-strong);
  backdrop-filter:blur(10px);
}
.sticky-cta .btn{padding:.75rem 1rem}

@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr}
  .head-row{position:relative;justify-content:space-between}
  .nav-toggle{
    display:inline-flex;align-items:center;gap:.4rem;
    margin-left:auto;background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.20);
    color:#fff;border-radius:12px;padding:.45rem .85rem;
    font-weight:600;font-size:.9rem;cursor:pointer;
    transition:background .2s ease;
  }
  .nav-toggle:hover{background:rgba(255,255,255,.18)}
  .site-nav{
    position:absolute;top:100%;left:0;right:0;
    width:100%;flex-direction:column;align-items:stretch;gap:.4rem;
    display:none;padding:1rem 1.1rem 1.3rem;
    background:linear-gradient(175deg, rgba(16,0,40,.98) 0%, rgba(27,0,68,.96) 100%);
    backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
    border-bottom:1px solid rgba(255,255,255,.15);
    box-shadow:0 20px 40px rgba(0,0,0,.6);
    border-radius:0 0 22px 22px;
  }
  .site-nav.open{display:flex}
  .site-nav a{
    display:flex;align-items:center;justify-content:flex-start;
    width:100%;padding:.75rem 1rem;border-radius:14px;
    font-size:.98rem;font-weight:500;color:#f2e9ff;
    background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.07);
    transition:background .15s ease, border-color .15s ease;
  }
  .site-nav a:hover{
    background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.18);
    text-decoration:none;
  }
  .site-nav a[aria-current="page"]{
    background:linear-gradient(135deg, var(--violet), #4c0099);
    border-color:rgba(255,255,255,.25);color:#fff;
    font-weight:600;box-shadow:0 4px 16px rgba(76,0,153,.4);
  }
  .head-cta{
    margin:.5rem 0 0 !important;width:100%;text-align:center;justify-content:center !important;
    padding:.85rem 1rem !important;border-radius:14px !important;
    background:linear-gradient(135deg, var(--coral), #ff4500) !important;
    font-size:1.02rem !important;box-shadow:0 8px 24px rgba(255,100,60,.4) !important;
  }
  .sticky-cta{display:block}
  body{padding-bottom:0}
  .games{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}
}
@media (prefers-reduced-motion:reduce){
  *{transition:none !important;scroll-behavior:auto}
}
