:root {
  --primary: #78e02c;
  --primary-dark: #56a11f;
  --primary-light: #8aff32;
  --accent-green: #04be02;
  --accent-gold: #ffaa09;
  --bg-primary: #111111;
  --bg-secondary: #161616;
  --bg-card: #161616;
  --bg-card-hover: #191919;
  --text-primary: #ffffff;
  --text-secondary: #e8e8e8;
  --text-muted: #a3a3a3;
  --border: #161616;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --header-h: 76px;
  --container: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hero-gradient: radial-gradient(ellipse at 25% 0%, rgba(120,224,44, 0.22), transparent 55%);
}


body.theme-dynamic .site-header {
  background: color-mix(in srgb, var(--bg-primary) 92%, transparent);
  border-bottom-color: color-mix(in srgb, var(--primary) 35%, var(--border));
}
body.theme-dynamic .btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  box-shadow: 0 4px 20px color-mix(in srgb, var(--primary) 40%, transparent);
}
body.theme-dynamic .btn-outline {
  border-color: var(--primary);
}
body.theme-dynamic .badge {
  border-color: color-mix(in srgb, var(--primary-light) 45%, var(--border));
}
body.theme-dynamic .nav-links a.active {
  background: color-mix(in srgb, var(--primary) 18%, transparent);
}

/* ── Layout: default — texto à esquerda, visual à direita ── */
body.layout-default .hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
}
body.layout-default .hero-visual { order: 2; }

/* ── Layout: centered — hero centralizado, visual abaixo ── */
body.layout-centered .hero-grid {
  grid-template-columns: 1fr;
  text-align: center;
}
body.layout-centered .hero-desc,
body.layout-centered .hero-stats,
body.layout-centered .hero-cta,
body.layout-centered .hero-badges {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}
body.layout-centered .hero-visual { order: 2; margin-top: 1rem; }
body.layout-centered .brand-name { display: block; font-size: clamp(2.4rem, 6vw, 3.8rem); }

/* ── Layout: visual-first — imagem grande à esquerda ── */
body.layout-visual-first .hero-grid {
  grid-template-columns: 0.95fr 1.05fr;
}
body.layout-visual-first .hero-visual { order: -1; }
body.layout-visual-first .hero-image-wrap {
  max-width: 100%;
  border-width: 2px;
}
@media (max-width: 767px) {
  body.layout-visual-first .hero-visual { order: -1; }
}

/* ── Layout: stats-first — números em destaque no topo ── */
body.layout-stats-first .hero-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
body.layout-stats-first .hero-stats {
  order: -1;
  grid-column: 1 / -1;
  margin-bottom: 1.25rem;
}
body.layout-stats-first .hero-visual { grid-row: span 2; }
@media (max-width: 767px) {
  body.layout-stats-first .hero-grid { grid-template-columns: 1fr; }
  body.layout-stats-first .hero-visual { grid-row: auto; }
}

/* ── Layout: magazine — banner full-width + conteúdo em colunas ── */
body.layout-magazine .hero { padding-top: 1.5rem; }
body.layout-magazine .hero-banner-wide {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  min-height: 132px;
  padding: 1.25rem;
  display: grid;
  gap: .35rem;
  align-content: center;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 24%, transparent), transparent),
    var(--bg-card);
}
body.layout-magazine .hero-banner-wide strong {
  color: var(--primary-light);
  font-size: clamp(1.5rem, 4vw, 2.8rem);
}
body.layout-magazine .hero-banner-wide span {
  color: var(--text-secondary);
  font-weight: 800;
}
body.layout-magazine .hero-banner-wide img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 320px;
  object-fit: cover;
}
body.layout-magazine .hero-grid {
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
body.layout-magazine .brand-name { font-size: clamp(2.2rem, 5vw, 3.4rem); }
@media (max-width: 767px) {
  body.layout-magazine .hero-grid { grid-template-columns: 1fr; }
}

/* ── Layout: split-hero — banner + assimetria 55/45 ── */
body.layout-split-hero .hero-split-banner {
  margin-bottom: 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
body.layout-split-hero .hero-split-banner img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}
body.layout-split-hero .hero-split-grid {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 767px) {
  body.layout-split-hero .hero-split-grid { grid-template-columns: 1fr; }
}

/* ── Layout: overlay — texto sobre banner full-width ── */
body.layout-overlay .hero-overlay {
  position: relative;
  padding: 0;
  min-height: 420px;
  display: flex;
  align-items: center;
}
body.layout-overlay .hero-overlay-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
body.layout-overlay .hero-overlay-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.layout-overlay .hero-overlay-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.82) 100%);
}
body.layout-overlay .hero-overlay-content {
  position: relative;
  z-index: 1;
  padding: 3rem 1.25rem;
  max-width: 720px;
}
body.layout-overlay .hero-overlay-content .hero-desc { color: var(--text-secondary); }

/* ── Layout: sidebar — painel lateral de bônus ── */
body.layout-sidebar .hero-sidebar-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}
body.layout-sidebar .hero-side-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
body.layout-sidebar .hero-side-panel img {
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
  border-radius: var(--radius-sm);
  object-fit: cover;
}
body.layout-sidebar .hero-side-bonus {
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: color-mix(in srgb, var(--primary) 12%, var(--bg-card));
  border-radius: var(--radius-sm);
}
body.layout-sidebar .hero-side-bonus strong { display: block; color: var(--primary-light); }
body.layout-sidebar .hero-side-list {
  list-style: none;
  margin-top: 1rem;
  text-align: left;
  font-size: 0.88rem;
  color: var(--text-muted);
}
body.layout-sidebar .hero-side-list li { padding: 0.35rem 0; }
@media (max-width: 767px) {
  body.layout-sidebar .hero-sidebar-grid { grid-template-columns: 1fr; }
  body.layout-sidebar .hero-side-panel { position: static; }
}

/* ── Layout: timeline — passos numerados ── */
body.layout-timeline .hero-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.75rem 0;
  padding: 0;
}

body.layout-timeline .hero-timeline-image {
  max-width: 420px;
  margin: 1.25rem auto 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

body.layout-timeline .hero-timeline-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

body.layout-timeline .hero-steps li {
  display: flex;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}
body.layout-timeline .hero-steps li span {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.layout-timeline .hero-steps p { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }
@media (max-width: 767px) {
  body.layout-timeline .hero-steps { grid-template-columns: 1fr; }
}

/* ── Layout: showcase — trio de imagens central ── */
body.layout-showcase .hero-showcase-block { text-align: center; }
body.layout-showcase .hero-showcase-title { margin-bottom: 0.75rem; }
body.layout-showcase .hero-showcase-lead {
  max-width: 640px;
  margin: 0 auto 1.5rem;
}
body.layout-showcase .hero-showcase-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
body.layout-showcase .hero-showcase-row img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 1;
  object-fit: cover;
}
body.layout-showcase .hero-showcase-row .hero-text-tile,
body.layout-strip-focus .hero-strip-gallery .hero-text-tile,
body.layout-collage .hero-text-tile,
body.layout-hex-grid .hero-text-tile {
  width: 100%;
  min-height: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, color-mix(in srgb, var(--primary) 18%, var(--bg-card)), var(--bg-card));
  display: grid;
  place-items: center;
  align-content: center;
  gap: .35rem;
  padding: 1rem;
  text-align: center;
}
body.layout-showcase .hero-text-tile strong,
body.layout-strip-focus .hero-text-tile strong,
body.layout-collage .hero-text-tile strong,
body.layout-hex-grid .hero-text-tile strong {
  color: var(--primary-light);
  font-size: clamp(1.25rem, 3vw, 2rem);
}
body.layout-showcase .hero-text-tile span,
body.layout-strip-focus .hero-text-tile span,
body.layout-collage .hero-text-tile span,
body.layout-hex-grid .hero-text-tile span {
  color: var(--text-secondary);
  font-weight: 800;
}
body.layout-showcase .hero-showcase-main {
  transform: scale(1.05);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
body.layout-showcase .hero-stats,
body.layout-showcase .hero-cta { justify-content: center; }
@media (max-width: 767px) {
  body.layout-showcase .hero-showcase-row { grid-template-columns: 1fr; }
  body.layout-showcase .hero-showcase-main { transform: none; }
}

/* ── Layout: card-hero — card flutuante central ── */
body.layout-card-hero .hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin-top: 0.5rem;
}
body.layout-card-hero .hero-card-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
body.layout-card-hero .hero-card-visual { position: relative; text-align: center; }
body.layout-card-hero .hero-card-visual img {
  width: min(100%, 380px);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
body.layout-card-hero .hero-card-tag {
  margin-top: 1rem;
  padding: 0.65rem 1rem;
  background: color-mix(in srgb, var(--primary) 15%, var(--bg-card));
  border-radius: var(--radius-sm);
  color: var(--primary-light);
}
@media (max-width: 767px) {
  body.layout-card-hero .hero-card-grid { grid-template-columns: 1fr; }
}

/* ── Layout: duo-band — faixa promo + colunas invertidas ── */
body.layout-duo-band .hero-duo-top {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  margin-bottom: 2rem;
}
body.layout-duo-band .hero-duo-top-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}
body.layout-duo-band .hero-duo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
body.layout-duo-band .hero-duo-visual img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  max-height: 320px;
  object-fit: cover;
}
@media (max-width: 767px) {
  body.layout-duo-band .hero-duo-grid { grid-template-columns: 1fr; }
}

/* ── Layout: bento — grade 2×2 ── */
body.layout-bento .hero-bento-head { margin-bottom: 1.5rem; max-width: 720px; }
body.layout-bento .hero-bento-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
body.layout-bento .hero-bento-main {
  grid-row: span 2;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
body.layout-bento .hero-bento-main img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
body.layout-bento .hero-bento-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  color: var(--primary-light);
}
body.layout-bento .hero-bento-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
body.layout-bento .hero-bento-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
}
body.layout-bento .hero-bento-stat span:last-child { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.35rem; }
body.layout-bento .hero-bento-cta { grid-column: span 2; }
@media (max-width: 767px) {
  body.layout-bento .hero-bento-grid { grid-template-columns: 1fr; }
  body.layout-bento .hero-bento-main,
  body.layout-bento .hero-bento-cta { grid-column: span 1; grid-row: auto; }
}

/* ── Layout: strip-focus — galeria horizontal full-bleed ── */
body.layout-strip-focus { padding-bottom: 0; }
body.layout-strip-focus .hero-strip-copy { max-width: 680px; }
body.layout-strip-focus .hero-strip-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0 0.5rem 2rem;
}
body.layout-strip-focus .hero-strip-gallery img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
body.layout-strip-focus .hero-strip-gallery .hero-text-tile {
  aspect-ratio: 3/4;
  border-radius: var(--radius-sm);
}
@media (max-width: 767px) {
  body.layout-strip-focus .hero-strip-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ── Layout: accent-bar — trilho vertical lateral ── */
body.layout-accent-bar .hero-accent-grid {
  display: grid;
  grid-template-columns: 56px 1fr 280px;
  gap: 1.5rem;
  align-items: stretch;
}
body.layout-accent-bar .hero-accent-rail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}
body.layout-accent-bar .hero-accent-side img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}
body.layout-accent-bar .hero-accent-side ul {
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-muted);
}
body.layout-accent-bar .hero-accent-side li { padding: 0.35rem 0; }
@media (max-width: 767px) {
  body.layout-accent-bar .hero-accent-grid { grid-template-columns: 1fr; }
  body.layout-accent-bar .hero-accent-rail {
    writing-mode: horizontal-tb;
    transform: none;
    flex-direction: row;
    padding: 0.75rem 1rem;
  }
}

