/* SKC Shop — Option 2 Wide Studio Showcase + 2F Smoked Fluted Glass Studio */
:root {
  --bg-void: #0a0c10;
  --surface-glass: rgba(15, 18, 25, 0.74);
  --surface-glass-strong: rgba(12, 15, 22, 0.88);
  --surface-pill: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(229, 176, 34, 0.45);
  --text-primary: #f5f7fa;
  --text-secondary: #c4cdd9;
  --text-muted: #96a2b4;
  --accent: #e5b022;
  --accent-hover: #f3c33c;
  --accent-ink: #111317;
  --radius-card: 18px;
  --radius-stage: 20px;
  --container: 1200px;
  --shadow-stage: 0 34px 90px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.48);
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  z-index: 200;
}

.skip-link:focus {
  left: 16px;
}

/* ============================================================
   SMOKED FLUTED GLASS & GOLDEN CAUSTICS AMBIENT BACKDROP (2F)
   ============================================================ */
.studio-backdrop {
  position: fixed;
  inset: -6% 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--bg-void);
  background-image: url("../assets/img/bg-smoked-glass.webp");
  background-size: cover;
  background-position: center 22%;
  will-change: transform;
  transform: translate3d(0, var(--bg-shift, 0px), 0) scale(1.04);
}

.studio-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(9, 11, 15, 0.44) 0%,
      rgba(9, 11, 15, 0.28) 26%,
      rgba(9, 11, 15, 0.36) 72%,
      rgba(9, 11, 15, 0.64) 100%
    );
}

@media (max-width: 760px) {
  .studio-backdrop {
    background-image: url("../assets/img/bg-smoked-glass-mobile.webp");
  }
}

.page-shell {
  position: relative;
  z-index: 2;
}

.wrap {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* ============================================================
   STICKY FROSTED STUDIO HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(11, 13, 18, 0.56);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-link {
  transition: color 160ms ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-stores {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.nav-fab-pill {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  transition: background-color 160ms ease, transform 160ms ease;
}

.nav-fab-pill:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.header-mobile-actions {
  display: none;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(16, 20, 28, 0.8);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-bar {
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 180ms ease;
}

.mobile-drawer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(11, 14, 20, 0.96);
  padding: 16px 24px 22px;
  display: grid;
  gap: 10px;
}

.mobile-drawer[hidden] {
  display: none;
}

.drawer-link {
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
}

.drawer-link-fab {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}

/* ============================================================
   HERO — OPTION 2 WIDE STUDIO SHOWCASE
   ============================================================ */
.hero {
  padding: 36px 0 56px;
}

.hero-head {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
  align-items: end;
  gap: 36px;
  margin-bottom: 26px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.1vw, 3.45rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #f8fafc;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.7);
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 4px;
}

.hero-lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: #d3dbe6;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.btn-amber {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 15px;
  padding: 11px 22px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 8px 24px rgba(229, 176, 34, 0.25);
  transition: background-color 160ms ease, transform 160ms ease;
}

.btn-amber:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.hero-store-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: #e4eaf3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}

.hero-store-inline a:hover {
  color: var(--accent);
}

.sep {
  opacity: 0.4;
}

/* Framed Wide Studio Showcase Stage */
.stage-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8.2;
  min-height: 460px;
  max-height: 600px;
  border-radius: var(--radius-stage);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-stage);
  background: #090b0f;
}

.stage-media {
  position: absolute;
  inset: 0;
}

.stage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  transition: opacity 280ms ease;
}

.stage-3d-wrap {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 52% 45%, #1d222c 0%, #0b0d12 100%);
  z-index: 3;
}

.stage-3d-wrap[hidden] {
  display: none;
}

.stage-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}

.stage-canvas:active {
  cursor: grabbing;
}

.stage-3d-status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(9, 11, 15, 0.76);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
  z-index: 4;
}

.stage-3d-status[hidden] {
  display: none;
}

