:root {
  --bg: #06050c;
  --bg-elev: #0e0b1a;
  --glass: rgba(16, 12, 31, 0.72);
  --glass-strong: rgba(20, 15, 38, 0.92);
  --border: rgba(167, 139, 250, 0.15);
  --border-hi: rgba(167, 139, 250, 0.38);
  --ink: #f4f3ff;
  --ink-2: #b9b5d6;
  --ink-3: #8480a8;
  --white: #ffffff;
  --violet: #8b5cf6;
  --violet-soft: #c4b5fd;
  --indigo: #6366f1;
  --cyan: #38bdf8;
  --emerald: #22d3a0;
  --coral: #fb7185;
  --discord: #5865f2;
  --prism-grad: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  --prism-grad-hi: linear-gradient(135deg, #9d74ff 0%, #7477ff 100%);
  --discord-grad: linear-gradient(135deg, #5865f2 0%, #7060ff 100%);
  --discord-grad-hi: linear-gradient(135deg, #6875ff 0%, #8373ff 100%);
  --radius: 16px;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px circle at 12% 8%, rgba(139, 92, 246, 0.15), transparent 58%),
    radial-gradient(820px circle at 88% 18%, rgba(56, 189, 248, 0.11), transparent 55%),
    radial-gradient(960px circle at 50% 62%, rgba(99, 102, 241, 0.08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  overflow-x: clip;
}

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

button,
input {
  font: inherit;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 650;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(167, 139, 250, 0.28);
  color: #ede9fe;
}

/* ============================================================================
   CINEMATIC DIAGONAL APERTURE OPENING SHUTTER (EXTENDED PRISM REVEAL)
   ============================================================================ */
.intro-shutter {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: opacity 0.55s ease 0.72s, visibility 0s linear 1.3s;
}

.intro-shutter.open {
  opacity: 0;
  visibility: hidden;
}

.shutter-panel {
  position: absolute;
  inset: -25%;
  background: radial-gradient(circle at 50% 50%, #110c24 0%, #05040b 70%);
  transition: transform 1.15s var(--ease-expo);
  will-change: transform;
}

.shutter-panel.top-panel {
  clip-path: polygon(0 0, 100% 0, 100% 42%, 0 64%);
  border-bottom: 1px solid rgba(167, 139, 250, 0.36);
}

.shutter-panel.bot-panel {
  clip-path: polygon(0 64%, 100% 42%, 100% 100%, 0 100%);
  border-top: 1px solid rgba(56, 189, 248, 0.34);
}

.intro-shutter.open .top-panel {
  transform: translate3d(-7%, -106%, 0);
}

.intro-shutter.open .bot-panel {
  transform: translate3d(7%, 106%, 0);
}

.shutter-seam {
  position: absolute;
  width: 165vw;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(56, 189, 248, 0.8) 26%,
    rgba(255, 255, 255, 0.98) 50%,
    rgba(139, 92, 246, 0.9) 74%,
    transparent 100%
  );
  box-shadow:
    0 0 32px 4px rgba(139, 92, 246, 0.65),
    0 0 14px 2px rgba(56, 189, 248, 0.58);
  transform: rotate(-11deg) scaleX(0);
  opacity: 0;
  animation: seamFlash 1.28s var(--ease-expo) forwards;
}

.intro-shutter.open .shutter-seam {
  opacity: 0 !important;
  transition: opacity 0.22s ease;
}

@keyframes seamFlash {
  0% {
    transform: rotate(-11deg) scaleX(0);
    opacity: 0;
  }
  30% {
    transform: rotate(-11deg) scaleX(1);
    opacity: 1;
  }
  72% {
    transform: rotate(-11deg) scaleX(1.04);
    opacity: 0.92;
  }
  100% {
    transform: rotate(-11deg) scaleX(1.12);
    opacity: 0;
  }
}

.shutter-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: opacity 0.3s ease, transform 0.55s var(--ease-expo);
}

.shutter-center img {
  border-radius: 11px;
  filter: drop-shadow(0 0 24px rgba(139, 92, 246, 0.55));
}

.intro-shutter.open .shutter-center {
  opacity: 0;
  transform: scale(1.16);
}

.shutter-word {
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0.34em;
  color: #ffffff;
  margin-left: 0.34em;
  text-shadow: 0 0 18px rgba(167, 139, 250, 0.55);
}

.shutter-code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #7dd3fc;
}

/* ============================================================================
   FIXED RIGHT-EDGE PRECISION SCROLL DEPTH RULER
   ============================================================================ */
.depth-ruler {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 35;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: auto;
  user-select: none;
}

.ruler-readout {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
}

.ruler-pct {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  color: #e0f2fe;
  font-variant-numeric: tabular-nums;
}

.ruler-unit {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

.ruler-track {
  position: relative;
  width: 24px;
  height: 170px;
}

.ruler-ticks {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.ruler-tick {
  height: 1px;
  width: 7px;
  background: rgba(167, 139, 250, 0.24);
}

.ruler-tick.major {
  width: 14px;
  background: rgba(167, 139, 250, 0.48);
}

.ruler-needle {
  position: absolute;
  right: 0;
  top: 0%;
  width: 22px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.95);
  transform: translateY(-50%);
  transition: top 0.08s linear;
}

.ruler-chapters {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.ruler-chapters a {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  color: var(--ink-3);
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.ruler-chapters a:hover,
.ruler-chapters a.active {
  color: var(--violet-soft);
  transform: translateX(-2px);
}

/* ============================================================================
   KINETIC REVEAL SYSTEM (MASKED SPLIT-LINE, BLUR-TO-SHARP, SCALE-IN)
   ============================================================================ */
.line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.line-inner {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 108%, 0);
  filter: blur(8px);
  transition:
    transform 0.9s var(--ease-expo) var(--d, 0ms),
    opacity 0.65s ease var(--d, 0ms),
    filter 0.85s var(--ease-expo) var(--d, 0ms);
  will-change: transform, opacity, filter;
}

.split-reveal.visible .line-inner {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0px);
}

.reveal-blur {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  filter: blur(10px);
  transition:
    opacity 0.72s ease var(--d, 0ms),
    transform 0.85s var(--ease-expo) var(--d, 0ms),
    filter 0.8s var(--ease-expo) var(--d, 0ms);
  will-change: transform, opacity, filter;
}

.reveal-blur.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0px);
}

.reveal-scale {
  opacity: 0;
  transform: translate3d(0, 32px, 0) scale(0.955);
  filter: blur(8px);
  transition:
    opacity 0.8s ease var(--d, 0ms),
    transform 0.95s var(--ease-expo) var(--d, 0ms),
    filter 0.85s var(--ease-expo) var(--d, 0ms);
}

.reveal-scale.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0px);
}

