/* ============================================================
   NorseMania Casino (norsemania.casino) - site overrides
   Cinzel display headings over a Source Sans 3 text column.
   Near-black ground, steel surfaces, electric cyan accents and
   a knotwork style rule under each H2, all taken from the
   supplied NorseMania screenshots.
   ============================================================ */
:root {
  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", Arial, sans-serif;
  --nm-knot: repeating-linear-gradient(90deg, var(--color-accent) 0 10px, transparent 10px 16px, var(--color-border-2) 16px 22px, transparent 22px 28px);
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.72;
  letter-spacing: 0;
  background:
    radial-gradient(1200px 600px at 50% -200px, rgba(34, 227, 238, 0.07), transparent 70%),
    var(--color-bg);
}

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--color-border); }
.site-header .site-logo img { height: 44px; width: auto; }
.nav-main--desktop a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-main--desktop a:hover { color: var(--color-accent); }
.btn { font-weight: 700; letter-spacing: 0.02em; }
.btn--primary {
  background: var(--color-cta);
  color: var(--color-cta-text);
  box-shadow: 0 0 0 1px rgba(34, 227, 238, 0.35), 0 6px 22px rgba(34, 227, 238, 0.22);
}
.btn--primary:hover { background: var(--color-cta-hover); color: var(--color-cta-text); }
.btn--outline {
  border-color: var(--color-border-2);
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.03);
}
.btn--outline:hover { border-color: var(--color-accent); color: var(--color-accent); }

@media (max-width: 640px) {
  .site-header .site-logo img { height: 32px; }
  .site-header .site-logo { margin-right: 10px; flex-shrink: 0; }
  .btn--mobile-cta { margin-left: auto; padding: 0.5rem 0.9rem !important; font-size: 0.82rem !important; white-space: nowrap; }
}

/* ---------- Hero: copy left, offer plate right ---------- */
.hero {
  padding: 84px 0 72px;
  background:
    radial-gradient(700px 380px at 78% 30%, var(--color-hero-glow), transparent 70%),
    linear-gradient(180deg, var(--color-hero-gradient-start), var(--color-hero-gradient-end));
  border-bottom: 1px solid var(--color-border);
}
.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  grid-template-areas:
    "badge badge"
    "title box"
    "sub   box"
    "ctas  box";
  column-gap: 56px;
  row-gap: 18px;
  align-items: start;
  text-align: left;
  max-width: none;
}
.hero__badge { grid-area: badge; justify-self: start; color: var(--color-accent); }
.hero__badge::before { background: var(--color-accent); box-shadow: 0 0 10px rgba(34, 227, 238, 0.6); }
.hero h1 {
  grid-area: title;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--color-text);
  margin: 0;
}
.hero h1 .nm-accent { color: var(--color-accent); }
.hero__subtitle { grid-area: sub; margin: 0; max-width: 60ch; color: var(--color-text-muted); }
.hero__subtitle p { margin: 0; max-width: 60ch; }
.hero__ctas { grid-area: ctas; justify-content: flex-start; margin-top: 8px; }
.hero__bonus-box {
  grid-area: box;
  align-self: center;
  margin: 0;
  padding: 30px 30px 28px;
  text-align: left;
  background: linear-gradient(160deg, var(--color-surface-2), var(--color-surface));
  border: 1px solid var(--color-border-2);
  border-top: 3px solid var(--color-accent);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(34, 227, 238, 0.06);
}
.hero__bonus-box .hero__bonus-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.hero__bonus-box .hero__bonus-value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text);
  margin: 10px 0 12px;
}
.hero__bonus-box .hero__bonus-extra { color: var(--color-text-muted); font-size: 0.98rem; line-height: 1.55; }
@media (max-width: 960px) {
  .hero { padding: 56px 0 48px; }
  .hero__content {
    grid-template-columns: 1fr;
    grid-template-areas: "badge" "title" "sub" "box" "ctas";
    text-align: center;
  }
  .hero__badge { justify-self: center; }
  .hero__subtitle, .hero__subtitle p { margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .hero__bonus-box { text-align: center; }
}

/* ---------- Stats band ---------- */
.stats-bar {
  background: var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border);
  padding: 26px 0;
}
.stats-bar__inner { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.stats-bar__inner .stat {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem;
  padding: 0 1.2rem; border-left: 1px solid var(--color-border);
}
.stats-bar__inner .stat:first-child { padding-left: 0; border-left: 0; }
.stats-bar__inner .stat__value {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; line-height: 1.1; color: var(--color-accent);
}
.stats-bar__inner .stat__label { font-size: 0.78rem; line-height: 1.45; color: var(--color-text-muted); letter-spacing: 0.02em; text-transform: none; }
@media (max-width: 1100px) {
  .stats-bar__inner { grid-template-columns: repeat(3, 1fr); row-gap: 1.6rem; }
  .stats-bar__inner .stat:nth-child(3n+1) { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); row-gap: 1.3rem; }
  .stats-bar__inner .stat { padding: 0 0.8rem; }
  .stats-bar__inner .stat:nth-child(3n+1) { padding-left: 0.8rem; border-left: 1px solid var(--color-border); }
  .stats-bar__inner .stat:nth-child(2n+1) { padding-left: 0; border-left: 0; }
  .stats-bar__inner .stat__value { font-size: 1.25rem; }
}

