﻿:root {
  --cyan: #22f0dc;
  --ice: #8edaff;
  --blue: #24305e;
  --navy: #070b17;
  --metal: #121727;
  --metal-2: #0b0f1d;
  --red: #d4102d;
  --text: #dcecff;
  --muted: #718197;
  --pad: #232846;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #02040a;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(31, 108, 117, 0.34), transparent 24rem),
    radial-gradient(circle at 80% 78%, rgba(25, 41, 95, 0.4), transparent 28rem),
    linear-gradient(145deg, #03050b 0%, #080b16 42%, #020309 100%);
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-content: center;
  gap: 1rem;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(21, 102, 111, 0.16), transparent 18rem),
    #010206;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.loader.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.loader.is-gone {
  display: none;
}

.loader__tag {
  color: var(--cyan);
  font-size: clamp(2.8rem, 9vw, 7rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-shadow: 0 0 1.8rem rgba(34, 240, 220, 0.52), 0.18rem 0.1rem 0 #071018;
  transform: skew(-8deg) rotate(-1deg);
}

.loader p {
  margin: 0;
  color: #7d91a8;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
}

.loader__bar {
  width: min(22rem, 72vw);
  height: 0.35rem;
  overflow: hidden;
  border: 1px solid rgba(34, 240, 220, 0.35);
  background: rgba(3, 7, 11, 0.9);
}

.loader__bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--ice));
  animation: boot 1.45s ease forwards;
}

.stage {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(1rem, 3vw, 3rem);
  isolation: isolate;
  overflow: hidden;
}

.particles,
.static-noise,
.fog,
.background-video,
.background-video__shade {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.background-video {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: saturate(1.05) contrast(1.12) brightness(1);
}

.background-video__shade {
  z-index: 1;
  background:
    radial-gradient(circle at center, rgba(5, 9, 18, 0.02), rgba(1, 2, 7, 0.34) 72%),
    linear-gradient(180deg, rgba(2, 4, 10, 0.1), rgba(2, 4, 10, 0.46));
}

.particles {
  z-index: 3;
}

.static-noise {
  z-index: 4;
  opacity: 0.08;
  mix-blend-mode: screen;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.28) 0 1px, transparent 1.5px);
  background-size: 100% 4px, 3px 3px;
  animation: staticShift 280ms steps(2) infinite;
}

.fog {
  z-index: 2;
  opacity: 0.36;
  filter: blur(18px);
  background:
    radial-gradient(ellipse at 15% 20%, rgba(71, 164, 169, 0.3), transparent 28rem),
    radial-gradient(ellipse at 78% 76%, rgba(45, 75, 136, 0.26), transparent 30rem);
  animation: drift 18s ease-in-out infinite alternate;
}

.fog--two {
  z-index: 2;
  opacity: 0.2;
  background:
    radial-gradient(ellipse at 72% 12%, rgba(113, 22, 42, 0.24), transparent 18rem),
    radial-gradient(ellipse at 28% 88%, rgba(34, 240, 220, 0.13), transparent 24rem);
  animation-duration: 24s;
  animation-direction: alternate-reverse;
}

.mpc {
  position: relative;
  z-index: 5;
  width: min(90rem, 96vw);
  max-width: 100%;
  filter: drop-shadow(0 3rem 6rem rgba(0, 0, 0, 0.72));
  perspective: 1200px;
  transition: opacity 420ms ease, transform 420ms ease, filter 420ms ease;
}

.stage.is-about-mode .mpc {
  opacity: 0.18;
  filter: blur(0.12rem) drop-shadow(0 3rem 6rem rgba(0, 0, 0, 0.72));
  transform: scale(0.96);
}

.mpc__bezel {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(142, 218, 255, 0.18);
  border-radius: 1.1rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), transparent 18%),
    radial-gradient(circle at 62% 92%, rgba(37, 53, 113, 0.28), transparent 24rem),
    linear-gradient(160deg, rgba(22, 27, 46, 0.74), rgba(6, 10, 21, 0.8) 58%, rgba(13, 16, 30, 0.74));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    inset 0 -5rem 9rem rgba(23, 37, 78, 0.26),
    0 0 4rem rgba(34, 240, 220, 0.1);
  transform: rotateX(1deg);
}

.mpc__bezel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(120deg, transparent 0 28%, rgba(255, 255, 255, 0.05) 34%, transparent 42%),
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.08), transparent 0.11rem);
  background-size: 100% 100%, 0.42rem 0.42rem;
  opacity: 0.45;
}

.mpc__header {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.2rem, 3vw, 2.4rem);
  border-bottom: 1px solid rgba(142, 218, 255, 0.1);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.9rem;
  color: inherit;
  text-decoration: none;
}

.brand__name {
  color: var(--cyan);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 900;
  letter-spacing: 0.28em;
  text-shadow: 0 0 1rem rgba(34, 240, 220, 0.58);
  transform: skew(-9deg);
}

.brand__model {
  color: rgba(220, 236, 255, 0.46);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.44rem;
}

