/* Top Slot Portal — “Schweizisk redaktion”: hvid flade, sort typografi, én kraftfuld accent */

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;1,14..32,400&family=Newsreader:ital,opsz,wght@0,6..72,500;0,6..72,600;0,6..72,700;1,6..72,500&display=swap");

:root {
  color-scheme: light;
  font-family: "Inter", system-ui, sans-serif;
  font-optical-sizing: auto;
  line-height: 1.65;
  --bg-deep: #fafafa;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --glass-border: #e5e5e5;
  --text: #171717;
  --text-soft: #404040;
  --muted: #737373;
  --gold: #b91c1c;
  --gold-dim: #991b1b;
  --violet: #1e40af;
  --violet-deep: #1e3a8a;
  --accent-line: linear-gradient(90deg, #b91c1c 0%, #171717 100%);
  --shadow-deep: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04);
  --radius-lg: 8px;
  --radius-md: 6px;
  --radius-pill: 6px;
  --font-display: "Newsreader", Georgia, serif;
  --voice-label: 0.02em;
  --voice-tight: -0.02em;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(#f5f5f5 1px, transparent 1px),
    linear-gradient(90deg, #f5f5f5 1px, transparent 1px);
  background-size: 64px 64px;
  background-attachment: fixed;
}

a {
  color: var(--violet-deep);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  font-weight: 500;
}

a:hover {
  color: #172554;
}

.app-root {
  position: relative;
  min-height: 100vh;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.page-backdrop__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(255, 255, 255, 0.9) 0%, transparent 55%);
}

.page-backdrop__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 100% 24px;
}

.page-backdrop__symbols {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #d4d4d4;
  opacity: 0.25;
}

.site-wrap {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3.5rem;
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid #e5e5e5;
  background: transparent;
  box-shadow: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.logo-img {
  width: min(200px, 54vw);
  height: auto;
  display: block;
  filter: none;
}

.nav-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem 0.15rem;
  max-width: 100%;
}

.nav-link {
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  color: #525252;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-link:hover {
  color: var(--text);
  background: #f5f5f5;
  border-color: transparent;
}

.nav-link.active {
  color: var(--text);
  font-weight: 600;
  background: transparent;
  border-bottom: 2px solid #b91c1c;
  border-radius: 0;
  padding-bottom: 0.3rem;
}

main {
  margin-top: 0;
}

section {
  margin-bottom: 2.25rem;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: start;
}

.hero-copy {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  overflow: visible;
}

.hero-copy::before {
  display: none;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid #e5e5e5;
  padding-left: 1.75rem;
}

.hero-visual-card {
  flex: 1;
  min-height: auto;
  border-radius: 0;
  border: none;
  background: transparent;
  padding: 1.15rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
  box-shadow: none;
  border-bottom: 1px solid #f0f0f0;
}

.hero-visual-card:last-child {
  border-bottom: none;
}

.hero-icon-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.hero-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: #f5f5f5;
  color: #171717;
  border: 1px solid #e5e5e5;
  flex-shrink: 0;
}

.hero-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.hero-visual-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  letter-spacing: 0;
}

.eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #737373;
  margin: 0 0 0.75rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: var(--voice-tight);
  color: var(--text);
  line-height: 1.15;
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  margin: 0 0 1.25rem;
}

h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  margin: 0 0 0.85rem;
}

h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 0.45rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-soft);
}

.last-updated {
  font-size: 0.8125rem;
  color: var(--muted);
  font-style: normal;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  font-family: "Inter", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid #171717;
  border-radius: 6px;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  color: #fafafa;
  background: #171717;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: none;
  box-shadow: none;
  background: #404040;
  color: #fafafa;
}

.btn-small {
  padding: 0.5rem 0.9rem;
  font-size: 0.75rem;
}

.btn-muted {
  background: #ffffff;
  color: #171717;
  border: 1px solid #d4d4d4;
}

.btn-muted:hover {
  background: #fafafa;
  color: #171717;
  border-color: #a3a3a3;
}

.btn-link {
  background: none;
  border: none;
  color: var(--gold-dim);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.35rem 0.25rem;
}