/* Multi-Layer Atmospheric Prism Backdrop & Living Signal Canvas ------------ */
.prism-bg-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  will-change: transform;
}

.orb-violet {
  width: 720px;
  height: 620px;
  top: -180px;
  left: -140px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.34) 0%, rgba(99, 102, 241, 0.12) 52%, transparent 74%);
  animation: siteOrbA 24s ease-in-out infinite alternate;
}

.orb-cyan {
  width: 680px;
  height: 580px;
  top: -120px;
  right: -150px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(99, 102, 241, 0.1) 54%, transparent 74%);
  animation: siteOrbB 28s ease-in-out infinite alternate;
}

.orb-magenta {
  width: 760px;
  height: 520px;
  bottom: -200px;
  left: 30%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.22) 0%, rgba(236, 72, 153, 0.12) 48%, transparent 74%);
  animation: siteOrbC 32s ease-in-out infinite alternate;
}

@keyframes siteOrbA {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(90px, 65px, 0) scale(1.12); }
}

@keyframes siteOrbB {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-85px, 70px, 0) scale(1.1); }
}

@keyframes siteOrbC {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(60px, -65px, 0) scale(1.14); }
}

/* Volumetric Diagonal Prism Light Beams */
.prism-beams {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.72;
}

.prism-beam {
  position: absolute;
  top: -28%;
  height: 165%;
  transform: rotate(-23deg);
  filter: blur(48px);
}

.beam-1 {
  left: 14%;
  width: 220px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(139, 92, 246, 0.18) 32%,
    rgba(56, 189, 248, 0.1) 66%,
    transparent 100%
  );
}

.beam-2 {
  left: 52%;
  width: 170px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(56, 189, 248, 0.14) 36%,
    rgba(139, 92, 246, 0.12) 68%,
    transparent 100%
  );
}

