:root {
  --bg: #090f14;
  --accent: var(--accent-primary);
}
[hidden] {
  display: none !important;
}
.demo-main {
  max-width: 1800px;
  margin: auto;
  padding: 0 5vw;
}
.topbar {
  padding: 24px 5vw;
  min-height: 94px;
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding: 32px 0 28px;
}
.hero h1 {
  font-size: clamp(36px, 4vw, 62px);
  letter-spacing: -0.065em;
  line-height: 1.02;
}

/* Source imagery is confined to the proposal. The OBS overlay stays transparent. */
.stage[data-scene='sammy'] {
  background: #080f13;
}
.stage[data-scene='sammy'] .stage-grid,
.stage[data-scene='sammy'] .game-area,
.stage[data-scene='sammy'] .camera-placeholder {
  display: none;
}
.scene-canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  transform-origin: top left;
}
.original-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 5;
  background: #080f13;
}
.stage[data-comparison='before'] iframe {
  visibility: hidden;
}
.preview-note {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.preview-note a {
  font-weight: 650;
}
#comparison button {
  font-size: 11px;
}
@media (max-width: 900px) {
  .preview-bar {
    flex-wrap: wrap;
  }
  #comparison {
    width: 100%;
  }
}
.hero h1 > span {
  color: var(--muted);
}
.hero .eyebrow {
  margin-bottom: 22px;
}
.hero-aside {
  max-width: 380px;
  padding-bottom: 6px;
}
.hero-aside p {
  font-size: 15px;
  line-height: 1.8;
}
.text-link {
  display: inline-flex;
  gap: 30px;
  margin-top: 24px;
  font-weight: 700;
  text-decoration: none;
  font-size: 12px;
}
.preview-bar {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  background: #111c25;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
}
.simulation-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 8px;
  white-space: nowrap;
}
.simulation-label i {
  width: 5px;
  height: 5px;
  background: #dec985;
  border-radius: 50%;
}
.stage {
  position: relative;
  aspect-ratio: 16/9;
  background: #071115;
  border: 1px solid #283a40;
  overflow: hidden;
  isolation: isolate;
}
.stage-grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 68% 46%, #264541b0, transparent 55%),
    linear-gradient(#8bc1a108 1px, transparent 1px), linear-gradient(90deg, #8bc1a108 1px, transparent 1px);
  background-size:
    auto,
    36px 36px,
    36px 36px;
}
.stage:after {
  content: '';
  position: absolute;
  inset: 5%;
  border: 1px solid #5f958d19;
  border-radius: 16px;
  pointer-events: none;
  z-index: -1;
}
.game-area {
  position: absolute;
  left: 31%;
  top: 25%;
  width: 51%;
  height: 52%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.game-kicker {
  font-size: clamp(6px, 1vw, 11px);
  letter-spacing: 0.24em;
  color: #93b3ab;
}
.abstract-reels {
  display: flex;
  gap: 8px;
  width: 74%;
  height: 65%;
}
.abstract-reels span {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, #2842399c, #0b1617a8);
  border: 1px solid #699e7c36;
  border-radius: 8px;
  color: #b2cca891;
  font-size: clamp(20px, 5.7vw, 90px);
  box-shadow: 0 20px 40px #0003;
}
.abstract-reels span:nth-child(2) {
  color: #d9cfa2b0;
}
.game-caption {
  font-size: clamp(5px, 0.8vw, 10px);
  letter-spacing: 0.08em;
  color: #657c76;
}
.camera-placeholder {
  position: absolute;
  bottom: 7%;
  right: 4%;
  width: 17%;
  height: 20%;
  border: 1px solid #69877742;
  border-radius: 9px;
  background: #07100cc9;
  display: grid;
  place-items: center;
}
.camera-placeholder span {
  font-size: clamp(5px, 0.7vw, 9px);
  letter-spacing: 0.15em;
  color: #749185;
}
.stage[data-layout='right'] .game-area {
  left: 17%;
}
.stage[data-layout='right'] .camera-placeholder {
  left: 4%;
  right: auto;
}
.stage[data-layout='bottom'] .game-area {
  top: 10%;
  left: 25%;
}
.stage[data-layout='bottom'] .camera-placeholder {
  top: 8%;
  bottom: auto;
}
.stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 2;
}
.preview-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
}
.preview-footer .button {
  font-size: 11px;
  min-height: 38px;
}
.preview-note {
  font-size: 11px;
  color: #708391;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding: 65px 0;
  border-bottom: 1px solid var(--line);
}
.detail-grid .eyebrow {
  color: #778d8c;
}
.detail-grid h2 {
  font-size: 23px;
  margin: 18px 0 14px;
}
.detail-grid p {
  font-size: 13px;
  line-height: 1.9;
}
.customise {
  margin: 56px 0;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
  background: #0e1820;
  padding: 30px;
}
.customise h2 {
  font-size: 27px;
  margin-bottom: 12px;
}
.demo-footer {
  padding: 0 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
.demo-footer p {
  font-size: 11px;
  max-width: 510px;
}
.demo-footer > span {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.stage:fullscreen {
  aspect-ratio: auto;
  border: 0;
  width: 100vw;
  height: 100vh;
}
.stage:fullscreen .game-area {
  font-size: inherit;
}
@media (max-width: 900px) {
  .hero {
    padding-top: 40px;
    align-items: flex-start;
  }
  .hero-aside {
    max-width: 270px;
  }
  .hero-aside p {
    font-size: 13px;
  }
  .preview-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .detail-grid {
    gap: 24px;
  }
  .detail-grid h2 {
    font-size: 19px;
  }
  .customise {
    grid-template-columns: 1fr;
  }
  .demo-footer > span {
    display: none;
  }
}
@media (max-width: 600px) {
  .topbar {
    padding: 20px 5vw;
  }
  .hero {
    flex-direction: column;
    gap: 22px;
    padding-bottom: 28px;
  }
  .hero-aside {
    max-width: none;
  }
  .hero-aside p br {
    display: none;
  }
  .text-link {
    margin-top: 14px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .preview-bar {
    padding: 8px;
  }
  .preview-bar .segments button {
    padding: 9px;
    font-size: 10px;
  }
  .simulation-label {
    font-size: 7px;
    gap: 4px;
    margin: 0;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    padding: 42px 0;
    gap: 30px;
  }
  .detail-grid h2 {
    margin: 10px 0;
  }
  .customise {
    padding: 20px;
  }
  .demo-footer {
    flex-direction: column;
  }
  .game-area {
    gap: 8px;
  }
  .preview-footer .segments button {
    padding: 10px;
    font-size: 11px;
  }
}

/* Source imagery belongs to the demo only; the OBS document is transparent. */
.stage[data-scene='sammy']::after {
  display: none;
}
.scene-game {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1042px;
}
.scene-game img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.stage[data-layout='right'] .scene-game {
  left: 0;
  width: 1920px;
}
.stage[data-layout='bottom'] .scene-game {
  left: 320px;
  top: 16px;
  width: 1584px;
  height: 696px;
}
/* The chat sits over decorative game artwork, outside the six reel columns. */

/* Studio page: the preview is the focal point; controls share the overlay's glass finish. */
@font-face {
  font-family: 'Hunt Studio';
  src: url('/overlay/assets/fonts/roboto-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}
:root {
  --bg: #080e16;
  --line: rgba(255, 255, 255, 0.09);
  --font: 'Hunt Studio', 'Segoe UI', sans-serif;
  --muted: #99a8b9;
  --accent: var(--accent-primary);
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}
body {
  background: radial-gradient(ellipse at 14% 0%, var(--accent-primary-glow), transparent 46%), #080e16;
}
.demo-main {
  max-width: 1640px;
  padding: 0 4vw;
}
.topbar {
  max-width: 1640px;
  margin: auto;
  min-height: 78px;
  padding: 20px 4vw;
  border-color: var(--line);
}
.topbar nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.topbar nav a {
  color: #b4c0ce;
  font-size: 13px;
  text-decoration: none;
}
.topbar nav a:hover {
  color: #eafff4;
}
.obs-label {
  border: 1px solid var(--brand-line);
  background: var(--brand-wash);
  border-radius: 7px;
  padding: 6px 9px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.hero {
  padding: 38px 0 30px;
  gap: 30px;
}
.hero .eyebrow {
  font-size: 10px;
  letter-spacing: 0.15em;
  margin-bottom: 14px;
  color: #a2b2c1;
}
.hero-divider {
  color: var(--accent);
  padding: 0 8px;
}
.hero h1 {
  font-size: clamp(36px, 4.2vw, 66px);
  letter-spacing: -0.04em;
  line-height: 1.08;
  font-weight: 800;
}
.hero h1 strong {
  display: block;
  font-weight: 800;
  color: #f6fbff;
  overflow-wrap: anywhere;
}
.hero h1 > span {
  display: block;
  color: #8da6a2;
  font-size: 0.57em;
  letter-spacing: -0.025em;
  margin-top: 6px;
}
.hero-aside {
  max-width: 330px;
}
.hero-aside p {
  font-size: 14px;
  line-height: 1.65;
  color: #a6b6c6;
}
.text-link {
  margin-top: 15px;
  color: var(--accent);
  gap: 16px;
  font-size: 13px;
}
.hero-specs {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  font-size: 10px;
  color: #8399aa;
}
.hero-specs span::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 6px;
  vertical-align: middle;
}
#preview {
  border: 1px solid #ffffff12;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.48);
  box-shadow:
    0 20px 70px #0004,
    inset 0 1px 0 #ffffff08;
  overflow: hidden;
}
.preview-bar {
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid #ffffff09;
  border-radius: 0;
  background: linear-gradient(180deg, #ffffff04, transparent), rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
}
.segments {
  border-radius: 9px;
  background: #02080e70;
  border: 1px solid #ffffff08;
  padding: 3px;
}
.segments button {
  color: #95a9bb;
  border-radius: 6px;
  font-size: 12px;
  padding: 8px 13px;
  font-weight: 600;
}
.segments button[aria-pressed='true'] {
  color: var(--accent);
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px var(--brand-line);
}
.stage {
  border: 0;
  border-bottom: 1px solid #ffffff09;
}
.preview-footer {
  padding: 13px 14px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(16px);
  gap: 12px;
  flex-wrap: wrap;
}
.preview-footer .button-row {
  gap: 6px;
  flex-wrap: wrap;
}
.preview-footer .button {
  border-radius: 8px;
  padding: 8px 11px;
  min-height: 36px;
  background: #ffffff04;
  border: 1px solid #ffffff0b;
  color: #aec0d1;
  font-family: var(--font);
  font-weight: 600;
}
.preview-footer #simulate {
  color: #08121c;
  background: linear-gradient(180deg, #ffffff30, transparent), var(--accent);
  border-color: var(--accent);
  box-shadow: inset 0 1px 0 #ffffff5c;
}
.preview-footer #simulate:hover {
  filter: brightness(1.05);
}
.preview-note {
  padding: 0 16px 13px;
  font-size: 11px;
  line-height: 1.6;
  color: #8195a8;
  margin: 0;
}
.preview-note a {
  color: var(--accent);
}
.detail-grid {
  padding: 30px 0;
  gap: 0;
  border-bottom: 0;
}
.detail-grid article {
  padding: 8px 28px;
  border-right: 1px solid var(--line);
}
.detail-grid article:first-child {
  padding-left: 0;
}
.detail-grid article:last-child {
  border: 0;
  padding-right: 0;
}
.detail-grid .eyebrow {
  font-size: 10px;
  color: #7f9f98;
  margin: 0;
}
.detail-grid h2 {
  font-size: 20px;
  margin: 10px 0 8px;
  font-weight: 700;
}
.detail-grid p {
  font-size: 13px;
  line-height: 1.7;
  color: #90a4b6;
}
.customise {
  margin: 4px 0 32px;
  padding: 28px;
  gap: 35px;
  border: 1px solid #ffffff0c;
  border-radius: 16px;
  background: linear-gradient(110deg, var(--brand-wash), transparent 50%), rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
}
.customise h2 {
  font-size: 32px;
  letter-spacing: -0.035em;
  line-height: 1.12;
  font-weight: 750;
  margin-bottom: 12px;
}
.customise input,
.customise select {
  border-radius: 9px;
  background: #070f19aa;
  border-color: #ffffff12;
}
.customise .button {
  font-family: var(--font);
  border-radius: 9px;
}
.customise .primary {
  color: #08121c;
  background: var(--accent);
}
.demo-footer {
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 30px;
}
.demo-footer p {
  color: #8194a5;
}
@media (max-width: 900px) {
  .hero {
    align-items: flex-start;
  }
  .hero-aside {
    max-width: 270px;
  }
  .preview-footer {
    align-items: flex-start;
  }
  .detail-grid article {
    padding: 8px 16px;
  }
  .customise {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
@media (max-width: 600px) {
  .topbar {
    min-height: 68px;
    padding: 16px 4vw;
  }
  .topbar nav {
    gap: 14px;
  }
  .topbar nav a {
    font-size: 12px;
  }
  .obs-label {
    display: none;
  }
  .wordmark small {
    font-size: 6px;
    letter-spacing: 0.12em;
  }
  .hero {
    padding: 24px 0;
    gap: 16px;
  }
  .hero h1 {
    font-size: 39px;
  }
  .hero h1 > span {
    font-size: 0.6em;
  }
  .hero-aside {
    max-width: none;
  }
  .hero-specs {
    display: none;
  }
  .preview-bar {
    padding: 8px;
    gap: 8px;
  }
  .preview-bar .segments button {
    padding: 8px 9px;
    font-size: 10px;
  }
  .preview-footer {
    padding: 10px;
  }
  .preview-footer .segments {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .preview-footer .segments button {
    padding: 8px 3px;
    font-size: 10px;
  }
  .preview-note {
    padding: 0 10px 12px;
    font-size: 10px;
  }
  .detail-grid {
    padding: 22px 0;
    gap: 0;
  }
  .detail-grid article,
  .detail-grid article:first-child,
  .detail-grid article:last-child {
    padding: 16px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .customise {
    padding: 20px;
  }
  .demo-footer {
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.catalogue-credit {
  flex-basis: 100%;
  font-size: 11px;
  opacity: 0.65;
}
.catalogue-credit a {
  color: inherit;
}
