:root {
  --bg: #02030a;
  --panel: rgba(8, 13, 24, 0.76);
  --panel-strong: rgba(10, 17, 32, 0.94);
  --line: rgba(135, 175, 255, 0.2);
  --line-bright: rgba(127, 255, 212, 0.45);
  --text: #eef4ff;
  --muted: #93a3bd;
  --accent: #77a7ff;
  --aqua: #7fffd4;
  --red: #ff4d5a;
  --gold: #f4c56a;
  --shadow: 0 0 70px rgba(119, 167, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body.booting {
  overflow: hidden;
}

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

.shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

canvas#particleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -5;
  background:
    radial-gradient(circle at 18% 20%, rgba(119, 167, 255, 0.16), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(127, 255, 212, 0.1), transparent 24%),
    radial-gradient(circle at 50% 92%, rgba(255, 77, 90, 0.08), transparent 28%),
    #02030a;
}

.grid-layer {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(119, 167, 255, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(119, 167, 255, 0.065) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 75%);
}

.scanline {
  position: fixed;
  left: 0;
  right: 0;
  top: -260px;
  height: 240px;
  z-index: -3;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(127, 255, 212, 0.08), transparent);
  animation: scanMove 7s linear infinite;
}

@keyframes scanMove {
  from {
    transform: translateY(-260px);
  }

  to {
    transform: translateY(calc(100vh + 520px));
  }
}

.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background:
    radial-gradient(circle at center, rgba(119, 167, 255, 0.12), transparent 34%),
    #02030a;
  display: grid;
  place-items: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

.boot-box {
  width: min(680px, calc(100% - 36px));
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(5, 10, 20, 0.82);
  box-shadow: var(--shadow);
  padding: 30px;
  overflow: hidden;
  position: relative;
}

.boot-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(127, 255, 212, 0.08), transparent);
  transform: translateX(-100%);
  animation: bootSweep 2.2s ease-in-out infinite;
}

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

  to {
    transform: translateX(100%);
  }
}

.boot-title {
  font-size: clamp(42px, 9vw, 92px);
  letter-spacing: 8px;
  line-height: 0.9;
  margin: 0 0 20px;
}

.boot-log {
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 14px;
  line-height: 1.8;
  min-height: 150px;
}

.boot-progress {
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 20px;
}

.boot-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--aqua));
  animation: bootProgress 2.7s ease forwards;
}

@keyframes bootProgress {
  to {
    width: 100%;
  }
}

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(2, 3, 10, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 17px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 4px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 11px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.brand-mark::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  border-top-color: var(--aqua);
  animation: rotate 3s linear infinite;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 18px var(--aqua);
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav-links a {
  color: var(--muted);
  font-size: 13px;
  border: 1px solid transparent;
  padding: 9px 12px;
  border-radius: 999px;
  transition: 0.25s;
}

.nav-links a:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(119, 167, 255, 0.08);
}

.home-hero {
  min-height: calc(100vh - 70px);
  display: grid;
  place-items: center;
  padding: 78px 0;
  position: relative;
  overflow: hidden;
}

.floating-words {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.floating-words span {
  position: absolute;
  color: rgba(238, 244, 255, 0.035);
  font-weight: 900;
  font-size: clamp(62px, 15vw, 210px);
  letter-spacing: 10px;
  white-space: nowrap;
  animation: driftText 18s linear infinite;
}

.floating-words span:nth-child(1) {
  top: 8%;
  left: -8%;
  animation-duration: 24s;
}

.floating-words span:nth-child(2) {
  top: 38%;
  right: -20%;
  animation-duration: 29s;
  animation-direction: reverse;
}

.floating-words span:nth-child(3) {
  bottom: 6%;
  left: -16%;
  animation-duration: 31s;
}

@keyframes driftText {
  0% {
    transform: translateX(-80px);
  }

  50% {
    transform: translateX(90px);
  }

  100% {
    transform: translateX(-80px);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  color: var(--aqua);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(72px, 13vw, 170px);
  line-height: 0.82;
  margin: 0;
  letter-spacing: 9px;
  text-shadow:
    0 0 28px rgba(119, 167, 255, 0.28),
    0 0 70px rgba(127, 255, 212, 0.08);
  animation: titlePulse 4s ease-in-out infinite;
}

@keyframes titlePulse {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(127, 255, 212, 0));
  }

  50% {
    filter: drop-shadow(0 0 18px rgba(127, 255, 212, 0.22));
  }
}

.glitch {
  position: relative;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.4;
  pointer-events: none;
}

.glitch::before {
  color: var(--aqua);
  transform: translate(2px, 0);
  clip-path: inset(0 0 60% 0);
  animation: glitchOne 3.2s infinite;
}

.glitch::after {
  color: var(--red);
  transform: translate(-2px, 0);
  clip-path: inset(62% 0 0 0);
  animation: glitchTwo 2.8s infinite;
}