.beam-3 {
  right: 8%;
  width: 210px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(168, 85, 247, 0.15) 35%,
    rgba(236, 72, 153, 0.08) 70%,
    transparent 100%
  );
}

/* Architectural 3D Perspective Studio Horizon Grid */
.bg-horizon-grid {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -14%;
  height: 54vh;
  background-image:
    linear-gradient(to right, rgba(139, 92, 246, 0.14) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.12) 1px, transparent 1px);
  background-size: 64px 48px;
  transform: perspective(560px) rotateX(64deg);
  transform-origin: center bottom;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
  opacity: 0.45;
}

.bg-optics-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
}

.bg-film-grain {
  position: absolute;
  inset: 0;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

#bg-grid-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

.ambient-glow {
  position: fixed;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 1180px;
  height: 640px;
  background:
    radial-gradient(ellipse 52% 55% at 44% 48%, rgba(139, 92, 246, 0.28) 0%, transparent 70%),
    radial-gradient(ellipse 46% 52% at 62% 52%, rgba(56, 189, 248, 0.16) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

main,
header,
footer {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Prism Glass & Spotlight Surface ------------------------------------------ */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  border: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 rgba(196, 181, 253, 0.15),
    0 22px 54px rgba(0, 0, 0, 0.52);
}

.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    440px circle at var(--mx, 50%) var(--my, -20%),
    rgba(139, 92, 246, 0.16),
    rgba(56, 189, 248, 0.05) 38%,
    transparent 68%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 0;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card > * {
  position: relative;
  z-index: 1;
}

/* Buttons (Prism Primary, Official Discord Blurple & Luminous Ghost) ------- */
.btn-solid,
.btn-discord,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  white-space: nowrap;
}

.btn-solid {
  height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(216, 180, 254, 0.48);
  background: var(--prism-grad);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 10px 28px rgba(139, 92, 246, 0.36);
}

.btn-solid:hover {
  background: var(--prism-grad-hi);
  border-color: rgba(233, 213, 255, 0.65);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 14px 36px rgba(139, 92, 246, 0.48);
}

.btn-solid:active,
.btn-discord:active,
.btn-ghost:active {
  transform: translateY(0);
}

.btn-discord {
  height: 44px;
  padding: 0 19px;
  border: 1px solid rgba(165, 180, 252, 0.44);
  background: var(--discord-grad);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 26px rgba(88, 101, 242, 0.36);
}

.btn-discord:hover {
  background: var(--discord-grad-hi);
  border-color: rgba(199, 210, 254, 0.65);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 34px rgba(88, 101, 242, 0.48);
}

.btn-ghost {
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--border);
  background: rgba(139, 92, 246, 0.08);
  color: var(--ink);
}

.btn-ghost:hover {
  background: rgba(139, 92, 246, 0.16);
  border-color: var(--border-hi);
  transform: translateY(-1px);
}

.btn-solid.compact,
.btn-discord.compact,
.btn-ghost.compact {
  height: 34px;
  padding: 0 14px;
  font-size: 12.5px;
  border-radius: 9px;
}

.btn-ghost.mini-btn {
  height: 29px;
  padding: 0 11px;
  font-size: 11.5px;
  border-radius: 8px;
}

.btn-sub-tag {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.full-btn {
  width: 100%;
  justify-content: space-between;
}

.btn-kbd {
  display: inline-flex;
  gap: 4px;
}

.btn-solid .btn-kbd kbd {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* Top Floating Nav --------------------------------------------------------- */
.nav-shell {
  position: sticky;
  top: 14px;
  z-index: 40;
  padding: 0 20px;
}

.nav-bar {
  max-width: 1112px;
  margin: 0 auto;
  height: 56px;
  padding: 0 14px 0 16px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.brand-emblem {
  display: block;
  border-radius: 7px;
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.35);
}

.brand-name {
  font-size: 15.5px;
  font-weight: 720;
  letter-spacing: -0.02em;
  color: var(--white);
}

.brand-pill {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 650;
  color: #ddd6fe;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(167, 139, 250, 0.32);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 550;
  color: var(--ink-2);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hero --------------------------------------------------------------------- */
.hero {
  padding: 68px 0 56px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 560;
  color: #e0dcf8;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.28);
  box-shadow: 0 0 28px rgba(139, 92, 246, 0.14);
  margin-bottom: 24px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px rgba(34, 211, 160, 0.95);
  animation: pulseDot 2.2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.48; transform: scale(0.84); }
}

.hero-title {
  margin: 0;
  font-size: clamp(44px, 6.5vw, 76px);
  font-weight: 780;
  line-height: 1.03;
  letter-spacing: -0.04em;
  color: var(--white);
}

.title-muted {
  background: linear-gradient(96deg, #ede9fe 0%, #a78bfa 42%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 20px 0 30px;
  max-width: 660px;
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-2);
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-dl-btn {
  height: 48px;
  padding: 0 22px;
  font-size: 14.5px;
}

.hero-try-btn {
  height: 48px;
  padding: 0 20px;
  font-size: 14px;
}

.hero-specs {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 14px;
  background: rgba(18, 14, 34, 0.65);
  border: 1px solid rgba(167, 139, 250, 0.2);
  box-shadow: inset 0 1px 0 rgba(196, 181, 253, 0.14);
}

.spec-chip {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 12.5px;
}

.spec-chip strong {
  color: #e0f2fe;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}

.spec-chip span {
  color: var(--ink-3);
}

.spec-sep {
  width: 1px;
  height: 14px;
  background: rgba(167, 139, 250, 0.22);
}

/* Interactive 5-View App Showcase with Optical Laser Wipe ------------------ */
.showcase-wrap {
  width: 100%;
  margin-top: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.showcase-tabs {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  border-radius: 13px;
  background: rgba(16, 12, 31, 0.72);
  border: 1px solid var(--border);
  flex-wrap: wrap;
  justify-content: center;
}

.sc-tab {
  height: 34px;
  padding: 0 13px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 560;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.16s ease;
}

.sc-tab:hover {
  color: var(--white);
  background: rgba(139, 92, 246, 0.14);
}

.sc-tab.active {
  background: var(--prism-grad);
  border-color: rgba(216, 180, 254, 0.45);
  color: #ffffff;
  font-weight: 650;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.36);
}

.sc-num {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10.5px;
  opacity: 0.72;
}

.showcase-stage {
  width: 100%;
  perspective: 1600px;
}

.showcase-frame {
  border-radius: 18px;
  padding: 10px;
  transition: transform 0.16s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
  border-color: rgba(167, 139, 250, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(216, 180, 254, 0.2),
    0 30px 76px rgba(0, 0, 0, 0.65),
    0 0 80px -24px rgba(139, 92, 246, 0.34);
}

.showcase-img-wrap {
  position: relative;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.18);
  background: #080612;
  aspect-ratio: 1360 / 860;
  cursor: zoom-in;
}

.sc-layer-base,
.sc-layer-top {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sc-layer-top {
  clip-path: inset(0 0% 0 0);
}

.sc-layer-top.wiping {
  animation: opticalRevealWipe 0.56s var(--ease-expo) forwards;
}

@keyframes opticalRevealWipe {
  0% { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0% 0 0); }
}

.scan-wipe-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -4px;
  width: 2.5px;
  background: linear-gradient(180deg, #38bdf8 0%, #ffffff 50%, #8b5cf6 100%);
  box-shadow:
    0 0 24px 5px rgba(56, 189, 248, 0.65),
    0 0 14px 2px rgba(139, 92, 246, 0.72);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
}

.scan-wipe-beam.active {
  animation: beamSweep 0.56s var(--ease-expo) forwards;
}

@keyframes beamSweep {
  0% { left: 0%; opacity: 0.95; }
  85% { opacity: 0.85; }
  100% { left: 100%; opacity: 0; }
}

.showcase-zoom-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(167, 139, 250, 0.34);
  background: rgba(13, 10, 26, 0.86);
  backdrop-filter: blur(12px);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  z-index: 5;
  opacity: 0.92;
  transition: opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.showcase-zoom-btn:hover {
  opacity: 1;
  background: rgba(139, 92, 246, 0.32);
  border-color: rgba(196, 181, 253, 0.62);
}

.showcase-caption-bar {
  padding: 12px 8px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  flex-wrap: wrap;
}

.sc-cap-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sc-cap-left strong {
  font-size: 13.5px;
  color: var(--white);
}

.sc-cap-left span {
  font-size: 12.5px;
  color: var(--ink-3);
}

.sc-cap-pill {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(167, 139, 250, 0.28);
}

/* Precision Optical Dial Scrubber ------------------------------------------ */
.optical-scrubber {
  margin-top: 4px;
  padding: 8px 12px;
  border-top: 1px solid rgba(167, 139, 250, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: ew-resize;
  user-select: none;
}

.scrub-hint,
.scrub-deg {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  white-space: nowrap;
}

.scrub-deg {
  color: #7dd3fc;
}

.scrub-scale {
  flex: 1;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  max-width: 440px;
}

.scrub-bar {
  width: 1px;
  height: 7px;
  background: rgba(167, 139, 250, 0.22);
  transition: height 0.18s ease, background 0.18s ease;
}

.scrub-bar.major {
  height: 12px;
  background: rgba(167, 139, 250, 0.45);
}

.scrub-bar.active {
  width: 2.5px;
  height: 16px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.9);
}

/* Sections & Headings ------------------------------------------------------ */
.section {
  padding: 82px 0;
}

.sec-head {
  text-align: center;
  max-width: 670px;
  margin: 0 auto 46px;
}

.eyebrow {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.sec-head h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.sec-head p {
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
  color: var(--ink-2);
}

/* Interactive Playground Grid ---------------------------------------------- */
.playground-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.demo-card {
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.demo-kicker {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  color: var(--violet-soft);
  margin-bottom: 4px;
}

.demo-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.demo-status-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(34, 211, 160, 0.14);
  border: 1px solid rgba(34, 211, 160, 0.42);
  color: #6ee7b7;
  box-shadow: 0 0 14px rgba(34, 211, 160, 0.16);
  white-space: nowrap;
}

.demo-status-pill.discord {
  background: rgba(88, 101, 242, 0.2);
  border-color: rgba(129, 140, 248, 0.48);
  color: #c7d2fe;
  box-shadow: 0 0 14px rgba(88, 101, 242, 0.22);
}

/* Demo 1: Ring Buffer Simulator -------------------------------------------- */
.ring-sim-layout {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 20px;
  align-items: center;
}

.ring-visual {
  position: relative;
  width: 168px;
  height: 168px;
  margin: 0 auto;
}

.ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-track {
  fill: none;
  stroke: rgba(167, 139, 250, 0.14);
  stroke-width: 8;
}

.ring-fill {
  fill: none;
  stroke: url(#ring-prism-grad);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 465;
  stroke-dashoffset: 140;
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.45));
  transition: stroke-dashoffset 0.25s ease;
}

.ring-head {
  fill: #38bdf8;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.95));
}

.ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
}

.ring-center strong {
  font-size: 20px;
  font-weight: 760;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.ring-center span {
  font-size: 11.5px;
  color: var(--violet-soft);
}

.ring-center small {
  font-size: 10px;
  color: #6ee7b7;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.ring-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ctrl-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ctrl-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-2);
}

.ctrl-label-row strong {
  color: #e0f2fe;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.mono-range {
  width: 100%;
  accent-color: #8b5cf6;
  cursor: pointer;
}

.seg-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 3px;
  border-radius: 9px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid var(--border);
}

.seg-group button {
  height: 28px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.14s ease;
}

.seg-group button.active {
  background: var(--prism-grad);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.35);
}

.seg-group.compact-seg {
  width: auto;
  display: inline-grid;
}

.seg-group.compact-seg button {
  padding: 0 10px;
  height: 27px;
}

.sim-clips-tray {
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(10, 8, 22, 0.55);
  border: 1px solid rgba(167, 139, 250, 0.14);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tray-hint {
  font-size: 12px;
  color: var(--ink-3);
}

.saved-clip-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  background: rgba(34, 211, 160, 0.14);
  border: 1px solid rgba(34, 211, 160, 0.36);
  color: #a7f3d0;
  animation: popIn 0.22s ease;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* Demo 2: Audio Isolation -------------------------------------------------- */
.demo-note {
  margin: -4px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.aud-channels {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aud-row {
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(12, 10, 25, 0.55);
  border: 1px solid rgba(167, 139, 250, 0.11);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.aud-row.active {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(167, 139, 250, 0.3);
}

.aud-row:not(.active) {
  opacity: 0.6;
}

.aud-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.aud-info strong {
  display: block;
  font-size: 12.5px;
  color: var(--white);
}

.aud-info span {
  display: block;
  font-size: 11px;
  color: var(--ink-3);
}

.toggle-pill {
  appearance: none;
  width: 34px;
  height: 19px;
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.18);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.16s ease, box-shadow 0.16s ease;
}

.toggle-pill::after {
  content: "";
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #b9b5d6;
  transition: transform 0.16s ease, background 0.16s ease;
}

.toggle-pill:checked {
  background: var(--prism-grad);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.45);
}

.toggle-pill:checked::after {
  transform: translateX(15px);
  background: #ffffff;
}

.aud-meter {
  width: 86px;
  height: 6px;
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.12);
  overflow: hidden;
  flex-shrink: 0;
}

.aud-meter-bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3a0 0%, #38bdf8 48%, #8b5cf6 82%, #fb7185 100%);
  transition: width 0.12s linear;
}

.aud-excluded-bar {
  margin-top: 2px;
  padding: 8px 11px;
  border-radius: 9px;
  background: rgba(251, 113, 133, 0.06);
  border: 1px dashed rgba(251, 113, 133, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: var(--ink-2);
}

.excl-tag {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fda4af;
}

/* Demo 3: Discord Rich Presence Builder ------------------------------------ */
.rpc-mode-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.rpc-mode-pills button {
  height: 29px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(139, 92, 246, 0.06);
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.14s ease;
}

.rpc-mode-pills button:hover {
  border-color: var(--border-hi);
  color: var(--white);
}

.rpc-mode-pills button.active {
  background: var(--discord-grad);
  border-color: rgba(165, 180, 252, 0.5);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.34);
}

.discord-mock-card {
  padding: 15px 16px;
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(24, 21, 48, 0.94), rgba(13, 11, 28, 0.99));
  border: 1px solid rgba(129, 140, 248, 0.28);
  box-shadow: inset 0 1px 0 rgba(199, 210, 254, 0.14);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dm-eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  color: #a5b4fc;
}

.dm-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dm-icon {
  border-radius: 13px;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.3);
}

.dm-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dm-copy strong {
  font-size: 14.5px;
  color: var(--white);
}

.dm-copy span {
  font-size: 12.5px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dm-copy .dm-muted {
  color: var(--ink-3);
  font-size: 12px;
}

.dm-copy .dm-timer {
  color: #6ee7b7;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.rpc-demo-opts {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.mini-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--ink-2);
  cursor: pointer;
}

.mini-check input {
  accent-color: #8b5cf6;
  cursor: pointer;
}

.demo-text-input {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: rgba(12, 9, 25, 0.65);
  color: var(--white);
  font-size: 12.5px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.demo-text-input:focus {
  border-color: rgba(139, 92, 246, 0.65);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.16);
}

/* Demo 4: Performance Comparison ------------------------------------------- */
.perf-metrics {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.perf-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.perf-top {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--ink-2);
}

.perf-top strong {
  color: #e0f2fe;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.perf-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.12);
  overflow: hidden;
}

.perf-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3a0 0%, #38bdf8 100%);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
  transition: width 0.55s var(--ease-expo), background 0.3s ease;
}

.perf-bar.warn {
  background: linear-gradient(90deg, #f59e0b 0%, #fb7185 100%);
  box-shadow: 0 0 12px rgba(251, 113, 133, 0.4);
}

.perf-footnote {
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(10, 8, 22, 0.55);
  border: 1px solid rgba(167, 139, 250, 0.14);
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* Bento Feature Grid ------------------------------------------------------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bento-card {
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition:
    opacity 0.72s ease var(--d, 0ms),
    transform 0.85s var(--ease-expo) var(--d, 0ms),
    filter 0.8s var(--ease-expo) var(--d, 0ms),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.bento-card.visible {
  transition:
    opacity 0.72s ease var(--d, 0ms),
    transform 0.3s var(--ease-expo),
    filter 0.8s var(--ease-expo) var(--d, 0ms),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hi);
  box-shadow:
    inset 0 1px 0 rgba(216, 180, 254, 0.22),
    0 24px 56px rgba(0, 0, 0, 0.55),
    0 0 36px -12px rgba(139, 92, 246, 0.34);
}

.bento-card.span-2 {
  grid-column: span 2;
}

.bento-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(56, 189, 248, 0.14));
  border: 1px solid rgba(167, 139, 250, 0.34);
  display: grid;
  place-items: center;
  color: #ddd6fe;
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.18);
}

