.distinct-home,
html {
  scrollbar-width: none;
}

html { max-width: 100%; overflow-x: hidden; }

html::-webkit-scrollbar,
.distinct-home::-webkit-scrollbar {
  display: none;
}

.distinct-home {
  min-height: 100vh;
}

.distinct-home .playfield {
  color: var(--bw-text-main);
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid var(--bw-glass-border);
  border-radius: var(--bw-radius-sm);
  background: var(--bw-glass-bg);
  color: var(--bw-text-main);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.dl-btn.primary {
  background: linear-gradient(135deg, var(--bw-accent-1), var(--bw-accent-2));
  color: #120d05;
  border-color: transparent;
  box-shadow: var(--bw-shadow-neon);
}

.dl-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--bw-text-main);
  text-decoration: none;
  font-weight: 900;
  font-size: 22px;
}

.dl-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bw-accent-2), var(--bw-accent-1));
  color: #130d05;
  font-weight: 900;
  box-shadow: var(--bw-shadow-neon);
}

.dl-eyebrow {
  color: var(--bw-accent-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.dl-title {
  margin: 10px 0 18px;
  font-size: clamp(40px, 6vw, 82px);
  line-height: .92;
}

.dl-copy {
  max-width: 620px;
  color: var(--bw-text-muted);
  font-size: clamp(16px, 2vw, 20px);
}

.metric-strip,
.live-strip,
.vault-metrics,
.pulse-stats {
  display: grid;
  gap: 12px;
}

.metric,
.live-pill,
.vault-metric,
.pulse-stat {
  border: 1px solid var(--bw-glass-border);
  background: rgba(255, 255, 255, .045);
  border-radius: var(--bw-radius-sm);
  padding: 12px;
}

.metric strong,
.live-pill strong,
.vault-metric strong,
.pulse-stat strong {
  display: block;
  color: var(--bw-text-main);
  font-size: 18px;
}

.metric span,
.live-pill span,
.vault-metric span,
.pulse-stat span {
  color: var(--bw-text-muted);
  font-size: 12px;
}

.distinct-home .shelf {
  margin-bottom: 34px;
}

.distinct-home .shelf-track,
.distinct-home .bw-row,
.distinct-home .pulse-list {
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.distinct-home .shelf-track::-webkit-scrollbar,
.distinct-home .bw-row::-webkit-scrollbar,
.distinct-home .pulse-list::-webkit-scrollbar {
  display: none;
}

.distinct-home .is-dragging {
  cursor: grabbing;
  user-select: none;
}

.distinct-home .shelf-head {
  align-items: end;
  justify-content: space-between;
  margin-bottom: 16px;
}

.distinct-home .shelf-head h2 {
  font-size: clamp(22px, 2.5vw, 34px);
}

.distinct-home .tile .art {
  border-radius: var(--bw-radius-sm);
}

.distinct-home .tile .go span {
  border-radius: var(--bw-radius-sm);
}

.distinct-home .tile-grid {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

/* ApexGold: private members club with a firm left rail */
.apex-page {
  background-image: none;
}

.apex-shell {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  min-height: 100vh;
}

.apex-rail {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 28px;
  height: 100vh;
  padding: 22px 16px;
  border-right: 1px solid var(--bw-glass-border);
  background: rgba(6, 5, 2, .82);
  backdrop-filter: blur(24px);
}

.apex-rail .dl-brand {
  justify-content: center;
}

.apex-rail .brand-name {
  display: none;
}

.apex-rail nav {
  display: grid;
  align-content: start;
  gap: 12px;
}

.apex-rail nav a,
.apex-rail .rail-action {
  display: grid;
  place-items: center;
  min-height: 54px;
  border: 1px solid var(--bw-glass-border);
  border-radius: 16px;
  color: var(--bw-text-muted);
  text-decoration: none;
  font-weight: 900;
}

.apex-rail nav a:hover,
.apex-rail .rail-action:hover {
  color: var(--bw-text-main);
  border-color: var(--bw-accent-2);
  background: var(--bw-glass-highlight);
}

.apex-main {
  padding: 28px;
}

.apex-hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: end;
  gap: 28px;
  padding: 52px;
  border-radius: var(--bw-radius-lg);
  background:
    linear-gradient(90deg, rgba(11, 10, 6, .95), rgba(11, 10, 6, .54) 46%, rgba(11, 10, 6, .16)),
    url("/static/brand/apexgold-lounge.png") center / cover;
  box-shadow: var(--bw-shadow-soft);
}

.apex-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--bw-glass-border);
  border-radius: var(--bw-radius-md);
  background: rgba(0, 0, 0, .48);
  backdrop-filter: blur(18px);
}

.apex-panel .poster {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  align-items: center;
}

.apex-panel img {
  width: 86px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
}

.apex-cats {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 30px;
}

.apex-cats a {
  padding: 12px;
  border: 1px solid var(--bw-glass-border);
  border-radius: var(--bw-radius-sm);
  color: var(--bw-text-muted);
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  background: rgba(255, 255, 255, .035);
}

.apex-cats a:hover {
  color: var(--bw-text-main);
  border-color: var(--bw-accent-2);
}

/* EmberCrown: top navigation, burger drawer, live social room */
.ember-page {
  background-image:
    linear-gradient(180deg, rgba(20, 11, 6, .88), rgba(20, 11, 6, .98)),
    url("/static/brand/ember-live-room.png");
  background-size: cover;
  background-attachment: fixed;
}

.ember-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px;
}

