/* ============================================================
   GODZ CASINO - Norse-realm overrides on top of theme3
   Frost-slate + icy-cyan. Sticky scroll-spy nav. Inline link recolour.
   Load order: base.css -> style.css -> theme3.css -> godz.css
   ============================================================ */

/* --- Norse typography: clean sans body + condensed display --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

body.theme3 {
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
}

body.theme3 h1,
body.theme3 h2,
body.theme3 h3 {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.18;
}

/* --- Frosted aurora wash on body --- */
body.theme3 {
  background:
    radial-gradient(ellipse at top, rgba(127, 212, 232, 0.10), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(75, 168, 194, 0.06), transparent 60%),
    var(--color-bg);
  background-attachment: fixed;
}

/* --- Header: sticky, frost glass --- */
.site-header--t3 {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: var(--color-header-bg);
  border-bottom: 1px solid var(--color-border);
}

/* Anchor scroll offset so sticky header does not cover anchored sections */
body.theme3 section[id] {
  scroll-margin-top: 130px;
}

/* --- Nav row: cyan underline on active scroll-spy --- */
.site-header--t3 .nav-main--t3 a {
  position: relative;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--color-text);
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.site-header--t3 .nav-main--t3 a:hover,
.site-header--t3 .nav-main--t3 a.active,
.site-header--t3 .nav-main--t3 a.scrollspy-active {
  color: var(--color-accent);
  background: var(--color-nav-hover);
}
.site-header--t3 .nav-main--t3 a.scrollspy-active::after {
  content: '';
  position: absolute;
  left: 14%; right: 14%; bottom: -2px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(127, 212, 232, 0.6);
}

/* --- Hero: frost glow + ice-edge bonus card --- */
body.theme3 .hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4.5rem;
}
body.theme3 .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(127, 212, 232, 0.16), transparent 42%),
    radial-gradient(circle at 80% 75%, rgba(127, 212, 232, 0.10), transparent 45%);
  pointer-events: none;
}
body.theme3 .hero > * { position: relative; z-index: 1; }

body.theme3 .hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  letter-spacing: 0.02em;
  font-weight: 700;
}
body.theme3 .hero h1 .brand-name {
  display: block;
  color: var(--color-accent);
  text-shadow: 0 2px 24px rgba(127, 212, 232, 0.35);
}
body.theme3 .hero h1 .brand-type {
  display: block;
  margin-top: 0.6rem;
  color: var(--color-text);
  font-size: 0.45em;
  letter-spacing: 0.1em;
  font-weight: 500;
  opacity: 0.9;
  font-family: var(--font-body);
  text-transform: none;
}
body.theme3 .hero__badge {
  font-family: var(--font-body);
  letter-spacing: 0.14em;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  background: rgba(127, 212, 232, 0.08);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}
body.theme3 .hero__bonus-card {
  border: 1px solid var(--color-accent);
  background: linear-gradient(180deg, rgba(127, 212, 232, 0.10), rgba(10, 20, 32, 0.5));
  box-shadow:
    0 10px 36px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(127, 212, 232, 0.25),
    0 0 24px rgba(127, 212, 232, 0.08);
}

/* --- Stats bar polish --- */
body.theme3 .stats-bar {
  background: var(--color-surface);
  border-top: 1px solid rgba(127, 212, 232, 0.22);
  border-bottom: 1px solid rgba(127, 212, 232, 0.22);
}
body.theme3 .stat__value {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-weight: 700;
}

/* --- Content section dividers --- */
body.theme3 .content-section + .content-section {
  border-top: 1px solid var(--color-border);
}

/* --- Inline link colour: never browser blue --- */
body.theme3 main p a,
body.theme3 main li a,
body.theme3 .content-section a:not(.btn) {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
body.theme3 main p a:hover,
body.theme3 main li a:hover {
  color: var(--color-accent-hover);
}

/* --- Tables in body_html --- */
body.theme3 main table {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
}
body.theme3 main table thead th {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* --- CTA banner: frost-edged stripe --- */
.cta-banner--t3 {
  background: linear-gradient(135deg, rgba(127, 212, 232, 0.14), rgba(75, 168, 194, 0.06));
  border-top: 1px solid var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
}
.cta-banner--t3 h2 {
  color: var(--color-accent);
}
body.theme3 .cta-banner--alt {
  background: var(--color-surface-alt);
}

/* --- FAQ styling --- */
body.theme3 .faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
}
body.theme3 .faq-item summary,
body.theme3 .faq-item h3 {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* --- Games grid tabs --- */
body.theme3 .game-tabs .tab,
body.theme3 .game-tabs button {
  font-family: var(--font-body);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.82rem;
}
body.theme3 .game-tab__item,
body.theme3 .game-tile {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
body.theme3 .game-tab__item:hover,
body.theme3 .game-tile:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(127, 212, 232, 0.12);
}

/* --- Footer Norse tone --- */
body.theme3 .site-footer--t3 {
  background: linear-gradient(180deg, var(--color-bg-2), var(--color-bg));
  border-top: 2px solid var(--color-accent);
}
body.theme3 .site-footer--t3 h5 {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
body.theme3 .footer-badge {
  border-color: rgba(127, 212, 232, 0.3);
  background: rgba(127, 212, 232, 0.06);
  color: var(--color-text);
}

/* --- Sticky CTA --- */
.sticky-cta--t3 {
  background: var(--color-sticky-bg);
  border-top: 1px solid var(--color-accent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.sticky-cta--t3 .sticky-cta__bonus {
  color: var(--color-accent);
}

/* --- Logo: clean Cormorant + cyan G accent --- */
body.theme3 .site-logo--t3 {
  font-family: var(--font-display);
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 700;
  font-size: 1.5rem;
}
body.theme3 .site-logo__vegas {
  color: var(--color-text);
}
body.theme3 .site-logo__nova {
  background: var(--color-accent);
  color: var(--color-cta-text);
  padding: 0.05em 0.4em 0.02em;
  border-radius: 4px;
  display: inline-block;
  font-weight: 700;
  margin-left: 0.1em;
}

/* --- Mobile fixes --- */
@media (max-width: 768px) {
  body.theme3 section[id] {
    scroll-margin-top: 90px;
  }
  body.theme3 .hero { padding: 3rem 0 3rem; }
  body.theme3 .hero h1 { font-size: 2.2rem; }
  .site-header--t3 .nav-main--t3 a {
    padding: 0.45rem 0.55rem;
    font-size: 0.72rem;
  }
}
