/* Valhalla Casino Anmeldelse — mobile-first stylesheet */

:root {
  --bg-cream: #f6f2e9;
  --bg-navy: #10121c;
  --bg-navy-2: #171a2b;
  --ink: #1b1a22;
  --ink-soft: #4a4658;
  --paper-border: #e8e0cc;
  --bronze: #b9784f;
  --bronze-light: #d9a377;
  --steel: #8fa5b3;
  --cream-text: #f6f2e9;
  --cream-text-soft: #b9b3a1;
  --cream-text-dim: #8f8a78;
  --green: #3a7d4f;
  --red: #a6432f;
  --font-display: 'Cinzel', serif;
  --font-body: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2 { font-family: var(--font-display); font-weight: 800; line-height: 1.15; margin: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 18, 28, 0.95);
  border-bottom: 1px solid rgba(185, 120, 79, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cream-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.brand img { border-radius: 8px; }

.site-nav { display: none; gap: 20px; font-size: 14px; font-weight: 600; }
.site-nav a { color: #cfc9b8; text-decoration: none; }
.site-nav a:hover { color: var(--bronze-light); }

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

.btn {
  display: inline-block;
  font-weight: 800;
  text-decoration: none;
  border-radius: 10px;
  text-align: center;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--bronze); color: #1e2b3a; }
.btn-primary:hover { background: var(--bronze-light); color: #1e2b3a; }
.btn-small { font-size: 13px; padding: 9px 16px; white-space: nowrap; }
.btn-large { display: block; font-size: 18px; padding: 17px; width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #1e2340, #0d0f18);
  padding: 48px 0 56px;
  overflow: hidden;
}

.hero-inner { max-width: 760px; text-align: center; }

.eyebrow {
  display: inline-block;
  background: rgba(185, 120, 79, 0.14);
  color: var(--bronze-light);
  border: 1px solid rgba(185, 120, 79, 0.4);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 20px;
  margin: 0 0 18px;
}

.hero h1 {
  color: var(--cream-text);
  font-size: clamp(26px, 6vw, 42px);
  margin-bottom: 16px;
}

.lede {
  color: #c9c4b3;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 auto 26px;
}

.score-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(185, 120, 79, 0.3);
  border-radius: 12px;
  padding: 10px 18px;
  margin-bottom: 30px;
}
.score-num { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--bronze-light); }
.score-num small { font-size: 13px; color: var(--cream-text-dim); font-weight: 600; }
.score-divider { width: 1px; height: 22px; background: rgba(255,255,255,0.15); }
.score-label { font-size: 12.5px; color: #c9c4b3; text-align: left; line-height: 1.35; }

.cta-card {
  position: relative;
  background: linear-gradient(155deg, #262b46, #12141f);
  border: 2px solid var(--bronze);
  border-radius: 20px;
  padding: 32px 24px 26px;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}

.cta-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--steel);
  color: #0d0f18;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(19px, 4vw, 24px);
  font-weight: 800;
  color: var(--cream-text);
  margin: 12px 0 6px;
}
.cta-headline span { color: var(--bronze); }

.cta-sub { color: #b3ad9c; font-size: 14px; line-height: 1.5; margin: 0 0 20px; }
.cta-fine { color: #726d5f; font-size: 12px; margin: 12px 0 0; }

/* ---------- Quick facts ---------- */
.quick-facts { padding: 36px 0; }

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 600px) { .facts-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .facts-grid { grid-template-columns: repeat(6, 1fr); } }

.fact {
  background: #fff;
  border: 1px solid var(--paper-border);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
}
.fact-label { display: block; font-size: 11px; font-weight: 700; color: #8a8266; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 5px; }
.fact-value { display: block; font-family: var(--font-display); font-size: 14.5px; font-weight: 700; color: var(--ink); }

/* ---------- Content sections ---------- */
.content-section { padding: 44px 0; }
.content-section.dark {
  background: var(--bg-navy-2);
  color: var(--cream-text);
}
.content-section h2 {
  font-size: clamp(22px, 4.4vw, 30px);
  margin-bottom: 16px;
  color: var(--ink);
}
.content-section.dark h2 { color: var(--cream-text); }

.prose { max-width: 720px; }
.prose p { font-size: 15.5px; line-height: 1.75; margin: 0 0 16px; color: var(--ink-soft); }
.content-section.dark .prose p { color: var(--cream-text-soft); }
.prose p:last-child { margin-bottom: 0; }

.section-intro, .section-outro {
  max-width: 720px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 24px;
}
.section-outro { margin: 24px 0 0; }

/* ---------- Pros / cons ---------- */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 700px) { .pros-cons-grid { grid-template-columns: 1fr 1fr; } }

.pc-card {
  background: #fff;
  border: 1px solid var(--paper-border);
  border-radius: 14px;
  padding: 22px;
}
.pc-title {
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
}
.pc-pros .pc-title { color: var(--green); }
.pc-cons .pc-title { color: var(--red); }
.pc-card ul { list-style: none; margin: 0; padding: 0; }
.pc-card li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.5;
  color: #2b2a33;
  margin-bottom: 12px;
}
.pc-pros li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.pc-cons li::before { content: "✕"; position: absolute; left: 0; color: var(--red); font-weight: 800; }

/* ---------- Cards grid (games) ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
@media (min-width: 600px) { .cards-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards-grid { grid-template-columns: repeat(4, 1fr); } }

.mini-card {
  background: #fff;
  border: 1px solid var(--paper-border);
  border-radius: 14px;
  padding: 18px;
}
.mini-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin: 0 0 4px; color: var(--ink); }
.mini-tag { font-size: 12.5px; color: var(--bronze); font-weight: 700; margin: 0 0 8px; }
.mini-desc { font-size: 13.5px; color: #5f5a4c; line-height: 1.5; margin: 0; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid rgba(185,120,79,0.25); margin-top: 20px; }
table { width: 100%; border-collapse: collapse; min-width: 480px; }
th, td { text-align: left; padding: 12px 16px; font-size: 14px; }
thead tr { background: rgba(185,120,79,0.14); }
th { color: var(--bronze-light); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.03em; font-weight: 700; }
tbody tr { border-top: 1px solid rgba(255,255,255,0.08); }
tbody td { color: #d8d3c3; }
tbody td:first-child { color: #f0ece0; font-weight: 700; }

/* ---------- Tags ---------- */
.tags-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag {
  background: #fff;
  border: 1px solid var(--paper-border);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 22px;
}

/* ---------- Rating block ---------- */
.rating-block {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
  margin: 30px 0;
}
@media (min-width: 640px) {
  .rating-block { flex-direction: row; align-items: flex-start; }
}

.score-ring {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: conic-gradient(var(--bronze) calc(var(--pct)), rgba(255,255,255,0.08) 0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.score-ring-inner {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--bg-navy-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.score-ring-num { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--bronze-light); }
.score-ring-of { font-size: 10.5px; color: var(--cream-text-dim); }

.rating-bars { display: flex; flex-direction: column; gap: 13px; width: 100%; }
.bar-top { display: flex; justify-content: space-between; font-size: 13.5px; color: #d8d3c3; margin-bottom: 5px; }
.bar-score { color: var(--bronze-light); font-weight: 700; }
.bar-track { height: 7px; border-radius: 4px; background: rgba(255,255,255,0.08); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--bronze), var(--steel)); }

/* ---------- Responsible gaming ---------- */
.responsible-gaming {
  background: var(--bg-navy);
  padding: 40px 0;
  text-align: center;
}
.rg-badges { display: inline-flex; gap: 10px; margin-bottom: 18px; }
.badge-18 { background: var(--bronze); color: #1e2b3a; font-weight: 800; font-size: 14px; padding: 6px 13px; border-radius: 8px; }
.badge-link {
  background: rgba(255,255,255,0.06);
  color: #f0ece0;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 13px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(185,120,79,0.3);
}
.responsible-gaming p { color: #9b9584; font-size: 13.5px; line-height: 1.7; max-width: 720px; margin: 0 auto; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--paper-border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--bronze);
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 18px 16px; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: rgba(13, 15, 24, 0.97);
  border-top: 1px solid rgba(185, 120, 79, 0.4);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.35);
}
.sticky-cta.is-hidden { display: none; }

.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.sticky-text {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--cream-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sticky-text span { display: none; color: var(--steel); }
@media (min-width: 560px) { .sticky-text span { display: inline; } }

.sticky-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.sticky-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #726d5f;
  font-size: 18px;
  line-height: 1;
  padding: 4px;
}
.sticky-close:hover { color: #c9c4b3; }

/* Reserve space so the sticky bar never covers content */
main { padding-bottom: 64px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-navy); padding: 32px 0 100px; }
.footer-inner { display: flex; flex-direction: column; gap: 16px; }
.footer-inner img { border-radius: 8px; }
.footer-inner p { color: #726d5f; font-size: 12px; line-height: 1.7; max-width: 780px; margin: 0; }
.copyright { color: #4d4a3f !important; }

/* ---------- Motion & accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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