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

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



/* Mobile portrait app landing — 7788-bet-app style shell */

body.layout-app-vertical {
  background: #080808;
  padding-top: 0;
}

body.layout-app-vertical.promo-bar-active {
  padding-bottom: 0;
}

body.layout-app-vertical .promo-bar {
  display: none !important;
}

body.layout-app-vertical .app-shell {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: linear-gradient(160deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 16px 48px rgba(0, 0, 0, 0.55);
  position: relative;
}

@media (min-width: 480px) {
  body.layout-app-vertical .app-shell {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    min-height: calc(100vh - 1.5rem);
    border-radius: 24px;
    overflow: hidden;
  }
}

body.layout-app-vertical .site-header {
  position: sticky;
  top: 0;
  left: auto;
  right: auto;
  width: 100%;
  z-index: 100;
  background: rgba(10, 10, 10, 0.98);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

body.layout-app-vertical .site-header .container {
  max-width: none;
  padding: 0 0.85rem;
}

body.layout-app-vertical .nav-links {
  display: none;
}

body.layout-app-vertical .nav-bar {
  min-height: 52px;
  padding: 0.45rem 0;
  gap: 0.5rem;
}

body.layout-app-vertical .logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

body.layout-app-vertical .logo-main {
  font-size: 1.15rem;
}

body.layout-app-vertical .logo-sub {
  display: none;
}

body.layout-app-vertical .nav-actions {
  gap: 0.45rem;
}

body.layout-app-vertical .btn-app-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--primary), var(--accent-gold));
  color: #111;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--primary) 40%, transparent);
}

body.layout-app-vertical .menu-toggle {
  width: 36px;
  height: 36px;
}

/* In-frame horizontal tab nav */
body.layout-app-vertical .app-tab-nav {
  display: flex;
  overflow-x: auto;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

body.layout-app-vertical .app-tab-nav::-webkit-scrollbar {
  display: none;
}

body.layout-app-vertical .app-tab-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  min-width: 4.5rem;
  padding: 0.5rem 0.65rem;
  color: var(--text-muted);
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  border-bottom: 2px solid transparent;
  scroll-snap-align: start;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

body.layout-app-vertical .app-tab-item:hover {
  color: var(--text-secondary);
}

body.layout-app-vertical .app-tab-item.active {
  color: var(--primary-light);
  border-bottom-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
}

body.layout-app-vertical .app-tab-icon {
  font-size: 1.05rem;
  line-height: 1;
}

body.layout-app-vertical .app-tab-label {
  max-width: 4.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.layout-app-vertical .main-flow {
  max-width: none;
  margin: 0;
  padding-bottom: 1.25rem;
}

body.layout-app-vertical .site-footer {
  max-width: none;
  margin: 0;
  border-top: 1px solid var(--border);
}

body.layout-app-vertical .site-footer .container {
  max-width: none;
  padding: 0 1rem;
}

body.layout-app-vertical .page-hero .container,
body.layout-app-vertical .content-section .container,
body.layout-app-vertical .cta-section .container {
  max-width: none;
  padding-left: 1rem;
  padding-right: 1rem;
}

body.layout-app-vertical .page-hero {
  padding: 1.15rem 0 0.75rem;
}

body.layout-app-vertical .page-hero h1 {
  font-size: 1.35rem;
}

body.layout-app-vertical .content-section {
  padding: 1rem 0 1.5rem;
}

body.layout-app-vertical .cta-section {
  padding: 0 0 1.25rem;
}

/* Hero */
.hero-app-vertical {
  padding: 1rem 1rem 1.25rem;
}

.app-hero-head {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1rem;
}

.app-hero-logo {
  border-radius: 18px;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}

.app-hero-meta h1 {
  font-size: 1.45rem;
  line-height: 1.15;
  margin-bottom: 0.2rem;
}

.app-hero-tag {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.app-hero-rating {
  font-size: 0.78rem;
  color: var(--primary-light);
}

.app-hero-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.app-hero-banner img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.app-bonus-chip {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent-gold));
  color: #111;
  font-size: 0.78rem;
  font-weight: 800;
}

.app-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.btn-app-primary {
  display: block;
  text-align: center;
  padding: 0.95rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent-gold));
  color: #111;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--primary) 45%, transparent);
}

