:root {
  --bg: #04080e;
  --bg-alt: #07131d;
  --panel: rgba(8, 22, 34, 0.72);
  --panel-strong: rgba(4, 12, 18, 0.9);
  --panel-soft: rgba(8, 34, 48, 0.58);
  --border: rgba(0, 246, 255, 0.24);
  --border-strong: rgba(116, 255, 122, 0.32);
  --line: rgba(255, 255, 255, 0.06);
  --text: #edfaff;
  --text-soft: rgba(237, 250, 255, 0.76);
  --text-dim: rgba(237, 250, 255, 0.48);
  --cyan: #00f6ff;
  --cyan-soft: rgba(0, 246, 255, 0.18);
  --green: #74ff7a;
  --green-soft: rgba(116, 255, 122, 0.16);
  --blue: #5db8ff;
  --danger: #ff6f91;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.48);
  --radius: 24px;
  --radius-sm: 18px;
  --max-width: 1320px;
  --mono: "JetBrains Mono", "IBM Plex Mono", "Fira Code", "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(0, 246, 255, 0.12), transparent 30%),
    radial-gradient(circle at bottom left, rgba(116, 255, 122, 0.12), transparent 24%),
    linear-gradient(180deg, #03060a 0%, #07131d 52%, #03070e 100%);
  color: var(--text);
  font-family: var(--mono);
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
}

.network-canvas,
.grid-overlay,
.scanlines,
.glow-orb {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.network-canvas {
  width: 100%;
  height: 100%;
  opacity: 0.55;
  z-index: 0;
}

.grid-overlay {
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0.2));
}

.scanlines {
  z-index: 4;
  opacity: 0.1;
  background-image: linear-gradient(transparent 0, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
  background-size: 100% 5px;
  mix-blend-mode: screen;
}

.glow-orb {
  z-index: 1;
  filter: blur(72px);
}

.orb-one {
  inset: auto auto 18% 2%;
  width: 260px;
  height: 260px;
  background: rgba(0, 246, 255, 0.16);
}

.orb-two {
  inset: 8% 7% auto auto;
  width: 300px;
  height: 300px;
  background: rgba(116, 255, 122, 0.14);
}

.boot-screen,
.app-shell,
.vault-overlay {
  position: relative;
  z-index: 5;
}

.boot-screen {
  display: none;
}

.js .boot-screen {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  background: rgba(2, 6, 11, 0.82);
  backdrop-filter: blur(20px);
}

.boot-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.boot-panel,
.topbar,
.module,
.subpanel,
.hero-panel,
.vault-panel,
.terminal-shell,
.vault-dialog {
  background: linear-gradient(180deg, rgba(10, 24, 35, 0.82), rgba(4, 12, 18, 0.78));
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  backdrop-filter: blur(18px);
}

.boot-panel {
  width: min(100%, 760px);
  padding: 32px;
  border-radius: 30px;
}

.boot-kicker,
.kicker,
.panel-id,
.clock-label,
.module-tag,
.subpanel-title,
.chart-labels,
.project-tech,
.award-meta,
.language-level,
.demo-status,
.credential-meta,
.credential-issuer,
.vault-helper,
.credential-hint {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--text-dim);
}

