/* Bizzo Casino Norge — visual system v3 (brand violet) */
:root {
  --bg-deep: #10081c;
  --bg: #160d28;
  --bg-elev: #1e1434;
  --bg-soft: #281c42;
  --line: rgba(167, 139, 250, 0.18);
  --line-strong: rgba(167, 139, 250, 0.4);
  --text: #f4f0ff;
  --muted: #d2c6e8;
  --accent: #a78bfa;
  --accent-deep: #7c3aed;
  --accent-glow: rgba(124, 58, 237, 0.35);
  --gold: #f0c14b;
  --gold-hot: #f5d06a;
  --ink: #0c0616;
  --danger: #ff6b7a;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  --max: 1140px;
  --header-h: 72px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --ref: https://igamesfree.com/go-bizzo-casino-norway-io;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(180deg, rgba(16, 8, 28, 0.25), rgba(16, 8, 28, 0.92)),
    repeating-linear-gradient(
      -18deg,
      transparent 0,
      transparent 11px,
      rgba(167, 139, 250, 0.035) 11px,
      rgba(167, 139, 250, 0.035) 12px
    ),
    radial-gradient(900px 520px at 100% -10%, rgba(124, 58, 237, 0.22), transparent 55%),
    radial-gradient(700px 420px at -5% 40%, rgba(240, 193, 75, 0.08), transparent 50%),
    linear-gradient(180deg, #1a1030 0%, var(--bg-deep) 38%, #0a0514 100%);
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

h1 {
  font-size: clamp(1.75rem, 4.2vw, 3rem);
}

h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.95rem);
}

h3 {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

ul,
ol {
  color: var(--muted);
  padding-left: 1.2rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  max-width: 100%;
}

/* Header — solid ink bar + violet rail */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 8, 28, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  max-width: 140px;
}

.logo img {
  width: clamp(96px, 18vw, 128px);
  height: auto;
  filter: saturate(1.05) brightness(1.05);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 0.15rem;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius);
  letter-spacing: 0.01em;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav a.is-active {
  color: #fff;
  background: var(--accent-deep);
}

.header-cta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #b794f6, var(--accent-deep));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.35), 0 12px 28px var(--accent-glow);
}

.btn-primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #c4b5fd, #8b5cf6);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.55), 0 16px 36px rgba(124, 58, 237, 0.45);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--bg-elev);
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

/* Hero — full-bleed promo art, readable copy on the left */
.hero {
  position: relative;
  display: grid;
  min-height: clamp(440px, 38vw, 540px);
  overflow: hidden;
  isolation: isolate;
  background: #10081c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 50%, var(--gold));
  z-index: 3;
  pointer-events: none;
}

.hero-media,
.hero-content {
  grid-area: 1 / 1;
}

.hero-media {
  position: relative;
  z-index: 0;
  min-height: 100%;
  background: #140a22;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(8, 4, 16, 0.96) 0%,
    rgba(8, 4, 16, 0.9) 26%,
    rgba(8, 4, 16, 0.55) 46%,
    rgba(8, 4, 16, 0.18) 64%,
    rgba(8, 4, 16, 0.28) 100%
  );
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 72% center;
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding: 3.25rem 0;
  background: none;
}

.hero-content h1,
.hero-content .lead,
.hero-content .brand-mark,
.hero-content .age-note {
  max-width: 640px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

.brand-mark::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  margin-bottom: 1rem;
  color: #fff;
}

.hero .lead {
  font-size: 1.12rem;
  max-width: 34rem;
  color: #ebe3f7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.hero .btn-ghost {
  background: rgba(8, 4, 16, 0.72);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(8px);
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
  color: #fff;
}

.age-note {
  font-size: 0.82rem;
  color: #cbbfe0;
  margin: 0;
  letter-spacing: 0.02em;
}

.page-hero {
  padding: 3.6rem 0 2.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(640px 280px at 0% 0%, rgba(124, 58, 237, 0.28), transparent 55%),
    linear-gradient(180deg, #221834 0%, #140c24 55%, #10081c 100%);
  position: relative;
}

.page-hero h1 {
  color: #fff;
}

.page-hero .lead {
  color: #f2ecfa;
  font-weight: 500;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.page-hero .lead {
  max-width: 42rem;
  font-size: 1.06rem;
}

.page-hero .brand-mark {
  color: var(--gold);
}

.page-hero .brand-mark::before {
  background: var(--gold);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section.tight {
  padding-top: 2rem;
}

.section-head {
  max-width: 700px;
  margin-bottom: 2.1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
}

.section-head p {
  font-size: 1.04rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature {
  background: var(--bg-elev);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.7;
}

.feature:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.feature h3 {
  margin-bottom: 0.45rem;
  color: #fff;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(167, 139, 250, 0.25);
  background: rgba(167, 139, 250, 0.08);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Promo / category tiles — full-width stack */
.promo-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.promo-tile {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.promo-tile:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.promo-tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 1665 / 430;
  object-fit: contain;
  object-position: center center;
  background: #140a22;
}

.promo-tile .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.85rem;
  background: linear-gradient(transparent, rgba(12, 6, 22, 0.88));
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.category-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-elev);
  transition: border-color 0.2s ease;
}

.category-card:hover {
  border-color: var(--accent);
}

.category-card img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: #140a22;
}

.category-card span {
  display: block;
  padding: 0.85rem 1rem;
  background: var(--bg-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* Games */
.game-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}

.game-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-soft);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 12px 28px var(--accent-glow);
}

.game-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
  background: #140a22;
}

