/* spil-oversigt.com — unique warm Scandinavian palette */
:root {
  --c-bg: #f5f0e8;
  --c-bg-deep: #1a2f45;
  --c-surface: #ffffff;
  --c-surface-alt: #e8f0f6;
  --c-primary: #c45c26;
  --c-primary-hover: #a34a1c;
  --c-secondary: #3d9aab;
  --c-accent: #c41e3a;
  --c-text: #1a2f45;
  --c-text-muted: #5a7a94;
  --c-text-on-dark: #f5f0e8;
  --c-border: #d4dde6;
  --c-success: #2d8a5e;
  --c-warning: #d4a017;
  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --max-w: 1180px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(26, 47, 69, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 47, 69, 0.14);
  --nav-h: 4rem;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a { color: var(--c-primary); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--c-primary-hover); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container { padding-inline: 1.75rem; }
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.97);
  border-bottom: 1px solid var(--c-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--c-text);
  text-decoration: none;
}

.site-logo img { height: 2rem; width: auto; }
.site-logo__text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.site-nav { display: none; gap: 0.25rem; }

@media (min-width: 768px) {
  .site-nav { display: flex; }
}

.site-nav a {
  padding: 0.5rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-text-muted);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.site-nav a:hover {
  color: var(--c-text);
  background: var(--c-surface-alt);
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c-text);
  border-radius: 8px;
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }
}

.nav-toggle svg { width: 1.5rem; height: 1.5rem; }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding: 0.5rem 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.is-open { display: block; }

.mobile-nav a {
  display: block;
  padding: 0.875rem 1.25rem;
  font-weight: 500;
  color: var(--c-text);
  text-decoration: none;
  border-bottom: 1px solid var(--c-border);
}

.mobile-nav a:hover { background: var(--c-surface-alt); }

.nav-backdrop {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: rgba(26, 47, 69, 0.35);
}

.nav-backdrop.is-open { display: block; }

/* ── Hero ── */
.hero {
  position: relative;
  padding: 3rem 0 2.5rem;
  overflow: hidden;
  color: var(--c-text-on-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(26, 47, 69, 0.88) 0%,
    rgba(26, 47, 69, 0.72) 50%,
    rgba(61, 154, 171, 0.55) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.875rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero__title em {
  font-style: normal;
  color: #f0c070;
}

.hero__desc {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 1.75rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0.88;
}

.hero__trust-divider { opacity: 0.35; }

.dk-flag {
  width: 20px;
  height: 15px;
  border-radius: 2px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .hero { padding: 4.5rem 0 3.5rem; }
}

/* ── Sections ── */
.section {
  padding: 2.5rem 0;
}

.section--alt {
  background: var(--c-surface);
}

.section__head {
  margin-bottom: 1.75rem;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin-bottom: 0.5rem;
}

.section__sub {
  font-size: 1rem;
  color: var(--c-text-muted);
  max-width: 52ch;
}

/* ── Operator cards ── */
.op-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.op-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

.op-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.op-card--featured {
  border-color: var(--c-primary);
  border-width: 2px;
}

.op-card__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .op-card__main {
    grid-template-columns: 140px 1fr auto auto;
    gap: 1rem;
    padding: 1rem 1.25rem;
  }
}

.op-card__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg-deep);
  border-radius: 8px;
  padding: 0.75rem;
  min-height: 56px;
}

.op-card__logo {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.op-card__info { min-width: 0; }

.op-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: 0.25rem;
}

.op-card__highlight {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.35;
}

.op-card__rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

.op-card__score {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1;
}

.op-card__score small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--c-text-muted);
}

.op-card__license {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-text-muted);
  white-space: nowrap;
}

.op-card__cta-wrap { display: flex; justify-content: stretch; }

@media (min-width: 640px) {
  .op-card__cta-wrap { justify-content: flex-end; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(196, 92, 38, 0.35);
}

.btn--primary:hover {
  background: var(--c-primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196, 92, 38, 0.4);
}

.btn--secondary {
  background: var(--c-bg-deep);
  color: var(--c-text-on-dark);
}

.btn--secondary:hover {
  background: #243d58;
  color: var(--c-text-on-dark);
}

.op-card__cta { width: 100%; }

@media (min-width: 640px) {
  .op-card__cta { width: auto; min-width: 130px; }
}

.op-card__terms {
  padding: 0.6rem 1.25rem;
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--c-text-muted);
  background: var(--c-surface-alt);
  border-top: 1px solid var(--c-border);
}