.bento-icon svg {
  width: 19px;
  height: 19px;
}

.bento-card h3 {
  margin: 2px 0 0;
  font-size: 16.5px;
  font-weight: 680;
  letter-spacing: -0.018em;
  color: var(--white);
}

.bento-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* Final CTA & Footer ------------------------------------------------------- */
.cta-banner {
  border-radius: 22px;
  padding: 54px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background:
    radial-gradient(620px circle at 22% 10%, rgba(139, 92, 246, 0.22), transparent 62%),
    radial-gradient(560px circle at 78% 92%, rgba(56, 189, 248, 0.16), transparent 62%),
    var(--glass);
  border-color: rgba(167, 139, 250, 0.28);
}

.cta-icon {
  border-radius: 15px;
  box-shadow: 0 12px 34px rgba(139, 92, 246, 0.42);
}

.cta-banner h2 {
  margin: 4px 0 0;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 760;
  letter-spacing: -0.03em;
}

.cta-banner p {
  margin: 0;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}

.cta-actions {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-reqs {
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-3);
}

.site-footer {
  border-top: 1px solid rgba(167, 139, 250, 0.12);
  padding: 26px 0 36px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
  color: var(--ink-3);
  flex-wrap: wrap;
}

.footer-left,
.footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-left strong {
  color: var(--ink);
}