/* ── Layout: prism — diagonal accent background ── */
body.layout-prism .hero-prism { position: relative; overflow: hidden; }
body.layout-prism .hero-prism-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 25%, transparent) 0%, transparent 55%);
  clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%);
  z-index: 0;
}
body.layout-prism .hero-prism-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
body.layout-prism .hero-prism-visual { position: relative; text-align: center; }
body.layout-prism .hero-prism-visual img {
  width: min(100%, 520px);
  aspect-ratio: 4 / 3;
  height: auto;
  display: block;
  margin-inline: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
body.layout-prism .hero-prism-chip {
  margin-top: 0.85rem;
  padding: 0.75rem;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary);
}
@media (max-width: 767px) {
  body.layout-prism .hero-prism-grid { grid-template-columns: 1fr; }
}

/* ── Layout: float-stats — barra de stats sobreposta ── */
body.layout-float-stats { padding-bottom: 2.5rem; }
body.layout-float-stats .hero-float-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
body.layout-float-stats .hero-float-copy {
  min-width: 0;
}
body.layout-float-stats .hero-float-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 430px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg-card);
}
body.layout-float-stats .hero-float-visual img {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
}
body.layout-float-stats .hero-float-chip {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: rgba(0,0,0,.68);
  color: #fff;
  backdrop-filter: blur(8px);
}
body.layout-float-stats .hero-float-chip span {
  color: rgba(255,255,255,.78);
  font-size: 0.9rem;
}
body.layout-float-stats .hero-float-bar {
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}
body.layout-float-stats .hero-float-bar .hero-stats {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.25rem;
}
@media (max-width: 900px) {
  body.layout-float-stats .hero-float-grid {
    grid-template-columns: 1fr;
  }
  body.layout-float-stats .hero-float-visual {
    justify-self: stretch;
    width: min(100%, 520px);
    margin: 0 auto;
  }
  body.layout-float-stats .hero-float-bar {
    margin-top: 1rem;
  }
}

/* ── Layout: columns-3 — três colunas no hero ── */
body.layout-columns-3 .hero-columns-head { margin-bottom: 1.75rem; max-width: 720px; }
body.layout-columns-3 .hero-columns-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}
body.layout-columns-3 .hero-col-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}
body.layout-columns-3 .hero-col-card img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  aspect-ratio: 1;
  object-fit: cover;
}
body.layout-columns-3 .hero-col-main {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
body.layout-columns-3 .hero-col-main .hero-cta { justify-content: center; margin-top: 1rem; }
body.layout-columns-3 .hero-col-promo { color: var(--primary-light); margin: 0.75rem 0; }
@media (max-width: 767px) {
  body.layout-columns-3 .hero-columns-row { grid-template-columns: 1fr; }
}

/* ── Layout: panel-stack — painéis empilhados ── */
body.layout-panel-stack .hero-panel-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}
body.layout-panel-stack .hero-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
body.layout-panel-stack .hero-panel-side img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  max-height: 160px;
  object-fit: cover;
}
body.layout-panel-stack .hero-panel-side ul {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}
body.layout-panel-stack .hero-panel-note {
  grid-column: span 2;
  background: color-mix(in srgb, var(--primary) 10%, var(--bg-card));
}
@media (max-width: 767px) {
  body.layout-panel-stack .hero-panel-wrap { grid-template-columns: 1fr; }
  body.layout-panel-stack .hero-panel-note { grid-column: span 1; }
}

/* ── Layout: wave — divisor ondulado ── */
body.layout-wave .hero-wave-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: center;
  padding-bottom: 2rem;
}
body.layout-wave .hero-wave-art img {
  width: 100%;
  border-radius: 50%;
  border: 3px solid var(--primary);
  aspect-ratio: 1;
  object-fit: cover;
}
body.layout-wave .hero-wave-divider {
  height: 48px;
  background: var(--bg-secondary);
  clip-path: ellipse(75% 100% at 50% 100%);
  margin-top: -1px;
}
@media (max-width: 767px) {
  body.layout-wave .hero-wave-inner { grid-template-columns: 1fr; }
  body.layout-wave .hero-wave-art { max-width: 240px; margin: 0 auto; }
}

/* ── Extended homepage copy blocks ── */
.intro-section,
.story-section,
.value-props-section { padding: 2.5rem 0; }
.value-props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.value-prop-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.value-prop-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 18%, var(--bg-card));
  margin-bottom: 0.65rem;
  font-size: 1.1rem;
}
.story-copy p { color: var(--text-muted); line-height: 1.75; margin-bottom: 0.85rem; }

/* ── Layout: orbit — anel orbital central ── */
body.layout-orbit .hero-orbit-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
}
body.layout-orbit .hero-orbit-ring {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  height: 220px;
  border: 3px dashed color-mix(in srgb, var(--primary) 55%, transparent);
  border-radius: 50%;
  animation: orbit-spin 24s linear infinite;
}
@keyframes orbit-spin { to { transform: translateY(-50%) rotate(360deg); } }
body.layout-orbit .hero-orbit-core {
  position: relative;
  z-index: 1;
  width: 200px;
  margin: 0 auto;
}
body.layout-orbit .hero-orbit-core img {
  width: 100%;
  border-radius: 50%;
  border: 3px solid var(--primary);
}
@media (max-width: 767px) {
  body.layout-orbit .hero-orbit-wrap { grid-template-columns: 1fr; }
  body.layout-orbit .hero-orbit-ring { display: none; }
  body.layout-orbit .hero-orbit-core { margin-bottom: 1rem; }
}

/* ── Layout: ring-banner — anel + faixa inferior ── */
body.layout-ring-banner .hero-ring-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 2rem;
  align-items: center;
  padding-bottom: 1.5rem;
}
body.layout-ring-banner .hero-ring-outer {
  padding: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-gold));
}
body.layout-ring-banner .hero-ring-outer img {
  width: 100%;
  border-radius: 50%;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
}
body.layout-ring-banner .hero-ring-foot {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
body.layout-ring-banner .hero-ring-foot-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  padding: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}
@media (max-width: 767px) {
  body.layout-ring-banner .hero-ring-grid { grid-template-columns: 1fr; }
  body.layout-ring-banner .hero-ring-visual { max-width: 200px; margin: 0 auto; }
}

/* ── Layout: mosaic-hero — grade assimétrica ── */
body.layout-mosaic-hero .hero-mosaic-head { margin-bottom: 1.5rem; max-width: 680px; }
body.layout-mosaic-hero .hero-mosaic-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(280px, 1.18fr);
  grid-template-rows: repeat(3, minmax(132px, auto));
  gap: clamp(0.75rem, 1.5vw, 1rem);
  align-items: stretch;
}
body.layout-mosaic-hero .hero-mosaic-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
body.layout-mosaic-hero .hero-mosaic-info {
  display: grid;
  gap: .35rem;
  align-content: center;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
body.layout-mosaic-hero .hero-mosaic-info span {
  color: var(--text-muted);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
body.layout-mosaic-hero .hero-mosaic-info strong {
  color: var(--primary-light);
  font-size: clamp(1.35rem, 3vw, 2rem);
}
body.layout-mosaic-hero .hero-mosaic-info p {
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}
body.layout-mosaic-hero .hero-mosaic-a {
  grid-column: 1;
  grid-row: 1;
}
body.layout-mosaic-hero .hero-mosaic-b {
  grid-column: 1;
  grid-row: 2;
}
body.layout-mosaic-hero .hero-mosaic-c {
  grid-column: 1;
  grid-row: 3;
}
body.layout-mosaic-hero .hero-mosaic-d {
  grid-column: 2;
  grid-row: 1 / span 3;
  aspect-ratio: 1 / 1;
  max-height: 520px;
}
body.layout-mosaic-hero .hero-mosaic-b,
body.layout-mosaic-hero .hero-mosaic-c {
  min-height: 132px;
}
body.layout-mosaic-hero .hero-mosaic-d { min-height: 420px; }
body.layout-mosaic-hero .hero-mosaic-cta {
  grid-column: 1 / span 2;
  grid-row: 4;
  background: var(--bg-card);
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-width: 0;
}
body.layout-mosaic-hero .hero-mosaic-cta strong { color: var(--primary-light); margin-bottom: 0.75rem; }
body.layout-mosaic-hero .hero-mosaic-cta .hero-cta {
  justify-content: center;
  gap: 0.55rem;
}
body.layout-mosaic-hero .hero-mosaic-cta .btn {
  white-space: normal;
  min-width: 0;
}
@media (max-width: 767px) {
  body.layout-mosaic-hero .hero-mosaic-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  body.layout-mosaic-hero .hero-mosaic-a,
  body.layout-mosaic-hero .hero-mosaic-b,
  body.layout-mosaic-hero .hero-mosaic-c,
  body.layout-mosaic-hero .hero-mosaic-d,
  body.layout-mosaic-hero .hero-mosaic-cta {
    grid-column: 1;
    grid-row: auto;
    min-height: 140px;
  }
  body.layout-mosaic-hero .hero-mosaic-d {
    min-height: 240px;
    max-height: none;
  }
  body.layout-mosaic-hero .hero-mosaic-cta { min-height: 0; }
}

/* ── Layout: compact-bar — ícones full-width ── */
body.layout-compact-bar .hero-compact-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  max-width: 1080px;
  padding-bottom: 1.5rem;
}
body.layout-compact-bar .hero-compact-copy { text-align: left; }
body.layout-compact-bar .hero-compact-visual img {
  width: 100%;
  height: clamp(190px, 26vw, 300px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
body.layout-compact-bar .hero-compact-icons {
  background: color-mix(in srgb, var(--primary) 12%, var(--bg-secondary));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
body.layout-compact-bar .hero-compact-icons-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.25rem 0;
  text-align: center;
}
body.layout-compact-bar .hero-compact-icons-row span { font-size: 1.5rem; display: block; margin-bottom: 0.35rem; }
body.layout-compact-bar .hero-compact-icons-row p { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; }
@media (max-width: 767px) {
  body.layout-compact-bar .hero-compact-top { grid-template-columns: 1fr; text-align: center; }
  body.layout-compact-bar .hero-compact-copy { text-align: center; }
  body.layout-compact-bar .hero-compact-icons-row { grid-template-columns: repeat(2, 1fr); }
}

/* ── Layout: stepped — degraus verticais ── */
body.layout-stepped .hero-step {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
body.layout-stepped .hero-step-1 { padding-top: 0; }
body.layout-stepped .hero-step-3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  border-bottom: none;
}
body.layout-stepped .hero-step-visual img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  max-height: 200px;
  object-fit: cover;
}
@media (max-width: 767px) {
  body.layout-stepped .hero-step-3 { grid-template-columns: 1fr; }
}

/* ── Layout: hex-grid ── */
body.layout-hex-grid .hero-hex-head { margin-bottom: 1.5rem; max-width: 720px; }
body.layout-hex-grid .hero-hex-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 0.65rem;
}
body.layout-hex-grid .hero-hex-cell {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
body.layout-hex-grid .hero-hex-cell img { width: 100%; height: 100%; min-height: 120px; object-fit: cover; }
body.layout-hex-grid .hero-hex-main { grid-row: span 2; }
body.layout-hex-grid .hero-hex-promo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  text-align: center;
  border-color: var(--primary);
}
@media (max-width: 767px) {
  body.layout-hex-grid .hero-hex-grid { grid-template-columns: 1fr 1fr; }
  body.layout-hex-grid .hero-hex-main { grid-row: span 1; grid-column: span 2; }
}

/* ── Layout: diagonal ── */
body.layout-diagonal .hero-diagonal { position: relative; overflow: hidden; }
body.layout-diagonal .hero-diagonal-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, color-mix(in srgb, var(--primary) 20%, transparent) 40%, transparent 40%);
  z-index: 0;
}
body.layout-diagonal .hero-diagonal-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: center;
}
body.layout-diagonal .hero-diagonal-grid aside img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
@media (max-width: 767px) {
  body.layout-diagonal .hero-diagonal-grid { grid-template-columns: 1fr; }
}

