:root {
  --primary: #111f34;
  --primary-dark: #0c1625;
  --primary-light: #13233b;
  --accent-green: #04be02;
  --accent-gold: #ffaa09;
  --bg-primary: #111111;
  --bg-secondary: #f5f5f5;
  --bg-card: #f5f5f5;
  --bg-card-hover: #ffffff;
  --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(17,31,52, 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);
}
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-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-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);
}
@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%, 400px);
  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-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;
}

/* ── 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: repeat(4, 1fr);
  grid-template-rows: repeat(2, 140px);
  gap: 0.65rem;
}
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-a { grid-column: span 2; grid-row: span 2; }
body.layout-mosaic-hero .hero-mosaic-cta {
  grid-column: span 2;
  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;
}
body.layout-mosaic-hero .hero-mosaic-cta strong { color: var(--primary-light); margin-bottom: 0.75rem; }
@media (max-width: 767px) {
  body.layout-mosaic-hero .hero-mosaic-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  body.layout-mosaic-hero .hero-mosaic-a { grid-column: span 2; grid-row: span 1; height: 180px; }
  body.layout-mosaic-hero .hero-mosaic-cta { grid-column: span 2; }
}

/* ── Layout: compact-bar — ícones full-width ── */
body.layout-compact-bar .hero-compact-top { max-width: 640px; padding-bottom: 1.5rem; }
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-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-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%;
  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%;
}

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

.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%;
  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: 120px;
  object-fit: cover;
}

.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;
}



*,
*::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%;
}

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 {
  min-height: 160px;
  object-fit: cover;
}

.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%;
  max-height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

.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-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);
}

/* 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);
}

/* 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;
}

.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;
}

/* 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;
  }
}

@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); }
}

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