.ember-topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 12px 16px;
  border: 1px solid var(--bw-glass-border);
  border-radius: 18px;
  background: rgba(20, 8, 3, .82);
  backdrop-filter: blur(22px);
}

.ember-topbar nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.ember-topbar nav a,
.drawer-panel a {
  color: var(--bw-text-muted);
  text-decoration: none;
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 10px;
}

.ember-topbar nav a:hover,
.drawer-panel a:hover {
  color: var(--bw-text-main);
  background: var(--bw-glass-highlight);
}

.drawer-toggle {
  display: none;
}

.burger-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--bw-glass-border);
  border-radius: 12px;
  cursor: pointer;
}

.burger-btn span,
.burger-btn::before,
.burger-btn::after {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--bw-text-main);
}

.burger-btn {
  gap: 5px;
}

.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 30;
  width: min(360px, 88vw);
  height: 100vh;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px;
  background: rgba(20, 8, 3, .96);
  border-left: 1px solid var(--bw-glass-border);
  transform: translateX(105%);
  transition: transform .28s var(--bw-ease);
}

.drawer-toggle:checked ~ .drawer-panel {
  transform: translateX(0);
}

.ember-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 24px;
  min-height: 600px;
  align-items: end;
  padding: 38px 0 20px;
}

.ember-hero-copy {
  padding: 48px;
}

.ember-live-room {
  align-self: stretch;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--bw-glass-border);
  border-radius: var(--bw-radius-lg);
  background: rgba(20, 8, 3, .64);
  backdrop-filter: blur(18px);
}

.ember-live-photo {
  min-height: 310px;
  border-radius: 18px;
  background: url("/static/brand/ember-live-room.png") center / cover;
}

.live-strip {
  grid-template-columns: repeat(3, 1fr);
}

.ember-lobby {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.ember-aside {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 14px;
}

.ember-aside .event {
  padding: 16px;
  border-radius: var(--bw-radius-md);
  background: linear-gradient(135deg, rgba(255, 94, 0, .18), rgba(255, 197, 61, .08));
  border: 1px solid var(--bw-glass-border);
}

/* PhantomReels: spectral theater wall and right-side reel stack */
.phantom-page {
  background:
    linear-gradient(180deg, rgba(6, 16, 12, .92), rgba(3, 8, 7, 1)),
    url("/static/brand/apexgold-lounge.png") center / cover fixed;
}

.phantom-shell {
  padding: 26px clamp(18px, 4vw, 54px);
}

.phantom-mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.phantom-mast nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.phantom-mast nav a {
  color: var(--bw-text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  font-weight: 800;
}

.phantom-mast nav a:hover {
  color: var(--bw-text-main);
  border-color: var(--bw-accent-2);
}

.phantom-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 26px;
  align-items: stretch;
  min-height: 560px;
}

.phantom-stage {
  min-width: 0;
  display: grid;
  align-content: end;
  padding: 42px;
  border-left: 3px solid var(--bw-accent-1);
  background: linear-gradient(135deg, rgba(0, 224, 143, .12), rgba(0, 0, 0, .1));
}

.phantom-page .dl-title {
  font-size: clamp(36px, 4.1vw, 58px);
}

.reel-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

.reel-card {
  min-height: 430px;
  display: grid;
  align-content: end;
  padding: 18px;
  border-radius: var(--bw-radius-md);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--bw-glass-border);
  box-shadow: var(--bw-shadow-soft);
  overflow: hidden;
}

.reel-card:nth-child(2) {
  min-height: 500px;
}

.reel-card strong {
  padding: 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .62);
}

.phantom-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.phantom-cats a {
  color: var(--bw-text-main);
  text-decoration: none;
  padding: 10px 16px;
  border: 1px solid var(--bw-glass-border);
  border-radius: 999px;
  background: rgba(0, 224, 143, .08);
}

.phantom-page .shelf-track .tile {
  flex-basis: 172px;
}