.btn-link:hover {
  color: #7f1d1d;
  transform: none;
}

.hero.compact h1 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.hero.compact {
  padding: 0 0 1.5rem;
  margin-bottom: 0.5rem;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid #e5e5e5;
  background: transparent;
  box-shadow: none;
  position: relative;
  overflow: visible;
}

.hero.compact::before {
  display: none;
}

.disclosure {
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  border: 1px solid #e5e5e5;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.disclosure h2 {
  font-family: "Inter", sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #b91c1c;
  margin-bottom: 0.6rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-kicker {
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.6;
}

.home-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.home-subtitle--gold {
  color: #b91c1c;
}

.home-subtitle--muted {
  color: #737373;
}

.home-subtitle__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: inherit;
}

.casino-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.casino-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid #e5e5e5;
  background: #ffffff;
  backdrop-filter: none;
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.casino-card:hover {
  border-color: #d4d4d4;
  transform: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.casino-card--featured {
  background: #fafafa;
  border-color: #171717;
  min-height: 100%;
}

.casino-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  background: #b91c1c;
  padding: 0.3rem 0.55rem;
  border-radius: 4px;
  box-shadow: none;
}

.casino-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding: 0.85rem 1rem;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid #f0f0f0;
}

.casino-card--featured .casino-card__logo {
  min-height: 140px;
  background: #ffffff;
}

.brand-logo {
  max-height: 76px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  filter: none;
}

.casino-card--featured .brand-logo {
  max-height: 92px;
}

.casino-card__summary {
  font-size: 0.875rem;
  color: var(--text-soft);
  margin: 0;
  flex-grow: 1;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag-pill {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #525252;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
}

.casino-card__cta {
  margin-top: auto;
}

.anchor-target {
  scroll-margin-top: 5rem;
}

.grid-asymmetric {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
}

.panel {
  border-radius: var(--radius-lg);
  border: 1px solid #e5e5e5;
  background: #ffffff;
  padding: 1.5rem 1.55rem;
  box-shadow: var(--shadow-card);
}

.panel--accent {
  border-color: #e5e5e5;
  background: #fafafa;
}

.steps {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-soft);
}

.steps li {
  margin-bottom: 0.5rem;
}

.check-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.check-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: #b91c1c;
  box-shadow: none;
}

.updates-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.update-card {
  position: relative;
  padding-top: 1rem;
  border-top: 2px solid #171717;
  margin-left: 0;
}

.update-card::before {
  display: none;
}

.update-date {
  font-family: "Inter", sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #737373;
  margin-bottom: 0.4rem;
}

.help-strip {
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.7rem;
  border: 1px solid #e5e5e5;
  background: #fafafa;
  position: relative;
  overflow: hidden;
  box-shadow: none;
}

.help-strip::after {
  display: none;
}

.help-strip h2 {
  position: relative;
  z-index: 1;
}

.help-strip p {
  position: relative;
  z-index: 1;
  max-width: 62ch;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list article {
  position: relative;
  padding-left: 1.25rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
  padding-right: 1.2rem;
  border: 1px solid #e5e5e5;
  box-shadow: var(--shadow-card);
}

.faq-list article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 2px 0 0 2px;
  background: #b91c1c;
}

.footer {
  margin-top: 3.5rem;
  padding: 2.5rem 0 2rem;
  border-radius: 0;
  border: none;
  border-top: 1px solid #e5e5e5;
  background: transparent;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  box-shadow: none;
}

.footer h2 {
  font-family: "Inter", sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #171717;
  margin-bottom: 0.75rem;
}

.footer p,
.footer li {
  font-size: 0.875rem;
  color: #525252;
}

.footer a {
  color: #1e40af;
}

.footer a:hover {
  color: #172554;
}

.footer ul {
  margin: 0;
  padding-left: 1.15rem;
}

.reg-links {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.65rem;
}

.reg-links li a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 500;
}