@keyframes glitchOne {
  0%, 92%, 100% {
    transform: translate(2px, 0);
  }

  94% {
    transform: translate(9px, -2px);
  }

  96% {
    transform: translate(-4px, 2px);
  }
}

@keyframes glitchTwo {
  0%, 90%, 100% {
    transform: translate(-2px, 0);
  }

  92% {
    transform: translate(-8px, 2px);
  }

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

.home-hero h2 {
  font-size: clamp(26px, 4vw, 50px);
  line-height: 1.08;
  margin: 22px 0 18px;
}

.home-hero p,
.page-intro,
.card p,
.showcase-copy p,
.timeline-item p,
.wide-card p,
.vote-option p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(119, 167, 255, 0.08);
  transition: 0.25s;
  cursor: pointer;
  font-size: 14px;
}

.btn.primary {
  border-color: rgba(127, 255, 212, 0.4);
  background: linear-gradient(135deg, rgba(119, 167, 255, 0.2), rgba(127, 255, 212, 0.1));
  box-shadow: var(--shadow);
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(127, 255, 212, 0.55);
}

.core-card,
.card,
.wide-card,
.contact-box,
.vote-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.core-card {
  border-radius: 30px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.core-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: conic-gradient(from 180deg, transparent, rgba(127, 255, 212, 0.16), transparent, rgba(119, 167, 255, 0.16), transparent);
  animation: rotateGlow 8s linear infinite;
  z-index: -1;
}

@keyframes rotateGlow {
  to {
    transform: rotate(360deg);
  }
}

.status-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 18px;
}

.synthesis-core {
  width: min(330px, 82vw);
  height: min(330px, 82vw);
  margin: 22px auto 24px;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.core-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(127, 255, 212, 0.28);
  animation: rotate 12s linear infinite;
}

.core-ring:nth-child(2) {
  inset: 28px;
  border-color: rgba(119, 167, 255, 0.32);
  animation-duration: 9s;
  animation-direction: reverse;
}

.core-ring:nth-child(3) {
  inset: 58px;
  border-color: rgba(255, 77, 90, 0.2);
  animation-duration: 6s;
}

.core-ring::before,
.core-ring::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 18px var(--aqua);
}

.core-ring::before {
  top: 18%;
  left: 10%;
}

.core-ring::after {
  bottom: 16%;
  right: 12%;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}

.core-center {
  width: 136px;
  height: 136px;
  border-radius: 50%;
  border: 1px solid rgba(127, 255, 212, 0.42);
  background:
    radial-gradient(circle, rgba(127, 255, 212, 0.28), transparent 44%),
    radial-gradient(circle at 65% 35%, rgba(119, 167, 255, 0.3), transparent 32%),
    rgba(2, 3, 10, 0.9);
  box-shadow:
    0 0 60px rgba(127, 255, 212, 0.23),
    inset 0 0 40px rgba(119, 167, 255, 0.16);
  display: grid;
  place-items: center;
  text-align: center;
  letter-spacing: 3px;
  font-size: 12px;
  text-transform: uppercase;
  color: #dffdf6;
  animation: corePulse 2.8s ease-in-out infinite;
}

@keyframes corePulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }
}

.core-tooltip {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  transition: 0.25s;
  white-space: nowrap;
}

.synthesis-core:hover .core-tooltip {
  opacity: 1;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(2, 3, 10, 0.42);
}

.metric strong {
  display: block;
  font-size: 22px;
}

.metric span {
  color: var(--muted);
  font-size: 12px;
}

.page-header {
  padding: 92px 0 36px;
}

.page-title {
  font-size: clamp(54px, 10vw, 120px);
  line-height: 0.9;
  margin: 0 0 22px;
  letter-spacing: 5px;
  text-shadow:
    0 0 28px rgba(119, 167, 255, 0.28),
    0 0 70px rgba(127, 255, 212, 0.08);
}

.page-intro {
  max-width: 760px;
  font-size: 18px;
}

section {
  padding: 72px 0;
}

.card-grid,
.project-grid,
.system-grid,
.profile-grid,
.vote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  border-radius: 24px;
  padding: 24px;
  min-height: 270px;
  position: relative;
  overflow: hidden;
  transition: 0.25s;
  display: block;
  text-decoration: none;
  color: inherit;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(127, 255, 212, 0.38);
}

.card::after {
  content: attr(data-hover);
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: rgba(127, 255, 212, 0.6);
  font-family: "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 1px;
  opacity: 0;
  transition: 0.25s;
}

.card:hover::after {
  opacity: 1;
}

.card-number {
  color: var(--aqua);
  font-size: 12px;
  letter-spacing: 3px;
  margin-bottom: 26px;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.status-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dffdf6;
  border: 1px solid rgba(127, 255, 212, 0.25);
  background: rgba(127, 255, 212, 0.06);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  margin-bottom: 16px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 14px var(--aqua);
}

.tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  color: #cfe0ff;
  border: 1px solid var(--line);
  background: rgba(119, 167, 255, 0.07);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
}

.showroom-box {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(119, 167, 255, 0.12), rgba(127, 255, 212, 0.05));
  border-radius: 32px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.showcase-item {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(2, 3, 10, 0.4);
  border-radius: 26px;
  padding: 18px;
  margin-bottom: 16px;
}

.showcase-item:last-child {
  margin-bottom: 0;
}

.showcase-visual {
  min-height: 215px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(119, 167, 255, 0.17), rgba(127, 255, 212, 0.06)),
    radial-gradient(circle at center, rgba(127, 255, 212, 0.16), transparent 50%);
  display: grid;
  place-items: center;
  color: rgba(238, 244, 255, 0.78);
  letter-spacing: 4px;
  font-weight: 800;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.showcase-visual::before {
  content: "";
  position: absolute;
  width: 125px;
  height: 125px;
  border: 1px solid rgba(127, 255, 212, 0.32);
  border-radius: 50%;
  animation: pulse 2.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.4;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

.showcase-copy h3 {
  margin: 0 0 10px;
  font-size: 29px;
}

.wide-card {
  border-radius: 28px;
  padding: 28px;
}

.timeline {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.timeline-item {
  position: relative;
  padding: 0 0 30px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 3px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 20px rgba(127, 255, 212, 0.5);
}

.timeline-item h3 {
  margin: 0 0 8px;
}

.contact-box {
  border-radius: 32px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.contact-box h2 {
  margin: 0 0 10px;
  font-size: clamp(34px, 5vw, 58px);
}

.warning {
  margin-top: 28px;
  border: 1px solid rgba(255, 77, 90, 0.35);
  color: #ffd6da;
  background: rgba(255, 77, 90, 0.06);
  border-radius: 18px;
  padding: 16px;
  font-family: "Courier New", monospace;
  font-size: 13px;
  line-height: 1.7;
}

.console {
  border: 1px solid rgba(127, 255, 212, 0.34);
  background: rgba(2, 6, 14, 0.9);
  border-radius: 24px;
  padding: 24px;
  font-family: "Courier New", monospace;
  color: #d8fff5;
  box-shadow: var(--shadow);
  line-height: 1.7;
  white-space: pre-wrap;
}

.vote-panel {
  border-radius: 28px;
  padding: 28px;
}

.vote-option {
  border: 1px solid var(--line);
  background: rgba(119, 167, 255, 0.06);
  border-radius: 22px;
  padding: 22px;
  cursor: pointer;
  transition: 0.25s;
}

.vote-option:hover {
  transform: translateY(-5px);
  border-color: rgba(127, 255, 212, 0.45);
}

.vote-option h3 {
  margin: 0 0 10px;
}

.vote-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 18px;
}

.vote-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--aqua));
  transition: 0.45s ease;
}

.vote-count {
  margin-top: 10px;
  color: var(--aqua);
  font-family: "Courier New", monospace;
  font-size: 13px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--muted);
  font-size: 13px;
}

.terminal-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line-bright);
  background: rgba(5, 10, 20, 0.9);
  color: var(--aqua);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-family: "Courier New", monospace;
  font-weight: 800;
  font-size: 18px;
}

.terminal {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 90;
  width: min(440px, calc(100% - 36px));
  border: 1px solid var(--line-bright);
  border-radius: 20px;
  background: rgba(2, 6, 14, 0.96);
  box-shadow: 0 0 80px rgba(127, 255, 212, 0.15);
  overflow: hidden;
  display: none;
}

.terminal.open {
  display: block;
}

.terminal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  font-family: "Courier New", monospace;
  color: var(--aqua);
  font-size: 13px;
}

.terminal-close {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
}