.op-card__terms a { color: var(--c-secondary); text-decoration: underline; }

/* ── Newsletter ── */
.newsletter-card {
  background: var(--c-bg-deep);
  color: var(--c-text-on-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.newsletter-card__title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.newsletter-card__desc {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 1.25rem;
  max-width: 48ch;
}

.newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; }

.newsletter-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .newsletter-form__row { grid-template-columns: 1fr 1fr; }
}

.newsletter-form__input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.newsletter-form__input:focus {
  outline: 2px solid var(--c-primary);
  outline-offset: 1px;
}

.newsletter-form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  opacity: 0.85;
  cursor: pointer;
}

.newsletter-form__check input { margin-top: 0.2rem; flex-shrink: 0; accent-color: var(--c-primary); }
.newsletter-form__check a { color: #f0c070; }

.newsletter-form__btn { align-self: flex-start; margin-top: 0.25rem; }

/* ── Feature cards ── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

.feature-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.feature-card:hover { border-color: var(--c-secondary); }

.feature-card__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.55;
}

/* ── Editor's pick ── */
.pick-card {
  background: var(--c-bg-deep);
  color: var(--c-text-on-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.pick-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 92, 38, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.pick-card__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f0c070;
  margin-bottom: 0.75rem;
}

.pick-card__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
}

.pick-card__desc {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 1.5rem;
  max-width: 52ch;
  position: relative;
}

.pick-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  position: relative;
}

@media (min-width: 768px) {
  .pick-row {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }
}

.pick-row__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 64px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.75rem;
  align-self: center;
}

.pick-row__logo img { max-height: 44px; }

.pick-row__info {
  flex: 1;
  text-align: center;
}

.pick-row__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pick-row__meta {
  font-size: 0.85rem;
  opacity: 0.75;
}

.pick-row__stars {
  color: var(--c-warning);
  letter-spacing: 0.15em;
  font-size: 0.8rem;
}

/* ── FAQ ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-text);
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--c-text-muted);
  border-bottom: 2px solid var(--c-text-muted);
  transform: rotate(45deg);
  transition: transform 0.2s;
  margin-top: -4px;
}

.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }

.faq-item__answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.95rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

.faq-item__answer p + p { margin-top: 0.75rem; }

/* ── Footer ── */
.site-footer {
  margin-top: auto;
  background: var(--c-bg-deep);
  color: var(--c-text-on-dark);
  border-top: 3px solid var(--c-primary);
}

.site-footer a { color: rgba(245, 240, 232, 0.85); }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--c-text-on-dark);
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-logo img { height: 2rem; }

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links a {
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-compliance__label {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.7;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-compliance__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-compliance__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 3rem;
  border-radius: 4px;
  transition: opacity 0.15s;
}

.footer-compliance__list img {
  width: 4.5rem;
  height: 3rem;
  object-fit: contain;
  border-radius: 4px;
}

.footer-compliance__list a img {
  width: 100%;
  height: 100%;
}

.footer-compliance__list a:hover { opacity: 0.8; }

.footer-disclaimer {
  padding: 1.25rem 0 2rem;
  font-size: 0.75rem;
  line-height: 1.6;
  opacity: 0.55;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── Cookie banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  box-shadow: 0 -8px 32px rgba(26, 47, 69, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    padding: 1rem 1.75rem;
  }
}

.cookie-banner__text { flex: 1; min-width: 0; }

.cookie-banner__title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.cookie-banner__desc {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-banner__actions .btn {
  padding: 0.6rem 1.1rem;
  font-size: 0.8rem;
}

.btn--ghost {
  background: transparent;
  color: var(--c-text-muted);
  border: 1px solid var(--c-border);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--c-surface-alt);
  color: var(--c-text);
  transform: none;
  box-shadow: none;
}

/* ── Utility ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