/* ── Layout: ticker ── */
body.layout-ticker .hero-ticker-bar {
  overflow: hidden;
  background: var(--primary-dark);
  border-bottom: 1px solid var(--primary);
}
body.layout-ticker .hero-ticker-track {
  display: flex;
  gap: 3rem;
  padding: 0.55rem 0;
  animation: ticker-scroll 22s linear infinite;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
body.layout-ticker .hero-ticker-body { padding: 2rem 0 1rem; }
body.layout-ticker .hero-ticker-banner {
  width: 100%;
  margin-top: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  max-height: 220px;
  object-fit: cover;
}

/* ── Layout: frame ── */
body.layout-frame .hero-frame-box {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
  border: 3px solid var(--primary);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  box-shadow: var(--shadow);
}
body.layout-frame .hero-frame-inner { padding: 2rem; background: var(--bg-card); }
body.layout-frame .hero-frame-side {
  background: color-mix(in srgb, var(--primary) 8%, var(--bg-card));
  padding: 1rem;
  display: flex;
  align-items: center;
}
body.layout-frame .hero-frame-side img {
  width: 100%;
  border-radius: var(--radius-sm);
}
@media (max-width: 767px) {
  body.layout-frame .hero-frame-box { grid-template-columns: 1fr; }
}

/* ── Layout: collage ── */
body.layout-collage .hero-collage-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
body.layout-collage .hero-collage-images {
  position: relative;
  min-height: 320px;
}
body.layout-collage .hero-collage-images img {
  position: absolute;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  object-fit: cover;
}
body.layout-collage .hero-collage-images .hero-text-tile {
  position: absolute;
  border-radius: var(--radius-sm);
  border-width: 2px;
}
body.layout-collage .hero-collage-a { width: 45%; top: 0; left: 0; aspect-ratio: 1; }
body.layout-collage .hero-collage-b { width: 55%; top: 15%; right: 0; z-index: 2; box-shadow: var(--shadow); border-color: var(--primary); }
body.layout-collage .hero-collage-c { width: 40%; bottom: 0; left: 20%; aspect-ratio: 1; }
@media (max-width: 767px) {
  body.layout-collage .hero-collage-wrap { grid-template-columns: 1fr; }
  body.layout-collage .hero-collage-images { min-height: 260px; }
}

.promo-band {
  padding: 2rem 0;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
}
.promo-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.promo-band h2 { color: #fff; font-size: clamp(1.1rem, 3vw, 1.5rem); margin-bottom: 0.35rem; }
.promo-band p { color: rgba(255,255,255,.88); font-size: 0.92rem; max-width: 520px; }

/* ── Section order variations ── */
body.layout-magazine .main-flow .popular-section { order: 2; }
body.layout-magazine .main-flow .games-section { order: 3; }
body.layout-magazine .main-flow .features-section { order: 4; }

body.layout-visual-first .main-flow .reviews-section { order: 5; }
body.layout-visual-first .main-flow .faq-section { order: 6; }

body.layout-stats-first .main-flow .features-section { order: 2; }
body.layout-stats-first .main-flow .games-section { order: 3; }

body.layout-centered .main-flow .stats-section { order: 1; }

.main-flow {
  display: flex;
  flex-direction: column;
}

/* Brand title styling */
.hero h1 .brand-name {
  display: block;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.05;
  margin-bottom: 0.35rem;
}
.hero h1 .hero-subtitle {
  display: block;
  font-size: clamp(1.1rem, 2.8vw, 1.55rem);
  font-weight: 600;
  color: var(--text-secondary);
  -webkit-text-fill-color: initial;
  background: none;
  margin-top: 0.25rem;
}

.rich-block {
  padding: 3rem 0;
}
.rich-block.alt {
  background: rgba(0, 0, 0, 0.18);
}
.rich-grid {
  display: grid;
  gap: 1.25rem;
}
.rich-grid.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.rich-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.rich-card img {
  width: 100%;
  height: clamp(160px, 18vw, 220px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
  border: 1px solid var(--border);
}
.rich-card h3 { margin-bottom: 0.5rem; }
.rich-card p { font-size: 0.92rem; color: var(--text-muted); }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 1.5rem 0 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Enhanced homepage sections */
.stats-section {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15), transparent);
}
.stats-counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}
.stat-counter {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.stat-counter strong {
  display: block;
  font-size: 1.75rem;
  color: var(--primary-light);
  margin-bottom: 0.35rem;
}
.stat-counter span { font-size: 0.85rem; color: var(--text-muted); }

.vip-section { padding: 4rem 0; }
.vip-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.vip-tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.vip-tier-card h3 {
  color: var(--primary-light);
  margin-bottom: 0.75rem;
}
.vip-tier-card ul {
  list-style: none;
  margin-bottom: 1rem;
}
.vip-tier-card li {
  padding: 0.35rem 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.vip-tier-card li::before { content: "✓ "; color: var(--primary); }

.login-rewards-section {
  padding: 3.5rem 0;
  background: rgba(0,0,0,0.12);
}
.reward-day-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.85rem;
}
.reward-day-card {
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.reward-day-card .reward-day {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.reward-day-card strong { color: var(--primary-light); font-size: 0.95rem; }

.promo-cards-section { padding: 4rem 0; }
.promo-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.promo-card-item {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.promo-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--primary);
  color: #fff;
}
.promo-icon { font-size: 2rem; display: block; margin-bottom: 0.75rem; }
.promo-card-item h3 { margin-bottom: 0.5rem; }
.promo-card-item p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.75rem; }

.advantages-section {
  padding: 3.5rem 0;
  background: rgba(0,0,0,0.1);
}
.advantages-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.advantage-block {
  padding: 1.25rem;
  border-left: 3px solid var(--primary);
  background: var(--bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.advantage-block h3 { margin-bottom: 0.5rem; font-size: 1rem; }
.advantage-block p { font-size: 0.9rem; color: var(--text-muted); }

.mobile-section { padding: 4rem 0; }
.mobile-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.mobile-split img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
@media (max-width: 768px) {
  .mobile-split { grid-template-columns: 1fr; }
}

.security-section {
  padding: 3.5rem 0;
  background: rgba(0,0,0,0.15);
}
.security-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}
.security-split img {
  width: 100%;
  border-radius: var(--radius);
}
@media (max-width: 768px) {
  .security-split { grid-template-columns: 1fr; }
}

.game-types-section { padding: 3.5rem 0; }
.game-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.game-type-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.game-type-card img {
  width: 100%;
  max-height: 140px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
}

.compare-section {
  padding: 3rem 0;
}
.compare-copy p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 900px;
}


/* Per-site presentation profiles — combine with layout-* for unique look */

body.profile-split-accent .hero-grid { gap: 2.5rem; }
body.profile-split-accent .hero-visual .hero-image-wrap {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary-light), var(--shadow);
}
body.profile-split-accent .games-grid { grid-template-columns: repeat(2, 1fr); }
body.profile-split-accent .site-header {
  background: linear-gradient(90deg, rgba(0,0,0,.55), transparent);
}

body.profile-glass-header .site-header {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
body.profile-glass-header .hero { padding-top: 2rem; }
body.profile-glass-header .game-card { border-radius: 20px; }

body.profile-dense-grid .games-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
body.profile-dense-grid .game-card { padding: 0.85rem; }
body.profile-dense-grid .popular-grid { grid-template-columns: repeat(3, 1fr); }

body.profile-hero-stack .hero-grid { grid-template-columns: 1fr; }
body.profile-hero-stack .hero-visual { order: -1; max-width: 420px; margin: 0 auto 1rem; }
body.profile-hero-stack .hero-stats { justify-content: center; }

body.profile-tabs-top .features-section .tab-nav {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
body.profile-tabs-top .tab-btn { border-radius: 999px; }

body.profile-card-float .game-card {
  transform: translateY(0);
  transition: transform 0.25s, box-shadow 0.25s;
}
body.profile-card-float .game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

body.profile-sidebar-cta .cta-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  text-align: left;
  align-items: center;
}
body.profile-sidebar-cta .cta-box img { grid-row: span 2; }

body.profile-minimal-hero .hero-desc { font-size: 0.98rem; max-width: 540px; }
body.profile-minimal-hero .hero-badges { margin-bottom: 0.75rem; }
body.profile-minimal-hero .hero-stats { gap: 0.75rem; }

body.profile-banner-first.layout-magazine .hero-banner-wide,
body.profile-banner-first .hero-banner-wide {
  margin-bottom: 1.5rem;
  border: 2px solid var(--primary);
}

body.profile-stats-bar .hero-stats {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

body.profile-wide-cards .games-grid { grid-template-columns: 1fr; }
body.profile-wide-cards .game-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: center;
}
body.profile-wide-cards .game-thumb img { height: 100px; object-fit: cover; }

body.profile-dark-strip .rich-block.alt {
  background: linear-gradient(180deg, rgba(0,0,0,.35), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

body.profile-popular-first .main-flow .popular-section { order: 1; }
body.profile-popular-first .main-flow .games-section { order: 3; }
body.profile-popular-first .main-flow .features-section { order: 4; }

body.profile-review-highlight .review-card {
  border-left: 3px solid var(--primary);
  background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
}

body.profile-compact-mobile .section-head { margin-bottom: 1.5rem; }
body.profile-compact-mobile .hero { padding: 1.75rem 0; }
body.profile-compact-mobile .faq-section { padding: 2rem 0; }

body.profile-neon-edge .site-header { border-bottom: 2px solid var(--primary-light); }
body.profile-neon-edge .btn-primary {
  box-shadow: 0 0 24px color-mix(in srgb, var(--primary) 45%, transparent);
}
body.profile-neon-edge .hero-image-wrap {
  box-shadow: 0 0 32px color-mix(in srgb, var(--primary-light) 35%, transparent);
}

@media (max-width: 767px) {
  body.profile-wide-cards .game-card { grid-template-columns: 1fr; }
  body.profile-sidebar-cta .cta-box { grid-template-columns: 1fr; text-align: center; }
  body.profile-sidebar-cta .cta-box img { grid-row: auto; margin: 0 auto; }
}

/* ── New profiles (sites 16–20) ── */

body.profile-mosaic .popular-grid {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 120px;
}
body.profile-mosaic .popular-item:first-child { grid-row: span 2; grid-column: span 2; }
body.profile-mosaic .popular-item:nth-child(4) { grid-column: span 2; }
@media (max-width: 767px) {
  body.profile-mosaic .popular-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  body.profile-mosaic .popular-item:first-child,
  body.profile-mosaic .popular-item:nth-child(4) { grid-column: span 1; grid-row: span 1; }
}

body.profile-gradient-bar .site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-gold), var(--primary-light));
}

