:root {
  --bg-0: #000000;
  --bg-1: #010903;
  --bg-2: #02150a;
  --phosphor: #58ff70;
  --phosphor-hot: #beff8d;
  --phosphor-dim: #35a84a;
  --phosphor-deep: #0d2d14;
  --text: #b8ffbf;
  --muted: #63bf6f;
  --panel: rgba(1, 14, 4, 0.85);
  --panel-border: rgba(88, 255, 112, 0.4);
  --shadow-neon: 0 0 22px rgba(88, 255, 112, 0.2), 0 0 72px rgba(88, 255, 112, 0.07);
  --mouse-x: 50%;
  --mouse-y: 50%;
  --tilt: 0deg;
  --shader-boost: 0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 4%, rgba(88, 255, 112, 0.06), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(190, 255, 141, 0.05), transparent 45%),
    linear-gradient(180deg, #000000 0%, #010803 48%, #000000 100%);
  font-family: "Share Tech Mono", monospace;
  text-shadow: 0 0 6px rgba(88, 255, 112, 0.15);
}

body * {
  text-transform: lowercase !important;
}

.camera-watch {
  position: fixed;
  top: 0.85rem;
  right: 0.9rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(88, 255, 112, 0.42);
  background: rgba(0, 8, 2, 0.86);
  padding: 0.4rem 0.55rem;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}

.camera-icon {
  display: inline-grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border: 1px solid rgba(190, 255, 141, 0.64);
  color: var(--phosphor-hot);
  box-shadow: 0 0 12px rgba(190, 255, 141, 0.45);
  animation: blink 1.1s infinite;
}

.camera-watch p {
  margin: 0;
}

.alien-tag {
  position: fixed;
  z-index: 49;
  left: 18vw;
  top: 72vh;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px dashed rgba(190, 255, 141, 0.68);
  background: rgba(0, 8, 2, 0.9);
  padding: 0.3rem 0.46rem;
  font-family: "Silkscreen", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  box-shadow: 0 0 15px rgba(190, 255, 141, 0.35);
  animation: alien-wobble 2.7s ease-in-out infinite;
}

.alien-glyph {
  font-size: 0.95rem;
  filter: drop-shadow(0 0 6px rgba(190, 255, 141, 0.65));
}

.chaos-bouncer {
  position: fixed;
  left: 20vw;
  top: 30vh;
  z-index: 51;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(190, 255, 141, 0.55);
  background: rgba(0, 8, 2, 0.82);
  box-shadow: 0 0 12px rgba(190, 255, 141, 0.35);
  font-size: 1.2rem;
  pointer-events: none;
}

.chaos-notes {
  position: fixed;
  inset: 0;
  z-index: 46;
  pointer-events: none;
}

.chaos-note {
  position: absolute;
  font-family: "Share Tech Mono", monospace;
  color: rgba(190, 255, 141, 0.52);
  text-shadow: 0 0 10px rgba(190, 255, 141, 0.38);
  letter-spacing: 0.05em;
  white-space: nowrap;
  animation: chaos-note-drift linear infinite;
}

.rotor-skull {
  position: fixed;
  z-index: 49;
  left: 1.2rem;
  top: 42vh;
  border: 1px solid rgba(190, 255, 141, 0.5);
  background: rgba(0, 8, 2, 0.88);
  padding: 0.5rem 0.6rem;
  box-shadow: 0 0 16px rgba(190, 255, 141, 0.3);
  pointer-events: none;
}

#rotor-skull-text {
  margin: 0;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.61rem;
  line-height: 1.05;
  color: rgba(190, 255, 141, 0.94);
  text-shadow: 0 0 9px rgba(190, 255, 141, 0.42);
}