.stage-3d-controls {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stage-3d-controls[hidden] {
  display: none;
}

.mini-pill {
  background: rgba(13, 16, 22, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-primary);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.mini-pill:hover,
.mini-pill[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
}

.stage-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10, 12, 16, 0.16) 0%,
    rgba(10, 12, 16, 0.04) 55%,
    rgba(10, 12, 16, 0.88) 100%
  );
  z-index: 4;
}

.stage-top-badge {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 6;
  background: rgba(13, 16, 22, 0.74);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #e8edf5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 40px);
}

.stage-top-badge strong {
  color: var(--accent);
}

.stage-bottom {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  z-index: 6;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.stage-title {
  max-width: 520px;
}

.stage-kicker {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 4px;
}

.stage-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.stage-sub {
  margin: 4px 0 0;
  font-size: 14.5px;
  color: #cbd3df;
}

.stage-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  background: rgba(13, 16, 22, 0.86);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px;
  border-radius: 14px;
}

.mode-btn {
  background: transparent;
  border: none;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: #c5cedb;
  white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease;
}

.mode-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.mode-btn.is-active {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.mode-btn.is-live {
  color: #f3c84b;
}

.mode-btn.is-live.is-active {
  background: rgba(229, 176, 34, 0.2);
  color: #ffd966;
}

.mode-buy {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 9px;
  font-size: 13.5px;
  margin-left: 3px;
  white-space: nowrap;
  transition: background-color 150ms ease;
}

.mode-buy:hover {
  background: var(--accent-hover);
}

/* ============================================================
   SECTIONS & DARK GLASS KIT CARDS
   ============================================================ */
.studio-section {
  padding: 58px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  content-visibility: auto;
  contain-intrinsic-size: 1px 780px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.7vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.72);
}

.section-sub {
  margin: 6px 0 0;
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 680px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.78);
}

.section-count {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

/* Period Worlds Grid: Flush 6-column desktop layout (2-up, 3-up, 2-up = zero orphan gaps) */
.worlds-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

.world-span-3 {
  grid-column: span 3;
}

.world-span-2 {
  grid-column: span 2;
}

.kit-card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.kit-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.62);
}

.kit-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d1016;
}

.world-card.is-featured .kit-media {
  aspect-ratio: 16 / 8.2;
}

.kit-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 360ms ease, transform 520ms ease;
}

.kit-img-alt {
  opacity: 0;
}

.kit-card:hover .kit-img-alt,
.kit-card.show-alt .kit-img-alt {
  opacity: 1;
}

.kit-card:hover .kit-media img {
  transform: scale(1.03);
}

.kit-media-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.badge-chip {
  background: rgba(11, 14, 20, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #e6ecf5;
}

.badge-hover-hint {
  color: var(--accent);
}

.kit-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.kit-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.kit-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.kit-price {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.kit-hook {
  margin: 0;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.kit-specs {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
}

.kit-actions {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #e6ecf5;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.btn-store:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-store-fab {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}

.btn-store-fab:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-ink);
}

.btn-inspect {
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(229, 176, 34, 0.35);
  color: #f4cd59;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.btn-inspect:hover {
  background: rgba(229, 176, 34, 0.14);
  border-color: var(--accent);
}

/* Props Grid */
.props-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* Retro Feature Split */
.retro-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.retro-card .kit-media {
  height: 100%;
  aspect-ratio: 16 / 10;
}

.retro-card .kit-body {
  padding: 28px 30px;
  justify-content: center;
  gap: 14px;
}

.retro-card .kit-name {
  font-size: 26px;
}

.retro-desc {
  margin: 0;
  font-size: 16px;
  color: var(--text-secondary);
}

/* Free Samplers Strip */
.samplers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sampler-card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, border-color 200ms ease;
}

.sampler-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.sampler-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d1016;
}

.sampler-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.free-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
}

.sampler-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.sampler-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 700;
}

.sampler-desc {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-secondary);
}