.boot-title,
.brand-title,
.module-head h2,
.hero-title,
.vault-title,
.vault-overlay-title,
.identity-name,
.project-card h3,
.demo-card h3,
.credential-card h3,
.recognition-card h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.boot-title {
  margin-top: 8px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.boot-console,
.vault-lines {
  margin-top: 28px;
  min-height: 162px;
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(0, 246, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(3, 10, 15, 0.88);
  overflow: auto;
}

.boot-line,
.vault-line {
  color: var(--text-soft);
  opacity: 0;
  transform: translateY(8px);
  animation: line-in 0.45s ease forwards;
}

.boot-line::before,
.vault-line::before {
  content: ">";
  margin-right: 10px;
  color: var(--green);
}

.boot-progress {
  height: 12px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.boot-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  box-shadow: 0 0 30px rgba(0, 246, 255, 0.38);
  transition: width 0.32s ease;
}

.boot-status {
  margin: 16px 0 20px;
  color: var(--text-soft);
}

.ghost-button,
.primary-button,
.shortcut-card,
.project-link,
.demo-button,
.contact-link,
.lang-button,
.credential-card {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  cursor: pointer;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background-color 0.24s ease,
    border-color 0.24s ease;
}

.ghost-button,
.project-link,
.demo-button,
.contact-link,
.lang-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

.ghost-button:hover,
.ghost-button:focus-visible,
.project-link:hover,
.project-link:focus-visible,
.demo-button:hover,
.demo-button:focus-visible,
.contact-link:hover,
.contact-link:focus-visible,
.lang-button:hover,
.lang-button:focus-visible,
.credential-card:hover,
.credential-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(0, 246, 255, 0.18), 0 0 32px rgba(0, 246, 255, 0.12);
}

.primary-button {
  color: #041017;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 12px 30px rgba(0, 246, 255, 0.18);
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 42px rgba(0, 246, 255, 0.26);
}

.lang-button {
  min-width: 58px;
  padding-inline: 0.95rem;
}

.lang-button.is-active {
  color: #041017;
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 10px 24px rgba(0, 246, 255, 0.18);
}

.skip-boot,
.overlay-close {
  min-width: 150px;
}

.app-shell {
  padding: 24px;
}

.js .app-shell.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.app-shell.is-ready {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.6s ease;
}

.topbar {
  width: min(100%, var(--max-width));
  margin: 0 auto 24px;
  border-radius: 28px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  position: sticky;
  top: 18px;
  z-index: 20;
}

.brand-lockup,
.control-cluster,
.status-cluster,
.hero-contact-row,
.hero-actions,
.contact-grid,
.language-switch,
.hero-stack {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-lockup {
  gap: 16px;
}

.brand-badge {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(116, 255, 122, 0.42);
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 246, 255, 0.55), transparent 42%),
    linear-gradient(135deg, rgba(0, 246, 255, 0.12), rgba(116, 255, 122, 0.2));
  box-shadow: 0 0 30px rgba(0, 246, 255, 0.22);
}

.system-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.system-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  border: 1px solid transparent;
}

.system-nav a:hover,
.system-nav a:focus-visible,
.system-nav a.is-active {
  color: var(--text);
  border-color: rgba(0, 246, 255, 0.34);
  background: rgba(0, 246, 255, 0.08);
  box-shadow: 0 0 24px rgba(0, 246, 255, 0.12);
}

.control-cluster {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.language-switch {
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.status-cluster {
  flex-wrap: wrap;
}

.status-chip,
.clock-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.03);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(116, 255, 122, 0.1), 0 0 24px rgba(116, 255, 122, 0.35);
  animation: pulse 2.4s ease infinite;
}

.clock-panel {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.dashboard {
  width: min(100%, var(--max-width));
  margin: 0 auto 64px;
  display: grid;
  gap: 24px;
}

.module {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 28px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.module::before,
.module::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(0, 246, 255, 0.24);
  width: 18px;
  height: 18px;
}

.module::before {
  top: 14px;
  right: 14px;
  border-left: 0;
  border-bottom: 0;
}

.module::after {
  bottom: 14px;
  left: 14px;
  border-top: 0;
  border-right: 0;
}

.module:hover,
.hero-panel:hover,
.vault-panel:hover,
.recognition-card:hover,
.project-card:hover,
.demo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 246, 255, 0.18) inset, 0 0 32px rgba(0, 246, 255, 0.08);
}

.hero-section {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: start;
}

.hero-title {
  max-width: 13ch;
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  margin-top: 8px;
}