.led {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #2b3851;
  box-shadow: 0 0 0.8rem currentColor;
}

.led--cyan {
  color: var(--cyan);
  background: currentColor;
}

.led--blue {
  color: #2e8bff;
  background: currentColor;
  opacity: 0.55;
}

.led--ice {
  color: var(--ice);
  background: currentColor;
  opacity: 0.48;
}

.led--red {
  color: var(--red);
  background: currentColor;
  opacity: 0.75;
}

.led--pulse {
  animation: pulseLed 1.5s steps(2) infinite;
}

.rec {
  margin-left: 0.7rem;
  color: rgba(220, 236, 255, 0.5);
  font-size: 0.72rem;
}

.mpc__surface {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(18rem, 28rem) minmax(28rem, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(1.4rem, 4vw, 3.5rem);
}

.left-deck {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  min-width: 0;
}

.screen {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 12.3rem;
  overflow: hidden;
  border: 0.45rem solid #070d10;
  border-radius: 0.25rem;
  padding: 1.05rem;
  color: #58ff76;
  background:
    linear-gradient(rgba(120, 255, 156, 0.04) 50%, transparent 50%),
    radial-gradient(circle at 78% 24%, rgba(34, 240, 220, 0.13), transparent 9rem),
    #011006;
  background-size: 100% 0.32rem, 100% 100%, 100% 100%;
  box-shadow:
    inset 0 0 1rem rgba(24, 255, 93, 0.2),
    0 0 2rem rgba(34, 240, 220, 0.1);
  text-transform: uppercase;
}

.screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  transform: translateX(-100%);
  animation: scan 5s linear infinite;
}

.screen__top,
.screen__bottom {
  display: flex;
  justify-content: space-between;
  color: rgba(88, 255, 118, 0.78);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
}

.screen-preview {
  position: relative;
  display: grid;
  min-height: 8.95rem;
  margin: 0.65rem 0 0.45rem;
  overflow: hidden;
}

.screen-preview__fallback {
  min-width: 0;
  padding: 0.6rem;
  border: 1px solid rgba(88, 255, 118, 0.28);
  background:
    linear-gradient(135deg, rgba(88, 255, 118, 0.08), transparent 42%),
    rgba(0, 8, 4, 0.54);
  box-shadow: inset 0 0 1.1rem rgba(24, 255, 93, 0.16);
}

.screen-preview iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 8.95rem;
  border: 1px solid rgba(88, 255, 118, 0.35);
  border-radius: 0.16rem;
  background: #05070d;
  box-shadow:
    inset 0 0 1rem rgba(24, 255, 93, 0.18),
    0 0 1.1rem rgba(34, 240, 220, 0.12);
}

.screen-preview--embedded::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(rgba(120, 255, 156, 0.055) 50%, transparent 50%),
    radial-gradient(circle at 18% 12%, rgba(34, 240, 220, 0.16), transparent 6rem);
  background-size: 100% 0.28rem, 100% 100%;
  mix-blend-mode: screen;
}

.screen-preview--embedded::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border: 1px solid rgba(88, 255, 118, 0.22);
  box-shadow: inset 0 0 1.2rem rgba(24, 255, 93, 0.22);
}

.mini-browser {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.34rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.42rem;
  border-bottom: 1px solid rgba(88, 255, 118, 0.16);
  font-family: "Courier New", monospace;
  font-size: 0.66rem;
  color: rgba(126, 255, 151, 0.76);
  text-transform: lowercase;
}

.mini-browser span {
  flex: 0 0 auto;
  width: 0.38rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(88, 255, 118, 0.75);
  box-shadow: 0 0 0.5rem rgba(88, 255, 118, 0.52);
}

.mini-browser span:nth-child(2) {
  opacity: 0.58;
}

.mini-browser span:nth-child(3) {
  opacity: 0.36;
}

.mini-browser strong {
  min-width: 0;
  margin-left: 0.24rem;
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ready::before {
  content: "PLAY ";
}

.screen h1 {
  margin: 0.3rem 0 0.35rem;
  font-family: "Courier New", monospace;
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  line-height: 0.95;
  color: #69ff78;
  text-shadow: 0 0 0.8rem rgba(88, 255, 118, 0.55);
}

.screen p {
  min-height: 2.5rem;
  margin: 0;
  color: rgba(126, 255, 151, 0.8);
  font-family: "Courier New", monospace;
  font-size: 0.88rem;
  text-transform: none;
  overflow-wrap: anywhere;
}
.screen-preview__action {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 1.9rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.65rem;
  padding: 0 0.65rem;
  border: 1px solid rgba(88, 255, 118, 0.38);
  color: #69ff78;
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: inset 0 0 0.7rem rgba(88, 255, 118, 0.12);
}

.screen-preview__action:hover,
.screen-preview__action:focus-visible {
  border-color: rgba(88, 255, 118, 0.72);
  box-shadow: inset 0 0 0.9rem rgba(88, 255, 118, 0.18), 0 0 0.8rem rgba(88, 255, 118, 0.18);
}

.wave {
  display: flex;
  height: 3.3rem;
  align-items: end;
  gap: 0.3rem;
  margin: 0.7rem 0 0;
}

.wave span {
  flex: 1;
  height: 52%;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), #2fff72);
  box-shadow: 0 0 0.9rem rgba(34, 240, 220, 0.52);
  transform-origin: bottom;
  animation: wave 1.2s ease-in-out infinite;
}