.phantom-page .tile .art {
  aspect-ratio: 1 / 1;
}

/* NeonVault: dense dashboard and vault widgets */
.neon-page {
  background:
    linear-gradient(180deg, rgba(7, 7, 14, .88), rgba(7, 7, 14, 1)),
    url("/static/brand/neonvault-vault.png") center / cover fixed;
}

.neon-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  padding: 22px;
}

.neon-top {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid var(--bw-glass-border);
  border-radius: 12px;
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(18px);
}

.neon-top nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.neon-top nav a {
  color: var(--bw-text-muted);
  text-decoration: none;
  font-weight: 800;
}

.neon-top nav a:hover {
  color: var(--bw-accent-2);
}

.neon-hero {
  min-height: 510px;
  display: grid;
  align-content: end;
  padding: 34px;
  border: 1px solid var(--bw-glass-border);
  border-radius: var(--bw-radius-md);
  background:
    linear-gradient(90deg, rgba(7, 7, 14, .28), rgba(7, 7, 14, .88)),
    url("/static/brand/neonvault-vault.png") center / cover;
}

.vault-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
}

.vault-panel {
  padding: 18px;
  border: 1px solid var(--bw-glass-border);
  border-radius: var(--bw-radius-md);
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(16px);
}

.vault-metrics {
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
}

.neon-cats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.neon-cats a {
  min-height: 54px;
  display: grid;
  place-items: center;
  color: var(--bw-text-main);
  text-decoration: none;
  border: 1px solid var(--bw-glass-border);
  border-radius: 8px;
  background: rgba(255, 46, 151, .10);
  font-weight: 800;
}

.neon-content {
  grid-column: 1 / -1;
}

.neon-page .tile-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.neon-page .tile .art {
  aspect-ratio: 4 / 5;
}

/* ScarletPulse: live pulse feed with compact arcade lobby */
.scarlet-page {
  background:
    linear-gradient(180deg, rgba(18, 7, 12, .84), rgba(18, 7, 12, 1)),
    url("/static/brand/ember-live-room.png") center / cover fixed;
}

.scarlet-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
}

.scarlet-feed {
  position: sticky;
  top: 24px;
  height: calc(100vh - 48px);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--bw-glass-border);
  border-radius: var(--bw-radius-md);
  background: rgba(18, 7, 12, .74);
  backdrop-filter: blur(18px);
}

.pulse-list {
  display: grid;
  gap: 10px;
  overflow: auto;
}

.pulse-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--bw-glass-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, .045);
}

.pulse-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--bw-accent-2), var(--bw-accent-1));
  box-shadow: var(--bw-shadow-neon);
}

.scarlet-main {
  min-width: 0;
}

.scarlet-hero {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 20px;
  align-items: end;
  padding: 34px;
  border: 1px solid var(--bw-glass-border);
  border-radius: var(--bw-radius-md);
  background:
    linear-gradient(90deg, rgba(18, 7, 12, .92), rgba(18, 7, 12, .34)),
    url("/static/covers/striker-queen-power-coins.jpg") right center / cover;
}

.pulse-stats {
  grid-template-columns: 1fr;
}

.scarlet-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 28px;
}

.scarlet-cats a {
  color: var(--bw-text-main);
  text-decoration: none;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--bw-glass-border);
  background: rgba(200, 29, 78, .16);
  text-align: center;
  font-weight: 800;
}

.scarlet-page .shelf-track {
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: minmax(142px, 168px);
}

.scarlet-page .tile .art {
  aspect-ratio: 5 / 6;
}

@media (max-width: 1120px) {
  .apex-hero,
  .ember-hero,
  .ember-lobby,
  .phantom-hero,
  .neon-shell,
  .scarlet-shell,
  .scarlet-hero {
    grid-template-columns: 1fr;
  }

  .apex-cats,
  .neon-cats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ember-aside,
  .scarlet-feed {
    position: static;
    height: auto;
  }

  .neon-top {
    grid-column: auto;
  }
}