.hero-text,
.identity-summary,
.snapshot-list,
.language-copy p,
.terminal-output,
.skill-bars,
.project-card p,
.demo-card p,
.credential-card p,
.recognition-card p,
.vault-text,
.credential-hint {
  color: var(--text-soft);
  line-height: 1.72;
}

.hero-text {
  max-width: 62ch;
  margin: 18px 0 0;
}

.hero-typing {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 28px;
  color: var(--green);
}

.prompt {
  color: var(--cyan);
}

.hero-contact-row,
.hero-actions {
  margin-top: 22px;
  flex-wrap: wrap;
}

.hero-contact-row .contact-link {
  padding-block: 0.65rem;
}

.hero-stack {
  flex-direction: column;
}

.hero-panel,
.vault-panel {
  width: 100%;
  padding: 22px;
  border-radius: 24px;
}

.vault-panel {
  align-self: stretch;
}

.vault-title {
  margin-top: 12px;
  font-size: clamp(1.4rem, 2vw, 1.95rem);
}

.vault-text {
  margin: 16px 0 0;
}

.vault-button {
  margin-top: 20px;
  width: 100%;
}

.vault-helper {
  margin: 14px 0 0;
}

.panel-topline,
.module-head,
.language-head,
.project-footer,
.demo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.metric-strip,
.shortcut-grid,
.skill-bars,
.terminal-log,
.project-grid,
.demo-grid,
.recognition-grid,
.language-list,
.award-grid {
  display: grid;
  gap: 16px;
}

