/* ==========================================================================
   ThorFortune Danmark — anmeldelse
   ========================================================================== */

:root {
  --bg-cream: #f6f2e9;
  --bg-navy: #171a2b;
  --bg-navy-deep: #0d0f18;
  --bg-hero: #0d0f18;
  --border-cream: #e8e0cc;
  --accent-gold: #e3a63f;
  --accent-gold-light: #f4c669;
  --accent-blue: #5fd0ff;
  --text-dark: #1b1a22;
  --text-body: #2b2a33;
  --text-body-2: #4a4658;
  --text-muted-onlight: #5f5a4c;
  --text-muted-onlight-2: #8a8266;
  --text-onnavy: #f6f2e9;
  --text-onnavy-muted: #b9b3a1;
  --text-onnavy-muted-2: #d8d3c3;
  --text-onnavy-faint: #8f8a78;
  --text-onnavy-faint-2: #726d5f;
  --text-onnavy-faint-3: #4d4a3f;
  --green: #3a7d4f;
  --red: #a6432f;
  --font-display: 'Cinzel', serif;
  --font-body: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg-cream);
  color: var(--text-dark);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-gold); }
a:hover { color: var(--accent-gold-light); }

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

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.container-prose { max-width: 820px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--text-dark); }

section { padding: clamp(56px, 8vw, 96px) 0; }
.section-cream { background: var(--bg-cream); }
.section-navy { background: var(--bg-navy); }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 18, 28, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(227, 166, 63, 0.25);
}

.site-header .container {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: flex; align-items: center; text-decoration: none; }

.main-nav {
  display: none;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
  color: #cfc9b8;
}

.main-nav a { text-decoration: none; color: inherit; }
.main-nav a:hover { color: var(--accent-gold-light); }

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

.btn {
  display: inline-block;
  font-weight: 800;
  text-decoration: none;
  border-radius: 8px;
  text-align: center;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-header {
  background: var(--accent-gold);
  color: #171208;
  font-size: 14px;
  padding: 10px 20px;
  white-space: nowrap;
}
.btn-header:hover { background: var(--accent-gold-light); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #1e2340, #0d0f18);
  padding: clamp(56px, 9vw, 110px) 0 80px;
  overflow: hidden;
}

.hero-bolt {
  position: absolute;
  top: -40px;
  right: -60px;
  width: 420px;
  height: 420px;
  opacity: 0.14;
  animation: tf-bolt 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes tf-bolt { 0%, 100% { opacity: 0.18; } 50% { opacity: 0.32; } }
@keyframes tf-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227, 166, 63, 0.55); }
  50% { box-shadow: 0 0 0 14px rgba(227, 166, 63, 0); }
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  background: rgba(227, 166, 63, 0.14);
  color: var(--accent-gold-light);
  border: 1px solid rgba(227, 166, 63, 0.4);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 20px;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--text-onnavy);
  font-size: clamp(32px, 5.4vw, 58px);
  line-height: 1.12;
  margin: 22px 0 18px;
  font-weight: 800;
}

.hero-lead {
  color: #c9c4b3;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 30px;
}

.score-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(227, 166, 63, 0.3);
  border-radius: 12px;
  padding: 10px 20px;
  margin-bottom: 36px;
}

.score-pill .score {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--accent-gold-light);
}
.score-pill .score small { font-size: 15px; color: var(--text-onnavy-faint); font-family: var(--font-body); }

.score-pill .divider { width: 1px; height: 24px; background: rgba(255, 255, 255, 0.15); }
.score-pill .label { font-size: 13px; color: #c9c4b3; text-align: left; line-height: 1.3; }

.cta-card {
  position: relative;
  background: linear-gradient(155deg, #262b46, #12141f);
  border: 2px solid var(--accent-gold);
  border-radius: 24px;
  padding: 38px 32px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 60px rgba(227, 166, 63, 0.15);
  scroll-margin-top: 90px;
}

.cta-card .tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-blue);
  color: #0d0f18;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  white-space: nowrap;
}

.cta-card .amount {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 900;
  color: var(--text-onnavy);
  letter-spacing: 0.01em;
  margin-top: 8px;
}
.cta-card .amount .gold { color: var(--accent-gold); }

.cta-card .spins {
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 800;
  color: var(--accent-blue);
  margin-top: 6px;
}