@media (max-width: 780px) {
  .apex-shell {
    grid-template-columns: 1fr;
  }

  .apex-rail {
    position: static;
    height: auto;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    overflow: hidden;
    max-width: 100vw;
  }

  .apex-rail nav {
    display: flex;
    min-width: 0;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .apex-rail nav::-webkit-scrollbar {
    display: none;
  }

  .apex-rail nav a {
    flex: 0 0 54px;
  }

  .apex-rail .rail-action,
  .ember-topbar #bw-user-nav,
  .phantom-mast #bw-user-nav {
    display: none !important;
  }

  .phantom-mast {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .phantom-mast nav {
    grid-column: 1 / -1;
    justify-content: start;
  }

  .scarlet-main {
    order: 1;
  }

  .scarlet-feed {
    order: 2;
  }

  .apex-main,
  .phantom-shell,
  .neon-shell,
  .scarlet-shell,
  .ember-shell {
    padding: 14px;
  }

  .apex-main,
  .apex-hero,
  .apex-panel {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .apex-hero,
  .ember-hero-copy,
  .phantom-stage,
  .neon-hero,
  .scarlet-hero {
    padding: 24px;
  }

  .ember-topbar {
    grid-template-columns: auto auto;
  }

  .ember-topbar nav,
  .ember-topbar #bw-user-nav {
    display: none;
  }

  .reel-stack,
  .apex-cats,
  .neon-cats,
  .scarlet-cats,
  .live-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reel-card,
  .reel-card:nth-child(2) {
    min-height: 270px;
  }

  .dl-title {
    font-size: 42px;
  }
}

@media (max-width: 480px) {
  .apex-cats,
  .neon-cats,
  .scarlet-cats,
  .metric-strip,
  .vault-metrics,
  .live-strip,
  .reel-stack {
    grid-template-columns: 1fr;
  }

  .apex-panel .poster {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .apex-panel img {
    width: 72px;
  }

  .distinct-home .shelf-head {
    align-items: start;
  }

  .distinct-home .tile-grid {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }
}

/* Casino usability pass: readable controls, compact promos, games above the fold. */
.distinct-home { font-size: 16px; }
.distinct-home .dl-eyebrow { font-size: 13px; letter-spacing: 0; }
.distinct-home .dl-title { font-size: 64px; line-height: .98; letter-spacing: 0; }
.distinct-home .dl-copy { font-size: 17px; line-height: 1.55; }
.distinct-home .dl-btn { min-height: 48px; padding: 13px 20px; font-size: 15px; }
.distinct-home .metric strong,
.distinct-home .live-pill strong,
.distinct-home .vault-metric strong,
.distinct-home .pulse-stat strong { font-size: 21px; }
.distinct-home .metric span,
.distinct-home .live-pill span,
.distinct-home .vault-metric span,
.distinct-home .pulse-stat span { font-size: 13px; line-height: 1.4; }
.distinct-home .shelf-head h2 { font-size: 30px; letter-spacing: 0; }
.distinct-home .shelf-head .tally { font-size: 13px; }
.distinct-home .shelf-track .tile { flex: 0 0 190px; }
.distinct-home .tile .name { font-size: 15px; }
.distinct-home .tile .kind { font-size: 12px; letter-spacing: 0; }
.distinct-home .tile-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.apex-hero { min-height: 460px; }
.ember-hero { min-height: 500px; }
.phantom-hero { min-height: 470px; }
.neon-hero { min-height: 430px; }
.scarlet-hero { min-height: 390px; }
.apex-cats a,
.ember-topbar nav a,
.phantom-cats a,
.neon-cats a,
.scarlet-cats a { font-size: 14px; }

@media (max-width: 780px) {
  .distinct-home .dl-title { font-size: 44px; }
  .distinct-home .dl-copy { font-size: 16px; }
  .apex-hero,
  .ember-hero,
  .phantom-hero,
  .neon-hero,
  .scarlet-hero { min-height: 420px; }
  .ember-hero-copy,
  .phantom-stage,
  .neon-hero,
  .scarlet-hero { padding: 26px; }
  .reel-stack {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .reel-stack::-webkit-scrollbar { display: none; }
  .reel-card,
  .reel-card:nth-child(2) { flex: 0 0 180px; min-height: 245px; }
  .distinct-home .shelf-track .tile { flex-basis: 44vw; max-width: 180px; }
  .distinct-home .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .apex-hero,
  .neon-hero,
  .scarlet-hero { min-height: 360px; }
  .apex-panel { display: none; }
  .ember-hero { min-height: auto; padding-top: 18px; }
  .ember-hero-copy { padding: 24px; }
  .ember-live-room { padding: 12px; }
  .ember-live-photo { min-height: 200px; }
  .phantom-hero { min-height: auto; }
  .phantom-stage { min-height: 300px; }
  .vault-sidebar .vault-panel:nth-child(n+2) { display: none; }
}

@media (max-width: 480px) {
  .apex-cats,
  .neon-cats,
  .scarlet-cats {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .apex-cats::-webkit-scrollbar,
  .neon-cats::-webkit-scrollbar,
  .scarlet-cats::-webkit-scrollbar { display: none; }
  .apex-cats a,
  .neon-cats a,
  .scarlet-cats a { flex: 0 0 auto; min-width: 106px; min-height: 46px; }
  .metric-strip,
  .vault-metrics,
  .live-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel-stack { display: flex; }
}