.terminal-output {
  height: 260px;
  overflow: auto;
  padding: 15px;
  color: #d8fff5;
  font-family: "Courier New", monospace;
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.terminal-input-row {
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 12px;
  align-items: center;
}

.terminal-input-row span {
  color: var(--aqua);
  font-family: "Courier New", monospace;
}

.terminal-input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font-family: "Courier New", monospace;
  font-size: 14px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(20px);
  z-index: 120;
  border: 1px solid var(--line-bright);
  background: rgba(5, 10, 20, 0.95);
  color: #d8fff5;
  border-radius: 999px;
  padding: 12px 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  font-size: 13px;
  letter-spacing: 1px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 900px) {
  .hero-grid,
  .showcase-item,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .project-grid,
  .system-grid,
  .profile-grid,
  .vote-grid {
    grid-template-columns: 1fr;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .nav-inner {
    flex-direction: column;
    align-items: start;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-title {
    letter-spacing: 4px;
  }
}

.secret-lab-access {
  position: fixed;
  top: 14px;
  right: -260px;
  z-index: 999;
  border: 1px solid rgba(127, 255, 212, 0.5);
  background: rgba(5, 10, 20, 0.96);
  color: #d8fff5;
  box-shadow: 0 0 70px rgba(127, 255, 212, 0.2);
  border-radius: 999px;
  padding: 12px 16px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(-12px);
  transition: right 0.75s ease, opacity 0.45s ease, transform 0.75s ease;
}

.secret-lab-access.unlocked {
  right: 18px;
  opacity: 1;
  transform: translateY(0);
}

.secret-lab-access::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 16px var(--aqua);
}

.secret-lab-flash {
  position: fixed;
  inset: 0;
  z-index: 998;
  pointer-events: none;
  background: radial-gradient(circle at 85% 10%, rgba(127, 255, 212, 0.18), transparent 28%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.secret-lab-flash.show {
  opacity: 1;
}

.experience-hero {
  position: relative;
  overflow: hidden;
}

.experience-command-strip {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 0.8fr 1.5fr 0.8fr;
  gap: 14px;
}

.experience-command-strip div {
  border: 1px solid var(--line);
  background: rgba(8, 13, 24, 0.72);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.experience-command-strip span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.experience-command-strip strong {
  color: var(--aqua);
  font-family: "Courier New", monospace;
  font-size: 13px;
  letter-spacing: 1px;
}

.experience-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-tile {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(119, 167, 255, 0.12), rgba(127, 255, 212, 0.04)),
    rgba(8, 13, 24, 0.76);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.stat-tile::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 1px solid rgba(127, 255, 212, 0.18);
}

.stat-tile span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.stat-tile strong {
  display: block;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.9;
  margin-bottom: 14px;
}

.stat-tile p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
}

.experience-section {
  padding-top: 50px;
}

.experience-timeline {
  position: relative;
  display: grid;
  gap: 24px;
}

.experience-timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(127, 255, 212, 0.45), transparent);
}

.experience-record {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(119, 167, 255, 0.08), rgba(127, 255, 212, 0.035)),
    rgba(8, 13, 24, 0.78);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  margin-left: 54px;
  transition: 0.25s;
}

.experience-record:hover {
  transform: translateY(-5px);
  border-color: rgba(127, 255, 212, 0.38);
}

.experience-record::before {
  content: "";
  position: absolute;
  left: -43px;
  top: 30px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 24px rgba(127, 255, 212, 0.85);
}

.experience-record::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(119, 167, 255, 0.12);
  border-radius: 50%;
}

.featured-record {
  border-color: rgba(127, 255, 212, 0.36);
}

.record-top {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: start;
  margin-bottom: 22px;
}

.record-code {
  color: var(--aqua);
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.record-top h3 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.record-role {
  color: var(--muted);
  margin: 12px 0 0;
  line-height: 1.6;
}

.record-date {
  min-width: 190px;
  border: 1px solid var(--line);
  background: rgba(2, 3, 10, 0.36);
  border-radius: 18px;
  padding: 14px;
  text-align: right;
}

.record-date span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}

.record-date strong {
  color: var(--aqua);
  font-family: "Courier New", monospace;
  font-size: 13px;
}

.record-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
  align-items: start;
}

.record-copy p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 14px;
}

.record-copy p:last-child {
  margin-bottom: 0;
}

.record-proof {
  display: grid;
  gap: 12px;
}

.proof-item {
  border: 1px solid var(--line);
  background: rgba(2, 3, 10, 0.38);
  border-radius: 18px;
  padding: 14px;
}

.proof-item span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.proof-item strong {
  color: #eaf3ff;
  font-size: 14px;
}

@media (max-width: 900px) {
  .experience-command-strip,
  .experience-stats,
  .record-grid {
    grid-template-columns: 1fr;
  }

  .record-top {
    flex-direction: column;
  }

  .record-date {
    text-align: left;
    width: 100%;
  }

  .experience-record {
    margin-left: 32px;
  }

  .experience-timeline::before {
    left: 13px;
  }

  .experience-record::before {
    left: -28px;
  }
}

.terminal-output {
  scrollbar-width: thin;
  scrollbar-color: rgba(127, 255, 212, 0.55) rgba(2, 6, 14, 0.9);
}

.terminal-output::-webkit-scrollbar {
  width: 10px;
}

.terminal-output::-webkit-scrollbar-track {
  background: rgba(2, 6, 14, 0.9);
  border-radius: 999px;
}

.terminal-output::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(119, 167, 255, 0.65), rgba(127, 255, 212, 0.65));
  border-radius: 999px;
  border: 2px solid rgba(2, 6, 14, 0.9);
}

.terminal-output::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(119, 167, 255, 0.9), rgba(127, 255, 212, 0.9));
}