.metric-strip {
  margin-top: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.metric-progress,
.language-track,
.skill-track {
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.metric-progress {
  height: 6px;
  margin-top: 12px;
}

.metric-progress span,
.language-track span,
.skill-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  box-shadow: 0 0 18px rgba(0, 246, 255, 0.34);
}

.signal-chart {
  margin-top: 24px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(0, 246, 255, 0.12);
  background: rgba(3, 10, 15, 0.68);
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.signal-chart svg,
.radar-chart {
  display: block;
  width: 100%;
  height: auto;
}

.signal-fill {
  fill: rgba(0, 246, 255, 0.1);
}

.signal-line {
  fill: none;
  stroke: url(#signalGradient);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 920;
  stroke-dashoffset: 920;
  animation: draw-line 3.5s ease infinite;
}

.shortcut-grid {
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shortcut-card,
.credential-card {
  min-height: 160px;
  padding: 20px;
  border-radius: 22px;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 246, 255, 0.04)),
    rgba(255, 255, 255, 0.02);
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.shortcut-card strong,
.project-card h3,
.demo-card h3,
.credential-card h3,
.recognition-card h3,
.identity-name {
  font-size: 1.08rem;
  line-height: 1.35;
}

.info-card {
  display: grid;
  gap: 22px;
}

.identity-layout,
.skills-layout,
.languages-layout {
  display: grid;
  gap: 22px;
}

.identity-layout {
  grid-template-columns: 1.05fr 0.95fr;
}

.identity-profile {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.avatar-shell {
  width: 132px;
  aspect-ratio: 1;
  border-radius: 28px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 246, 255, 0.28);
  background:
    linear-gradient(145deg, rgba(0, 246, 255, 0.24), rgba(116, 255, 122, 0.14)),
    rgba(255, 255, 255, 0.02);
  display: grid;
  place-items: center;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 26px rgba(0, 246, 255, 0.14);
}

.identity-title {
  margin-top: 10px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.identity-summary {
  margin-top: 16px;
  max-width: 58ch;
}

.expertise-block {
  display: grid;
  gap: 18px;
}

.subpanel {
  padding: 18px;
  border-radius: 22px;
}

.chip-grid,
.matrix-tags,
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip,
.matrix-tag {
  border-radius: 999px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.contact-link {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.snapshot-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.snapshot-list li,
.terminal-line,
.log-entry,
.language-row {
  position: relative;
  padding-left: 16px;
}

.snapshot-list li::before,
.terminal-line::before,
.log-entry::before,
.language-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 10px rgba(116, 255, 122, 0.6);
}

.skills-layout {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
}

.skill-row {
  display: grid;
  gap: 10px;
}

.skill-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.skill-track {
  height: 11px;
}

.skills-visual {
  display: grid;
  gap: 18px;
}

.radar-wrap {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.radar-grid {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.radar-axis {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1;
}

.radar-fill {
  fill: rgba(0, 246, 255, 0.18);
  stroke: var(--cyan);
  stroke-width: 2;
}

.radar-node {
  fill: var(--green);
  stroke: rgba(3, 10, 15, 0.8);
  stroke-width: 2;
}

.radar-label {
  fill: var(--text-soft);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.log-entry {
  padding: 18px 18px 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.log-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.credential-marquee {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 12px;
  border-radius: 22px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 246, 255, 0.32) transparent;
  cursor: grab;
  touch-action: pan-x;
}

.credential-marquee:active {
  cursor: grabbing;
}

.credential-marquee::-webkit-scrollbar {
  height: 8px;
}

.credential-marquee::-webkit-scrollbar-thumb {
  background: rgba(0, 246, 255, 0.28);
  border-radius: 999px;
}

.credential-track {
  display: flex;
  gap: 18px;
  width: max-content;
}

.credential-card {
  min-width: 300px;
  max-width: 300px;
  min-height: 210px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.credential-card .credential-issuer {
  color: var(--green);
}

.credential-card .credential-meta {
  margin-top: auto;
}

.recognition-block {
  display: grid;
  gap: 16px;
}

.recognition-grid,
.project-grid,
.demo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.recognition-card,
.project-card,
.demo-card {
  position: relative;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 246, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.recognition-card::after,
.project-card::after,
.demo-card::after {
  content: "";
  position: absolute;
  inset: auto 20px 20px auto;
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

.project-visual {
  min-height: 148px;
  border-radius: 18px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 246, 255, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(5, 12, 18, 0.1), rgba(5, 12, 18, 0.6));
}

.visual-mesh {
  background:
    linear-gradient(135deg, rgba(0, 246, 255, 0.24), rgba(7, 19, 29, 0.2)),
    radial-gradient(circle at 20% 30%, rgba(0, 246, 255, 0.24), transparent 24%),
    radial-gradient(circle at 70% 65%, rgba(116, 255, 122, 0.2), transparent 22%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05) 0,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px,
      transparent 18px
    );
}

.visual-grid {
  background:
    linear-gradient(135deg, rgba(116, 255, 122, 0.18), rgba(7, 19, 29, 0.18)),
    radial-gradient(circle at 70% 26%, rgba(0, 246, 255, 0.24), transparent 24%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, auto, 18px 18px, 18px 18px;
}

.visual-wave {
  background:
    linear-gradient(135deg, rgba(0, 246, 255, 0.2), rgba(93, 184, 255, 0.18)),
    radial-gradient(circle at 20% 70%, rgba(116, 255, 122, 0.18), transparent 24%);
}

.visual-lattice {
  background:
    linear-gradient(135deg, rgba(93, 184, 255, 0.18), rgba(7, 19, 29, 0.24)),
    radial-gradient(circle at 80% 20%, rgba(0, 246, 255, 0.26), transparent 20%),
    radial-gradient(circle at 24% 76%, rgba(116, 255, 122, 0.18), transparent 24%);
}

.demo-lab {
  background:
    linear-gradient(180deg, rgba(10, 24, 35, 0.86), rgba(4, 12, 18, 0.84)),
    radial-gradient(circle at top right, rgba(116, 255, 122, 0.08), transparent 30%);
}

.languages-layout {
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
}

.globe-panel {
  min-height: 340px;
  border-radius: 28px;
  position: relative;
  background:
    radial-gradient(circle at center, rgba(0, 246, 255, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 246, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.globe-core {
  position: absolute;
  inset: 20% 20%;
  border-radius: 999px;
  border: 1px solid rgba(0, 246, 255, 0.24);
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 246, 255, 0.22), transparent 30%),
    radial-gradient(circle at 70% 65%, rgba(116, 255, 122, 0.14), transparent 26%);
  box-shadow: inset 0 0 32px rgba(0, 246, 255, 0.08), 0 0 38px rgba(0, 246, 255, 0.1);
}

.globe-ring {
  position: absolute;
  inset: 12% 14%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ring-b {
  inset: 22% 10%;
}

.globe-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(116, 255, 122, 0.08), 0 0 20px rgba(116, 255, 122, 0.3);
}

.node-a {
  top: 30%;
  left: 32%;
}

.node-b {
  top: 48%;
  right: 28%;
}

.node-c {
  bottom: 24%;
  left: 46%;
}

.language-row {
  padding: 16px 18px 16px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.language-track {
  height: 10px;
}

.terminal-shell {
  padding: 22px;
  border-radius: 22px;
}

.terminal-output {
  min-height: 220px;
  max-height: 360px;
  overflow: auto;
  display: grid;
  gap: 12px;
  padding-right: 8px;
}

.terminal-form {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.terminal-form input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  outline: none;
}

.terminal-line strong {
  color: var(--green);
}

.vault-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(1, 5, 10, 0.8);
  backdrop-filter: blur(18px);
}

.vault-overlay[hidden] {
  display: none;
}

.vault-dialog {
  width: min(100%, 760px);
  padding: 28px;
  border-radius: 28px;
}

.overlay-close {
  min-width: 110px;
}

.vault-overlay-title {
  margin-top: 12px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.vault-progress {
  margin-top: 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.noscript-banner {
  position: fixed;
  inset: auto 16px 16px 16px;
  z-index: 50;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 12, 18, 0.94);
  color: var(--text-soft);
}

:focus-visible {
  outline: 2px solid rgba(116, 255, 122, 0.75);
  outline-offset: 3px;
}

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

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

@keyframes draw-line {
  0% {
    stroke-dashoffset: 920;
  }

  25%,
  100% {
    stroke-dashoffset: 0;
  }
}

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

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

@media (max-width: 1200px) {
  .topbar,
  .hero-section,
  .identity-layout,
  .skills-layout,
  .languages-layout {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
  }

  .control-cluster {
    justify-content: flex-start;
  }

  .shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recognition-grid,
  .project-grid,
  .demo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .app-shell {
    padding: 16px;
  }

  .topbar,
  .module,
  .boot-panel,
  .vault-dialog {
    padding: 22px;
    border-radius: 24px;
  }

  .metric-strip,
  .shortcut-grid,
  .recognition-grid,
  .project-grid,
  .demo-grid {
    grid-template-columns: 1fr;
  }

  .system-nav,
  .hero-actions,
  .hero-contact-row,
  .contact-grid,
  .status-cluster,
  .control-cluster {
    justify-content: flex-start;
  }

  .identity-profile {
    flex-direction: column;
  }

  .avatar-shell {
    width: 110px;
  }

  .hero-title {
    max-width: none;
  }

  .hero-actions > *,
  .hero-contact-row > *,
  .contact-grid > * {
    width: 100%;
  }

  .credential-card {
    min-width: 270px;
    max-width: 270px;
  }
}

@media (max-width: 560px) {
  .system-nav a,
  .lang-button,
  .status-chip,
  .clock-panel,
  .contact-link,
  .ghost-button,
  .primary-button,
  .project-link,
  .demo-button {
    width: 100%;
  }

  .module-head,
  .panel-topline,
  .language-head,
  .project-footer,
  .demo-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .terminal-form {
    flex-direction: column;
    align-items: stretch;
  }

  .terminal-form .prompt {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.brand-badge,
.status-chip {
  appearance: none;
}

.brand-badge {
  padding: 0;
  cursor: pointer;
}

.brand-badge:hover,
.brand-badge:focus-visible {
  transform: translateY(-2px) rotate(-4deg);
  box-shadow: 0 0 0 1px rgba(0, 246, 255, 0.22), 0 0 32px rgba(0, 246, 255, 0.2);
}

.status-chip {
  cursor: pointer;
  text-align: left;
}

.status-chip:hover,
.status-chip:focus-visible {
  border-color: rgba(0, 246, 255, 0.34);
  box-shadow: 0 0 0 1px rgba(0, 246, 255, 0.18), 0 0 24px rgba(0, 246, 255, 0.12);
}

.signal-chart {
  overflow: hidden;
}

.attack-map {
  position: relative;
  min-height: 270px;
  border-radius: 20px;
  border: 1px solid rgba(0, 246, 255, 0.12);
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 246, 255, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(2, 8, 12, 0.74), rgba(3, 10, 15, 0.92));
  overflow: hidden;
}

.attack-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 35%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 22px 22px, 22px 22px;
  pointer-events: none;
}

.attack-map-canvas {
  display: block;
  width: 100%;
  height: 270px;
}

.attack-map-readout {
  position: absolute;
  inset: auto 16px 16px 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  z-index: 1;
}

.attack-map-pill,
.hud-pill {
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 12, 18, 0.74);
  backdrop-filter: blur(12px);
}

.attack-map-pill {
  display: grid;
  gap: 4px;
}

.attack-map-pill strong,
.hud-pill strong {
  font-size: 1rem;
  color: var(--text);
}

.attack-map-pill span,
.hud-pill span {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--text-dim);
}

.matrix-overlay,
.game-overlay {
  position: fixed;
  inset: 0;
}

.matrix-overlay {
  z-index: 48;
  background: rgba(2, 7, 12, 0.04);
  pointer-events: none;
}

.matrix-overlay[hidden],
.game-overlay[hidden] {
  display: none;
}

.matrix-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.game-overlay {
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(1, 5, 10, 0.84);
  backdrop-filter: blur(18px);
}

.game-dialog {
  width: min(100%, 920px);
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(10, 24, 35, 0.92), rgba(4, 12, 18, 0.9));
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  backdrop-filter: blur(20px);
}

.game-head {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.game-stage {
  position: relative;
  margin-top: 18px;
  touch-action: none;
  user-select: none;
}

.game-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 19 / 12;
  border-radius: 22px;
  border: 1px solid rgba(0, 246, 255, 0.16);
  background: rgba(2, 8, 12, 0.94);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 0 30px rgba(0, 246, 255, 0.08);
  touch-action: none;
}

.game-message {
  position: absolute;
  inset: auto 24px 24px 24px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(116, 255, 122, 0.32);
  background: rgba(4, 12, 18, 0.94);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
  box-shadow: 0 0 38px rgba(116, 255, 122, 0.18);
}

.game-message.is-visible {
  animation: game-message-in 0.55s ease both;
}

.game-hud {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hud-pill {
  display: grid;
  gap: 6px;
}

.game-touch-controls {
  display: none !important;
  margin-top: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.game-control {
  width: 100%;
  min-height: 52px;
}

.game-fire {
  justify-self: center;
}

@keyframes game-message-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.95);
  }

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

@media (max-width: 860px) {
  .attack-map {
    min-height: 238px;
  }

  .attack-map-canvas {
    height: 238px;
  }

  .attack-map-readout {
    position: static;
    margin: 0 16px 16px;
    grid-template-columns: 1fr;
  }

  .game-dialog {
    padding: 22px;
    border-radius: 24px;
  }

  .game-hud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .attack-map {
    min-height: 212px;
  }

  .attack-map-canvas {
    height: 212px;
  }

  .game-overlay {
    padding: 16px;
  }

  .game-hud,
  .game-touch-controls {
    grid-template-columns: 1fr;
  }

  .game-message {
    inset: auto 16px 16px 16px;
    padding: 16px;
  }
}