.triangle-swarm {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.triangle-node {
  position: absolute;
  color: rgba(190, 255, 141, 0.52);
  text-shadow: 0 0 16px rgba(190, 255, 141, 0.34);
  animation: triangle-drift linear infinite;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 320px at var(--mouse-x) var(--mouse-y), rgba(88, 255, 112, 0.12), transparent 70%);
  mix-blend-mode: screen;
  z-index: 5;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(88, 255, 112, 0.02) 50%, rgba(0, 0, 0, 0) 100%),
    repeating-linear-gradient(to right, rgba(88, 255, 112, 0.015) 0, rgba(88, 255, 112, 0.015) 1px, transparent 1px, transparent 4px);
  opacity: 0.35;
  z-index: 4;
}

#boot-screen {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #000200, #010401 50%, #000200);
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

#boot-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.boot-shell {
  width: min(740px, 95vw);
  border: 1px solid rgba(88, 255, 112, 0.45);
  background: rgba(2, 10, 3, 0.9);
  box-shadow: var(--shadow-neon);
  padding: 1.3rem;
  backdrop-filter: blur(8px);
}

.boot-title {
  margin: 0 0 0.75rem;
  color: var(--phosphor);
  font-family: "Silkscreen", monospace;
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

#boot-log {
  margin: 0;
  padding: 0;
  list-style: none;
  min-height: 9.5rem;
  line-height: 1.55;
  color: var(--muted);
  font-size: 0.9rem;
}

#boot-log li {
  animation: blink-in 0.25s ease both;
}

.boot-bar {
  margin-top: 0.75rem;
  width: 100%;
  height: 9px;
  border: 1px solid rgba(98, 255, 116, 0.4);
  background: rgba(0, 0, 0, 0.65);
}

#boot-progress {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #3dc456, #adff64);
  box-shadow: 0 0 18px rgba(98, 255, 116, 0.7);
  transition: width 0.2s ease;
}

#effect-stack {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

#shader-canvas,
#matrix-canvas,
#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#shader-canvas {
  opacity: 0.38;
  mix-blend-mode: screen;
  filter: contrast(1.05) saturate(1.1);
}

#matrix-canvas {
  opacity: 0.33;
  filter: hue-rotate(var(--tilt));
}

#particle-canvas {
  opacity: 0.24;
}

.grid-layer,
.noise-layer,
.scanline-layer,
.vignette-layer {
  position: absolute;
  inset: 0;
}

.grid-layer {
  background-image:
    linear-gradient(rgba(98, 255, 116, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 255, 116, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  animation: grid-scroll 11s linear infinite;
  transform-origin: center;
  transform: perspective(1000px) rotateX(64deg) translateY(35%);
  opacity: 0.42;
}

.noise-layer {
  background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.15;
  animation: noise-shift 0.48s steps(3) infinite;
}

.scanline-layer {
  background: repeating-linear-gradient(
    to bottom,
    rgba(98, 255, 116, 0.06) 0,
    rgba(98, 255, 116, 0.06) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: screen;
  opacity: 0.22;
}

.vignette-layer {
  background: radial-gradient(circle, transparent 52%, rgba(0, 0, 0, 0.88) 100%);
}

#easter-overlay {
  position: fixed;
  inset: 0;
  z-index: 42;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

#easter-overlay.active {
  opacity: 1;
  visibility: visible;
}

#easter-ascii {
  margin: 0;
  max-width: min(92vw, 980px);
  padding: 1rem 1.2rem;
  border: 1px solid rgba(173, 255, 100, 0.5);
  background: rgba(0, 16, 2, 0.9);
  color: var(--phosphor-hot);
  font-family: "VT323", monospace;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  line-height: 1.05;
  white-space: pre;
  text-shadow: 0 0 18px rgba(98, 255, 116, 0.56);
  animation: easter-flicker 0.2s steps(2) infinite;
}

#lockdown-overlay {
  position: fixed;
  inset: 0;
  z-index: 58;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

#lockdown-overlay.active {
  opacity: 1;
  visibility: visible;
}

