/* =============================================================
   Dansk Gevinst — Wise Dark Theme
   Lime green (#9fe870) on near-black (#0e0f0c)
   ============================================================= */

/* ── Cookie-samtykke ───────────────────────────────────────── */
/* Skjul respekteres: ellers overstyrer display nedenfor [hidden] (UA) */
.cc-banner[hidden], .cc-modal[hidden] { display: none !important; }

.cc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  max-width: 1100px; margin: 0 auto;
  background: #15171266; background: rgba(20, 22, 18, 0.96);
  border: 1px solid rgba(159, 232, 112, 0.30); border-radius: 18px;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}
.cc-inner { display: flex; gap: 18px; align-items: center; padding: 18px 22px; flex-wrap: wrap; }
.cc-text { flex: 1 1 320px; }
.cc-text strong { font-size: 16px; }
.cc-text p { font-size: 13.5px; color: #a0a39e; margin-top: 4px; }
.cc-text a { color: #9fe870; }
.cc-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.cc-modal {
  position: fixed; inset: 0; z-index: 320; display: grid; place-items: center;
  background: rgba(8, 9, 7, 0.72); backdrop-filter: blur(4px); padding: 20px;
}
.cc-modal-card {
  width: 100%; max-width: 520px; background: #1e201c;
  border: 1px solid rgba(232, 235, 230, 0.12); border-radius: 22px; padding: 26px;
  max-height: 90vh; overflow-y: auto;
}
.cc-modal-card h2 { font-size: 24px; font-weight: 900; letter-spacing: -0.6px; }
.cc-modal-sub { color: #a0a39e; font-size: 14px; margin: 8px 0 18px; }
.cc-cat {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid rgba(232, 235, 230, 0.08);
}
.cc-cat span { display: flex; flex-direction: column; }
.cc-cat b { font-size: 15px; }
.cc-cat small { color: #6a6a69; font-size: 12.5px; margin-top: 2px; }
.cc-cat input { width: 20px; height: 20px; accent-color: #9fe870; flex: none; cursor: pointer; }
.cc-modal-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin-top: 20px; }
@media (max-width: 560px) {
  .cc-actions { width: 100%; }
  .cc-actions .btn { flex: 1; justify-content: center; }
}

:root {
  --bg:        #0e0f0c;
  --bg-soft:   #16181400;
  --surface:   #16181480;
  --surface-2: #1e201c;
  --line:      rgba(232, 235, 230, 0.10);
  --line-2:    rgba(232, 235, 230, 0.18);
  --text:      #e8ebe6;
  --muted:     #a0a39e;
  --dim:       #6a6a69;

  --green:     #9fe870;
  --green-2:   #cdffad;
  --dark-green:#163300;
  --mint:      #1a2e10;

  --positive:  #7ee0a0;
  --danger:    #ff6168;
  --warning:   #ffd11a;
  --orange:    #ffc091;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 30px;
  --r-xl: 40px;
  --pill: 9999px;

  --font: 'Inter', Helvetica, Arial, sans-serif;
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* ── Ikoner (inline SVG) ───────────────────────────────────── */
.ico {
  width: 1.1em; height: 1.1em; flex: none;
  display: inline-block; vertical-align: -0.18em;
}
.ico--lg { width: 1.5em; height: 1.5em; }
.ico--btn { width: 1.05em; height: 1.05em; vertical-align: -0.14em; }
.stars { display: inline-flex; gap: 1px; line-height: 1; vertical-align: -0.18em; }
.stars .star { width: 1em; height: 1em; }
.stars .star.on { color: var(--green); }
.stars .star.off { color: rgba(159, 232, 112, 0.32); }
.ic-text { display: inline-flex; align-items: center; gap: 7px; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.44;
  font-feature-settings: "calt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* atmosfærisk grøn glød + diskret tekstur-tile */
  background-image:
    radial-gradient(900px 500px at 75% -10%, rgba(159, 232, 112, 0.10), transparent 60%),
    radial-gradient(700px 400px at 5% 0%, rgba(159, 232, 112, 0.05), transparent 55%),
    linear-gradient(rgba(14, 15, 12, 0.88), rgba(14, 15, 12, 0.88)),
    url("/assets/img/texture-tile.webp");
  background-size: auto, auto, auto, 360px 360px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-attachment: fixed, fixed, fixed, fixed;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--tight { padding: 48px 0; }

/* ── Topbjælke (18+ / ansvarligt spil) ─────────────────────── */
.topbar {
  background: var(--dark-green);
  color: var(--green-2);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 9px 16px;
  letter-spacing: -0.08px;
}
.topbar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(14, 15, 12, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: inline-flex; text-decoration: none; color: var(--text); }

/* ── Brand-logo (animeret) ─────────────────────────────────── */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  position: relative; width: 38px; height: 38px; flex: none;
  display: inline-block;
  filter: drop-shadow(0 4px 14px rgba(159, 232, 112, 0.45));
  animation: brand-glow 4.5s ease-in-out infinite;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  transform-origin: 50% 55%;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-shine { animation: brand-shine 4.5s ease-in-out infinite; }
.brand-word {
  font-size: 20px; font-weight: 900; letter-spacing: -0.7px;
  line-height: 1; color: var(--text); white-space: nowrap;
}
.brand-word b { color: var(--green); font-weight: 900; }
/* Hover: token vipper og vokser */
.nav-brand:hover .brand-mark { transform: scale(1.09) rotate(-6deg); }
.nav-brand:hover .brand-word b { color: var(--green-2); }

@keyframes brand-glow {
  0%, 100% { filter: drop-shadow(0 4px 12px rgba(159, 232, 112, 0.35)); }
  50%      { filter: drop-shadow(0 6px 20px rgba(159, 232, 112, 0.65)); }
}
@keyframes brand-shine {
  0%, 62%, 100% { transform: translateX(0) rotate(18deg); }
  74%           { transform: translateX(80px) rotate(18deg); }
  74.01%, 99%   { transform: translateX(80px) rotate(18deg); }
}
.footer .brand-mark { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none;
  padding: 8px 12px; border-radius: var(--pill); transition: background .15s;
}
.nav-links a:hover { background: rgba(205, 255, 173, 0.10); }
.nav-cta {
  background: var(--green); color: var(--dark-green);
  padding: 9px 20px; border-radius: var(--pill);
  font-size: 15px; font-weight: 700; text-decoration: none;
  transition: transform .2s;
}
.nav-cta:hover { transform: scale(1.05); }
.nav-cta:active { transform: scale(0.96); }
.nav-burger { display: none; background: none; border: 0; color: var(--text); font-size: 26px; cursor: pointer; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 18px; font-weight: 700;
  text-decoration: none; cursor: pointer; border: none;
  padding: 13px 28px; border-radius: var(--pill);
  transition: transform .2s, background .2s;
  letter-spacing: -0.1px;
}
.btn-green { background: var(--green); color: var(--dark-green); }
.btn-green:hover { transform: scale(1.05); background: var(--green-2); }
.btn-green:active { transform: scale(0.96); }
.btn-subtle { background: rgba(205, 255, 173, 0.10); color: var(--text); }
.btn-subtle:hover { transform: scale(1.05); background: rgba(205, 255, 173, 0.16); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { transform: scale(1.05); border-color: var(--green); }
.btn-sm { padding: 8px 18px; font-size: 15px; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 72px;
  background:
    linear-gradient(90deg, var(--bg) 4%, rgba(14, 15, 12, 0.82) 38%, rgba(14, 15, 12, 0.30) 72%, rgba(14, 15, 12, 0.10) 100%),
    url("/assets/img/hero-bg.webp") center right / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-size: clamp(46px, 8vw, 104px);
  font-weight: 900; line-height: 0.85;
  letter-spacing: -2px; margin-bottom: 26px;
}
.hero h1 .hl { color: var(--green); }
.hero .lead {
  font-size: 19px; color: var(--muted); max-width: 560px;
  margin-bottom: 34px; letter-spacing: 0.1px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 28px;
  color: var(--dim); font-size: 14px; font-weight: 600;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .tick { color: var(--green); }

/* ── Badges / chips ────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; padding: 5px 12px; border-radius: var(--pill);
}
.badge-green { background: var(--mint); color: var(--green); border: 1px solid rgba(159,232,112,0.35); }
.badge-license { background: rgba(126,224,160,0.12); color: var(--positive); }
.badge-top { background: var(--green); color: var(--dark-green); }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px; color: var(--green);
  margin-bottom: 14px;
}
.section-title { font-size: clamp(32px, 5vw, 52px); font-weight: 900; line-height: 0.9; letter-spacing: -1.2px; }
.section-sub { color: var(--muted); margin-top: 14px; max-width: 620px; }

/* ── Kasino-kort ───────────────────────────────────────────── */
.casino-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.ccard {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--surface-2), #14161200);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; transition: transform .25s, border-color .25s, box-shadow .25s;
  overflow: hidden;
}
.ccard:hover {
  transform: translateY(-4px);
  border-color: rgba(159,232,112,0.5);
  box-shadow: 0 18px 50px -24px rgba(159,232,112,0.45);
}
.ccard__rank {
  position: absolute; top: 0; right: 0;
  font-size: 64px; font-weight: 900; line-height: 1;
  color: rgba(232,235,230,0.05); padding: 8px 18px; pointer-events: none;
}
.ccard__head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.ccard__logo {
  width: 52px; height: 52px; flex: none; border-radius: var(--r-md);
  background: var(--mint); border: 1px solid rgba(159,232,112,0.3);
  display: grid; place-items: center; font-weight: 900; font-size: 22px; color: var(--green);
}
.ccard__name { font-size: 24px; font-weight: 800; letter-spacing: -0.6px; }
.ccard__tag { font-size: 14px; color: var(--muted); }
.ccard__rating { color: var(--green); font-size: 16px; letter-spacing: 2px; margin: 12px 0 4px; }
.ccard__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 18px; }
.ccard__meta div { background: rgba(232,235,230,0.03); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; }
.ccard__meta .k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--dim); }
.ccard__meta .v { font-size: 16px; font-weight: 700; margin-top: 2px; }
.ccard__foot { margin-top: auto; display: flex; gap: 10px; }
.ccard__foot .btn { flex: 1; justify-content: center; }
.ccard__badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }

/* ── Sammenligningstabel ───────────────────────────────────── */
.table-wrap { border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 15px; }
table.compare th, table.compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.compare thead th {
  background: var(--surface-2); font-weight: 800; font-size: 15px;
  position: sticky; top: 0; letter-spacing: -0.3px;
}
table.compare thead th:first-child { border-top-left-radius: var(--r-xl); }
table.compare tbody th { font-weight: 600; color: var(--muted); }
table.compare tbody tr:hover td, table.compare tbody tr:hover th { background: rgba(159,232,112,0.04); }
table.compare td.hl { color: var(--green); font-weight: 800; }
.tick { color: var(--green); }
.cross { color: var(--dim); }

/* ── Generisk indhold (artikler) ───────────────────────────── */
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; font-weight: 900; letter-spacing: -0.8px; margin: 36px 0 14px; }
.prose h3 { font-size: 21px; font-weight: 800; margin: 26px 0 10px; }
.prose p { color: var(--muted); margin-bottom: 14px; }
.prose ul { color: var(--muted); margin: 0 0 16px 20px; }
.prose li { margin-bottom: 7px; }
.prose strong { color: var(--text); }

.panel {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px;
}
.panel--green { background: var(--mint); border-color: rgba(159,232,112,0.3); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.list-pros li::marker { content: "✅ "; }
.list-cons li::marker { content: "⚠️ "; }
.plain { list-style: none; margin-left: 0; }
.plain li { padding-left: 22px; position: relative; }
.plain li::before { content: "→"; position: absolute; left: 0; color: var(--green); }

/* ── Ansvarligt spil ───────────────────────────────────────── */
.rg-box {
  background:
    linear-gradient(120deg, rgba(13, 20, 5, 0.92) 0%, rgba(14, 15, 12, 0.72) 60%, rgba(14, 15, 12, 0.55) 100%),
    url("/assets/img/luxury-arcs.webp") center / cover no-repeat,
    var(--dark-green);
  border: 1px solid rgba(159,232,112,0.25); border-radius: var(--r-xl);
  padding: 36px;
}
.rg-box h3 { font-size: 24px; font-weight: 900; margin-bottom: 10px; }
.rg-row { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 18px; font-weight: 700; }
.rg-row a { color: var(--green); }

/* ── CTA-bånd ──────────────────────────────────────────────── */
.cta-band {
  background: var(--green); color: var(--dark-green);
  border-radius: var(--r-xl); padding: 48px; text-align: center;
}
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; line-height: 0.9; letter-spacing: -1px; }
.cta-band p { font-weight: 600; margin: 12px auto 24px; max-width: 520px; }
.cta-band .btn-dark { background: var(--dark-green); color: var(--green); }
.cta-band .btn-dark:hover { background: #0e0f0c; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line); padding: 64px 0 32px; margin-top: 40px;
  background:
    linear-gradient(180deg, var(--bg) 12%, rgba(14, 15, 12, 0.78) 55%, rgba(14, 15, 12, 0.62) 100%),
    url("/assets/img/mesh-wave.webp") center bottom / cover no-repeat;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--dim); margin-bottom: 14px; }
.footer a { color: var(--muted); text-decoration: none; display: block; margin-bottom: 8px; font-size: 15px; }
.footer a:hover { color: var(--green); }
.footer .org { color: var(--muted); font-size: 14px; line-height: 1.7; }
.footer-bottom {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  color: var(--dim); font-size: 13px;
}
.disclosure {
  background: rgba(255,209,26,0.07); border: 1px solid rgba(255,209,26,0.25);
  color: var(--warning); border-radius: var(--r-md); padding: 12px 16px;
  font-size: 13px; font-weight: 600; margin-top: 24px;
}

/* ── Breadcrumb ────────────────────────────────────────────── */
.crumb { font-size: 14px; color: var(--dim); margin-bottom: 24px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--green); }

.updated { font-size: 13px; color: var(--dim); }

/* ── Reveal-animation ──────────────────────────────────────── */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.reveal { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
.reveal:nth-child(2) { animation-delay: .06s; }
.reveal:nth-child(3) { animation-delay: .12s; }
.reveal:nth-child(4) { animation-delay: .18s; }
.reveal:nth-child(5) { animation-delay: .24s; }

/* ── Responsiv ─────────────────────────────────────────────── */
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: 12px 24px 20px;
  }
  .nav-links.open a { width: 100%; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band, .rg-box { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