body.profile-pill-nav .features-section .tab-nav { display: none; }
body.profile-pill-nav .features-section .tab-panel { display: block !important; }
body.profile-pill-nav .features-section .tab-panel .tab-split {
  display: block;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
body.profile-pill-nav .tab-panel img { max-width: 100%; margin-top: 1rem; border-radius: var(--radius-sm); }

body.profile-cta-band .rich-block {
  background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 18%, var(--bg-card)), var(--bg-card));
  border-top: 1px solid var(--primary);
  border-bottom: 1px solid var(--primary);
  padding: 2rem 0;
}

body.profile-faq-first .main-flow .faq-section { order: 2; }
body.profile-faq-first .main-flow .games-section { order: 3; }
body.profile-faq-first .main-flow .features-section { order: 4; }
body.profile-faq-first .main-flow .popular-section { order: 5; }
body.profile-faq-first .main-flow .reviews-section { order: 6; }

/* ── New profiles (sites 21–25) ── */

body.profile-zigzag-blocks .main-flow > section:nth-child(even) {
  background: rgba(0, 0, 0, 0.14);
  margin-left: calc(-1 * var(--container-pad, 1.25rem));
  margin-right: calc(-1 * var(--container-pad, 1.25rem));
  padding-left: var(--container-pad, 1.25rem);
  padding-right: var(--container-pad, 1.25rem);
}
body.profile-zigzag-blocks .rich-block.alt { background: transparent; }

body.profile-games-emphasis .main-flow .games-section { order: 2; }
body.profile-games-emphasis .main-flow .popular-section { order: 3; }
body.profile-games-emphasis .games-section .games-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
body.profile-games-emphasis .game-card {
  border: 2px solid color-mix(in srgb, var(--primary) 35%, var(--border));
  transform: translateY(0);
  transition: transform 0.2s, border-color 0.2s;
}
body.profile-games-emphasis .game-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

body.profile-trust-marquee .trust-strip {
  overflow: hidden;
  flex-wrap: nowrap;
  justify-content: flex-start;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
body.profile-trust-marquee .trust-strip-inner {
  display: flex;
  gap: 1rem;
  animation: trust-marquee 28s linear infinite;
}
@keyframes trust-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

body.profile-split-faq .faq-section .faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}
body.profile-split-faq .main-flow .reviews-section { order: 2; }
body.profile-split-faq .main-flow .faq-section { order: 5; }
@media (max-width: 767px) {
  body.profile-split-faq .faq-section .faq-list { grid-template-columns: 1fr; }
}

body.profile-ribbon-sections .section-head h2 {
  display: inline-block;
  padding: 0.35rem 1.25rem;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  border-radius: 999px;
  color: #fff;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
}
body.profile-ribbon-sections .reviews-section .review-card {
  border-left: 4px solid var(--primary);
}

/* ── New profiles (sites 26–30) ── */

body.profile-intro-expanded .intro-section {
  padding: 2.5rem 0 1rem;
  border-bottom: 1px solid var(--border);
}
body.profile-intro-expanded .intro-copy {
  max-width: 820px;
  display: grid;
  gap: 1rem;
}
body.profile-intro-expanded .intro-lead {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
body.profile-intro-expanded .intro-copy p {
  color: var(--text-muted);
  line-height: 1.75;
}

body.profile-feature-stack .features-section .tab-nav { display: none; }
body.profile-feature-stack .features-section .tab-panel {
  display: block !important;
  margin-bottom: 1rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
body.profile-feature-stack .tab-panel .tab-split { display: block; }
body.profile-feature-stack .tab-panel img { max-width: 100%; margin-top: 1rem; border-radius: var(--radius-sm); }

body.profile-popular-scroll .popular-grid {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}
body.profile-popular-scroll .popular-item {
  flex: 0 0 160px;
  scroll-snap-align: start;
}

body.profile-long-copy .section-head p,
body.profile-long-copy .game-body p,
body.profile-long-copy .story-copy p {
  max-width: 780px;
  line-height: 1.8;
  font-size: 0.96rem;
}
body.profile-long-copy .story-section {
  padding: 2.5rem 0;
  background: rgba(0, 0, 0, 0.12);
}

body.profile-dual-cta .cta-section {
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 22%, var(--bg-primary)), var(--bg-secondary));
  border-top: 1px solid var(--primary);
}
body.profile-dual-cta .hero-cta .btn-outline {
  border-color: var(--primary-light);
}

/* ── New profiles (sites 31–35) ── */

body.profile-intro-duo .intro-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}
body.profile-intro-duo .intro-lead { grid-column: span 2; }
@media (max-width: 767px) {
  body.profile-intro-duo .intro-copy { grid-template-columns: 1fr; }
  body.profile-intro-duo .intro-lead { grid-column: span 1; }
}

body.profile-games-compact .games-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
body.profile-games-compact .game-card { padding: 0.85rem; }
body.profile-games-compact .game-thumb img { max-height: 140px; object-fit: cover; }
@media (max-width: 767px) {
  body.profile-games-compact .games-grid { grid-template-columns: 1fr; }
}

body.profile-icon-tabs .tab-nav { gap: 0.5rem; flex-wrap: wrap; }
body.profile-icon-tabs .tab-btn {
  flex: 1 1 140px;
  min-height: 72px;
  flex-direction: column;
  font-size: 0.82rem;
  padding: 0.65rem;
}

body.profile-review-strip .reviews-grid {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}
body.profile-review-strip .review-card {
  flex: 0 0 min(320px, 85vw);
  scroll-snap-align: start;
}

body.profile-footer-band .promo-band { margin-top: 0; }
body.profile-footer-band .cta-section { padding-bottom: 1rem; }

/* ── New profiles (sites 31–40) ── */

body.profile-hex-cards .game-card {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  padding: 2rem 1rem 1.5rem;
  text-align: center;
}
body.profile-hex-cards .games-grid { gap: 1.25rem; }

body.profile-nav-underline .nav-links a {
  border-bottom: 2px solid transparent;
  padding-bottom: 0.25rem;
}
body.profile-nav-underline .nav-links a:hover,
body.profile-nav-underline .nav-links a.active {
  border-bottom-color: var(--primary);
}

body.profile-highlight-faq .faq-item:first-child {
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--primary) 10%, var(--bg-card));
}
body.profile-highlight-faq .faq-item:first-child .faq-q { color: var(--primary-light); }

body.profile-rich-first .main-flow .rich-block { order: 2; }
body.profile-rich-first .main-flow .intro-section { order: 3; }
body.profile-rich-first .main-flow .value-props-section { order: 4; }
body.profile-rich-first .main-flow .games-section { order: 5; }

body.profile-stats-duo .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
body.profile-stats-duo .features-section::before {
  content: "";
  display: block;
  height: 1px;
  background: var(--border);
  margin-bottom: 2rem;
}

body.profile-app-vertical .intro-section,
body.profile-app-vertical .rich-block,
body.profile-app-vertical .value-props-section,
body.profile-app-vertical .promo-band {
  display: none;
}


/* Enhanced homepage stream — isolated from profile/layout section reordering */

body.enhanced-home .main-flow > section,
body.enhanced-home .main-flow > .rich-block {
  order: initial !important;
}

/* Single-column readable prose (fixes intro-duo 2-col paragraph breaks) */
body.enhanced-home.profile-intro-duo .intro-copy,
body.enhanced-home.profile-intro-expanded .intro-copy {
  display: block;
  max-width: 780px;
  margin: 0 auto;
}

body.enhanced-home .intro-copy .intro-lead {
  grid-column: unset;
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--text-primary);
  margin-bottom: 1.15rem;
}

body.enhanced-home .intro-copy p,
body.enhanced-home .story-copy p {
  text-align: left;
  line-height: 1.8;
  margin-bottom: 0.95rem;
  color: var(--text-secondary);
}

body.enhanced-home .story-copy {
  max-width: 780px;
  margin: 0 auto;
}

body.enhanced-home .home-stream .game-body p,
body.enhanced-home .home-stream .tab-split p {
  line-height: 1.65;
}

body.enhanced-home .intro-section .intro-copy,
body.enhanced-home .story-section .story-copy {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

body.enhanced-home.profile-icon-tabs .features-section .tab-btn {
  flex: 0 1 auto;
  min-height: unset;
  flex-direction: row;
  font-size: 0.85rem;
  padding: 0.65rem 1rem;
}

body.enhanced-home .hs-duo {
  grid-template-columns: 1fr;
}

body.enhanced-home .hs-duo > section .container {
  padding-left: var(--container-pad, 1rem);
  padding-right: var(--container-pad, 1rem);
}

.home-stream {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.rule-flow-hero {
  padding: 2.6rem 0 1.4rem;
}

.rule-flow-label,
.rule-module-kicker {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: .65rem;
  color: var(--primary-light);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rule-flow-hero h2 {
  max-width: 760px;
  margin-bottom: .85rem;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
}

.rule-flow-hero p:last-child {
  max-width: 760px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.rule-flow-section {
  padding: 1rem 0 1.9rem;
}

.rule-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.rule-module {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 1.15rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--bg-card), color-mix(in srgb, var(--bg-secondary) 82%, var(--primary)));
  border: 1px solid color-mix(in srgb, var(--border) 72%, var(--primary));
}

.rule-module::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 18%, transparent);
}

.rule-module h3 {
  position: relative;
  z-index: 1;
  margin-bottom: .65rem;
}

.rule-module p {
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
  line-height: 1.65;
}

.rule-module .link-arrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: .85rem;
}

.rule-style-timeline {
  border-left: 4px solid var(--primary);
}

.rule-style-checklist,
.rule-style-table-check,
.rule-style-warning-box,
.rule-contentSkin-risk-aware .rule-module {
  background: linear-gradient(145deg, color-mix(in srgb, #111 82%, var(--primary)), var(--bg-card));
}

.rule-style-ticket-row,
.rule-style-ticket,
.rule-cardStyle-card-ticket .rule-module {
  border-style: dashed;
  border-radius: 22px;
}

.rule-style-bento,
.rule-cardStyle-card-bento .rule-module-grid {
  grid-template-columns: 1.2fr .8fr 1fr;
}

.rule-style-bento:nth-child(1),
.rule-cardStyle-card-bento .rule-module:first-child {
  grid-row: span 2;
}

.rule-style-table,
.rule-style-table-check {
  min-height: 160px;
  border-radius: var(--radius-sm);
}

.rule-mini-faq {
  display: grid;
  gap: .55rem;
}

.rule-mini-faq details {
  position: relative;
  z-index: 1;
  padding: .75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid color-mix(in srgb, var(--border) 72%, var(--primary));
}

.rule-mini-faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--text-primary);
}