.reg-links--stacked li a {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.reg-logo {
  width: auto;
  height: 26px;
  max-width: 120px;
  object-fit: contain;
  border-radius: 4px;
  background: #ffffff;
  padding: 4px 6px;
  border: 1px solid #e5e5e5;
}

.reg-logo--large {
  height: auto;
  min-height: 56px;
  max-height: 72px;
  width: 100%;
  max-width: 220px;
  object-fit: contain;
  padding: 0.5rem 0.65rem;
}

/* Alder + ansvarligt spil — bannere */
.age-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  padding: 0.65rem 1rem;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius-md);
  background: #fafafa;
}

.age-strip__badge {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  min-width: 2.75rem;
  padding: 0.35rem 0.5rem;
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: #171717;
  border-radius: 4px;
}

.age-strip__text {
  margin: 0;
  flex: 1;
  min-width: min(100%, 280px);
  font-size: 0.8125rem;
  color: #404040;
  line-height: 1.45;
}

.age-strip__link {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 600;
}

.rg-banner-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.rg-card {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid #e5e5e5;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.rg-card--warn {
  border-left: 4px solid #b91c1c;
}

.rg-card--help {
  border-left: 4px solid #1e40af;
}

.rg-card--law {
  border-left: 4px solid #171717;
}

.rg-card__title {
  font-family: "Inter", sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #171717;
  margin: 0 0 0.5rem;
}

.rg-card__text {
  margin: 0;
  font-size: 0.8125rem;
  color: #525252;
  line-height: 1.5;
}

.rg-card__text a {
  font-weight: 600;
}

.rg-mid-page {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem 1.25rem;
  margin-bottom: 2rem;
  padding: 1.15rem 1.25rem;
  border: 2px solid #171717;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
}

.rg-mid-page__badge {
  flex-shrink: 0;
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.5rem 0.65rem;
  color: #ffffff;
  background: #b91c1c;
  border-radius: 6px;
}

.rg-mid-page__body {
  flex: 1;
  min-width: 200px;
}

.rg-mid-page__title {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #171717;
}

.rg-mid-page__text {
  margin: 0;
  font-size: 0.875rem;
  color: #525252;
  line-height: 1.55;
}

.rg-footer-band {
  margin-top: 2.5rem;
  margin-bottom: 0;
  padding: 1.35rem 1.25rem;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius-lg);
  background: #fafafa;
}

.rg-footer-band__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.rg-footer-band__kicker {
  font-family: "Inter", sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #737373;
  margin: 0 0 0.5rem;
}

.rg-footer-band__lead {
  margin: 0;
  font-size: 0.875rem;
  color: #404040;
  line-height: 1.55;
}

.rg-footer-band__age-mark {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.15rem 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #ffffff;
  background: #171717;
  border-radius: 4px;
  vertical-align: baseline;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0.75rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e5e5;
  font-size: 0.75rem;
  color: #a3a3a3;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.3rem;
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #ffffff;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #171717;
  box-shadow: 0 0 0 1px #171717;
}

.form-note {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.8125rem;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(250, 250, 250, 0.88);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 1rem;
  z-index: 1000;
}

.modal-card {
  max-width: 520px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e5e5e5;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  padding: 1.75rem 1.85rem;
}

.modal-card h2 {
  margin-bottom: 0.75rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius-lg);
  background: #ffffff;
  backdrop-filter: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  padding: 1.1rem 1.2rem;
  z-index: 950;
}

.cookie-banner p {
  margin-bottom: 0.85rem;
  font-size: 0.875rem;
}

.prefs {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.prefs label {
  color: var(--text-soft);
  font-size: 0.8125rem;
}

@media (max-width: 960px) {
  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    border-left: none;
    padding-left: 0;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
  }

  .casino-featured-grid {
    grid-template-columns: 1fr;
  }

  .grid-asymmetric {
    grid-template-columns: 1fr;
  }

  .updates-strip {
    grid-template-columns: 1fr;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-rail {
    justify-content: flex-start;
  }

  .rg-banner-row {
    grid-template-columns: 1fr;
  }

  .rg-footer-band__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav-link {
    font-size: 0.75rem;
    padding: 0.32rem 0.42rem;
  }
}

/* Statisk udgave: JS skjuler aldersgate og cookie-banner */
.is-hidden {
  display: none !important;
}