.btn-app-secondary {
  display: block;
  text-align: center;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 2px solid var(--primary-light);
  color: var(--primary-light);
  font-weight: 700;
}

.app-hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* App stream sections */
.home-stream.layout-app {
  padding: 0 0 1rem;
}

.app-section {
  padding: 1.15rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.app-section-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.app-section-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: -0.35rem 0 0.85rem;
  line-height: 1.55;
}

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

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

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

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

.app-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.app-feature-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.app-feature-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.app-feature-item h3 {
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}

.app-feature-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

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

.app-game-card {
  flex: 0 0 118px;
  scroll-snap-align: start;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.app-game-card img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  display: block;
}

.app-game-card span {
  display: block;
  padding: 0.45rem 0.5rem;
  font-size: 0.72rem;
  text-align: center;
  color: var(--text-secondary);
}

.app-promo-banner {
  padding: 1rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 22%, var(--bg-card)), var(--bg-card));
  border: 1px solid color-mix(in srgb, var(--primary) 40%, var(--border));
}

.app-promo-banner h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--primary-light);
}

.app-promo-banner p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.app-vip-ladder {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.app-vip-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.75rem;
  background: var(--bg-card);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
}

.app-vip-step em {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.app-copy-block p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.app-faq .faq-item {
  margin-bottom: 0.5rem;
}

.app-faq .faq-q {
  font-size: 0.88rem;
  padding: 0.85rem 1rem;
}

.app-faq .faq-a {
  font-size: 0.82rem;
  padding: 0 1rem 0.85rem;
}

.app-cta-box {
  text-align: center;
  padding: 1.25rem 1rem 1.5rem;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--primary) 12%, transparent));
}

.app-cta-box img {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.app-cta-box h2 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.app-cta-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.55;
}

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