.rule-mini-faq p {
  margin-top: .45rem;
}

.rule-mini-table {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .45rem;
}

.rule-mini-table div {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  padding: .65rem .75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, .055);
}

.rule-mini-table span,
.rule-score-grid span {
  color: var(--text-muted);
  font-size: .8rem;
}

.rule-mini-table strong {
  text-align: right;
  color: var(--text-primary);
  font-size: .84rem;
}

.rule-timeline-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .65rem;
  margin: .85rem 0 0;
  padding: 0;
  list-style: none;
}

.rule-timeline-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: .7rem;
  align-items: start;
}

.rule-timeline-list strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
}

.rule-timeline-list span {
  color: var(--text-secondary);
  line-height: 1.55;
}

.rule-chip-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .9rem;
}

.rule-chip-row span {
  padding: .4rem .65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: var(--text-primary);
  font-size: .78rem;
  font-weight: 800;
}

.rule-media-split {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .9rem;
}

.rule-media-split img {
  width: 100%;
  max-height: 170px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--border) 72%, var(--primary));
}

.rule-check-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .55rem;
  margin: .85rem 0 0;
  padding: 0;
  list-style: none;
}

.rule-check-list li {
  padding-left: 1.35rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.rule-check-list li::before {
  content: "✓";
  float: left;
  margin-left: -1.35rem;
  color: var(--primary-light);
  font-weight: 900;
}

.rule-score-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-top: .9rem;
}

.rule-score-grid div {
  padding: .75rem .55rem;
  border-radius: 14px;
  text-align: center;
  background: rgba(255, 255, 255, .06);
}

.rule-score-grid strong {
  display: block;
  color: var(--text-primary);
  font-size: 1rem;
}

.rule-style-accordion,
.rule-style-faq-cards {
  min-height: 260px;
}

.rule-style-split-media,
.rule-style-receipt-panel,
.rule-style-media-cards {
  padding: .85rem;
}

.rule-style-stat-strip,
.rule-style-scorecards,
.rule-style-score-panel {
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 34%, #080808), var(--bg-card));
}

.rule-style-button-grid,
.rule-style-diagnostic-grid,
.rule-style-campaign-grid,
.rule-style-scenario-list {
  min-height: 240px;
}

.rule-style-compact-strip {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rule-layoutFamily-game-library .rule-flow-hero,
.rule-primaryFocus-games .rule-flow-hero {
  background: radial-gradient(circle at 15% 0, color-mix(in srgb, var(--primary) 20%, transparent), transparent 42%);
}

.rule-layoutFamily-login-gateway .rule-module-grid,
.rule-primaryFocus-login .rule-module-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.rule-copyVoice-checklist .rule-module-kicker::before {
  content: "✓";
}

.rule-copyVoice-game-catalog .rule-module-kicker::before {
  content: "▣";
}

@media (max-width: 767px) {
  .rule-style-bento,
  .rule-cardStyle-card-bento .rule-module-grid {
    grid-template-columns: 1fr;
  }
}

.home-stream section,
.home-stream .hs-band {
  order: initial !important;
}

.portal-rich-section {
  padding: 2.3rem 0;
}

.portal-info-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: .75rem;
}

.portal-info-table div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.portal-info-table span {
  color: var(--text-muted);
  font-size: .84rem;
}

.portal-info-table strong {
  color: var(--text-primary);
  text-align: right;
  font-size: .88rem;
}

.portal-step-grid,
.portal-check-grid,
.portal-scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.portal-step-grid article,
.portal-check-grid article,
.portal-scenario-grid article {
  padding: 1.15rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.portal-step-grid strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 20%, transparent);
  color: var(--primary-light);
  margin-bottom: .75rem;
}

.portal-step-grid h3,
.portal-check-grid h3,
.portal-scenario-grid h3 {
  margin-bottom: .45rem;
}

.portal-step-grid p,
.portal-check-grid p,
.portal-scenario-grid p {
  color: var(--text-muted);
  line-height: 1.65;
}

.portal-feedback-box {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 16%, var(--bg-card)), var(--bg-card));
  border: 1px solid color-mix(in srgb, var(--primary) 34%, var(--border));
}

.portal-feedback-box h2 {
  margin-bottom: .65rem;
}

.portal-feedback-box p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: .85rem;
}

.hs-band {
  padding: 2.75rem 0;
}

.hs-band-muted {
  background: rgba(0, 0, 0, 0.14);
}

.hs-band-accent {
  background: linear-gradient(135deg, rgba(var(--primary-rgb, 228, 24, 39), 0.12), transparent 70%);
  border-block: 1px solid rgba(255, 255, 255, 0.04);
}

.hs-band-tight {
  padding: 1.75rem 0;
}

.hs-head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.hs-head h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin-bottom: 0.45rem;
}

.hs-head p {
  color: var(--text-muted);
  max-width: 720px;
  margin: 0.75rem auto 0;
  line-height: 1.65;
}

.hs-head p:empty {
  display: none;
}

.hs-vip-link {
  text-align: center;
  margin-top: 1rem;
}

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

.hs-split-reverse .hs-split-copy {
  order: 2;
}

@media (max-width: 860px) {
  .hs-split,
  .hs-split-reverse .hs-split-copy {
    grid-template-columns: 1fr;
    order: initial;
  }
}