.wave span:nth-child(2) {
  animation-delay: 120ms;
}

.wave span:nth-child(3) {
  animation-delay: 240ms;
}

.wave span:nth-child(4) {
  animation-delay: 360ms;
}

.wave span:nth-child(5) {
  animation-delay: 480ms;
}

.transport {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.transport__btn {
  width: 4.2rem;
  aspect-ratio: 1.75;
  border: 1px solid rgba(142, 218, 255, 0.14);
  border-radius: 0.35rem;
  cursor: pointer;
  background: linear-gradient(180deg, #232945, #11172d 54%, #080c18);
  box-shadow:
    inset 0 0.2rem 0.8rem rgba(255, 255, 255, 0.06),
    0 0.75rem 1.2rem rgba(0, 0, 0, 0.34);
}

.transport__btn span {
  display: block;
  width: 0;
  height: 0;
  margin: auto;
  border-top: 0.45rem solid transparent;
  border-bottom: 0.45rem solid transparent;
  border-right: 0.7rem solid rgba(220, 236, 255, 0.7);
}

.transport__btn--play span {
  border-right: 0;
  border-left: 0.82rem solid var(--cyan);
}

.transport__btn:last-child span {
  border-right: 0;
  border-left: 0.7rem solid rgba(220, 236, 255, 0.7);
}

.transport__btn:active {
  transform: translateY(0.1rem);
}

.knob-zone {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  width: 13rem;
  max-width: 100%;
}

.knob-zone p,
.knob-zone output {
  margin: 0;
  color: rgba(220, 236, 255, 0.64);
  font-size: 0.75rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.knob-zone output {
  color: var(--cyan);
  font-family: "Courier New", monospace;
  letter-spacing: 0.08em;
  text-shadow: 0 0 0.8rem rgba(34, 240, 220, 0.56);
}

.knob {
  position: relative;
  display: block;
  --knob-angle: 180deg;
  --mark-radius: clamp(2.45rem, 4.7vw, 3.35rem);
  width: clamp(7.4rem, 14vw, 10rem);
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  cursor: grab;
  background: transparent;
  touch-action: none;
  user-select: none;
}

.knob:active {
  cursor: grabbing;
}

.knob__ticks {
  position: absolute;
  inset: -0.45rem;
  border-radius: 50%;
  background: repeating-conic-gradient(from -7deg, rgba(142, 218, 255, 0.3) 0 2deg, transparent 2deg 12deg);
  opacity: 0.34;
  mask: radial-gradient(circle, transparent 0 58%, #000 59%);
}

.knob__face {
  position: absolute;
  inset: 1rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.14), transparent 18%),
    radial-gradient(circle at 50% 58%, #262d5a, #141931 62%, #090d19);
  box-shadow:
    inset -0.55rem -0.65rem 1.3rem rgba(0, 0, 0, 0.55),
    inset 0.2rem 0.25rem 0.55rem rgba(255, 255, 255, 0.08),
    0 1rem 2rem rgba(0, 0, 0, 0.42);
  transition: transform 260ms ease;
}

.knob__mark {
  position: absolute;
  top: calc(50% - 0.14rem);
  left: 50%;
  width: 1.35rem;
  height: 0.28rem;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0.8rem var(--cyan);
  transform: rotate(var(--knob-angle)) translateX(var(--mark-radius));
  transform-origin: 0 50%;
  transition: transform 260ms ease;
}

.pad-bank {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(7.2rem, 1fr));
  gap: clamp(0.8rem, 1.5vw, 1.05rem);
  max-width: 49rem;
  justify-self: center;
}

.pad-bank::-webkit-scrollbar {
  width: 0.45rem;
}

.pad-bank::-webkit-scrollbar-track {
  background: rgba(5, 8, 17, 0.72);
  border-radius: 999px;
}

.pad-bank::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(34, 240, 220, 0.65), rgba(142, 218, 255, 0.22));
  border-radius: 999px;
  box-shadow: 0 0 0.8rem rgba(34, 240, 220, 0.34);
}