#lockdown-text {
  margin: 0;
  width: min(94vw, 860px);
  padding: 1rem;
  border: 1px solid rgba(190, 255, 141, 0.62);
  background: rgba(0, 7, 2, 0.94);
  color: #d8ffad;
  font-family: "Silkscreen", monospace;
  font-size: clamp(0.8rem, 2vw, 1rem);
  line-height: 1.5;
  text-shadow: 0 0 18px rgba(190, 255, 141, 0.5);
  animation: lockdown-flicker 0.12s steps(2) infinite;
}

#app {
  position: relative;
  z-index: 8;
  width: min(1220px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 2.2rem 0 4rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.35rem;
}

.hero {
  grid-column: 1 / -1;
  padding: 1.4rem 1.2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: inline-block;
  background: var(--phosphor-hot);
  box-shadow: 0 0 12px var(--phosphor-hot);
  animation: blink 1.4s infinite;
}

.logo-glitch {
  position: relative;
  margin: 0;
  font-family: "VT323", monospace;
  font-size: clamp(3rem, 14vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--phosphor);
  text-shadow: 0 0 22px rgba(98, 255, 116, 0.65);
}

.logo-glitch span {
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.logo-glitch span:first-child {
  color: rgba(173, 255, 100, 0.95);
  transform: translate(-2px, -1px);
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  animation: glitch-shift 2.8s infinite;
}

.logo-glitch span:last-child {
  color: rgba(62, 196, 86, 0.9);
  transform: translate(2px, 1px);
  clip-path: polygon(0 56%, 100% 56%, 100% 100%, 0 100%);
  animation: glitch-shift 2.4s infinite reverse;
}

.illuminati-sigil {
  position: absolute;
  right: 4vw;
  top: 3.1rem;
  font-family: "VT323", monospace;
  font-size: clamp(1.7rem, 4vw, 3rem);
  color: rgba(190, 255, 141, 0.88);
  text-shadow: 0 0 18px rgba(190, 255, 141, 0.54);
  opacity: 0;
  transform: rotate(0deg) scale(0.8);
  pointer-events: none;
}

.illuminati-sigil.active {
  animation: sigil-spin-fade 4.8s ease forwards;
}

.hero-copy {
  margin: 0.8rem 0 1.4rem;
  max-width: 72ch;
  color: rgba(184, 255, 191, 0.88);
  font-family: "VT323", monospace;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  line-height: 1.05;
}

.hero-warning {
  margin-top: 1.1rem;
  max-width: 62ch;
  border: 1px solid rgba(88, 255, 112, 0.4);
  background: linear-gradient(135deg, rgba(5, 22, 8, 0.7), rgba(1, 10, 3, 0.35));
  padding: 0.65rem 0.72rem;
}

.warning-tag {
  margin: 0 0 0.3rem;
  color: var(--phosphor-hot);
  font-family: "Silkscreen", monospace;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.7rem;
}

.hero-warning p:last-child {
  margin: 0;
  color: rgba(184, 255, 191, 0.9);
}

.track-dock {
  margin-top: 0.95rem;
  max-width: 540px;
  border: 1px solid rgba(88, 255, 112, 0.38);
  background: rgba(1, 11, 3, 0.7);
  padding: 0.5rem 0.55rem;
  display: grid;
  gap: 0.42rem;
}

#track-status {
  color: rgba(190, 255, 141, 0.9);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.track-glitch-meter {
  height: 36px;
  display: grid;
  grid-template-columns: repeat(28, minmax(0, 1fr));
  align-items: end;
  gap: 2px;
}

.meter-bar {
  display: block;
  height: 8%;
  background: linear-gradient(180deg, rgba(190, 255, 141, 0.98), rgba(53, 168, 74, 0.72));
  box-shadow: 0 0 8px rgba(190, 255, 141, 0.34);
  border-radius: 1px;
  transition: height 0.08s linear;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0.62rem 0.95rem;
  color: var(--text);
  background: transparent;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Silkscreen", monospace;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(98, 255, 116, 0.28);
}

.btn-primary {
  border-color: rgba(98, 255, 116, 0.8);
  background: linear-gradient(135deg, rgba(98, 255, 116, 0.18), rgba(98, 255, 116, 0.05));
}

.btn-ghost {
  border-color: rgba(98, 255, 116, 0.44);
}

.panel {
  --base-r: 0deg;
  --base-x: 0px;
  --base-y: 0px;
  --scatter-r: 0deg;
  --scatter-x: 0px;
  --scatter-y: 0px;
  margin-top: 0;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(9px);
  box-shadow: var(--shadow-neon);
  padding: 1.1rem;
  min-height: 230px;
  position: relative;
  overflow: hidden;
  transform: translate(
      calc(var(--base-x) + var(--scatter-x)),
      calc(var(--base-y) + var(--scatter-y))
    )
    rotate(calc(var(--base-r) + var(--scatter-r)));
}

.panel::before {
  content: "";
  position: absolute;
  left: -22%;
  top: -38%;
  width: 44%;
  height: 220%;
  background: linear-gradient(180deg, rgba(190, 255, 141, 0.08), transparent 55%);
  transform: rotate(12deg);
  pointer-events: none;
}

.panel.panel-shock {
  animation: panel-shock 0.2s steps(2) 1;
}

#mission {
  grid-column: 1 / span 6;
  --base-r: -1.2deg;
  --base-x: -8px;
  --base-y: 14px;
  min-height: 320px;
}