.hs-split img {
  width: 100%;
  height: clamp(190px, 24vw, 300px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

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

@media (max-width: 768px) {
  .hs-stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hs-stat {
  text-align: center;
  padding: 1.15rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.hs-stat strong {
  display: block;
  font-size: 1.45rem;
  color: var(--primary-light);
  margin-bottom: 0.25rem;
}

.hs-stat span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

@media (max-width: 900px) {
  .hs-promo-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hs-promo {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  min-height: 148px;
}

.hs-promo-tag {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: var(--primary);
  color: #fff;
}

.hs-promo-icon {
  font-size: 1.65rem;
  display: block;
  margin-bottom: 0.5rem;
}

.hs-promo h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.hs-promo p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.hs-reward-track {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
}

.hs-reward {
  flex: 0 0 108px;
  scroll-snap-align: start;
  text-align: center;
  padding: 1rem 0.65rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.hs-reward em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.hs-reward strong {
  font-size: 0.88rem;
  color: var(--primary-light);
}

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

@media (max-width: 900px) {
  .hs-vip-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hs-vip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.hs-vip h3 {
  color: var(--primary-light);
  font-size: 1rem;
  margin-bottom: 0.65rem;
}

.hs-vip ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hs-vip li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hs-vip li::before {
  content: "✓ ";
  color: var(--primary);
}

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

@media (max-width: 700px) {
  .hs-adv-grid {
    grid-template-columns: 1fr;
  }
}

.hs-adv {
  padding: 1.15rem 1.15rem 1.15rem 1rem;
  border-left: 3px solid var(--primary);
  background: var(--bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hs-adv h3 {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}

.hs-adv p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .hs-type-row {
    grid-template-columns: 1fr;
  }
}

.hs-type {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.hs-type img {
  width: 100%;
  height: clamp(120px, 15vw, 170px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.hs-type div {
  padding: 1rem;
}

.hs-type h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.hs-type p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hs-quote {
  padding: 1.75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.hs-quote p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.hs-duo {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
  align-items: start;
}

.hs-duo > section {
  margin: 0;
  padding: 0;
}

.hs-duo > section .container {
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 900px) {
  .hs-duo {
    grid-template-columns: 1fr;
  }

  .hs-duo > section .container {
    padding-left: var(--container-pad, 1rem);
    padding-right: var(--container-pad, 1rem);
  }
}

.hs-closer {
  padding: 3rem 0 3.5rem;
}

.hs-closer .cta-box {
  max-width: 720px;
  margin: 0 auto;
}

/* Per-layout accents */
.layout-orbit .hs-band-accent {
  background: radial-gradient(circle at 20% 50%, rgba(var(--primary-rgb, 228, 24, 39), 0.15), transparent 60%);
}

.layout-pulse .hs-reward-track {
  justify-content: center;
  flex-wrap: wrap;
  overflow: visible;
}

.layout-pulse .hs-reward {
  flex: 1 1 100px;
}

.layout-crown .hs-type-row {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .hs-type-row,
  .layout-crown .hs-type-row {
    grid-template-columns: 1fr;
  }
}

body.enhanced-home .hs-quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  border-left: none;
  border-top: 3px solid var(--primary);
  padding-top: 1.5rem;
}

body.enhanced-home .hs-quote p {
  text-align: center;
  line-height: 1.75;
}

.layout-savanna .popular-section {
  padding-top: 0;
}

.layout-savanna .games-section {
  padding-bottom: 2rem;
}

.layout-amber .hs-promo-row {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 901px) {
  .layout-amber .hs-promo-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.layout-seven .hs-duo .hs-reward-track {
  margin-top: 0.5rem;
}

.layout-spark .hs-stat-strip {
  max-width: 900px;
  margin: 0 auto;
}

.layout-prime .hs-band-muted:first-child {
  padding-top: 2rem;
}



/* Original full-site template library */

body[class*="tpl-"] .site-header {
  border-bottom-color: color-mix(in srgb, var(--border) 72%, var(--primary));
}

body[class*="tpl-"] .main-flow {
  gap: 0;
}

.template-flow {
  position: relative;
  overflow: hidden;
}

.template-flow-hero {
  padding: clamp(1.8rem, 4vw, 4.2rem) 0 clamp(1rem, 2vw, 2rem);
}

.template-kicker {
  display: inline-flex;
  margin-bottom: .9rem;
  padding: .4rem .7rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 18%, transparent);
  color: var(--primary-light);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.template-flow-hero h2 {
  max-width: 900px;
  margin-bottom: .85rem;
  font-size: clamp(1.9rem, 4vw, 4rem);
  line-height: 1.05;
}

.template-flow-hero p {
  max-width: 760px;
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 1.05rem;
}

.template-flow-section {
  padding: .75rem 0 clamp(1.6rem, 3vw, 3rem);
}

.template-module-grid {
  display: grid;
  gap: 1rem;
}

.template-module-grid .rule-module {
  min-height: 230px;
}

/* Casino Lobby: immersive game wall */
.tpl-casino-lobby {
  background:
    radial-gradient(circle at 18% 12%, color-mix(in srgb, var(--primary) 24%, transparent), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(255, 193, 7, .12), transparent 28%),
    var(--bg-primary);
}

.tpl-casino-lobby .hero {
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, var(--primary));
}

.template-module-grid-casino-lobby {
  grid-template-columns: 1.25fr .75fr 1fr;
  grid-auto-flow: dense;
}

.template-module-grid-casino-lobby .rule-module:nth-child(1),
.template-module-grid-casino-lobby .rule-module:nth-child(3) {
  grid-row: span 2;
  min-height: 480px;
}

.template-module-grid-casino-lobby .rule-module {
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(0,0,0,.18)), var(--bg-card);
}

/* Login Gateway: control desk */
.tpl-login-gateway .shell-header-cta-first {
  background: rgba(6, 8, 12, .96);
}

.tpl-login-gateway .hero-card,
.tpl-login-gateway .template-flow-section .container {
  position: relative;
}

.template-module-grid-login-gateway {
  grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.2fr);
}

.template-module-grid-login-gateway .rule-module:first-child {
  grid-row: span 2;
  min-height: 520px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 24%, #111), #090b10);
}

.template-module-grid-login-gateway .rule-module {
  border-radius: 20px;
}

/* Wallet Manual: operational manual */
.tpl-wallet-manual .template-module-grid {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
}

.tpl-wallet-manual .rule-module {
  border-left: 4px solid var(--primary);
  border-radius: 16px;
}

/* Bonus Magazine: editorial cover rhythm */
.tpl-bonus-magazine .template-flow-hero {
  background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 22%, transparent), transparent);
}

.tpl-bonus-magazine .template-module-grid {
  grid-template-columns: 1.1fr 1fr 1fr;
}

.tpl-bonus-magazine .rule-module:first-child {
  grid-column: span 2;
}

/* App Store: mobile product feel */
.tpl-app-store .template-module-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.tpl-app-store .rule-module {
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
}

/* Trust Report: sober report */
.tpl-trust-report .template-module-grid {
  grid-template-columns: minmax(280px, .8fr) minmax(320px, 1.2fr);
}

.tpl-trust-report .rule-module {
  background: color-mix(in srgb, var(--bg-card) 88%, #0f172a);
  border-radius: 12px;
}

/* Sports Board: data board */
.tpl-sports-board .template-module-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.tpl-sports-board .rule-module {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(16,185,129,.12), rgba(255,255,255,.04));
}

/* Guide Index: map of intents */
.tpl-guide-index .template-module-grid {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
}

.tpl-guide-index .rule-module:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

/* Community Feed: timeline and posts */
.tpl-community-feed .template-module-grid {
  grid-template-columns: minmax(260px, .75fr) minmax(320px, 1fr);
}

.tpl-community-feed .rule-module {
  border-radius: 14px;
}

/* Review Dashboard: metrics first */
.tpl-review-dashboard .template-module-grid {
  grid-template-columns: repeat(3, minmax(240px, 1fr));
}

.tpl-review-dashboard .rule-module:nth-child(1),
.tpl-review-dashboard .rule-module:nth-child(2) {
  grid-column: span 1;
  min-height: 330px;
}

.tpl-review-dashboard .rule-score-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Expanded library variants share coordinated structure without copying a base template. */
.tpl-library-variant .template-flow-hero {
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, var(--primary));
}

.tpl-library-variant .template-module-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
  grid-auto-rows: minmax(240px, auto);
}

.tpl-library-variant .rule-module:nth-child(1) {
  min-height: 240px;
}

.tpl-library-variant .rule-module:nth-child(4n) {
  background: linear-gradient(145deg, color-mix(in srgb, var(--primary) 18%, var(--bg-card)), var(--bg-card));
}

.tpl-library-variant .rule-module:nth-child(5n) {
  border-radius: 30px 12px 30px 12px;
}

.template-sports-board {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 1rem;
  align-items: start;
}

.template-board-main,
.template-board-side,
.template-dashboard-top,
.template-dashboard-grid,
.template-mag-rail,
.template-mag-grid,
.template-split-secondary {
  display: grid;
  gap: 1rem;
}

.template-board-main {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.template-board-side {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.template-board-side .rule-module {
  min-height: 170px;
}

.template-magazine-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.template-mag-lead .rule-module {
  min-height: 260px;
}

.template-mag-lead .rule-media-split {
  display: grid;
  grid-template-columns: minmax(220px, .42fr) minmax(0, .58fr);
  align-items: center;
  gap: 1rem;
}

.template-mag-lead .rule-media-split img {
  max-height: 260px;
  object-fit: contain;
}

.template-mag-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  grid-auto-rows: minmax(230px, auto);
}

.template-mag-grid .rule-module {
  height: 100%;
}

.template-dashboard-layout {
  display: grid;
  gap: 1rem;
}

.template-dashboard-top {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.template-dashboard-top .rule-module {
  min-height: 260px;
  height: 100%;
}

.template-dashboard-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
  grid-auto-rows: minmax(220px, auto);
}

.template-dashboard-grid .rule-module,
.template-directory-layout .rule-module,
.template-panel-layout .rule-module {
  height: 100%;
}

.template-split-layout {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
  gap: 1rem;
  align-items: stretch;
}

.template-split-primary .rule-module {
  min-height: 100%;
}

.template-split-secondary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.template-directory-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}

.template-directory-layout .rule-module {
  min-height: 185px;
}

.template-timeline-layout {
  display: grid;
  gap: .85rem;
  counter-reset: template-step;
}

.template-timeline-layout .rule-module {
  min-height: 150px;
  display: grid;
  grid-template-columns: 64px 1fr;
}

.template-timeline-layout .rule-module::before {
  counter-increment: template-step;
  content: counter(template-step, decimal-leading-zero);
  position: relative;
  z-index: 1;
  align-self: start;
  justify-self: start;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 34%, transparent);
  color: #fff;
  font-weight: 900;
}

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

.template-panel-layout .rule-module:nth-child(3n + 1) {
  grid-column: 1 / -1;
}

.template-mobile-stack {
  display: grid;
  gap: .75rem;
}

.template-masonry-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  align-items: stretch;
  grid-auto-flow: row;
  grid-auto-rows: minmax(220px, auto);
}

.template-masonry-layout .rule-module {
  height: 100%;
  margin-bottom: 0;
}

/* Ten mobile vertical templates. */
.tpl-mobile-vertical {
  --container-pad: .9rem;
}

.tpl-mobile-vertical .app-shell {
  max-width: 448px;
}

.tpl-mobile-vertical .template-flow-hero {
  padding: 1.5rem 0 1rem;
}

.tpl-mobile-vertical .template-flow-hero h2 {
  font-size: clamp(1.45rem, 7vw, 2.15rem);
}

.tpl-mobile-vertical .template-module-grid {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.tpl-mobile-vertical .rule-module {
  min-height: auto;
  border-radius: 22px;
  padding: 1rem;
}

.tpl-mobile-vertical .rule-media-split img {
  max-height: 220px;
}

/* Content depth modules for subpages */
.depth-module-pack {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 72%, var(--primary));
}

.depth-kicker {
  display: inline-flex;
  width: fit-content;
  padding: .4rem .7rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 16%, transparent);
  color: var(--primary-light);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.depth-module {
  padding: 1.15rem;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(0,0,0,.12)), var(--bg-card);
  border: 1px solid color-mix(in srgb, var(--border) 75%, var(--primary));
}

.depth-module h2 {
  margin-bottom: .65rem;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.depth-module > p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.depth-module .games-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (max-width: 980px) {
  .template-module-grid,
  .template-module-grid-casino-lobby,
  .template-module-grid-login-gateway,
  .tpl-wallet-manual .template-module-grid,
  .tpl-bonus-magazine .template-module-grid,
  .tpl-trust-report .template-module-grid,
  .tpl-sports-board .template-module-grid,
  .tpl-guide-index .template-module-grid,
  .tpl-community-feed .template-module-grid,
  .tpl-review-dashboard .template-module-grid {
    grid-template-columns: 1fr;
  }

  .template-module-grid .rule-module,
  .template-module-grid-casino-lobby .rule-module:nth-child(1),
  .template-module-grid-casino-lobby .rule-module:nth-child(3),
  .template-module-grid-login-gateway .rule-module:first-child,
  .tpl-bonus-magazine .rule-module:first-child,
  .tpl-guide-index .rule-module:first-child {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
  }

  .tpl-library-variant .rule-module:nth-child(1) { min-height: 220px; }

  .template-sports-board,
  .template-magazine-layout,
  .template-split-layout,
  .template-dashboard-top,
  .template-dashboard-grid,
  .template-board-main,
  .template-mag-grid,
  .template-split-secondary,
  .template-directory-layout,
  .template-panel-layout {
    grid-template-columns: 1fr;
  }

  .template-board-side {
    position: static;
  }

  .template-timeline-layout .rule-module {
    grid-template-columns: 1fr;
  }

  .template-masonry-layout {
    grid-template-columns: 1fr;
  }

  .template-mag-lead .rule-media-split {
    grid-template-columns: 1fr;
  }
}



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



html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  line-height: 1.6;
  color: var(--text-secondary);
  background: linear-gradient(160deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  min-height: 100vh;
  padding-top: var(--header-h);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

/* Template family differentiation: visual rhythm, not just colors. */
.family-app-store .hero,
.family-app-store .page-hero {
  border-bottom: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.12), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.08), transparent);
}
.family-app-store .hero-ctas,
.family-app-store .nav-actions { gap: .5rem; }
.family-app-store .content-card { border-radius: 28px; }

.family-casino-lobby .main-flow,
.family-game-library .main-flow { background-image: linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 76px 76px; }
.family-casino-lobby .games-grid,
.family-game-library .games-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.family-casino-lobby .content-card img,
.family-game-library .content-card img { border-radius: 18px; }

.family-login-portal .site-header,
.family-minimal-official-entry .site-header { background: rgba(5, 8, 12, .94); border-bottom: 1px solid rgba(255,255,255,.18); }
.family-login-portal .page-hero .container,
.family-minimal-official-entry .page-hero .container { max-width: 780px; text-align: left; }
.family-login-portal .btn-primary,
.family-minimal-official-entry .btn-primary { border-radius: 999px; }

.family-pix-payment .content-card,
.family-security-checker .content-card { border-left: 4px solid var(--accent-green); }
.family-pix-payment .badge,
.family-security-checker .badge { background: rgba(4,190,2,.12); color: #d9ffe0; }

.family-promo-vip .content-section,
.family-vip .content-section { background: linear-gradient(135deg, rgba(255,170,9,.08), transparent 46%); }
.family-promo-vip .content-card { box-shadow: 0 18px 42px rgba(255,170,9,.10); }

.family-sportsbook .main-flow,
.family-sportsbook .page-hero { background-image: linear-gradient(135deg, rgba(255,255,255,.04) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.04) 50%, rgba(255,255,255,.04) 75%, transparent 75%, transparent); background-size: 28px 28px; }
.family-sportsbook .content-card { border-radius: 10px; }

.family-review-magazine .content-section .container,
.family-news-blog-portal .content-section .container { max-width: 920px; }
.family-review-magazine .content-card,
.family-news-blog-portal .content-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }

.family-comparison-table .content-card,
.family-dashboard-mockup .content-card { display: grid; gap: .75rem; border-style: dashed; }
.family-comparison-table .feature-list li,
.family-dashboard-mockup .feature-list li { padding: .45rem .6rem; background: rgba(255,255,255,.06); border-radius: 10px; }

.family-trust-compliance .compliance-notice,
.family-trust-compliance .footer-disclaimer { border-color: rgba(255,255,255,.22); }
.family-trust-compliance .content-card { background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025)); }

.family-visual-story .page-hero,
.family-visual-story .hero { min-height: 72vh; display: grid; align-items: center; }
.family-visual-story .content-card { transform: rotate(-.4deg); }
.family-visual-story .content-card:nth-child(even) { transform: rotate(.4deg); }

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #fff;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