.game-card .name {
  padding: 0.55rem 0.55rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  font-family: var(--font-display);
}

.game-card .provider {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.15rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* CTA band */
.cta-band {
  margin: 1rem 0 0;
  padding: 1.85rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(167, 139, 250, 0.12), transparent 50%),
    linear-gradient(120deg, #101820, #140a22);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
}

.cta-band h2 {
  margin-bottom: 0.35rem;
}

.cta-band p {
  margin: 0;
  max-width: 36rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.5rem 1.2rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-elev);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--accent);
  letter-spacing: -0.04em;
  margin-bottom: 0.85rem;
}

/* Tables */
.table-wrap {
  overflow-x: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: var(--bg-elev);
  max-width: 100%;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 0;
  table-layout: fixed;
}

.data-table th,
.data-table td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.data-table th {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(167, 139, 250, 0.06);
  font-family: var(--font-display);
}

.data-table td {
  color: var(--muted);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table tr:hover td {
  background: rgba(167, 139, 250, 0.03);
}

/* FAQ */
.faq details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: var(--bg-elev);
  margin-bottom: 0.55rem;
  padding: 0 1.1rem;
  transition: border-color 0.2s ease;
}

.faq details:hover,
.faq details[open] {
  border-color: var(--line-strong);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
  letter-spacing: -0.02em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  color: var(--accent);
}

.faq details p {
  padding-bottom: 1rem;
}

/* Prose legal */
.prose {
  max-width: min(820px, 100%);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.prose h2 {
  margin-top: 2.2rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.15rem, 4.5vw, 1.55rem);
}

.prose h3 {
  margin-top: 1.4rem;
}

.prose p,
.prose li {
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.page-hero h1 {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  position: relative;
}

.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.15);
}

.split-media img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #140a22;
}

.banner-strip {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
  position: relative;
}

.banner-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

.banner-strip img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
  background: #140a22;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 3.5rem 0 6.5rem;
  border-top: 2px solid var(--accent);
  background: #0c0616;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand img {
  width: 120px;
  margin-bottom: 0.85rem;
}

.footer-brand p,
.site-footer a {
  color: #8a9bac;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col strong {
  color: var(--text);
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.footer-legal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: #6d7e8d;
}

.footer-legal p {
  color: #6d7e8d;
  margin-bottom: 0.5rem;
}

/* Sticky CTA — rectangular dock */
.sticky-cta {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: min(620px, calc(100% - 24px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.8rem 0.75rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(10, 16, 22, 0.96);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(167, 139, 250, 0.08);
}

.sticky-cta span {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  font-weight: 700;
}

.sticky-cta strong {
  font-size: 0.95rem;
  color: var(--text);
  font-family: var(--font-display);
}

.sticky-cta .btn {
  padding: 0.65rem 1.1rem;
  font-size: 0.78rem;
}

/* Reveal motion — slide from left + fade */
.reveal {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .game-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: rgba(16, 8, 28, 0.98);
    border-bottom: 2px solid var(--accent);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
  }

  .nav a.is-active {
    background: transparent;
    color: var(--accent);
    box-shadow: inset 3px 0 0 var(--accent);
  }

  .menu-toggle {
    display: block;
    order: 3;
    flex-shrink: 0;
  }

  .header-cta .btn-ghost {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .header-cta .btn {
    padding: 0.65rem 0.85rem;
    font-size: 0.72rem;
  }

  .logo {
    max-width: 110px;
    flex-shrink: 1;
  }

  .header-inner {
    position: relative;
    gap: 0.5rem;
  }

  .grid-3,
  .steps,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero {
    display: grid;
    min-height: 680px;
  }

  .hero-content,
  .hero-media {
    grid-area: 1 / 1;
    width: 100%;
  }

  .hero-content {
    align-self: end;
    width: min(100% - 2rem, var(--max));
    padding: 1.5rem 0 1.75rem;
    background: none;
  }

  .hero-media::before {
    display: block;
    background: linear-gradient(
      180deg,
      rgba(8, 4, 16, 0.15) 0%,
      rgba(8, 4, 16, 0.08) 28%,
      rgba(8, 4, 16, 0.72) 52%,
      rgba(8, 4, 16, 0.94) 70%
    );
  }

  .hero-media img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: 82% 40%;
  }

  .section-head {
    padding-left: 0.85rem;
  }

  .page-hero {
    padding: 2.5rem 0 1.5rem;
  }

  .page-hero h1 {
    font-size: clamp(1.4rem, 6.5vw, 2rem);
  }
}

@media (max-width: 640px) {
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .sticky-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    width: min(100% - 16px, 620px);
  }

  .sticky-cta .btn {
    width: 100%;
  }

  .cta-band {
    text-align: center;
    justify-content: center;
  }

  .data-table {
    min-width: 0;
  }

  .data-table thead {
    display: none;
  }

  .data-table tr {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .data-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border: 0;
    padding: 0.35rem 1rem;
  }

  .data-table td::before {
    content: attr(data-label);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.78rem;
  }
}