#cipher-manifesto {
  grid-column: 7 / span 6;
  --base-r: 1.1deg;
  --base-x: 10px;
  --base-y: -26px;
  min-height: 420px;
}

#observer-trace {
  grid-column: 1 / span 4;
  --base-r: 0.85deg;
  --base-y: -10px;
}

#telemetry {
  grid-column: 5 / span 4;
  --base-r: -1.15deg;
  --base-x: -14px;
  --base-y: 6px;
}

#malware-hive {
  grid-column: 9 / span 4;
  --base-r: 1.4deg;
  --base-x: 14px;
  --base-y: -14px;
}

#number-station {
  grid-column: 1 / span 5;
  --base-r: -1.4deg;
  --base-x: -6px;
  --base-y: -20px;
}

#exploit-arsenal {
  grid-column: 6 / span 7;
  --base-r: 0.95deg;
  --base-x: 12px;
  --base-y: -12px;
}

#void-quotes {
  grid-column: 1 / span 4;
  --base-r: 1.45deg;
  --base-x: 16px;
  --base-y: -18px;
  min-height: 250px;
}

#audio-engine {
  grid-column: 5 / span 4;
  --base-r: -0.9deg;
  --base-x: 8px;
  --base-y: -22px;
}

#terminal {
  grid-column: 7 / span 6;
  --base-r: -0.8deg;
  --base-x: -4px;
  --base-y: -12px;
  min-height: 360px;
  z-index: 14;
}

#signature {
  grid-column: 1 / span 8;
  --base-r: 0.88deg;
  --base-y: -24px;
  min-height: 330px;
}

#collective {
  grid-column: 9 / span 4;
  --base-r: -1.6deg;
  --base-x: -18px;
  --base-y: -24px;
  min-height: 250px;
}

.panel-header {
  margin-bottom: 0.75rem;
}

.kicker {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  font-family: "Silkscreen", monospace;
}