/* Structural app variants: different shells, navigation rhythms and hero layouts. */
body.layout-app-vertical.app-variant-login .app-shell { max-width: 390px; background: #05070d; }
body.layout-app-vertical.app-variant-wallet .app-shell { max-width: 414px; background: linear-gradient(180deg, #06160d, #0c0f14 44%, #050505); }
body.layout-app-vertical.app-variant-lobby .app-shell { max-width: 460px; background: #09080c; }
body.layout-app-vertical.app-variant-promo .app-shell { max-width: 402px; background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent-gold) 20%, transparent), transparent 34%), #090909; }
body.layout-app-vertical.app-variant-security .app-shell { max-width: 376px; background: #060b12; }
body.layout-app-vertical.app-variant-magazine .app-shell { max-width: 445px; background: linear-gradient(180deg, #111, #070707); }
body.layout-app-vertical.app-variant-sport .app-shell { max-width: 438px; background: linear-gradient(160deg, #06140b, #050505); }
body.layout-app-vertical.app-variant-compact .app-shell { max-width: 360px; background: #080808; }
body.layout-app-vertical.app-variant-story .app-shell { max-width: 424px; background: linear-gradient(180deg, #15100a, #050505); }
body.layout-app-vertical.app-variant-rich .app-shell { max-width: 448px; background: linear-gradient(180deg, #0c0a05, #080808 36%, #050505); }

body.app-variant-login .site-header,
body.app-variant-security .site-header { border-bottom: 0; background: rgba(4, 6, 10, .94); }
body.app-variant-wallet .site-header { background: rgba(4, 18, 10, .96); }
body.app-variant-lobby .site-header { position: relative; border-bottom: 0; }

body.app-variant-login .app-tab-nav,
body.app-variant-security .app-tab-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: .65rem .85rem;
  gap: .45rem;
  background: transparent;
  border-bottom: 0;
}
body.app-variant-login .app-tab-item,
body.app-variant-security .app-tab-item {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
}

body.app-variant-wallet .app-tab-nav {
  margin: .75rem .85rem 0;
  border: 1px solid rgba(72,255,145,.18);
  border-radius: 18px;
  background: rgba(8, 42, 22, .7);
}

body.app-variant-lobby .app-tab-nav {
  order: 5;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: visible;
  background: #121018;
}
body.app-variant-lobby .app-tab-item {
  min-width: 0;
  padding: .65rem .35rem;
}

body.app-variant-promo .app-tab-nav {
  margin: 0 .75rem;
  transform: translateY(-.35rem);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-gold) 14%, #111);
  border: 1px dashed color-mix(in srgb, var(--accent-gold) 55%, var(--border));
}

body.app-variant-magazine .app-tab-nav {
  display: flex;
  padding-left: .75rem;
  background: transparent;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
body.app-variant-magazine .app-tab-item {
  flex-direction: row;
  min-width: auto;
  padding: .7rem .8rem;
  border-bottom: 0;
}

body.app-variant-sport .app-tab-nav {
  display: flex;
  overflow-x: auto;
  gap: .45rem;
  padding: .55rem .75rem;
  background: rgba(6, 38, 18, .85);
  border-bottom: 1px solid rgba(119,255,159,.18);
}
body.app-variant-sport .app-tab-item {
  min-width: 4.6rem;
  border: 1px solid rgba(119,255,159,.14);
  border-radius: 14px;
  background: rgba(0,0,0,.18);
}
body.app-variant-compact .app-tab-nav {
  display: none;
}
body.app-variant-story .app-tab-nav {
  margin: .75rem;
  border-radius: 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}
body.app-variant-rich .app-tab-nav {
  display: flex;
  padding: .55rem .75rem;
  gap: .45rem;
  background: rgba(0,0,0,.42);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
body.app-variant-rich .app-tab-item {
  min-width: 4.7rem;
  border-radius: 14px;
  background: rgba(255,255,255,.055);
}

.hero-app-login { padding: 1rem .85rem 1.15rem; }
.login-screen-card {
  border-radius: 28px;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
.login-screen-top { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.login-screen-top img { border-radius: 18px; }
.mini-label { color: var(--primary-light); text-transform: uppercase; font-size: .68rem; letter-spacing: .08em; margin-bottom: .2rem; }
.login-mock { display: grid; gap: .55rem; }
.login-mock span {
  display: block;
  padding: .85rem .9rem;
  border-radius: 14px;
  background: rgba(0,0,0,.28);
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,.10);
}
.login-note { margin-top: .85rem; font-size: .78rem; color: var(--text-muted); line-height: 1.55; }
.login-shortcuts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: .8rem; }
.login-shortcuts a { text-align: center; padding: .65rem .35rem; border-radius: 14px; background: rgba(255,255,255,.07); color: var(--text-secondary); font-size: .78rem; }

.hero-app-wallet { padding: 1rem .85rem 1.15rem; }
.wallet-card {
  padding: 1.15rem;
  border-radius: 26px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--primary) 26%, #072413), #07120b);
  border: 1px solid rgba(137,255,176,.22);
}
.wallet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; color: #d7ffe4; }
.wallet-head img { border-radius: 14px; }
.wallet-card h1 { font-size: 1.75rem; margin-bottom: .45rem; }
.wallet-card p { color: #d8f7df; font-size: .9rem; line-height: 1.55; margin-bottom: 1rem; }
.wallet-actions { display: grid; gap: .55rem; }
.wallet-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; margin-top: .75rem; }
.wallet-flow span { text-align: center; padding: .6rem .3rem; border-radius: 14px; background: rgba(255,255,255,.08); font-size: .72rem; }

.hero-app-lobby { padding: 0 0 1rem; }
.lobby-marquee { position: relative; min-height: 260px; overflow: hidden; }
.lobby-marquee img { width: 100%; height: 260px; object-fit: cover; display: block; filter: saturate(1.15) contrast(1.05); }
.lobby-marquee:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.82)); }
.lobby-copy { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 2; }
.lobby-copy h1 { font-size: 2rem; margin-bottom: .75rem; }
.lobby-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; padding: .75rem; }
.lobby-grid a { text-align: center; padding: .75rem .35rem; border-radius: 16px; background: var(--bg-card); color: var(--text-secondary); border: 1px solid var(--border); font-size: .76rem; }

.hero-app-promo { padding: 1rem .85rem 1.2rem; }
.promo-ticket {
  position: relative;
  padding: 1.25rem 1rem;
  border-radius: 26px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-gold) 38%, #16100a), #191008);
  border: 1px dashed color-mix(in srgb, var(--accent-gold) 72%, var(--border));
}
.ticket-kicker { display: inline-block; margin-bottom: .5rem; font-size: .72rem; color: #211; background: var(--accent-gold); padding: .25rem .55rem; border-radius: 999px; font-weight: 800; }
.promo-ticket h1 { font-size: 1.85rem; margin-bottom: .35rem; }
.promo-ticket p { color: #fff4d0; margin-bottom: 1rem; }
.promo-stack { display: grid; gap: .5rem; margin-top: .8rem; }
.promo-stack article { display: flex; justify-content: space-between; gap: .7rem; padding: .72rem .85rem; background: rgba(255,255,255,.075); border-radius: 16px; }
.promo-stack span { color: var(--text-muted); font-size: .78rem; }

.hero-app-security { padding: 1rem .85rem 1.15rem; }
.security-panel {
  padding: 1.1rem;
  border-radius: 24px;
  border: 1px solid rgba(105, 183, 255, .22);
  background: linear-gradient(180deg, rgba(52,121,255,.12), rgba(255,255,255,.035));
}
.security-panel img { border-radius: 16px; margin-bottom: .8rem; }
.security-panel h1 { font-size: 1.55rem; margin-bottom: .75rem; }
.security-panel ul { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.security-panel li { padding: .65rem .75rem; background: rgba(255,255,255,.06); border-radius: 14px; font-size: .82rem; }

.hero-app-magazine { padding: .85rem .85rem 1.15rem; }
.magazine-cover {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.1rem;
  border-radius: 8px 32px 8px 32px;
  background: radial-gradient(circle at 0 0, color-mix(in srgb, var(--primary) 25%, transparent), transparent 38%), linear-gradient(180deg, #1f1f1f, #090909);
  border: 1px solid rgba(255,255,255,.14);
}
.magazine-cover h1 { font-size: 2.15rem; line-height: 1; margin-bottom: .65rem; }
.magazine-cover p { color: var(--text-secondary); font-size: .9rem; line-height: 1.6; margin-bottom: 1rem; }
.magazine-cover-actions { display: grid; gap: .55rem; }
.magazine-links { display: flex; gap: .45rem; overflow-x: auto; margin-top: .75rem; }
.magazine-links a { flex: 0 0 auto; padding: .55rem .75rem; border-radius: 999px; background: rgba(255,255,255,.075); color: var(--text-secondary); font-size: .78rem; }

.hero-app-sport { padding: .85rem .85rem 1.15rem; }
.sport-board {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .85rem;
  padding: 1rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 8%, rgba(119,255,159,.22), transparent 30%),
    linear-gradient(145deg, rgba(5,120,49,.32), rgba(0,0,0,.78)),
    url('/image/hero-showcase.png') center/cover;
  border: 1px solid rgba(119,255,159,.2);
  overflow: hidden;
}
.sport-board h1 { font-size: clamp(1.45rem, 8vw, 1.9rem); line-height: 1.08; }
.sport-lines { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .1rem; }
.sport-lines span {
  flex: 0 0 auto;
  padding: .52rem .62rem;
  text-align: center;
  border-radius: 999px;
  background: rgba(0,0,0,.46);
  font-size: .68rem;
  white-space: nowrap;
}

.hero-app-compact { padding: 1.2rem .95rem 1.25rem; text-align: center; }
.hero-app-compact img { border-radius: 20px; margin: 0 auto .85rem; }
.hero-app-compact h1 { font-size: 1.65rem; margin-bottom: .45rem; }
.hero-app-compact p { font-size: .86rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.compact-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; margin-top: .75rem; }
.compact-links a { padding: .55rem .25rem; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--text-secondary); font-size: .74rem; }

.hero-app-story { padding: .85rem .85rem 1.2rem; }
.story-phone-cover {
  min-height: 270px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 34px 34px 12px 12px;
  background: radial-gradient(circle at 80% 5%, color-mix(in srgb, var(--primary) 38%, transparent), transparent 32%), linear-gradient(180deg, #21170d, #080808);
  border: 1px solid rgba(255,255,255,.14);
}
.story-phone-cover h1 { font-size: 2rem; margin-bottom: .55rem; }
.story-phone-cover p { color: var(--text-secondary); font-size: .88rem; line-height: 1.55; }
.story-steps { display: grid; gap: .5rem; margin: .8rem 0; }
.story-steps a { display: flex; justify-content: space-between; align-items: center; padding: .7rem .85rem; border-radius: 16px; background: rgba(255,255,255,.065); color: var(--text-secondary); }
.story-steps strong { color: var(--primary-light); }

.hero-app-rich { padding: .85rem .85rem 1.15rem; }
.rich-cover-card {
  padding: 1rem;
  border-radius: 26px;
  background:
    radial-gradient(circle at 85% 0%, color-mix(in srgb, var(--primary) 38%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14);
}
.rich-cover-top { display: flex; align-items: center; gap: .85rem; margin-bottom: .85rem; }
.rich-cover-top img { border-radius: 18px; border: 1px solid color-mix(in srgb, var(--primary) 55%, rgba(255,255,255,.18)); }
.rich-cover-card h1 { font-size: 1.85rem; line-height: 1; }
.rich-cover-card p { color: var(--text-secondary); font-size: .9rem; line-height: 1.6; margin-bottom: 1rem; }
.rich-cover-actions { display: grid; gap: .55rem; }
.rich-quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; margin-top: .75rem; }
.rich-quick-grid a {
  display: grid;
  gap: .22rem;
  padding: .68rem .42rem;
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  color: var(--text-secondary);
  text-align: center;
}
.rich-quick-grid strong { font-size: .82rem; color: var(--text-primary); }
.rich-quick-grid span { font-size: .64rem; color: var(--text-muted); }

.rich-info-table {
  display: grid;
  gap: .55rem;
}
.rich-info-table div {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: .72rem .78rem;
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.08);
}
.rich-info-table span { color: var(--text-muted); font-size: .74rem; }
.rich-info-table strong { color: var(--text-secondary); font-size: .78rem; text-align: right; }
.rich-step-list { display: grid; gap: .65rem; }
.rich-step-list article {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: .35rem .75rem;
  padding: .78rem;
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  border-left: 3px solid var(--primary);
}
.rich-step-list strong { grid-row: span 2; color: var(--primary-light); font-size: .95rem; }
.rich-step-list h3 { font-size: .88rem; }
.rich-step-list p { font-size: .78rem; color: var(--text-muted); line-height: 1.5; }
.rich-check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem; }
.rich-check-grid article {
  padding: .75rem;
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.08);
}
.rich-check-grid h3 { font-size: .82rem; margin-bottom: .35rem; }
.rich-check-grid p { font-size: .76rem; color: var(--text-muted); line-height: 1.45; }
.rich-small-note { margin-top: .7rem; font-size: .76rem; color: var(--text-muted); line-height: 1.55; }
.rich-feedback-box {
  padding: 1rem;
  border-radius: 20px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 18%, rgba(255,255,255,.05)), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.12);
}
.rich-feedback-box h3 { font-size: .95rem; margin-bottom: .45rem; }
.rich-feedback-box p { font-size: .8rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: .65rem; }

body.app-variant-login .app-stat-row,
body.app-variant-security .app-stat-row { grid-template-columns: 1fr; }
body.app-variant-login .app-feature-item,
body.app-variant-security .app-feature-item { border-radius: 20px; }
body.app-variant-wallet .app-wallet-section { background: rgba(12,70,32,.28); }
body.app-variant-lobby .app-games-section { padding-top: .7rem; }
body.app-variant-lobby .app-game-card { flex-basis: 150px; }
body.app-variant-lobby .app-game-card img { height: 110px; }
body.app-variant-promo .app-promo-section .app-promo-banner { border-style: dashed; }
body.app-variant-magazine .app-section { padding: 1.45rem 1.1rem; }
body.app-variant-sport .app-games-section { background: rgba(12, 62, 25, .22); }
body.app-variant-compact .app-section { padding: .9rem .85rem; }
body.app-variant-compact .app-feature-item { padding: .65rem; }
body.app-variant-story .app-story-section { background: rgba(255,255,255,.04); }
body.app-variant-rich .app-section { padding: 1.2rem .95rem; }
body.app-variant-rich .app-games-section .app-game-card { flex-basis: 130px; }



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

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

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

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