/* ---------- Sections and headings ---------- */
.content-section { padding: 76px 0; }
.content-section--alt {
  background: linear-gradient(180deg, var(--color-surface-alt), var(--color-bg-2));
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.content-section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  line-height: 1.22;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--color-text);
  padding: 0 0 18px 0;
  margin: 0 0 30px;
  border: 0;
  position: relative;
  max-width: none;
}
.content-section h2::before { display: none; }
.content-section h2::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 168px; height: 3px;
  background: var(--nm-knot);
}
.content-section h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  line-height: 1.3;
  color: var(--color-accent);
  margin: 40px 0 14px;
  padding: 0;
  border: 0;
  text-transform: none;
  letter-spacing: 0.01em;
}
.content-section h3::before { display: none; }
.content-section p { margin-bottom: 1.05rem; color: var(--color-text-muted); }
.content-section p strong, .content-section li strong { color: var(--color-text); }
.content-section ul, .content-section ol { margin: 0 0 1.2rem 1.2rem; }
.content-section li { margin-bottom: 0.45rem; color: var(--color-text-muted); }
.content-section li::marker { color: var(--color-accent); }
.content-section p, .content-section li { max-width: calc(74ch + 330px); }
@media (max-width: 900px) {
  .content-section { padding: 56px 0; }
  .content-section p, .content-section li { max-width: 74ch; }
}

/* ---------- Supplied phone artwork beside the text ---------- */
.content-section .section-illus--transparent {
  max-width: 290px;
  width: 290px;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 22px rgba(34, 227, 238, 0.10));
}
.content-section .section-illus--right { float: right; margin: 6px 0 26px 40px; }
.content-section .section-illus--left { float: left; margin: 6px 40px 26px 0; }
.content-section h3 + .section-illus, .content-section .section-illus + h3 { clear: none; }
.nm-clear { clear: both; }
@media (max-width: 900px) {
  .content-section .section-illus--transparent,
  .content-section .section-illus--right,
  .content-section .section-illus--left {
    float: none; width: 240px; max-width: 240px; margin: 12px auto 26px;
  }
}

/* ---------- Designed fact tables ---------- */
.nm-table-wrap {
  clear: both;
  margin: 28px 0 30px;
  border: 1px solid var(--color-border-2);
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
}
.nm-table-wrap .nm-table-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border-2);
  background: linear-gradient(90deg, rgba(34, 227, 238, 0.10), transparent 70%);
  margin: 0;
}
.nm-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.content-section .nm-table-wrap table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  margin: 0;
  border: 0;
  display: table;
  font-size: 0.97rem;
}
.content-section .nm-table-wrap th,
.content-section .nm-table-wrap td {
  padding: 13px 18px;
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--color-border);
  white-space: normal;
}
.content-section .nm-table-wrap thead th {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-cta-text);
  background: var(--color-accent);
  border-color: var(--color-accent-dark);
}
.content-section .nm-table-wrap tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.025); }
.content-section .nm-table-wrap tbody tr:hover td { background: rgba(34, 227, 238, 0.06); color: var(--color-text); }
.content-section .nm-table-wrap td:first-child { color: var(--color-text); font-weight: 600; }
.content-section .nm-table-wrap tfoot td {
  background: var(--color-surface-2);
  color: var(--color-text);
  font-weight: 700;
}
.nm-table-note {
  font-size: 0.9rem;
  color: var(--color-text-faint);
  padding: 12px 20px;
  margin: 0;
  border-top: 1px solid var(--color-border);
  max-width: none !important;
}