/* 2026 visual refinements: no heading/layout overrides */
.btn { box-sizing: border-box; }
.btn-primary {
  background: linear-gradient(180deg,#a8ff49 0%,#5beb32 47%,#12ba34 100%);
  border: 1px solid #55e937;
  color: #101909;
  box-shadow: 0 4px 13px rgba(25,180,40,.19);
}
.btn-primary:hover,.btn-primary:focus-visible {
  background: linear-gradient(180deg,#c2ff66 0%,#77f345 47%,#20cd3d 100%);
  border-color: #90f64c;
  color: #101909;
  box-shadow: 0 6px 17px rgba(28,195,52,.28);
}
.btn-ghost:not(.header-cta .btn-ghost):not(.hero .btn-ghost) {
  border-color: #ffd500;
  color: #ffd500;
  background: transparent;
  box-shadow: none;
}
.btn-ghost:not(.header-cta .btn-ghost):not(.hero .btn-ghost):hover,
.btn-ghost:not(.header-cta .btn-ghost):not(.hero .btn-ghost):focus-visible {
  background: #ffd500;
  border-color: #ffd500;
  color: #101010;
}
.hero-actions .btn { min-width: 132px; min-height: 49px; }
.header-cta .btn { min-width: 126px; min-height: 48px; }
.hero-media img { object-position: center center; }
.hero-media::before {
  background: linear-gradient(90deg,rgba(10,5,24,.2),rgba(10,5,24,.78) 37%,rgba(10,5,24,.8) 63%,rgba(10,5,24,.2));
}
.hero-content { text-align:center; }
.hero-content h1,.hero-content .lead,.hero-content .brand-mark,.hero-content .age-note { margin-left:auto; margin-right:auto; max-width:650px; }
.hero-actions { justify-content:center; }
@media(max-width:900px) {
 .hero { display:flex; flex-direction:column; min-height:0; }
 .hero-media { width:100%; min-height:0; }
 .hero-media img { width:100%; height:auto; aspect-ratio:2048 / 622; object-fit:contain; object-position:center; }
 .hero-media::before { display:none; }
 .hero-content { width:min(100% - 2rem,var(--max)); padding:1.5rem 0 2rem; text-align:center; }
 .hero-content h1,.hero-content .lead { max-width:650px; }
}
@media(max-width:640px) {
 .hero-media img { width:100%; height:auto; }
 .hero-content { padding:1.25rem 0 1.75rem; }
 .hero-actions .btn { min-width:0; }
}

/* CTA color rules: green only in header, hero, banners and sticky pop-up */
.btn.btn-primary, .btn.btn-ghost {
  background: transparent;
  background-image: none;
  color: #ffdb00;
  border: 1px solid #ffdb00;
  box-shadow: none;
}
.btn.btn-primary:hover, .btn.btn-primary:focus-visible,
.btn.btn-ghost:hover, .btn.btn-ghost:focus-visible {
  background: #ffdb00;
  background-image: none;
  color: #111;
  border-color: #ffdb00;
  box-shadow: none;
}
.header-cta .btn.btn-primary, .header-cta .btn.btn-ghost,
.hero-actions .btn.btn-primary, .hero-actions .btn.btn-ghost,
.cta-band .btn.btn-primary, .cta-band .btn.btn-ghost,
.sticky-cta .btn.btn-primary, .sticky-cta .btn.btn-ghost {
  background: linear-gradient(180deg,#a8ff49 0%,#5beb32 47%,#12ba34 100%);
  color: #101909;
  border: 1px solid #55e937;
  box-shadow: 0 4px 13px rgba(25,180,40,.19);
}
.header-cta .btn.btn-primary:hover, .header-cta .btn.btn-ghost:hover,
.hero-actions .btn.btn-primary:hover, .hero-actions .btn.btn-ghost:hover,
.cta-band .btn.btn-primary:hover, .cta-band .btn.btn-ghost:hover,
.sticky-cta .btn.btn-primary:hover, .sticky-cta .btn.btn-ghost:hover,
.header-cta .btn.btn-primary:focus-visible, .header-cta .btn.btn-ghost:focus-visible,
.hero-actions .btn.btn-primary:focus-visible, .hero-actions .btn.btn-ghost:focus-visible,
.cta-band .btn.btn-primary:focus-visible, .cta-band .btn.btn-ghost:focus-visible,
.sticky-cta .btn.btn-primary:focus-visible, .sticky-cta .btn.btn-ghost:focus-visible {
  background: linear-gradient(180deg,#c2ff66 0%,#77f345 47%,#20cd3d 100%);
  color: #101909;
  border-color: #90f64c;
  box-shadow: 0 6px 17px rgba(28,195,52,.28);
}

/* v4: paired CTAs — first green, second yellow; applies on every page */
.header-cta .btn:first-child,
.hero-actions .btn:first-child {
  background: linear-gradient(180deg,#a8ff49 0%,#5beb32 47%,#12ba34 100%);
  color:#101909; border:1px solid #55e937;
  box-shadow:0 4px 13px rgba(25,180,40,.19);
}
.header-cta .btn:first-child:hover,
.header-cta .btn:first-child:focus-visible,
.hero-actions .btn:first-child:hover,
.hero-actions .btn:first-child:focus-visible {
  background:linear-gradient(180deg,#c2ff66 0%,#77f345 47%,#20cd3d 100%);
  color:#101909; border-color:#90f64c;
  box-shadow:0 6px 17px rgba(28,195,52,.28);
}
.header-cta .btn:nth-child(2),
.hero-actions .btn:nth-child(2) {
  background:transparent; background-image:none;
  color:#ffdb00; border:1px solid #ffdb00; box-shadow:none;
}
.header-cta .btn:nth-child(2):hover,
.header-cta .btn:nth-child(2):focus-visible,
.hero-actions .btn:nth-child(2):hover,
.hero-actions .btn:nth-child(2):focus-visible {
  background:#ffdb00; background-image:none;
  color:#111; border-color:#ffdb00; box-shadow:none;
}

/* v5 — header: login yellow, registration green on all pages */
.header-cta .btn:first-child,
.header-cta .btn:first-child:link,
.header-cta .btn:first-child:visited {
  background: transparent;
  background-image: none;
  border: 1px solid #ffdb00;
  color: #ffdb00;
  box-shadow: none;
}
.header-cta .btn:first-child:hover,
.header-cta .btn:first-child:focus-visible {
  background: #ffdb00;
  background-image: none;
  border-color: #ffdb00;
  color: #111;
  box-shadow: none;
}
.header-cta .btn:nth-child(2) {
  background: linear-gradient(180deg,#a8ff49 0%,#5beb32 47%,#12ba34 100%);
  border: 1px solid #55e937;
  color: #101909;
  box-shadow: 0 4px 13px rgba(25,180,40,.19);
}
.header-cta .btn:nth-child(2):hover,
.header-cta .btn:nth-child(2):focus-visible {
  background: linear-gradient(180deg,#c2ff66 0%,#77f345 47%,#20cd3d 100%);
  border-color: #90f64c;
  color: #101909;
  box-shadow: 0 6px 17px rgba(28,195,52,.28);
}
/* Mobile: center content CTA buttons, without centering copy or H2 */
@media (max-width: 640px) {
  .split-copy > .btn,
  .split-copy > a.btn,
  .section > .container > .btn,
  .section .container > .btn,
  .step > .btn,
  .card > .btn,
  .feature-card > .btn,
  .content-card > .btn,
  .panel > .btn {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .cta-band > .btn {
    margin-left: auto;
    margin-right: auto;
  }
  .header-cta .btn:first-child {
    display: inline-flex;
  }
  .header-cta {
    gap: .35rem;
  }
  .header-cta .btn {
    min-width: 0;
    min-height: 40px;
    padding: .6rem .65rem;
    font-size: .68rem;
    white-space: nowrap;
  }
}

/* v6: actual markup-based mobile CTA alignment on ALL eight pages.
   Keep headings, paragraphs, header buttons and sticky controls unchanged. */
@media (max-width: 640px) {
  .split > .reveal > a.btn,
  .section .container > a.btn,
  .section .container > .reveal > a.btn,
  .section .prose p > a.btn,
  .cta-band > a.btn {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}