.cta-card p.fine {
  color: #b3ad9c;
  font-size: 14.5px;
  line-height: 1.5;
  margin: 16px 0 24px;
}

.btn-cta {
  display: block;
  background: linear-gradient(120deg, var(--accent-gold-light), var(--accent-gold));
  color: #171208;
  font-weight: 800;
  font-size: 19px;
  padding: 19px;
  border-radius: 14px;
  animation: tf-pulse 2.2s infinite;
  box-shadow: 0 8px 24px rgba(227, 166, 63, 0.35);
}
.btn-cta:hover { background: var(--accent-gold-light); color: #171208; }

.cta-card .legal {
  color: var(--text-onnavy-faint-2);
  font-size: 12px;
  margin: 14px 0 0;
}

/* ---------- Quick facts ---------- */

.quick-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 16px;
}

.fact-card {
  background: #fff;
  border: 1px solid var(--border-cream);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  min-width: 0;
}

.fact-card .fact-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted-onlight-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.fact-card .fact-value {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
}

/* ---------- Section headings on navy / cream ---------- */

.section-navy h2 { color: var(--text-onnavy); }
.section-navy p { color: var(--text-onnavy-muted); }

h2.section-title {
  font-size: clamp(26px, 3.6vw, 38px);
  margin: 0 0 18px;
}

.lede {
  font-size: 16px;
  line-height: 1.75;
  max-width: 760px;
  margin: 0 0 30px;
}

.section-cream .lede { color: var(--text-body-2); }

/* ---------- Quick summary box ---------- */

.summary-box {
  background: rgba(227, 166, 63, 0.08);
  border: 1px solid rgba(227, 166, 63, 0.3);
  border-radius: 16px;
  padding: 24px 28px;
  margin: 0 0 40px;
}

.summary-box h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
  margin: 0 0 12px;
}

.summary-box p { margin: 0; color: var(--text-body); font-size: 15px; line-height: 1.7; }

/* ---------- Rating ---------- */

.rating-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 560px) {
  .rating-layout { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

.score-ring {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: conic-gradient(var(--accent-gold) 0turn 0.87turn, rgba(255, 255, 255, 0.08) 0.87turn 1turn);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.score-ring-inner {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--bg-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-ring-inner .num { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--accent-gold-light); }
.score-ring-inner .of10 { font-size: 11px; color: var(--text-onnavy-faint); }

.rating-bars { display: flex; flex-direction: column; gap: 14px; width: 100%; }

.rating-bar-row .rating-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-onnavy-muted-2);
  margin-bottom: 5px;
}
.rating-bar-row .rating-bar-labels .val { color: var(--accent-gold-light); font-weight: 700; }

.rating-bar-track {
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.rating-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-blue));
}

.rating-conclusion { margin: 36px 0 0; }

/* ---------- Pros & cons ---------- */

.pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}

.pc-card {
  background: #fff;
  border: 1px solid var(--border-cream);
  border-radius: 16px;
  padding: 28px;
  min-width: 0;
}

.pc-title {
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.pc-title.pros { color: var(--green); }
.pc-title.cons { color: var(--red); }

.pc-list { list-style: none; margin: 0; padding: 0; }
.pc-list li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-body);
}
.pc-list li:last-child { margin-bottom: 0; }
.pc-list .mark { font-weight: 800; flex-shrink: 0; }
.pc-list.pros .mark { color: var(--green); }
.pc-list.cons .mark { color: var(--red); }

/* ---------- Data tables (bonus, payment, comparison) ---------- */

.data-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(227, 166, 63, 0.25);
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

table.data-table thead tr { background: rgba(227, 166, 63, 0.12); }