.footer-right a {
  transition: color 0.15s ease;
}

.footer-right a:hover {
  color: var(--violet-soft);
}

/* Modals & Lightbox -------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 4, 12, 0.8);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal-card {
  width: 100%;
  max-width: 470px;
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--glass-strong);
  border-color: rgba(167, 139, 250, 0.28);
  animation: popIn 0.25s var(--ease-expo);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-brand h3 {
  margin: 0;
  font-size: 16px;
}

.modal-brand span {
  font-size: 12px;
  color: var(--ink-3);
}

.modal-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(139, 92, 246, 0.08);
  color: var(--ink-2);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--white);
  background: rgba(139, 92, 246, 0.24);
}

.dl-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dl-option {
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(139, 92, 246, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.dl-option:hover {
  border-color: var(--border-hi);
  background: rgba(139, 92, 246, 0.14);
}

.dl-option.primary {
  border-color: rgba(167, 139, 250, 0.42);
  background: rgba(139, 92, 246, 0.16);
}

.dl-option strong {
  display: block;
  font-size: 13.5px;
  color: var(--white);
}

.dl-option span {
  display: block;
  font-size: 11.5px;
  color: var(--ink-3);
}

.dl-pill {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 650;
  background: var(--prism-grad);
  color: #ffffff;
  white-space: nowrap;
}

.dl-pill.ghost {
  background: rgba(139, 92, 246, 0.18);
  color: var(--white);
}

.dl-checklist {
  padding: 12px 14px;
  border-radius: 11px;
  background: rgba(10, 8, 22, 0.55);
  border: 1px solid rgba(167, 139, 250, 0.14);
}

.dl-check-title {
  font-size: 11.5px;
  font-weight: 650;
  color: var(--violet-soft);
  margin-bottom: 6px;
}

.dl-checklist ul {
  margin: 0;
  padding-left: 16px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-2);
}

.dl-status-msg {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.45;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(167, 139, 250, 0.34);
  color: var(--ink);
}

.lightbox-card {
  width: min(1240px, 95vw);
  border-radius: 16px;
  padding: 12px;
  background: var(--glass-strong);
  border-color: rgba(167, 139, 250, 0.3);
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: popIn 0.25s var(--ease-expo);
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px;
  font-size: 13.5px;
}

.lightbox-card img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(167, 139, 250, 0.2);
}

.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(18, 14, 34, 0.95);
  border: 1px solid rgba(167, 139, 250, 0.34);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 550;
  animation: popIn 0.2s ease;
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1260px) {
  .depth-ruler {
    display: none;
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .playground-grid,
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.span-2 {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .ring-sim-layout {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 42px;
  }
}