.panel h2 {
  margin: 0.1rem 0 0;
  font-family: "Silkscreen", monospace;
  font-size: clamp(1.2rem, 3.7vw, 1.95rem);
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.panel p {
  margin: 0;
  line-height: 1.5;
}

.chip-row {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.52rem;
  border: 1px solid rgba(98, 255, 116, 0.45);
  background: rgba(98, 255, 116, 0.1);
  color: var(--phosphor-hot);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.72rem;
  font-family: "Silkscreen", monospace;
}

.code-runes {
  margin: 0.95rem 0 0;
  border: 1px solid rgba(88, 255, 112, 0.36);
  background: rgba(0, 10, 2, 0.84);
  padding: 0.65rem;
  font-size: 0.73rem;
  line-height: 1.45;
  overflow: auto;
  color: rgba(190, 255, 141, 0.95);
}

.ritual-ascii {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.65rem;
}

.ascii-skull {
  margin: 0;
  border: 1px solid rgba(88, 255, 112, 0.34);
  background: rgba(0, 8, 2, 0.84);
  padding: 0.6rem;
  color: var(--phosphor-hot);
  line-height: 1.2;
}

.car-lane {
  overflow: hidden;
  border: 1px dashed rgba(88, 255, 112, 0.36);
  background: rgba(0, 7, 2, 0.75);
  min-height: 84px;
  position: relative;
}

.ascii-car {
  margin: 0;
  position: absolute;
  left: -220px;
  top: 12px;
  color: rgba(190, 255, 141, 0.93);
  animation: car-drive 9.4s linear infinite;
}

.trace-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
}

.trace-item {
  border: 1px solid rgba(88, 255, 112, 0.34);
  background: rgba(2, 14, 4, 0.63);
  padding: 0.55rem 0.62rem;
}

.trace-item h3 {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  font-family: "Silkscreen", monospace;
  letter-spacing: 0.06em;
  font-size: 0.66rem;
}

.trace-item p {
  margin: 0.35rem 0 0;
  font-family: "VT323", monospace;
  font-size: 1.45rem;
  color: var(--phosphor-hot);
}

.trace-footnote {
  margin-top: 0.65rem;
  color: rgba(99, 191, 111, 0.9);
  font-size: 0.78rem;
}

.threat-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.threat-feed li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(98, 255, 116, 0.34);
  background: rgba(2, 18, 4, 0.55);
  animation: blink-in 0.35s ease;
}

.threat-feed li[data-severity="critical"] {
  border-color: rgba(190, 255, 141, 0.72);
  box-shadow: 0 0 16px rgba(190, 255, 141, 0.22);
}

.threat-feed li[data-severity="high"] {
  border-color: rgba(133, 232, 104, 0.55);
}

.threat-feed li[data-severity="elevated"] {
  border-color: rgba(88, 255, 112, 0.46);
}

.threat-feed time {
  color: var(--phosphor-hot);
  font-size: 0.72rem;
}

.malware-list {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.malware-row {
  display: grid;
  grid-template-columns: 145px 1fr auto;
  gap: 0.65rem;
  align-items: center;
  border: 1px solid rgba(88, 255, 112, 0.36);
  background: rgba(1, 12, 3, 0.72);
  padding: 0.52rem 0.62rem;
}

.malware-name {
  font-family: "Silkscreen", monospace;
  letter-spacing: 0.05em;
  font-size: 0.67rem;
  text-transform: uppercase;
  color: rgba(190, 255, 141, 0.93);
}

.malware-bar {
  width: 100%;
  height: 10px;
  border: 1px solid rgba(88, 255, 112, 0.38);
  background: rgba(0, 0, 0, 0.65);
  position: relative;
  overflow: hidden;
}

.malware-fill {
  display: block;
  height: 100%;
  width: 0%;
  transition: width 0.5s ease, filter 0.3s ease;
  background: linear-gradient(90deg, rgba(53, 168, 74, 0.9), rgba(190, 255, 141, 0.95));
  box-shadow: 0 0 12px rgba(88, 255, 112, 0.45);
}

.malware-row[data-severity="critical"] .malware-fill {
  background: linear-gradient(90deg, rgba(76, 182, 57, 0.85), rgba(223, 255, 136, 0.98));
  filter: saturate(1.2);
}

.malware-level {
  min-width: 58px;
  text-align: right;
  color: var(--phosphor-hot);
  font-family: "VT323", monospace;
  font-size: 1.35rem;
}

.malware-stream {
  margin: 0.75rem 0 0;
  min-height: 7.9rem;
  max-height: 12rem;
  overflow: auto;
  border: 1px solid rgba(88, 255, 112, 0.35);
  background: rgba(0, 10, 2, 0.78);
  padding: 0.62rem;
  color: rgba(190, 255, 141, 0.95);
  font-size: 0.78rem;
  line-height: 1.45;
}

.exploit-arsenal-list {
  list-style: none;
  margin: 0.88rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.48rem;
}

.exploit-arsenal-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: start;
  border: 1px solid rgba(88, 255, 112, 0.34);
  background: rgba(0, 10, 2, 0.78);
  padding: 0.45rem 0.55rem;
}