/* Coming Next & Store Hub */
.coming-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 36px;
}

.coming-card {
  background: rgba(15, 18, 26, 0.72);
  backdrop-filter: blur(12px);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-card);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.coming-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.coming-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
}

.coming-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
}

.platform-hub {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.platform-card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.platform-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
}

.platform-card-fab {
  border-color: rgba(229, 176, 34, 0.45);
  background: linear-gradient(135deg, rgba(229, 176, 34, 0.14), rgba(15, 18, 25, 0.84));
}

.platform-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.platform-card-fab .platform-name {
  color: var(--accent);
}

.platform-note {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(9, 11, 15, 0.72);
  backdrop-filter: blur(12px);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-note {
  margin: 0;
  font-size: 15.5px;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-fab {
  color: var(--accent);
}

/* ============================================================
   NATIVE <DIALOG> KIT INSPECTOR LIGHTBOX
   ============================================================ */
.kit-dialog {
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: #10131b;
  color: var(--text-primary);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.85);
  overflow: auto;
}

.kit-dialog::backdrop {
  background: rgba(5, 7, 10, 0.78);
  backdrop-filter: blur(8px);
}

.dialog-head {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dialog-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
}

.dialog-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-primary);
  border-radius: 10px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
}

.dialog-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.dialog-body {
  padding: 22px 24px 26px;
  display: grid;
  gap: 18px;
}

.dialog-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a0c10;
}

.dialog-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog-toggle-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dialog-switches {
  display: inline-flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
  border-radius: 10px;
}

.dialog-meta-box {
  display: grid;
  gap: 8px;
}

.dialog-hook {
  margin: 0;
  font-size: 18px;
  color: var(--text-primary);
  font-weight: 500;
}

.dialog-desc {
  margin: 0;
  font-size: 16px;
  color: var(--text-secondary);
}

.dialog-specs {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 6px;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS (1024px, 840px, 600px, 390px, 320px)
   ============================================================ */
@media (max-width: 1060px) {
  .worlds-grid,
  .props-grid,
  .samplers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .world-span-3,
  .world-span-2 {
    grid-column: span 1;
  }
  .worlds-grid .world-card:first-child {
    grid-column: span 2;
  }
  .hero-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .stage-card {
    aspect-ratio: 16 / 10;
    min-height: 440px;
  }
}

@media (max-width: 840px) {
  .site-nav {
    display: none;
  }
  .header-mobile-actions {
    display: flex;
  }
  .retro-card,
  .coming-grid,
  .platform-hub {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 24px);
  }
  .header-inner {
    gap: 10px;
  }
  .brand {
    font-size: 17px;
    gap: 8px;
  }
  .hero {
    padding: 22px 0 38px;
  }
  .hero-title {
    font-size: clamp(1.9rem, 8.5vw, 2.5rem);
  }
  .stage-card {
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
    display: flex;
    flex-direction: column;
  }
  .stage-media {
    position: relative;
    aspect-ratio: 16 / 10;
  }
  .stage-scrim {
    display: none;
  }
  .stage-top-badge {
    top: 10px;
    left: 10px;
    font-size: 11.5px;
    padding: 5px 10px;
    max-width: calc(100% - 20px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .stage-bottom {
    position: static;
    padding: 14px;
    background: #0d1017;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 12px;
  }
  .stage-bar {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    padding: 5px;
    gap: 4px;
  }
  .mode-btn,
  .mode-buy {
    padding: 7px 10px;
    font-size: 12.5px;
  }
  .worlds-grid,
  .props-grid,
  .samplers-grid {
    grid-template-columns: 1fr;
  }
  .worlds-grid .world-card:first-child,
  .world-span-3,
  .world-span-2 {
    grid-column: span 1;
  }
  .retro-card .kit-body {
    padding: 20px;
  }
  .btn-inspect {
    margin-left: 0;
  }
}

@media (hover: none) {
  .badge-hover-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .studio-backdrop {
    transform: none !important;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