.pad {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: clamp(4.4rem, 7vw, 5.8rem);
  place-items: center;
  gap: 0.26rem;
  padding: 0.75rem 0.55rem;
  border: 1px solid rgba(142, 218, 255, 0.12);
  border-radius: 0.28rem;
  color: rgba(220, 236, 255, 0.62);
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  background:
    linear-gradient(180deg, rgba(101, 110, 172, 0.24), rgba(24, 29, 57, 0.86) 48%, rgba(12, 15, 31, 0.98)),
    repeating-linear-gradient(45deg, transparent 0 5px, rgba(255, 255, 255, 0.025) 5px 7px);
  box-shadow:
    inset 0 0.45rem 1rem rgba(255, 255, 255, 0.035),
    inset 0 -0.5rem 0.9rem rgba(0, 0, 0, 0.5),
    0 0.5rem 0 rgba(0, 0, 0, 0.32),
    0 1rem 1.8rem rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.pad::before {
  content: "";
  position: absolute;
  inset: 0.35rem;
  border-radius: 0.18rem;
  border: 1px solid rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

.pad__icon {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  opacity: 0.58;
}
.pad__icon svg {
  display: block;
  width: clamp(1.55rem, 2.5vw, 2rem);
  height: clamp(1.55rem, 2.5vw, 2rem);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pad__icon svg circle:first-child,
.pad__icon svg rect:first-child,
.pad__icon svg path:first-child {
  fill: rgba(34, 240, 220, 0.08);
}

.pad__label {
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(0.63rem, 1.2vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pad:hover,
.pad:focus-visible,
.pad.is-selected {
  color: var(--cyan);
  border-color: rgba(34, 240, 220, 0.78);
  box-shadow:
    inset 0 0 1.6rem rgba(34, 240, 220, 0.18),
    inset 0 -0.5rem 0.9rem rgba(0, 0, 0, 0.5),
    0 0.5rem 0 rgba(0, 0, 0, 0.32),
    0 0 1.8rem rgba(34, 240, 220, 0.42);
  text-shadow: 0 0 0.85rem rgba(34, 240, 220, 0.55);
}

.pad:active,
.pad.is-pressed {
  transform: translateY(0.28rem);
  box-shadow:
    inset 0 0 1.5rem rgba(34, 240, 220, 0.24),
    0 0.2rem 0 rgba(0, 0, 0, 0.45),
    0 0 2rem rgba(34, 240, 220, 0.5);
}

.hardware-details {
  position: absolute;
  inset: auto 1.4rem 1.2rem;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.hardware-details span {
  width: 0.9rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #48506e, #121827);
  box-shadow: inset 0 0 0.3rem rgba(0, 0, 0, 0.65), 0 0 0.8rem rgba(142, 218, 255, 0.14);
}

.page-panel {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 10;
  width: min(25rem, calc(100vw - 2rem));
  padding: 1.3rem;
  border: 1px solid rgba(34, 240, 220, 0.24);
  border-radius: 0.6rem;
  background: rgba(5, 8, 17, 0.86);
  box-shadow: 0 0 2.4rem rgba(34, 240, 220, 0.16);
  backdrop-filter: blur(18px);
  transform: translateY(1rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.page-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.page-panel__close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  border: 0;
  color: rgba(220, 236, 255, 0.75);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  background: transparent;
}

.page-panel p:first-of-type {
  margin: 0 0 0.5rem;
  color: var(--cyan);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-panel h2 {
  margin: 0;
  font-size: 1.9rem;
  transform: skew(-6deg);
}

.page-panel p:last-of-type {
  color: rgba(220, 236, 255, 0.72);
}

.panel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0 1rem;
  border: 1px solid rgba(34, 240, 220, 0.54);
  color: var(--cyan);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: inset 0 0 1rem rgba(34, 240, 220, 0.1);
}

.about-field {
  position: fixed;
  z-index: 11;
  width: min(28rem, calc(100vw - 2rem));
  min-height: 11rem;
  max-height: calc(50vh - 2rem);
  overflow-y: auto;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(34, 240, 220, 0.26);
  border-radius: 0.5rem;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(34, 240, 220, 0.08), transparent 36%),
    rgba(5, 8, 17, 0.88);
  box-shadow:
    inset 0 0 1.25rem rgba(34, 240, 220, 0.08),
    0 0 2.8rem rgba(34, 240, 220, 0.16);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.9rem);
  transition: opacity 280ms ease, transform 280ms ease;
}

.about-field::before,
.about-field::after {
  content: "";
  position: absolute;
  width: 4.8rem;
  height: 4.8rem;
  pointer-events: none;
  opacity: 0.86;
}

.about-field::before {
  top: -0.55rem;
  left: -0.55rem;
  border-top: 2px solid rgba(34, 240, 220, 0.68);
  border-left: 2px solid rgba(34, 240, 220, 0.68);
}

.about-field::after {
  right: -0.55rem;
  bottom: -0.55rem;
  border-right: 2px solid rgba(34, 240, 220, 0.68);
  border-bottom: 2px solid rgba(34, 240, 220, 0.68);
}

.stage.is-about-mode .about-field {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.about-field--top-left {
  top: clamp(4.2rem, 8vw, 6.2rem);
  left: clamp(1rem, 4vw, 3rem);
}

.about-field--bottom-right {
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1rem, 4vw, 3rem);
}

.about-close {
  position: fixed;
  top: clamp(1rem, 4vw, 3rem);
  left: clamp(1rem, 4vw, 3rem);
  z-index: 12;
  display: grid;
  width: 2.4rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(34, 240, 220, 0.54);
  border-radius: 0.25rem;
  color: var(--cyan);
  cursor: pointer;
  background: rgba(5, 8, 17, 0.9);
  box-shadow: 0 0 1.4rem rgba(34, 240, 220, 0.22);
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transition: opacity 280ms ease, transform 280ms ease, border-color 160ms ease;
}

.about-close:hover,
.about-close:focus-visible {
  border-color: rgba(34, 240, 220, 0.9);
  transform: translateY(-0.08rem);
}

.stage.is-about-mode .about-close {
  opacity: 1;
  pointer-events: auto;
}
.about-field p:first-child {
  margin: 0 0 0.55rem;
  color: var(--cyan);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-field h2 {
  margin: 0;
  color: rgba(220, 236, 255, 0.96);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  line-height: 1;
  transform: skew(-6deg);
}

.about-field p:last-child {
  margin: 0.95rem 0 0;
  color: rgba(220, 236, 255, 0.74);
  font-size: 0.96rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .stage {
    align-items: start;
    padding: 0.8rem;
  }

  .mpc {
    width: 100%;
  }

  .mpc__surface {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .left-deck {
    grid-template-columns: 1fr;
  }

  .pad-bank {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-height: clamp(16rem, 34vh, 22rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 0.35rem;
    scrollbar-color: rgba(34, 240, 220, 0.62) rgba(5, 8, 17, 0.72);
    scrollbar-width: thin;
  }

  .knob-zone {
    justify-self: center;
  }

  .about-field {
    position: fixed;
    width: min(24rem, calc(100vw - 1.6rem));
    min-height: 9rem;
  }

  .about-field--top-left {
    top: 3.8rem;
    left: 0.8rem;
  }

  .about-field--bottom-right {
    right: 0.8rem;
    bottom: 0.8rem;
  }
}

@media (max-width: 520px) {
  .stage {
    padding: 0.45rem;
    justify-items: start;
  }

  .mpc {
    width: min(100%, 22.5rem);
  }

  .mpc__surface {
    padding: 1rem;
  }

  .left-deck,
  .pad-bank {
    justify-self: center;
    width: 100%;
    max-width: 100%;
  }

  .pad-bank {
    max-height: clamp(13.5rem, 30vh, 18rem);
  }

  .mpc__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .pad {
    min-height: 4.2rem;
  }

  .screen {
    min-height: 11.6rem;
    padding: 0.85rem;
  }

  .screen-preview,
  .screen-preview iframe {
    min-height: 8.35rem;
    height: 8.35rem;
  }

  .screen h1 {
    font-size: 1.65rem;
  }

  .transport {
    justify-content: center;
  }

  .knob {
    --mark-radius: 2.65rem;
    width: 8.25rem;
  }

  .knob__face {
    inset: 0.92rem;
  }

  .knob__mark {
    width: 1.1rem;
    height: 0.24rem;
    top: calc(50% - 0.12rem);
  }

  .stage.is-about-mode .mpc {
    opacity: 0.1;
  }

  .about-field {
    width: calc(100vw - 1rem);
    min-height: 8rem;
    padding: 1rem;
  }

  .about-field--top-left {
    top: 3.5rem;
    left: 0.5rem;
  }

  .about-field--bottom-right {
    right: 0.5rem;
    bottom: 0.5rem;
  }
}

@keyframes boot {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }

  to {
    transform: translate3d(2%, 1.5%, 0) scale(1.08);
  }
}

@keyframes staticShift {
  to {
    transform: translate(1px, -1px);
  }
}

@keyframes pulseLed {
  50% {
    opacity: 0.18;
  }
}

@keyframes scan {
  0%,
  45% {
    transform: translateX(-100%);
  }

  60%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.28);
  }

  45% {
    transform: scaleY(1);
  }
}





/* Current layout refinements */
.page-panel {
  display: none !important;
}

.pad {
  grid-template-rows: auto minmax(2.1rem, auto);
  align-content: center;
  min-height: clamp(5.3rem, 7.6vw, 6.25rem);
  gap: 0.38rem;
  padding: 0.72rem 0.44rem;
}

.pad__icon svg {
  width: clamp(1.45rem, 2.2vw, 1.85rem);
  height: clamp(1.45rem, 2.2vw, 1.85rem);
}

.pad__label {
  display: -webkit-box;
  width: 100%;
  max-width: 7.4rem;
  min-height: 2.05rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: inherit;
  font-size: clamp(0.57rem, 0.72vw, 0.74rem);
  line-height: 1.12;
  letter-spacing: 0.035em;
  overflow-wrap: anywhere;
  text-align: center;
  text-overflow: clip;
  white-space: normal;
}

.stage.is-about-mode .mpc {
  opacity: 0.24;
  filter: blur(0.045rem) drop-shadow(0 3.5rem 6rem rgba(0, 0, 0, 0.78));
  transform: rotateX(1deg) scale(0.985);
}

.about-field {
  width: min(31rem, calc(50vw - 3rem));
  min-height: 0;
  max-height: min(38vh, 20rem);
  overflow-y: auto;
  border-radius: 0.22rem;
  background:
    linear-gradient(120deg, rgba(34, 240, 220, 0.12), rgba(5, 8, 17, 0.54) 36%, rgba(5, 8, 17, 0.2)),
    rgba(3, 6, 13, 0.58);
  box-shadow:
    inset 0 0 1.6rem rgba(34, 240, 220, 0.08),
    0 1.2rem 3rem rgba(0, 0, 0, 0.38),
    0 0 2.2rem rgba(34, 240, 220, 0.12);
  transform: translateY(0.75rem) rotateX(6deg) skew(-1deg);
  transform-origin: center;
}

.stage.is-about-mode .about-field {
  transform: translateY(0) rotateX(6deg) skew(-1deg);
}

.about-field--top-left {
  top: clamp(5.2rem, 11vh, 7rem);
  left: clamp(1rem, 5vw, 5rem);
}

.about-field--bottom-right {
  right: clamp(1rem, 5vw, 5rem);
  bottom: clamp(1rem, 9vh, 5rem);
}

.about-field p:first-child {
  margin-bottom: 0.48rem;
  color: rgba(34, 240, 220, 0.92);
  font-size: 0.66rem;
}

.about-field h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.about-field p:last-child {
  color: rgba(220, 236, 255, 0.78);
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  line-height: 1.48;
}

@media (max-width: 900px) {
  .pad {
    min-height: 5rem;
  }

  .pad__label {
    max-width: none;
    font-size: 0.68rem;
  }

  .about-field {
    width: min(28rem, calc(100vw - 1.6rem));
    max-height: 34vh;
    transform: translateY(0.6rem);
  }

  .stage.is-about-mode .about-field {
    transform: translateY(0);
  }

  .about-field--top-left {
    top: 3.9rem;
    left: 0.8rem;
  }

  .about-field--bottom-right {
    right: 0.8rem;
    bottom: 0.8rem;
  }
}

@media (max-width: 520px) {
  .pad {
    min-height: 4.85rem;
    padding: 0.62rem 0.35rem;
  }

  .pad__label {
    min-height: 1.95rem;
    font-size: 0.62rem;
  }

  .about-field {
    width: calc(100vw - 1rem);
    max-height: 35vh;
  }

  .about-field p:last-child {
    font-size: 0.78rem;
    line-height: 1.42;
  }
}

/* Revised about mode and mini-player behavior */
.screen {
  min-height: 13.55rem;
}

.screen-preview,
.screen-preview iframe {
  min-height: 10.05rem;
  height: 10.05rem;
}

.screen-preview {
  align-items: stretch;
}

.screen-preview__fallback {
  display: grid;
  min-height: 10.05rem;
  align-content: start;
}

.screen-preview__action {
  width: 100%;
  min-height: 2rem;
  margin-top: 0.55rem;
  border-color: rgba(105, 255, 120, 0.55);
  background: rgba(88, 255, 118, 0.055);
  text-align: center;
}

.screen-preview--embedded iframe {
  background: #05070d;
}

.stage.is-about-mode .mpc {
  opacity: 0.38;
  filter: saturate(0.9) contrast(1.08) brightness(0.72) drop-shadow(0 3.5rem 6rem rgba(0, 0, 0, 0.82));
  transform: rotateX(1deg) scale(0.99);
}

.about-overlay {
  position: fixed;
  inset: clamp(0.8rem, 3vw, 2.4rem);
  z-index: 12;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  perspective: 1200px;
  transition: opacity 260ms ease;
}

.about-overlay[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.about-overlay__rail {
  position: relative;
  display: grid;
  width: min(78rem, 92vw);
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1rem, 4vw, 4rem);
  align-items: end;
  padding: clamp(1rem, 3vw, 2.4rem);
  transform: rotateX(7deg) rotateZ(-0.6deg) translateY(1.1rem);
  transform-origin: center bottom;
}

.about-overlay__rail::before,
.about-overlay__rail::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-color: rgba(34, 240, 220, 0.44);
  opacity: 0.8;
}

.about-overlay__rail::before {
  inset: 0;
  border-top: 1px solid;
  border-bottom: 1px solid;
  background:
    linear-gradient(90deg, transparent, rgba(34, 240, 220, 0.12), transparent),
    repeating-linear-gradient(0deg, rgba(34, 240, 220, 0.05) 0 1px, transparent 1px 0.55rem);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.about-overlay__rail::after {
  left: 50%;
  top: 0.6rem;
  bottom: 0.6rem;
  border-left: 1px solid;
  box-shadow: 0 0 1.5rem rgba(34, 240, 220, 0.18);
}

.about-overlay .about-field {
  position: relative;
  inset: auto;
  z-index: 1;
  width: auto;
  max-width: none;
  min-height: 0;
  max-height: min(48vh, 24rem);
  margin: 0;
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  padding: clamp(1rem, 2.2vw, 1.65rem);
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(34, 240, 220, 0.16), rgba(4, 9, 18, 0.72) 38%, rgba(4, 9, 18, 0.34)),
    rgba(2, 5, 12, 0.62);
  box-shadow:
    inset 0 1px rgba(142, 218, 255, 0.18),
    inset 0 -1px rgba(34, 240, 220, 0.16),
    0 1.4rem 3rem rgba(0, 0, 0, 0.44),
    0 0 2.2rem rgba(34, 240, 220, 0.1);
  backdrop-filter: blur(10px);
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.about-overlay .about-field::before,
.about-overlay .about-field::after {
  width: 2.2rem;
  height: 2.2rem;
  opacity: 0.9;
}

.about-overlay .about-field--primary {
  align-self: start;
  transform: translateY(-0.4rem) skew(-0.8deg);
}

.about-overlay .about-field--secondary {
  transform: translateY(1.1rem) skew(-0.8deg);
}

.about-overlay .about-field p:first-child {
  margin: 0 0 0.55rem;
  color: rgba(34, 240, 220, 0.95);
  font-size: clamp(0.58rem, 0.8vw, 0.72rem);
  letter-spacing: 0.16em;
}

.about-overlay .about-field h2 {
  margin: 0;
  color: rgba(235, 247, 255, 0.96);
  font-size: clamp(1.25rem, 2.1vw, 2.15rem);
  line-height: 0.98;
  text-shadow: 0 0 1rem rgba(34, 240, 220, 0.22);
  transform: skew(-5deg);
}

.about-overlay .about-field p:last-child {
  margin-top: 0.85rem;
  color: rgba(220, 236, 255, 0.82);
  font-size: clamp(0.78rem, 0.95vw, 0.95rem);
  line-height: 1.46;
}

.about-overlay .about-close {
  position: absolute;
  top: clamp(0.7rem, 2vw, 1.4rem);
  left: clamp(0.7rem, 2vw, 1.4rem);
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  background: rgba(2, 5, 12, 0.78);
}

@media (max-width: 900px) {
  .screen,
  .screen-preview,
  .screen-preview iframe,
  .screen-preview__fallback {
    min-height: 9.2rem;
  }

  .screen-preview,
  .screen-preview iframe {
    height: 9.2rem;
  }

  .about-overlay {
    inset: 0.7rem;
    align-items: start;
    padding-top: 3rem;
    overflow-y: auto;
  }

  .about-overlay__rail {
    width: min(32rem, 100%);
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 0.8rem;
    transform: none;
  }

  .about-overlay__rail::after {
    display: none;
  }

  .about-overlay .about-field,
  .about-overlay .about-field--primary,
  .about-overlay .about-field--secondary {
    max-height: none;
    transform: none;
  }
}

@media (max-width: 520px) {
  .screen,
  .screen-preview,
  .screen-preview iframe,
  .screen-preview__fallback {
    min-height: 8.55rem;
  }

  .screen-preview,
  .screen-preview iframe {
    height: 8.55rem;
  }

  .about-overlay .about-field {
    padding: 0.95rem;
  }
}

/* Revert About section to original floating fields; keep mini-player ambient light. */
.about-overlay {
  display: none !important;
  pointer-events: none !important;
}

.stage.is-about-mode .mpc {
  opacity: 0.18;
  filter: blur(0.12rem) drop-shadow(0 3rem 6rem rgba(0, 0, 0, 0.72));
  transform: scale(0.96);
}

.about-field {
  position: fixed;
  z-index: 11;
  width: min(28rem, calc(100vw - 2rem));
  min-height: 11rem;
  max-height: calc(50vh - 2rem);
  overflow-y: auto;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(34, 240, 220, 0.26);
  border-radius: 0.5rem;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(34, 240, 220, 0.08), transparent 36%),
    rgba(5, 8, 17, 0.88);
  box-shadow:
    inset 0 0 1.25rem rgba(34, 240, 220, 0.08),
    0 0 2.8rem rgba(34, 240, 220, 0.16);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.9rem);
  transition: opacity 280ms ease, transform 280ms ease;
}

.stage.is-about-mode .about-field {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.about-field--top-left {
  top: clamp(4.2rem, 8vw, 6.2rem);
  left: clamp(1rem, 4vw, 3rem);
  right: auto;
  bottom: auto;
}

.about-field--bottom-right {
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1rem, 4vw, 3rem);
  top: auto;
  left: auto;
}

.about-field p:first-child {
  margin: 0 0 0.55rem;
  color: var(--cyan);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-field h2 {
  margin: 0;
  color: rgba(220, 236, 255, 0.96);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  line-height: 1;
  transform: skew(-6deg);
}

.about-field p:last-child {
  margin: 0.95rem 0 0;
  color: rgba(220, 236, 255, 0.74);
  font-size: 0.96rem;
  line-height: 1.55;
}

.about-close {
  position: fixed;
  top: clamp(1rem, 4vw, 3rem);
  left: clamp(1rem, 4vw, 3rem);
  z-index: 12;
  display: grid;
  width: 2.4rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(34, 240, 220, 0.54);
  border-radius: 0.25rem;
  color: var(--cyan);
  cursor: pointer;
  background: rgba(5, 8, 17, 0.9);
  box-shadow: 0 0 1.4rem rgba(34, 240, 220, 0.22);
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
}

.stage.is-about-mode .about-close {
  opacity: 1;
  pointer-events: auto;
}

.pad-bank,
.pad {
  pointer-events: auto;
}

.screen-preview--embedded {
  background:
    radial-gradient(circle at 18% 12%, rgba(34, 240, 220, 0.16), transparent 6rem),
    #05070d;
}

@media (max-width: 900px) {
  .about-field {
    width: min(24rem, calc(100vw - 1.6rem));
    min-height: 9rem;
  }

  .about-field--top-left {
    top: 3.8rem;
    left: 0.8rem;
  }

  .about-field--bottom-right {
    right: 0.8rem;
    bottom: 0.8rem;
  }
}

@media (max-width: 520px) {
  .about-field {
    width: calc(100vw - 1rem);
    min-height: 8rem;
    padding: 1rem;
  }

  .about-field--top-left {
    top: 3.5rem;
    left: 0.5rem;
  }

  .about-field--bottom-right {
    right: 0.5rem;
    bottom: 0.5rem;
  }
}

/* Pad readability adjustment */
.pad__label {
  font-size: clamp(0.64rem, 0.84vw, 0.82rem);
  line-height: 1.16;
}

@media (max-width: 900px) {
  .pad__label {
    font-size: 0.72rem;
  }
}

@media (max-width: 520px) {
  .pad__label {
    font-size: 0.66rem;
  }
}


/* Spotify profile-card miniplayer treatment */
.screen-profile-card__mark svg circle:first-child,
.screen-profile-card__mark svg rect:first-child,
.screen-profile-card__mark svg path:first-child {
  fill: rgba(105, 255, 120, 0.1);
}

.screen-profile-card + h1 {
  margin-top: 0.55rem;
  font-size: clamp(1.45rem, 3.1vw, 2.05rem);
}

/* Ensure fallback screen hides when an embedded player is active */
.screen-preview__fallback[hidden] {
  display: none !important;
}

/* YouTube profile/video cards inside the mini-player screen */
.screen-profile-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  min-height: 6.6rem;
  padding: 0.85rem;
  border: 1px solid rgba(105, 255, 120, 0.32);
  background:
    linear-gradient(135deg, rgba(105, 255, 120, 0.14), transparent 45%),
    rgba(2, 22, 8, 0.76);
  box-shadow:
    inset 0 0 1.5rem rgba(105, 255, 120, 0.08),
    0 0 1.1rem rgba(105, 255, 120, 0.12);
  overflow: hidden;
}

.screen-profile-card--youtube-video {
  grid-template-columns: minmax(5.9rem, 7rem) minmax(0, 1fr);
}

.screen-profile-card__mark {
  display: grid;
  width: 4.2rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(105, 255, 120, 0.35);
  color: var(--terminal);
  background: rgba(105, 255, 120, 0.08);
}

.screen-profile-card__mark svg {
  width: 2.25rem;
  height: 2.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
}

.screen-profile-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(105, 255, 120, 0.34);
  filter: grayscale(0.3) contrast(1.08) saturate(0.78);
  opacity: 0.86;
}

.screen-profile-card__body {
  min-width: 0;
  color: var(--terminal);
  text-shadow: 0 0 0.45rem rgba(105, 255, 120, 0.45);
}

.screen-profile-card__body p,
.screen-profile-card__body strong,
.screen-profile-card__body span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen-profile-card__body p {
  margin: 0 0 0.3rem;
  color: rgba(105, 255, 120, 0.68);
  font-size: 0.66rem;
}

.screen-profile-card__body strong {
  color: rgba(130, 255, 145, 0.95);
  font-size: clamp(1rem, 2.15vw, 1.45rem);
  line-height: 1;
  text-transform: uppercase;
}

.screen-profile-card__body span {
  margin-top: 0.45rem;
  color: rgba(198, 255, 204, 0.8);
  font-size: 0.72rem;
}

.screen-profile-card ~ h1,
.screen-profile-card ~ p,
.screen-profile-card ~ .wave {
  display: none;
}

.screen-profile-card + .screen-preview__action {
  margin-top: 0.65rem;
}

@media (max-width: 520px) {
  .screen-profile-card,
  .screen-profile-card--youtube-video {
    grid-template-columns: 3.4rem minmax(0, 1fr);
    gap: 0.65rem;
    min-height: 5.8rem;
    padding: 0.65rem;
  }

  .screen-profile-card__mark {
    width: 3.4rem;
  }

  .screen-profile-card__thumb {
    aspect-ratio: 1;
  }
}

.screen-preview--card .screen-preview__fallback {
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-content: stretch;
  height: 100%;
}

.screen-preview--card .mini-browser {
  margin-bottom: 0.45rem;
}

.screen-preview--card .screen-profile-card {
  min-height: 0;
  height: 100%;
}

.screen-preview--card .screen-preview__action {
  position: relative;
  z-index: 2;
  min-height: 1.55rem;
  margin-top: 0.45rem;
  font-size: 0.62rem;
}

.screen-preview--card .screen-preview__action {
  display: none;
}