.exploit-arsenal-item[data-severity="critical"] {
  border-color: rgba(190, 255, 141, 0.75);
  box-shadow: 0 0 12px rgba(190, 255, 141, 0.22);
}

.exploit-arsenal-item[data-severity="high"] {
  border-color: rgba(133, 232, 104, 0.58);
}

.exploit-tag {
  font-family: "Silkscreen", monospace;
  font-size: 0.6rem;
  color: rgba(190, 255, 141, 0.95);
  background: rgba(88, 255, 112, 0.14);
  border: 1px solid rgba(88, 255, 112, 0.38);
  padding: 0.12rem 0.2rem;
}

.exploit-copy {
  font-size: 0.75rem;
  line-height: 1.3;
  color: rgba(184, 255, 191, 0.9);
}

.exploit-risk {
  font-family: "VT323", monospace;
  color: var(--phosphor-hot);
  font-size: 1.1rem;
}

.void-quotes-list {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.52rem;
}

.void-quotes-list li {
  padding: 0.4rem 0.45rem;
  border-left: 2px solid rgba(190, 255, 141, 0.58);
  background: rgba(0, 9, 2, 0.62);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.audio-controls {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: auto auto 108px 1fr;
  gap: 0.48rem 0.7rem;
  align-items: center;
}

.audio-controls label {
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--muted);
}

.audio-controls input[type="range"] {
  width: 100%;
  accent-color: var(--phosphor);
}

.audio-hint {
  margin-top: 0.7rem;
  color: rgba(104, 203, 118, 0.85);
  font-size: 0.85rem;
}

.asm-rain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.asm-rune {
  position: absolute;
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  color: rgba(190, 255, 141, 0.34);
  text-shadow: 0 0 8px rgba(190, 255, 141, 0.24);
  animation: asm-fall linear infinite;
  white-space: nowrap;
}

.terminal-shell {
  border: 1px solid rgba(98, 255, 116, 0.45);
  background: rgba(0, 12, 2, 0.92);
  box-shadow: inset 0 0 22px rgba(98, 255, 116, 0.12);
  padding: 0.85rem;
  min-height: 280px;
}

.typing-line {
  margin: 0;
  min-height: 1.35rem;
  color: var(--phosphor-hot);
  border-bottom: 1px solid rgba(98, 255, 116, 0.2);
  padding-bottom: 0.45rem;
}

.typing-line::after {
  content: "_";
  animation: blink 0.8s infinite;
}

.terminal-history {
  list-style: none;
  margin: 0.7rem 0;
  padding: 0;
  max-height: 220px;
  overflow: auto;
  display: grid;
  gap: 0.44rem;
}

.terminal-history li {
  border-left: 2px solid rgba(98, 255, 116, 0.45);
  padding-left: 0.6rem;
  color: rgba(182, 255, 191, 0.94);
  white-space: pre-wrap;
}

.terminal-history li[data-variant="echo"] {
  color: rgba(98, 255, 116, 0.92);
}

.terminal-history li[data-variant="alert"] {
  color: #ccff93;
}

.terminal-history li[data-variant="danger"] {
  color: #daff9c;
  text-shadow: 0 0 10px rgba(173, 255, 100, 0.4);
}

#terminal-form {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0.35rem;
  align-items: center;
}

#terminal-form label {
  text-transform: uppercase;
  color: var(--muted);
  font-size: 0.71rem;
}

.prompt {
  color: var(--phosphor-hot);
  white-space: nowrap;
}