/* ---------- Key figure rows ---------- */
.figure-rows {
  clear: both;
  display: grid;
  margin: 26px 0 30px;
  border: 1px solid var(--color-border-2);
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-surface-alt);
}
.figure-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
}
.figure-row:nth-child(odd) { background: rgba(34, 227, 238, 0.035); }
.figure-row:last-child { border-bottom: 0; }
.figure-row .fr-term { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--color-accent); }
.figure-row .fr-desc { color: var(--color-text-muted); }
@media (max-width: 600px) {
  .content-section .nm-table-wrap table { min-width: 540px; font-size: 0.92rem; }
  .content-section .nm-table-wrap th, .content-section .nm-table-wrap td { padding: 11px 12px; }
}
@media (max-width: 720px) { .figure-row { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Callout ---------- */
.money-note {
  clear: both;
  border: 1px solid var(--color-border-2);
  border-left: 4px solid var(--color-accent);
  background: var(--color-surface-2);
  padding: 18px 22px;
  margin: 28px 0;
  border-radius: 0 10px 10px 0;
}
.money-note p { margin-bottom: 0.6rem; }
.money-note p:last-child { margin-bottom: 0; }

/* ---------- Numbered steps ---------- */
.nm-steps { display: flow-root; counter-reset: nmstep; list-style: none; margin: 18px 0 26px !important; padding: 0; }
.nm-steps li {
  counter-increment: nmstep;
  position: relative;
  padding: 2px 0 2px 52px;
  margin-bottom: 16px;
}
.nm-steps li::before {
  content: counter(nmstep);
  position: absolute; left: 0; top: 0;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem;
  color: var(--color-cta-text);
  background: var(--color-accent);
  border-radius: 50%;
}

/* ---------- FAQ accordion ---------- */
.nm-faq { clear: both; margin: 18px 0 8px; }
.nm-faq details {
  border: 1px solid var(--color-border-2);
  border-radius: 10px;
  background: var(--color-surface);
  margin-bottom: 12px;
  overflow: hidden;
}
.nm-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 52px 16px 20px;
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--color-text);
}
.nm-faq summary::-webkit-details-marker { display: none; }
.nm-faq summary::after {
  content: "+";
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-size: 1.4rem; color: var(--color-accent);
}
.nm-faq details[open] summary::after { content: "\2212"; }
.nm-faq details[open] summary { border-bottom: 1px solid var(--color-border); }
.nm-faq details p { padding: 14px 20px 16px; margin: 0; }

/* ---------- CTA banner, footer, sticky ---------- */
.cta-banner {
  background:
    radial-gradient(600px 240px at 50% 0, rgba(34, 227, 238, 0.12), transparent 70%),
    var(--color-surface-alt);
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.cta-banner h2 { font-family: var(--font-display); }
.cta-banner h2::after { left: 50%; transform: translateX(-50%); }
.cta-banner p { margin-left: auto; margin-right: auto; }
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-bg-2); }
.site-footer h5 { font-family: var(--font-display); letter-spacing: 0.08em; color: var(--color-accent); }
.site-footer .site-logo img { height: 42px; width: auto; }
.sticky-cta { border-top: 1px solid var(--color-accent-dark); }
.sticky-cta__text span:first-child { font-family: var(--font-display); font-weight: 700; }
.sticky-cta__bonus { color: var(--color-accent); }

/* ---------- Anchor offset and compact sticky bar ---------- */
.content-section[id] { scroll-margin-top: 72px; }
@media (max-width: 600px) {
  .sticky-cta__text span:first-child { display: none; }
  .sticky-cta__bonus { font-size: 0.92rem; line-height: 1.3; }
  .sticky-cta .btn { white-space: nowrap; }
}