h1, h2, h3, h4 {
  color: var(--text-primary);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); font-weight: 700; }

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head p {
  margin-top: 0.75rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(17, 17, 17, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1.1;
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.nav-links {
  display: none;
  list-style: none;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(228, 24, 39, 0.15);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  box-shadow: 0 4px 20px rgba(228, 24, 39, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: #fff;
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}

.mobile-drawer.open {
  pointer-events: auto;
  opacity: 1;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  padding: 1.25rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s;
}

.mobile-drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.drawer-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
}

.drawer-group h4 {
  font-size: 0.85rem;
  color: var(--accent-gold);
  margin: 1rem 0 0.5rem;
}

.drawer-group a {
  display: block;
  padding: 0.45rem 0;
  color: var(--text-secondary);
}

.drawer-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Hero */
.hero {
  padding: 3rem 0 4rem;
  background: var(--hero-gradient, radial-gradient(ellipse at 20% 0%, rgba(228, 24, 39, 0.18), transparent 55%));
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.hero h1 span {
  color: var(--primary-light);
}

.hero-desc {
  font-size: 1.05rem;
  margin: 1.25rem 0 1.75rem;
  max-width: 620px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.stat-card {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat-icon {
  font-size: 1.5rem;
}

.stat-card strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}

.stat-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.age-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-image-wrap {
  width: min(100%, 680px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(228, 24, 39, 0.35);
  box-shadow: var(--shadow);
  background: var(--bg-card);
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 220px;
  object-fit: cover;
}

.hero-banner-wide img {
  min-height: 280px;
}

.page-banner img {
  min-height: 240px;
  object-fit: cover;
}

.rich-card img {
  width: 100%;
  height: clamp(160px, 18vw, 220px);
  aspect-ratio: 16 / 10;
  min-height: 160px;
  object-fit: cover;
  display: block;
}

.tab-split img {
  min-height: 200px;
  object-fit: cover;
}

.hero-promo {
  padding: 1rem 1.25rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.hero-promo strong {
  display: block;
  color: var(--accent-green);
  font-size: 0.95rem;
}

.hero-promo span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-logo-box {
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--bg-card), #2a1215);
  border: 1px solid rgba(228, 24, 39, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
}

.hero-logo-text {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-logo-tag {
  margin-top: 0.75rem;
  color: var(--accent-green);
  font-weight: 700;
}

/* Games */
.games-section {
  padding: 4rem 0;
}

.games-grid {
  display: grid;
  gap: 1.5rem;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(228, 24, 39, 0.5);
}

.game-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, #2a1215, var(--bg-card));
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.game-card:hover .game-thumb img {
  transform: scale(1.05);
}

.game-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
}

.game-tag.gold { background: var(--accent-gold); color: #111; }
.game-tag.green { background: var(--accent-green); color: #111; }

.game-body {
  padding: 1.25rem;
}

.game-body p {
  margin: 0.75rem 0 1rem;
  font-size: 0.92rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 1rem;
}

.feature-list li {
  font-size: 0.85rem;
  padding: 0.2rem 0;
  color: var(--text-muted);
}

.link-arrow {
  font-weight: 700;
  color: var(--primary-light);
}

/* Tabs */
.features-section {
  padding: 4rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.tab-btn {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
}

.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.tab-panel {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.tab-panel.active {
  display: block;
}

.tab-split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.tab-split img {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.popular-section {
  padding: 4rem 0;
  background: rgba(0, 0, 0, 0.15);
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.popular-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
}

.popular-item:hover {
  transform: translateY(-3px);
  border-color: rgba(228, 24, 39, 0.45);
}

.popular-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.popular-item span {
  display: block;
  padding: 0.6rem 0.75rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-align: center;
}

.media-row {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.media-row img {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.page-banner {
  margin-top: 1.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.page-banner img {
  width: 100%;
  height: auto;
}

.content-card img {
  width: 100%;
  height: clamp(150px, 18vw, 220px);
  aspect-ratio: 16 / 10;
  max-height: 220px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

.games-grid .content-card > img,
.portal-check-grid article > img,
.value-prop-card > img {
  width: 100%;
  height: clamp(150px, 18vw, 220px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-sm);
}

.media-row > img,
.media-row > picture,
.hs-split > img,
.tab-split > img {
  width: 100%;
  height: clamp(190px, 24vw, 300px);
  aspect-ratio: 16 / 10;
  object-fit: contain;
  display: block;
}

/* Image fit policy: content images should be fully visible inside fixed frames. */
.rich-card img,
.content-card img,
.games-grid .content-card > img,
.portal-check-grid article > img,
.value-prop-card > img,
.media-row > img,
.hs-split > img,
.hs-type img,
.tab-split img,
.game-thumb img,
.popular-item img,
.page-banner img {
  background:
    radial-gradient(circle at 18% 12%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.04), rgba(0,0,0,.18)),
    var(--bg-card);
  object-fit: contain;
}

.hero-image-wrap img,
.hero-banner-wide img,
.hero-overlay-bg img,
.hero-mosaic-grid img,
.hero-collage-images img,
.hero-bento-main img,
.hero-float-visual img,
.hero-compact-visual img,
.app-hero-banner img,
.lobby-marquee img {
  background:
    radial-gradient(circle at 20% 12%, color-mix(in srgb, var(--primary) 20%, transparent), transparent 35%),
    var(--bg-card);
}

.tab-panel ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.tab-panel li {
  padding-left: 1.25rem;
  position: relative;
}

.tab-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
}

/* Testimonials */
.reviews-section {
  padding: 4rem 0;
}

.reviews-grid {
  display: grid;
  gap: 1.25rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.cta-box img {
  width: min(100%, 200px);
  margin: 0 auto 1.25rem;
}

.review-stars {
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.review-author {
  margin-top: 1rem;
  font-weight: 700;
  color: #fff;
}

.review-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Stats */
.stats-section {
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.stat-box {
  text-align: center;
  padding: 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.stat-box strong {
  display: block;
  font-size: 1.4rem;
  color: var(--primary-light);
}

.stat-box span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-section {
  padding: 4rem 0;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--bg-card);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-q em {
  display: none;
  font-style: normal;
}

.faq-a {
  display: none;
  padding: 0 1.25rem 1rem;
  font-size: 0.92rem;
}

.faq-item.open .faq-a {
  display: block;
}

.faq-item.open .faq-q span {
  transform: rotate(45deg);
}

.faq-style-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 1040px;
}

.faq-style-cards,
.faq-style-steps,
.faq-style-chat,
.faq-style-table {
  max-width: 1040px;
}

.faq-style-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.faq-style-cards .faq-item,
.faq-style-table .faq-item,
.faq-style-steps .faq-item,
.faq-style-chat .faq-item {
  margin-bottom: 0;
}

.faq-style-cards .faq-a,
.faq-style-table .faq-a,
.faq-style-steps .faq-a,
.faq-style-chat .faq-a {
  display: block;
}

.faq-style-cards .faq-q span,
.faq-style-table .faq-q span,
.faq-style-steps .faq-q span,
.faq-style-chat .faq-q span {
  display: none;
}

.faq-style-steps {
  display: grid;
  gap: 0.85rem;
}

.faq-style-steps .faq-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: stretch;
}

.faq-style-steps .faq-q {
  display: block;
  border-right: 1px solid var(--border);
}

.faq-style-steps .faq-q em,
.faq-style-table .faq-q em {
  display: block;
  color: var(--primary-light);
  font-size: 0.78rem;
  margin-bottom: 0.35rem;
}

.faq-style-steps .faq-a {
  padding: 1rem 1.25rem;
}

.faq-style-table .faq-item {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1.2fr);
}

.faq-style-table .faq-q {
  border-right: 1px solid var(--border);
}

.faq-style-table .faq-a {
  padding: 1rem 1.25rem;
}

.faq-style-chat .faq-item {
  border-radius: 1.25rem;
  margin-bottom: 0.9rem;
}

.faq-style-chat .faq-item:nth-child(even) {
  margin-left: auto;
  max-width: 82%;
  background: color-mix(in srgb, var(--primary) 12%, var(--bg-card));
}

.faq-style-chat .faq-item:nth-child(odd) {
  margin-right: auto;
  max-width: 82%;
}

@media (max-width: 767px) {
  .faq-style-split,
  .faq-style-steps .faq-item,
  .faq-style-table .faq-item {
    display: block;
  }
  .faq-style-steps .faq-q,
  .faq-style-table .faq-q {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .faq-style-chat .faq-item:nth-child(even),
  .faq-style-chat .faq-item:nth-child(odd) {
    max-width: 100%;
  }
}

/* CTA */
.cta-section {
  padding: 4rem 0;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, #2a1215, var(--bg-card));
  border: 1px solid rgba(228, 24, 39, 0.4);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
}

.cta-box h2 {
  margin-bottom: 0.75rem;
}

.cta-box p {
  margin-bottom: 1.5rem;
}

.cta-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--accent-gold);
}

/* Compliance notice */
.compliance-notice {
  padding: 0.85rem 0;
  background: rgba(255, 170, 9, 0.08);
  border-top: 1px solid rgba(255, 170, 9, 0.18);
  border-bottom: 1px solid rgba(255, 170, 9, 0.18);
}

.compliance-notice-hero {
  margin: 1.2rem 0;
  background: transparent;
  border: 0;
}

.compliance-notice-hero .compliance-notice-inner {
  max-width: 1040px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 0.8rem 1rem;
  background: rgba(10, 18, 32, 0.62);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.compliance-notice-body {
  padding: 0;
  margin: 0 0 1.6rem;
  background: transparent;
  border: 0;
}

.compliance-notice-body .compliance-notice-inner {
  justify-content: flex-start;
  max-width: 1180px;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--accent-gold);
  border-radius: 16px;
  background: rgba(255, 170, 9, 0.06);
  text-align: left;
}

.compliance-notice-footer {
  padding: 1rem 0 0;
  background: transparent;
  border: 0;
}

.compliance-notice-footer .compliance-notice-inner {
  max-width: 1180px;
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
  padding-top: 0.9rem;
  justify-content: space-between;
  text-align: left;
}

.compliance-notice-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.55;
  text-align: center;
}

.notice-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 170, 9, 0.35);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  color: var(--accent-gold);
  background: rgba(255, 170, 9, 0.08);
  font-weight: 700;
  white-space: nowrap;
}

/* Footer */
.site-footer {
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--border);
  background: #0a0a0a;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-disclaimer {
  max-width: 860px;
  margin: 0.75rem auto;
  color: var(--text-muted);
  line-height: 1.65;
}

.legal-block {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.legal-block h3 {
  margin-bottom: 0.75rem;
}

.legal-block p,
.legal-block li {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.legal-block ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}

/* Subpage */
.page-hero {
  padding: 2.5rem 0;
  text-align: center;
}

.page-hero p {
  max-width: 680px;
  margin: 1rem auto 0;
}

.content-section {
  padding: 2rem 0 4rem;
}

.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}

.content-card h3 {
  margin-bottom: 0.75rem;
}

.access-notice {
  margin: 1.5rem 0 0;
  padding: 1.25rem;
  border: 1px solid rgba(255, 170, 9, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 170, 9, 0.07);
  color: var(--text-secondary);
}

.access-notice p {
  margin: 0.45rem 0 0;
}

.access-notice ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.access-notice-compact {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.14);
}

.access-notice-checklist {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr);
  gap: 1rem;
  align-items: center;
}

.access-notice-ledger {
  display: grid;
  gap: .85rem;
  background: rgba(0, 0, 0, .18);
}

.access-ledger {
  display: grid;
  gap: .5rem;
}

.access-ledger div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: .65rem;
  align-items: center;
  padding: .65rem .75rem;
  border-radius: 12px;
  background: rgba(255,255,255,.055);
}

.access-ledger span {
  color: var(--accent-gold);
  font-weight: 900;
}

.access-notice-inline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: .9rem 1rem;
  border-radius: 999px;
}

.access-notice-inline span {
  color: var(--text-secondary);
}

.site-map-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.65rem 1rem;
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.site-map-list a {
  color: var(--accent-gold);
  font-weight: 700;
}

/* Promo bar + popup (high contrast vs site theme) */
body.promo-bar-active {
  padding-bottom: calc(var(--promo-bar-h, 88px) + env(safe-area-inset-bottom, 0px));
}

.promo-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: linear-gradient(135deg, #ff006e 0%, #ff4500 55%, #ff8c00 100%);
  border-top: 2px solid #ffea00;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 36px rgba(255, 0, 110, 0.5);
}

.promo-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.promo-bar-text {
  color: #fff;
  font-size: clamp(14px, 3.8vw, 18px);
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.promo-bar-text:hover {
  color: #ffea00;
}

.promo-bar-btn {
  flex-shrink: 0;
  background: #ffea00;
  color: #1a0a00;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 234, 0, 0.55);
  animation: promo-pulse 1.8s ease-in-out infinite;
}

.promo-bar-btn:hover {
  color: #1a0a00;
  transform: scale(1.03);
}

@keyframes promo-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.promo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 950;
}

.promo-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(680px, calc(100% - 24px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: linear-gradient(160deg, #2d004d 0%, #120022 100%);
  border: 2px solid #ff006e;
  border-radius: 20px;
  padding: clamp(24px, 5vw, 36px);
  text-align: center;
  z-index: 960;
  box-shadow: 0 24px 60px rgba(255, 0, 110, 0.4);
}

.promo-popup-text {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(16px, 4.2vw, 20px);
  line-height: 1.55;
  font-weight: 700;
}

.promo-popup-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.promo-btn {
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  cursor: pointer;
  font-weight: 800;
  font-size: 16px;
  transition: transform 0.2s;
}

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

.promo-btn-hot {
  background: #ffea00;
  color: #1a0a00;
  box-shadow: 0 8px 24px rgba(255, 234, 0, 0.45);
}

.promo-btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

@media (min-width: 480px) {
  .promo-popup-btns {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
}

@media (min-width: 768px) {
  body.promo-bar-active {
    --promo-bar-h: 86px;
  }
}

@media (max-width: 767px) {
  .promo-bar-inner {
    flex-direction: column;
    gap: 10px;
  }

  .promo-bar-btn {
    width: 100%;
    max-width: 340px;
    text-align: center;
  }

  body.promo-bar-active {
    --promo-bar-h: 128px;
  }

  .site-footer {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }

  .nav-bar {
    min-height: 64px;
  }

  .logo-text .logo-main {
    font-size: 1.25rem;
  }

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

  .page-hero .page-banner img {
    max-height: 220px;
    object-fit: cover;
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .cta-box {
    padding: 1.5rem 1rem;
  }

  .hero-grid,
  .media-row {
    grid-template-columns: 1fr;
  }

  .main-flow section {
    padding-left: 0;
    padding-right: 0;
  }

  .access-notice-checklist,
  .access-notice-inline {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: var(--radius);
  }
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .btn-mobile-only { display: none; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr; }
  .tab-split { grid-template-columns: 1fr 320px; }
  .media-row { grid-template-columns: 1fr 1fr; }
  .media-row.reverse { direction: rtl; }
  .media-row.reverse > * { direction: ltr; }
}

@media (min-width: 1024px) {
  .games-grid { grid-template-columns: repeat(4, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Differentiated shell layouts */
.shell-header {
  transition: background .2s ease, border-color .2s ease;
}

.shell-inline-nav {
  display: none;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
}

.shell-nav-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem .75rem;
  border-radius: 999px;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: .88rem;
}

.shell-nav-link:hover,
.shell-nav-link.active {
  color: #fff;
  background: color-mix(in srgb, var(--primary) 22%, transparent);
}

.shell-nav-icon {
  line-height: 1;
}

.nav-bar-centered {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}

.nav-bar-centered .nav-actions {
  justify-content: flex-end;
}

.nav-center .logo {
  justify-content: center;
}

.nav-bar-cta-first {
  justify-content: flex-start;
}

.nav-actions-prime {
  order: -1;
}

.nav-bar-minimal {
  border: 1px solid color-mix(in srgb, var(--border) 70%, var(--primary));
  border-radius: 999px;
  margin-top: .6rem;
  min-height: 58px;
  padding: 0 .85rem;
  background: rgba(0, 0, 0, .28);
}

.shell-header-drawer-only {
  background: transparent;
  border-bottom: 0;
}

.shell-header-note {
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.shell-newsline {
  border-bottom: 1px solid color-mix(in srgb, var(--border) 75%, var(--primary));
  background: rgba(0, 0, 0, .35);
  font-size: .78rem;
  color: var(--text-muted);
}

.shell-newsline .container {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 30px;
}

.nav-bar-magazine {
  min-height: 70px;
}

.nav-bar-shell-lite {
  justify-content: space-between;
}

.nav-bar-right-inline {
  display: grid;
  grid-template-columns: minmax(180px, auto) 1fr auto;
}

.nav-bar-right-inline .shell-inline-nav-right {
  justify-content: flex-end;
  min-width: 0;
}

.shell-side-nav {
  position: fixed;
  top: calc(var(--header-h) + 16px);
  z-index: 900;
  width: 212px;
  max-height: calc(100vh - var(--header-h) - 36px);
  overflow: auto;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(12, 12, 16, .94);
  border: 1px solid color-mix(in srgb, var(--border) 75%, var(--primary));
  box-shadow: var(--shadow-lg);
}

.shell-side-nav-left-rail {
  left: 1rem;
}

.shell-side-nav-right-rail {
  right: 1rem;
}

.shell-side-nav .logo {
  margin-bottom: .85rem;
}

.shell-side-title {
  display: grid;
  gap: .25rem;
  margin-bottom: .85rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.shell-side-title strong {
  color: #fff;
  font-size: .95rem;
}

.shell-side-title span {
  color: var(--text-muted);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.shell-side-nav p {
  margin: .4rem 0 .8rem;
  color: var(--text-muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.shell-side-nav nav {
  display: grid;
  gap: .35rem;
}

.shell-side-nav .shell-nav-link {
  justify-content: flex-start;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
}

.shell-side-cta {
  width: 100%;
  margin-top: .9rem;
}

.shell-main-left-rail,
.shell-main-right-rail {
  width: 100%;
}

.shell-bottom-tabs {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 950;
  display: flex;
  gap: .35rem;
  max-width: min(720px, calc(100vw - 2rem));
  padding: .45rem;
  border-radius: 999px;
  background: rgba(10, 10, 12, .94);
  border: 1px solid color-mix(in srgb, var(--border) 70%, var(--primary));
  box-shadow: var(--shadow-lg);
  overflow-x: auto;
}

.shell-bottom-tabs .shell-nav-link {
  white-space: nowrap;
  background: rgba(255, 255, 255, .05);
}

.shell-home-title {
  max-width: 980px;
  margin: 0 auto 1.1rem;
  padding: 0 1rem;
  font-size: clamp(1.05rem, 2.2vw, 1.6rem);
  line-height: 1.35;
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  .shell-inline-nav {
    display: flex;
  }
}

@media (min-width: 1180px) {
  body:has(.shell-side-nav-left-rail) .container {
    max-width: min(1080px, calc(100vw - 300px));
  }

  body:has(.shell-side-nav-left-rail) .shell-main-left-rail,
  body:has(.shell-side-nav-left-rail) .site-header,
  body:has(.shell-side-nav-left-rail) .site-footer,
  body:has(.shell-side-nav-left-rail) .compliance-notice {
    padding-left: 230px;
  }

  body:has(.shell-side-nav-right-rail) .container {
    max-width: min(1080px, calc(100vw - 300px));
  }

  body:has(.shell-side-nav-right-rail) .shell-main-right-rail,
  body:has(.shell-side-nav-right-rail) .site-header,
  body:has(.shell-side-nav-right-rail) .site-footer,
  body:has(.shell-side-nav-right-rail) .compliance-notice {
    padding-right: 230px;
  }
}

@media (max-width: 1179px) {
  .shell-side-nav {
    display: none;
  }

  .shell-main-left-rail,
  .shell-main-right-rail {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .nav-bar-centered,
  .nav-bar-cta-first {
    display: flex;
  }

  .nav-left,
  .shell-header-note,
  .shell-inline-nav {
    display: none;
  }

  .shell-bottom-tabs {
    bottom: .5rem;
    border-radius: 18px;
  }

  .shell-bottom-tabs .shell-nav-link span:last-child {
    font-size: .78rem;
  }

  body:has(.shell-bottom-tabs) .site-footer {
    padding-bottom: 5.5rem;
  }
}

@media (max-width: 767px) {
  .nav-actions .btn-outline { display: none; }
}


/* Final image fit guard: content images must not be cropped by template overrides. */
main img:not(.logo-img):not(.review-avatar):not(.app-hero-logo) {
  object-fit: contain !important;
  background:
    radial-gradient(circle at 18% 12%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.04), rgba(0,0,0,.18)),
    var(--bg-card) !important;
}
main .hero-overlay-bg img,
main .hero-image-wrap img,
main .hero-banner-wide img,
main .hero-mosaic-grid img,
main .hero-collage-images img,
main .hero-bento-main img,
main .hero-float-visual img,
main .hero-compact-visual img,
main .app-hero-banner img,
main .lobby-marquee img,
main .game-thumb img,
main .popular-item img,
main .rich-card img,
main .content-card img,
main .tab-split img,
main .hs-split img,
main .hs-type img,
main .page-banner img {
  object-fit: contain !important;
}

.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: .92rem;
}
.breadcrumb-nav a,
.related-guide-card,
.site-map-group a {
  color: inherit;
}
.related-guides,
.editorial-note {
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  background: color-mix(in srgb, var(--bg-card) 88%, transparent);
}
.related-guides header p,
.editorial-note p {
  color: var(--text-secondary);
}
.related-guide-grid,
.site-map-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .9rem;
}
.related-guide-card {
  display: block;
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  background: color-mix(in srgb, var(--bg-secondary) 82%, transparent);
  text-decoration: none;
}
.related-guide-card span {
  display: block;
  margin-bottom: .35rem;
  color: var(--text-muted);
  font-size: .82rem;
}
.site-map-group {
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--border) 65%, transparent);
}
.site-map-group ul {
  margin: .6rem 0 0;
  padding-left: 1.1rem;
}
.site-main-h1 {
  max-width: 1180px;
  margin: 1.25rem auto 0;
  padding: 0 1rem;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.15;
}