#command-input {
  width: 100%;
  border: 1px solid rgba(98, 255, 116, 0.44);
  background: rgba(0, 20, 4, 0.95);
  color: var(--text);
  padding: 0.44rem 0.58rem;
  font-family: inherit;
}

#command-input:focus-visible {
  outline: 1px solid var(--phosphor-hot);
}

.signature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.95rem;
}

.ascii-mark {
  margin: 0;
  padding: 0.9rem;
  border: 1px solid rgba(98, 255, 116, 0.34);
  background: rgba(1, 15, 4, 0.75);
  color: var(--phosphor-hot);
  overflow: auto;
  font-size: 0.67rem;
  line-height: 1.45;
}

.signature-copy {
  display: grid;
  gap: 0.72rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

body.booting #app {
  filter: blur(8px) saturate(0.7);
  transform: scale(1.01);
}

body.breach-mode {
  --tilt: 8deg;
  --shader-boost: 0.8;
}

body.breach-mode .panel {
  animation: pulse-border 1.2s infinite;
}

body.breach-mode #shader-canvas {
  opacity: 0.62;
}

body.breach-mode .grid-layer {
  animation-duration: 5.5s;
}

body.egg-active .panel {
  box-shadow: 0 0 30px rgba(173, 255, 100, 0.26);
}

body.egg-active .noise-layer {
  opacity: 0.28;
}

body.egg-ghostwalk .scanline-layer {
  opacity: 0.34;
}

body.egg-blackice {
  --phosphor: #8dff5b;
  --phosphor-hot: #d8ff95;
}

body.egg-rootkit {
  animation: screen-jitter 0.25s steps(2) 12;
}

body.trace-alert .trace-item {
  animation: pulse-border 0.9s 2;
}

body.lockdown {
  --shader-boost: 1;
}

body.lockdown .panel {
  border-color: rgba(190, 255, 141, 0.72);
  box-shadow: 0 0 30px rgba(190, 255, 141, 0.26);
}

body.lockdown .noise-layer {
  opacity: 0.33;
}

body.lockdown .scanline-layer {
  opacity: 0.4;
}

@keyframes grid-scroll {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 0 300px, 300px 0;
  }
}

@keyframes noise-shift {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(-1px, 1px);
  }

  50% {
    transform: translate(1px, -1px);
  }

  75% {
    transform: translate(1px, 0);
  }

  100% {
    transform: translate(-1px, 0);
  }
}

@keyframes glitch-shift {
  0%,
  100% {
    transform: translate(0, 0);
  }

  18% {
    transform: translate(-2px, 1px);
  }

  38% {
    transform: translate(2px, -1px);
  }

  64% {
    transform: translate(-1px, -1px);
  }

  84% {
    transform: translate(2px, 0);
  }
}

@keyframes blink {
  0%,
  45%,
  100% {
    opacity: 1;
  }

  50%,
  90% {
    opacity: 0.16;
  }
}

@keyframes blink-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-border {
  0%,
  100% {
    border-color: rgba(98, 255, 116, 0.36);
    box-shadow: 0 0 14px rgba(98, 255, 116, 0.2);
  }

  50% {
    border-color: rgba(173, 255, 100, 0.6);
    box-shadow: 0 0 24px rgba(173, 255, 100, 0.3);
  }
}

@keyframes easter-flicker {
  0% {
    transform: translate(0, 0);
  }

  30% {
    transform: translate(-1px, 0);
  }

  70% {
    transform: translate(1px, -1px);
  }

  100% {
    transform: translate(0, 0);
  }
}

@keyframes screen-jitter {
  0% {
    transform: translate(0, 0);
  }

  20% {
    transform: translate(-1px, 1px);
  }

  40% {
    transform: translate(1px, 0);
  }

  60% {
    transform: translate(-1px, -1px);
  }

  80% {
    transform: translate(1px, 1px);
  }

  100% {
    transform: translate(0, 0);
  }
}

@keyframes car-drive {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(100vw + 280px));
  }
}