table.data-table th {
  text-align: left;
  padding: 14px 18px;
  color: var(--accent-gold-light);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

table.data-table td {
  padding: 14px 18px;
  color: var(--text-onnavy-muted-2);
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

table.data-table td.strong { color: #f0ece0; font-weight: 700; }
table.data-table td.score-cell { color: var(--accent-gold-light); font-weight: 700; }

table.data-table tr.highlight td { background: rgba(227, 166, 63, 0.08); }

/* Light variant used on cream section (payout-times table) */
table.data-table.light thead tr { background: rgba(227, 166, 63, 0.16); }
table.data-table.light th { color: #8a6a1f; }
table.data-table.light td { color: var(--text-body-2); border-top: 1px solid var(--border-cream); }
.data-table-wrap.light { border-color: var(--border-cream); }

.promo-code {
  color: var(--accent-gold-light);
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ---------- Game categories ---------- */

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 20px;
}

.game-card {
  background: #fff;
  border: 1px solid var(--border-cream);
  border-radius: 16px;
  padding: 22px;
  min-width: 0;
}

.game-card .name { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text-dark); margin-bottom: 6px; }
.game-card .count { font-size: 13px; color: var(--accent-gold); font-weight: 700; margin-bottom: 10px; }
.game-card .desc { font-size: 14px; color: var(--text-muted-onlight); line-height: 1.5; }

/* ---------- Payment pills ---------- */

.pill-row { display: flex; flex-wrap: wrap; gap: 12px; }

.pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(227, 166, 63, 0.3);
  color: #f0ece0;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 24px;
}

/* ---------- Screenshots (CSS mockups, no external images) ---------- */

.screens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
}

.screen-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-cream);
  aspect-ratio: 4 / 3;
  background: linear-gradient(155deg, #1e2340, #0d0f18);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-frame .mock-glyph {
  width: 46px;
  height: 46px;
  opacity: 0.85;
}

.screen-frame .mock-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  font-size: 12px;
  color: rgba(246, 242, 233, 0.7);
  text-align: center;
}

.screen-caption { text-align: center; font-size: 13px; color: var(--text-muted-onlight-2); margin-top: 8px; }

/* ---------- FAQ (native details/summary, no JS required) ---------- */

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--border-cream);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .q-icon {
  color: var(--accent-gold);
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.15s ease;
}
.faq-item[open] summary .q-icon { transform: rotate(45deg); }

.faq-answer {
  padding: 0 20px 18px;
  color: var(--text-body-2);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- Responsible gaming ---------- */

.rg-section { background: var(--bg-navy-deep); text-align: center; }

.rg-badges { display: inline-flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; justify-content: center; }

.rg-age {
  background: var(--accent-gold);
  color: #171208;
  font-weight: 800;
  font-size: 15px;
  padding: 6px 14px;
  border-radius: 8px;
}

.rg-link {
  background: rgba(255, 255, 255, 0.06);
  color: #f0ece0;
  font-weight: 700;
  font-size: 15px;
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(227, 166, 63, 0.3);
}

.rg-section p { color: #9b9584; font-size: 14px; line-height: 1.7; max-width: 820px; margin: 0 auto; }

/* ---------- Sticky CTA bar ---------- */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: rgba(13, 15, 24, 0.97);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(227, 166, 63, 0.4);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}

.sticky-cta.is-hidden { transform: translateY(110%); }

.sticky-cta-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.sticky-cta-left { display: flex; align-items: center; gap: 14px; min-width: 0; }

.sticky-cta-copy {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(14px, 2vw, 17px);
  color: var(--text-onnavy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-cta-copy .gold { color: var(--accent-gold); }
.sticky-cta-copy .blue { color: var(--accent-blue); }

.sticky-cta-legal { font-size: 11px; color: var(--text-onnavy-faint); }

.sticky-cta-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn-sticky {
  background: var(--accent-gold);
  color: #171208;
  font-weight: 800;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 10px;
  white-space: nowrap;
}
.btn-sticky:hover { background: var(--accent-gold-light); color: #171208; }

.sticky-close {
  cursor: pointer;
  color: var(--text-onnavy-faint-2);
  font-size: 20px;
  line-height: 1;
  padding: 4px;
  background: none;
  border: none;
}
.sticky-close:hover { color: #c9c4b3; }

body.has-sticky-cta { padding-bottom: 78px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-navy-deep);
  border-top: 1px solid rgba(227, 166, 63, 0.15);
  padding: 40px 24px 40px;
}

.site-footer .container { display: flex; flex-direction: column; gap: 18px; padding: 0; max-width: 1120px; }

.footer-brand { display: flex; align-items: center; }

.footer-disclaimer { color: var(--text-onnavy-faint-2); font-size: 12.5px; line-height: 1.7; max-width: 820px; }
.footer-copy { color: var(--text-onnavy-faint-3); font-size: 12px; margin: 0; }