@keyframes sigil-spin-fade {
  0% {
    opacity: 0;
    transform: rotate(0deg) scale(0.7);
  }

  12% {
    opacity: 0.95;
    transform: rotate(42deg) scale(1.08);
  }

  68% {
    opacity: 0.8;
    transform: rotate(280deg) scale(1.2);
  }

  100% {
    opacity: 0;
    transform: rotate(540deg) scale(0.6);
  }
}

@keyframes triangle-drift {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 0.12;
  }

  30% {
    opacity: 0.45;
  }

  100% {
    transform: translate3d(16px, -52px, 0) rotate(220deg);
    opacity: 0;
  }
}

@keyframes chaos-note-drift {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 0.15;
  }

  40% {
    opacity: 0.65;
  }

  100% {
    transform: translate3d(0, -28px, 0) rotate(-6deg);
    opacity: 0;
  }
}

@keyframes alien-wobble {
  0%,
  100% {
    transform: rotate(-1deg) translateY(0);
  }

  50% {
    transform: rotate(1deg) translateY(-2px);
  }
}

@keyframes lockdown-flicker {
  0% {
    opacity: 0.82;
  }

  48% {
    opacity: 1;
  }

  52% {
    opacity: 0.6;
  }

  100% {
    opacity: 0.92;
  }
}

@keyframes asm-fall {
  0% {
    transform: translate3d(0, -15vh, 0) rotate(-10deg);
    opacity: 0;
  }

  12% {
    opacity: 0.55;
  }

  88% {
    opacity: 0.42;
  }

  100% {
    transform: translate3d(0, 125vh, 0) rotate(-10deg);
    opacity: 0;
  }
}

@keyframes panel-shock {
  0% {
    filter: contrast(1) brightness(1);
  }

  35% {
    filter: contrast(1.35) brightness(1.25);
    transform: translate(
        calc(var(--base-x) + var(--scatter-x) + 4px),
        calc(var(--base-y) + var(--scatter-y) - 3px)
      )
      rotate(calc(var(--base-r) + var(--scatter-r) + 0.6deg));
  }

  100% {
    filter: contrast(1) brightness(1);
  }
}

@media (max-width: 760px) {
  .camera-watch {
    right: 0.45rem;
    top: 0.4rem;
    font-size: 0.58rem;
  }

  .chaos-bouncer {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 1rem;
  }

  .illuminati-sigil {
    right: 2vw;
    top: 4.9rem;
    font-size: 1.5rem;
  }

  .rotor-skull {
    left: 0.4rem;
    top: 50vh;
    padding: 0.34rem 0.4rem;
  }

  #rotor-skull-text {
    font-size: 0.5rem;
  }

  .alien-tag {
    font-size: 0.56rem;
    max-width: 44vw;
    white-space: nowrap;
  }

  .track-glitch-meter {
    grid-template-columns: repeat(18, minmax(0, 1fr));
    height: 30px;
  }

  #app {
    width: min(1120px, calc(100vw - 1rem));
    padding-top: 1.15rem;
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .hero,
  .panel {
    grid-column: 1 / -1 !important;
    transform: none !important;
  }

  .hero {
    padding: 1rem 0.35rem;
  }

  .panel {
    padding: 0.9rem;
  }

  .audio-controls {
    grid-template-columns: 1fr;
  }

  .audio-controls .btn {
    width: 100%;
  }

  .malware-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .exploit-arsenal-item {
    grid-template-columns: 1fr;
    gap: 0.32rem;
  }

  .malware-level {
    text-align: left;
  }

  #terminal-form {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  #command-input {
    min-height: 42px;
  }

  .ascii-mark {
    font-size: 0.58rem;
  }

  #easter-ascii {
    font-size: clamp(0.8rem, 3vw, 1rem);
    max-width: 95vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  #shader-canvas,
  #matrix-canvas,
  #particle-canvas,
  .noise-layer,
  .scanline-layer {
    opacity: 0.08;
  }
}
