@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap");
:root {
  --neon-cyan: #00ffff;
  --neon-pink: #ff00ff;
  --neon-orange: #ff6600;
  --neon-green: #34d399;
  --neon-red: #ff0040;
  --cyber-red: #e60026;
  --dark-bg: #070707;
  --darker-bg: #050505;
  --grid-color: #1a1a2e;
  --text-primary: rgba(255, 255, 255, 0.82);
  --text-secondary: rgba(255, 255, 255, 0.55);
  --cyber-gray: rgba(255, 255, 255, 0.38);
  --light-gray: rgba(255, 255, 255, 0.72);
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.07);
  --red-glass-bg: rgba(255, 0, 64, 0.04);
  --red-glass-border: rgba(255, 0, 64, 0.16);
  --hairline: rgba(255, 0, 64, 0.22);
  --hairline-soft: rgba(255, 255, 255, 0.07);
  --panel-bg: linear-gradient(
      180deg,
      rgba(18, 6, 9, 0.55) 0%,
      rgba(8, 5, 6, 0.62) 100%
  );
  --notch: 18px;
  --font-display: "Rajdhani", "Fira Code", monospace;
  --font-data: "Fira Code", "Space Mono", monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Fira Code", "Courier New", "Monaco", monospace;
  background: var(--dark-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  font-weight: 400;
  letter-spacing: 1px;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 0, 64, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 0, 64, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: grid-move 24s linear infinite;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0px, rgba(0, 0, 0, 0.18) 1px, transparent 1px, transparent 3px), radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 999;
  pointer-events: none;
}

@keyframes grid-move {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(64px);
  }
}
main {
  min-height: 100vh;
  padding: 2rem;
  position: relative;
}

.neon-glow {
  animation: neon-flicker 2s ease-in-out infinite alternate;
}

@keyframes neon-flicker {
  0%, 100% {
    text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 15px currentColor, 0 0 20px var(--neon-red);
  }
  50% {
    text-shadow: 0 0 2px currentColor, 0 0 5px currentColor, 0 0 8px currentColor, 0 0 12px var(--neon-red);
  }
}
.glitch {
  position: relative;
  animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch::before {
  animation: glitch-1 0.5s infinite;
  color: var(--neon-pink);
  z-index: -1;
}

.glitch::after {
  animation: glitch-2 0.5s infinite;
  color: var(--neon-cyan);
  z-index: -2;
}

@keyframes glitch {
  0%, 90%, 100% {
    transform: translate(0);
  }
  95% {
    transform: translate(2px, 0);
  }
}
@keyframes glitch-1 {
  0%, 90%, 100% {
    transform: translate(0);
  }
  95% {
    transform: translate(-2px, 0);
  }
}
@keyframes glitch-2 {
  0%, 90%, 100% {
    transform: translate(0);
  }
  95% {
    transform: translate(2px, 2px);
  }
}
.glass-card {
  background: var(--panel-bg);
  backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid var(--hairline);
  border-radius: 0;
  padding: 2.5rem 2.75rem;
  margin: 1.5rem 0;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: visible;
  clip-path: polygon(var(--notch) 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%, 0 var(--notch));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.glass-card:hover {
  border-color: rgba(255, 0, 64, 0.45);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 50px rgba(255, 0, 64, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.glass-card::before,
.glass-card::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.glass-card::before {
  top: 9px;
  right: 9px;
  border-top: 1px solid var(--neon-red);
  border-right: 1px solid var(--neon-red);
}

.glass-card::after {
  bottom: 9px;
  left: 9px;
  border-bottom: 1px solid var(--neon-red);
  border-left: 1px solid var(--neon-red);
}

.glass-card:hover::before,
.glass-card:hover::after {
  opacity: 1;
}

header.glass-card {
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  padding: 3rem 2.75rem 2.5rem;
}

.header-eyebrow {
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  text-align: center;
  color: var(--neon-red);
  opacity: 0.7;
  margin-bottom: 1.25rem;
}

header.glass-card h2 {
  font-family: var(--font-data);
  font-size: clamp(0.72rem, 1.5vw, 0.9rem);
  font-weight: 400;
  text-align: center;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  padding-bottom: 0;
  margin-bottom: 0;
  text-shadow: none;
  border: 0;
  border-image: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.2rem, 7vw, 4rem);
  line-height: 1;
  color: #fff;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.6), 0 0 18px rgba(255, 0, 64, 0.45), 0 0 42px rgba(255, 0, 64, 0.22);
  animation: red-title-glow 6s ease-in-out infinite;
}

@keyframes red-title-glow {
  0%, 100% {
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.6), 0 0 18px rgba(255, 0, 64, 0.45), 0 0 42px rgba(255, 0, 64, 0.22);
  }
  50% {
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.7), 0 0 22px rgba(255, 0, 64, 0.58), 0 0 56px rgba(255, 0, 64, 0.3);
  }
}
h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  position: relative;
  text-shadow: 0 0 24px rgba(255, 0, 64, 0.35);
  display: block;
  border: 0 solid transparent;
  border-bottom-width: 1px;
  border-image: linear-gradient(90deg, rgba(255, 0, 64, 0.45) 0%, rgba(255, 0, 64, 0.18) 45%, transparent 100%) 1;
}

h3 {
  font-size: 1.3rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  margin-bottom: 0.6rem;
}

p,
li {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
}

.skill-bar {
  background: rgba(255, 255, 255, 0.06);
  height: 3px;
  border-radius: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  position: relative;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 0, 64, 0.55), var(--neon-red));
  border-radius: 0;
  position: relative;
  box-shadow: 0 0 12px rgba(255, 0, 64, 0.45);
}

.cyber-button {
  background: rgba(255, 0, 64, 0.05);
  border: 1px solid rgba(255, 0, 64, 0.5);
  color: var(--neon-red);
  padding: 0.85rem 2.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.cyber-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--neon-red);
  transition: left 0.3s;
  z-index: -1;
}

.cyber-button:hover::before {
  left: 0;
}

.cyber-button:hover {
  color: #0a0a0a;
  border-color: var(--neon-red);
  box-shadow: 0 0 24px rgba(255, 0, 64, 0.35), 0 0 60px rgba(255, 0, 64, 0.15);
}

.cyber-button:focus-visible {
  outline: 1px solid var(--neon-red);
  outline-offset: 4px;
}

.nav-menu {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  display: flex;
  gap: 0;
  background: rgba(7, 5, 6, 0.82);
  backdrop-filter: blur(14px);
  padding: 0;
  border-radius: 0;
  border: 1px solid var(--hairline);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.nav-item {
  background: transparent;
  backdrop-filter: none;
  border: none;
  border-right: 1px solid var(--hairline-soft);
  padding: 0.85rem 1.35rem;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease;
  font-family: var(--font-data);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  font-weight: 400;
  position: relative;
}

.nav-item:last-child {
  border-right: none;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--neon-red);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-item:hover {
  border-color: var(--hairline-soft);
  box-shadow: none;
  background: rgba(255, 0, 64, 0.05);
  color: #fff;
}

.nav-item:hover::after {
  transform: scaleX(1);
}

.terminal {
  background: #050505;
  border: 1px solid rgba(255, 0, 64, 0.22);
  border-radius: 0;
  padding: 1.5rem;
  font-family: var(--font-data);
  font-size: 0.95rem;
  line-height: 1.85;
  position: relative;
  margin: 1.75rem 0 0;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.6);
}

.terminal::before {
  content: none;
}

.terminal-header {
  background: rgba(255, 0, 64, 0.05);
  color: rgba(255, 255, 255, 0.42);
  padding: 0.7rem 1.5rem;
  margin: -1.5rem -1.5rem 1.25rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(255, 0, 64, 0.18);
}

.terminal p {
  font-family: var(--font-data);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  line-height: 1.85;
  margin-bottom: 0.2rem;
}

.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.35rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(to bottom, rgba(255, 0, 64, 0.5), rgba(255, 255, 255, 0.05));
  box-shadow: none;
}

.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
}

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

.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-2rem - 2px);
  top: 0.55rem;
  width: 5px;
  height: 5px;
  background: var(--neon-red);
  border-radius: 0;
  box-shadow: 0 0 10px var(--neon-red);
}

.contact-lead {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 2.5rem;
  font-size: 1.35rem;
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(21rem, 1fr));
  gap: 1rem;
}

.contact-block {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.012);
  border: 1px solid var(--hairline-soft);
}

.contact-block--secure {
  background: rgba(255, 0, 64, 0.03);
  border-color: var(--hairline);
}

.contact-block-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--hairline-soft);
}

.contact-block-marker {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  background: var(--neon-red);
  box-shadow: 0 0 8px rgba(255, 0, 64, 0.6);
}

.contact-block-marker--open {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.contact-list {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--hairline-soft);
  transition: background 0.35s ease;
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-label {
  margin: 0;
  font-family: var(--font-data);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.contact-value {
  min-width: 0;
  font-family: var(--font-data);
  font-size: 0.88rem;
  color: var(--text-secondary);
  overflow-wrap: anywhere;
}
.contact-value p {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
.contact-value a {
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.contact-value a:hover {
  color: #fff;
  border-bottom-color: var(--neon-red);
}

.turnstile-widget {
  margin-top: 0.9rem;
  min-height: 65px;
}

.turnstile-widget.is-solved {
  display: none;
}

.pgp-fingerprint {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-family: var(--font-data);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.66);
  white-space: nowrap;
}

.contact-value a.pgp-download,
.pgp-download {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: var(--font-data);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-value a.pgp-download:hover,
.pgp-download:hover {
  color: var(--neon-green);
  border-bottom-color: rgba(52, 211, 153, 0.5);
}

.contact-pending {
  font-family: var(--font-data);
  color: rgba(255, 255, 255, 0.32);
  letter-spacing: 0.06em;
}

.contact-error {
  font-family: var(--font-data);
  color: var(--neon-red);
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.contact-hint {
  margin: 1.25rem 0 0;
  font-family: var(--font-data);
  font-size: 0.7rem;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.3);
}

.contact-open {
  margin-top: 2rem;
}

.engagement-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.engagement-tag {
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--hairline-soft);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.6);
  transition: border-color 0.35s ease, color 0.35s ease;
}

.engagement-tag:hover {
  border-color: rgba(255, 0, 64, 0.4);
  color: rgba(255, 255, 255, 0.9);
}

.decrypting-text {
  color: var(--neon-green);
  animation: decrypt-blink 0.15s steps(2) infinite;
  text-shadow: 0 0 5px var(--neon-green);
}

@keyframes decrypt-blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0.3;
  }
}
.contact-value a.email-link,
.email-link {
  color: var(--neon-green);
  text-decoration: none;
  border-bottom: 1px solid rgba(52, 211, 153, 0.35);
  transition: all 0.3s ease;
  text-shadow: 0 0 5px var(--neon-green);
}
.contact-value a.email-link:hover,
.email-link:hover {
  color: var(--neon-green);
  border-bottom-color: var(--neon-green);
  text-shadow: 0 0 10px var(--neon-green), 0 0 20px var(--neon-green);
}

@media (max-width: 768px) {
  main {
    padding: 1rem;
  }
  h1 {
    font-size: clamp(1.7rem, 9vw, 2.4rem);
    letter-spacing: 0.14em;
    text-indent: 0.14em;
  }
  h2 {
    font-size: 1.08rem;
    letter-spacing: 0.24em;
    text-indent: 0.24em;
  }
  .glass-card {
    padding: 1.75rem 1.25rem;
    --notch: 14px;
  }
  header.glass-card {
    padding: 2rem 1.25rem 1.75rem;
  }
  header.glass-card h2 {
    letter-spacing: 0.16em;
    text-indent: 0.16em;
    line-height: 1.9;
  }
  .header-eyebrow {
    letter-spacing: 0.3em;
    text-indent: 0.3em;
  }
  .nav-menu {
    top: auto;
    bottom: 1rem;
    right: 50%;
    transform: translateX(50%);
    flex-direction: row;
    gap: 0;
    padding: 0;
    max-width: 92%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-item {
    padding: 0.65rem 0.85rem;
    font-size: 0.64rem;
    letter-spacing: 0.16em;
    text-indent: 0.16em;
    white-space: nowrap;
  }
  .contact-channels {
    grid-template-columns: 1fr;
  }
  .contact-block {
    padding: 1.15rem 1.15rem 1.25rem;
  }
  .contact-lead {
    font-size: 1.15rem;
  }
  .skill-domains {
    grid-template-columns: 1fr;
  }
  .skill-domain {
    padding: 1.15rem 1.15rem 1.25rem;
  }
  .skill-tag {
    white-space: normal;
    font-size: 0.68rem;
  }
  .timeline {
    padding-left: 1.75rem;
  }
  .timeline-item::before {
    left: calc(-1.25rem - 2px);
  }
  .terminal,
  .terminal-red {
    padding: 1.15rem;
    font-size: 0.84rem;
  }
  .terminal-header,
  .terminal-red-header {
    margin: -1.15rem -1.15rem 1rem;
    padding: 0.6rem 1.15rem;
    font-size: 0.72rem;
  }
  .terminal p {
    font-size: 0.84rem;
  }
  .cyber-button {
    letter-spacing: 0.22em;
    text-indent: 0.22em;
    padding: 0.8rem 1.25rem;
    font-size: 0.9rem;
  }
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 0, 64, 0.35);
  border-radius: 0;
  box-shadow: none;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 0, 64, 0.6);
  box-shadow: none;
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 0, 64, 0.35) transparent;
}

.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--glass-border);
  border-radius: 50%;
  border-top-color: var(--neon-red);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.matrix-text {
  font-family: "Courier New", monospace;
  color: var(--neon-green);
  animation: matrix-flicker 0.1s infinite linear;
}

@keyframes matrix-flicker {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
  }
}
.glass-card-red {
  background: var(--red-glass-bg);
  backdrop-filter: blur(14px);
  border: 1px solid var(--red-glass-border);
  border-radius: 0;
  padding: 1.75rem 2rem;
  margin: 1.25rem 0;
  transition: border-color 0.35s ease, background 0.35s ease;
  position: relative;
  overflow: visible;
}

.glass-card-red:hover {
  border-color: rgba(255, 0, 64, 0.4);
  background: rgba(255, 0, 64, 0.06);
  box-shadow: none;
}

.gray-accent-box {
  background: rgba(255, 255, 255, 0.02);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.1rem 1.5rem;
  margin: 1.25rem 0;
  border-radius: 0;
  position: relative;
  color: var(--text-primary);
}

.gray-accent-box::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 1.35rem;
  width: 1px;
  height: 18px;
  background: var(--neon-red);
  border-radius: 0;
  box-shadow: 0 0 8px var(--neon-red);
}

.red-pulse {
  animation: red-pulse 2s infinite;
}

@keyframes red-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 64, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 0, 64, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 64, 0);
  }
}
.gray-highlight {
  background: linear-gradient(90deg, transparent, rgba(208, 208, 208, 0.2), transparent);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: var(--light-gray);
  font-weight: 500;
}

.status-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.status-active {
  background: var(--neon-red);
  box-shadow: 0 0 6px var(--neon-red);
  animation: status-blink 1.5s ease-in-out infinite alternate;
}

.status-standby {
  background: var(--light-gray);
  box-shadow: 0 0 4px var(--light-gray);
}

.status-display .status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 0;
  margin-right: 0;
  background: var(--neon-red);
  box-shadow: 0 0 8px var(--neon-red);
  animation: status-blink 2.4s ease-in-out infinite alternate;
}

@keyframes status-blink {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0.4;
  }
}
.terminal-red {
  background: #0b0405;
  border: 1px solid rgba(255, 0, 64, 0.28);
  border-radius: 0;
  padding: 1.5rem;
  font-family: var(--font-data);
  font-size: 0.95rem;
  position: relative;
  margin: 1.5rem 0;
}

.terminal-red::before {
  content: none;
}

.terminal-red-header {
  background: rgba(255, 0, 64, 0.07);
  color: rgba(255, 255, 255, 0.5);
  padding: 0.7rem 1.5rem;
  margin: -1.5rem -1.5rem 1.25rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(255, 0, 64, 0.2);
}

.scan-line {
  position: relative;
  overflow: hidden;
}

.scan-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 64, 0.3), transparent);
  animation: scan 3s linear infinite;
}

@keyframes scan {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
.code-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--hairline-soft);
  border-radius: 0;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-data);
  font-size: 0.94rem;
  color: var(--text-primary);
  margin: 1.5rem 0;
  position: relative;
}

.code-block::before {
  content: attr(data-lang);
  position: absolute;
  top: -9px;
  left: 14px;
  background: #0a0506;
  color: rgba(255, 255, 255, 0.4);
  padding: 0 0.5rem;
  font-family: var(--font-data);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 0;
}

.achievement-category {
  margin: 2.5rem 0;
}
.achievement-category h3 {
  border-bottom: 1px solid var(--hairline-soft);
  padding-bottom: 0.85rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-data);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: rgba(255, 255, 255, 0.45);
}
.achievement-category h4 {
  font-family: var(--font-display);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.4rem;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.timeline-item h4 {
  color: var(--neon-red);
  margin-bottom: 0.3rem;
  font-size: 1.22rem;
}

.achievement-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 0, 64, 0.05);
  border: 1px solid rgba(255, 0, 64, 0.3);
  border-radius: 0;
  padding: 0.32rem 0.75rem;
  font-family: var(--font-data);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-red);
  margin-left: 1rem;
}

.gray-accent-box h4 {
  color: var(--neon-red);
  margin-bottom: 0.3rem;
}

.gray-accent-box p {
  color: var(--text-secondary);
}

.skill-domains {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(23rem, 1fr));
  gap: 1px;
  background: var(--hairline-soft);
  border: 1px solid var(--hairline-soft);
  margin-bottom: 2.5rem;
}

.skill-domain {
  background: #0a0506;
  padding: 1.35rem 1.5rem 1.5rem;
  transition: background 0.35s ease;
}

.skill-domain:hover {
  background: rgba(255, 0, 64, 0.035);
}

.skill-domain-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--hairline-soft);
}

.skill-domain-index {
  font-family: var(--font-data);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--neon-red);
  opacity: 0.65;
}

.skill-domain h3 {
  margin: 0;
  font-family: var(--font-data);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-indent: 0.26em;
  color: rgba(255, 255, 255, 0.62);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.skill-tag {
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.32rem 0.6rem;
  border: 1px solid var(--hairline-soft);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.58);
  white-space: nowrap;
}

.skill-tag--lead {
  border-color: rgba(255, 0, 64, 0.45);
  background: rgba(255, 0, 64, 0.08);
  color: rgba(255, 255, 255, 0.92);
}

.stack-group + .stack-group {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 0, 64, 0.12);
}

.stack-group-title {
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--neon-red);
  margin: 0 0 0.75rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.skill-item {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--hairline-soft);
  border-radius: 0;
  padding: 1.15rem 1.25rem;
  transition: border-color 0.35s ease, background 0.35s ease;
}

.skill-item:hover {
  border-color: rgba(255, 0, 64, 0.4);
  background: rgba(255, 0, 64, 0.04);
  box-shadow: none;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
  font-family: var(--font-data);
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.skill-level {
  font-family: var(--font-data);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.38);
}

body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: radial-gradient(ellipse at 50% 40%, rgba(255, 0, 64, 0.06) 0%, transparent 60%), linear-gradient(180deg, #070707 0%, #0d0507 50%, #050505 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 2rem 1rem;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.login-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 0, 64, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 0, 64, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: deck-lattice 24s linear infinite;
  pointer-events: none;
}

.login-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0px, rgba(0, 0, 0, 0.22) 1px, transparent 1px, transparent 3px), radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

@keyframes deck-lattice {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 0 64px, 0 64px;
  }
}
@keyframes startup-fade-in {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes background-pulse {
  0% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.7;
  }
}
.login-modal {
  background: linear-gradient(180deg, rgba(18, 6, 9, 0.92) 0%, rgba(8, 5, 6, 0.94) 100%);
  backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(255, 0, 64, 0.42);
  border-radius: 0;
  padding: 2rem 2.75rem 1.75rem;
  width: 95%;
  max-width: 660px;
  margin: auto;
  animation: startup-modal-enter 0.9s cubic-bezier(0.16, 0.84, 0.44, 1);
  box-shadow: 0 0 0 1px rgba(255, 0, 64, 0.08), 0 24px 80px rgba(0, 0, 0, 0.75), 0 0 60px rgba(255, 0, 64, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
  position: relative;
  z-index: 2;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 0, 64, 0.5) transparent;
  touch-action: pan-y;
  overscroll-behavior: contain;
}

.login-modal::before,
.login-modal::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: var(--neon-red);
  opacity: 0.85;
  pointer-events: none;
}

.login-modal::before {
  top: 10px;
  right: 10px;
  border-top: 1px solid var(--neon-red);
  border-right: 1px solid var(--neon-red);
}

.login-modal::after {
  bottom: 10px;
  left: 10px;
  border-bottom: 1px solid var(--neon-red);
  border-left: 1px solid var(--neon-red);
}

.deck-rail {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 0, 64, 0.18);
  font-family: "Fira Code", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  flex-wrap: wrap;
}

.rail-cell {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 0;
}

.rail-cell--wide {
  flex: 1;
  justify-content: flex-start;
}

.rail-key {
  color: rgba(255, 255, 255, 0.32);
}

.rail-val {
  color: var(--light-gray);
  letter-spacing: 0.08em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rail-signal {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 12px;
  margin-left: auto;
}

.rail-signal i {
  display: block;
  width: 3px;
  background: var(--neon-red);
  opacity: 0.85;
  animation: signal-idle 2.4s ease-in-out infinite;
}

.rail-signal i:nth-child(1) {
  height: 4px;
  animation-delay: 0s;
}

.rail-signal i:nth-child(2) {
  height: 7px;
  animation-delay: 0.2s;
}

.rail-signal i:nth-child(3) {
  height: 10px;
  animation-delay: 0.4s;
}

.rail-signal i:nth-child(4) {
  height: 12px;
  opacity: 0.25;
  animation-delay: 0.6s;
}

@keyframes signal-idle {
  0%, 100% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.9;
  }
}
.login-modal::-webkit-scrollbar {
  width: 8px;
}

.login-modal::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.login-modal::-webkit-scrollbar-thumb {
  background: var(--neon-red);
  border-radius: 4px;
  opacity: 0.7;
}

.login-modal::-webkit-scrollbar-thumb:hover {
  opacity: 1;
  background: var(--cyber-red);
}

@keyframes startup-modal-enter {
  0% {
    transform: translateY(100px) scale(0.9);
    opacity: 0;
  }
  50% {
    transform: translateY(-10px) scale(0.98);
    opacity: 0.8;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
.login-header {
  text-align: center;
  margin-bottom: 1.75rem;
  padding-bottom: 0;
  border-bottom: none;
  position: relative;
}

.login-eyebrow {
  font-family: "Fira Code", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: var(--neon-red);
  opacity: 0.75;
  margin-bottom: 1rem;
}

.login-header h3 {
  font-family: "Rajdhani", "Fira Code", monospace;
  font-size: clamp(2rem, 7vw, 3.1rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 0.85rem;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.6), 0 0 18px rgba(255, 0, 64, 0.45), 0 0 42px rgba(255, 0, 64, 0.22);
  animation: title-breathe 6s ease-in-out infinite;
}

.login-subtitle {
  font-family: "Fira Code", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.deck-divider {
  position: relative;
  height: 1px;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 64, 0.35) 20%, rgba(255, 0, 64, 0.35) 80%, transparent);
  overflow: hidden;
}

.deck-divider::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--neon-red), transparent);
  animation: divider-scan 5s ease-in-out infinite;
}

@keyframes divider-scan {
  0% {
    left: -30%;
  }
  60%, 100% {
    left: 100%;
  }
}
@keyframes title-breathe {
  0%, 100% {
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.6), 0 0 18px rgba(255, 0, 64, 0.45), 0 0 42px rgba(255, 0, 64, 0.22);
  }
  50% {
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.7), 0 0 22px rgba(255, 0, 64, 0.58), 0 0 56px rgba(255, 0, 64, 0.3);
  }
}
.close-button {
  background: none;
  border: 2px solid var(--cyber-red);
  color: var(--cyber-red);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.close-button:hover {
  background: var(--cyber-red);
  color: var(--dark-bg);
  box-shadow: 0 0 15px var(--cyber-red);
}

.login-content {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.access-panel {
  text-align: center;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  position: relative;
  overflow: visible;
}

.status-display {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 2rem;
  font-family: "Fira Code", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(255, 0, 64, 0.22);
  background: rgba(255, 0, 64, 0.04);
}

.access-readout {
  display: grid;
  gap: 0;
  margin: 0 0 1.5rem;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.readout-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: "Fira Code", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.readout-row dt {
  color: rgba(255, 255, 255, 0.3);
  min-width: 5.5rem;
}

.readout-row dd {
  margin: 0;
  color: var(--light-gray);
  text-align: right;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.access-note {
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

.access-warning {
  margin-top: 1.5rem;
  font-family: "Fira Code", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
}

.login-button {
  width: 100%;
  font-family: "Rajdhani", "Space Mono", monospace;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 1.05rem 3rem;
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  border: 1px solid rgba(255, 0, 64, 0.55);
  background: rgba(255, 0, 64, 0.06);
  box-shadow: none;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.login-button:hover {
  color: #0a0a0a;
  border-color: var(--neon-red);
  box-shadow: 0 0 24px rgba(255, 0, 64, 0.35), 0 0 60px rgba(255, 0, 64, 0.15);
}

.login-button:focus-visible {
  outline: 1px solid var(--neon-red);
  outline-offset: 4px;
}

.login-steps {
  min-height: 250px;
  padding: 1rem 0;
}

.login-steps p {
  opacity: 1;
  margin: 0.8rem 0;
  font-size: 1.1rem;
  animation: matrix-text-appear 0.5s ease-in-out;
}

@keyframes matrix-text-appear {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.terminal {
  background: #050505;
  border: 1px solid rgba(255, 0, 64, 0.3);
  box-shadow: 0 0 30px rgba(255, 0, 64, 0.08), inset 0 0 40px rgba(0, 0, 0, 0.6);
}

.login-modal .terminal {
  padding: 1.5rem;
}

.login-modal .terminal-header {
  background: rgba(255, 0, 64, 0.05);
  color: rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid rgba(255, 0, 64, 0.18);
  margin: -1.5rem -1.5rem 1.25rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .login-overlay {
    align-items: flex-start;
    padding: 0.5rem;
    padding-top: env(safe-area-inset-top, 0.5rem);
    padding-bottom: env(safe-area-inset-bottom, 0.5rem);
  }
  .login-modal {
    width: calc(100% - 1rem);
    padding: 1.5rem;
    max-width: none;
    margin: 0.5rem;
    max-height: calc(100vh - env(safe-area-inset-top, 0) - env(safe-area-inset-bottom, 0) - 1rem);
    min-height: min-content;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    transform: none !important;
  }
  .login-header h3 {
    font-size: clamp(1.6rem, 9vw, 2.2rem);
    letter-spacing: 0.14em;
    text-indent: 0.14em;
  }
  .login-modal {
    padding: 1.75rem 1.25rem 1.5rem;
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  }
  .deck-rail {
    gap: 0.9rem 1.1rem;
    font-size: 0.58rem;
  }
  .rail-cell--wide {
    flex-basis: 100%;
  }
  .rail-signal {
    margin-left: 0;
  }
  .login-button {
    letter-spacing: 0.32em;
    text-indent: 0.32em;
    padding: 0.95rem 1.5rem;
  }
  .readout-row {
    font-size: 0.65rem;
  }
  .access-note {
    font-size: 0.95rem;
  }
  .terminal {
    max-height: 50vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  .login-steps {
    max-height: 40vh;
    overflow-y: auto;
    padding-right: 0.5rem;
  }
  .login-modal::-webkit-scrollbar,
  .terminal::-webkit-scrollbar,
  .login-steps::-webkit-scrollbar {
    width: 6px;
  }
  .login-modal::-webkit-scrollbar-track,
  .terminal::-webkit-scrollbar-track,
  .login-steps::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
  }
  .login-modal::-webkit-scrollbar-thumb,
  .terminal::-webkit-scrollbar-thumb,
  .login-steps::-webkit-scrollbar-thumb {
    background: var(--neon-red);
    border-radius: 3px;
    opacity: 0.7;
  }
  .login-modal::-webkit-scrollbar-thumb:hover,
  .terminal::-webkit-scrollbar-thumb:hover,
  .login-steps::-webkit-scrollbar-thumb:hover {
    opacity: 1;
  }
  .access-panel {
    padding: 1.5rem;
  }
  .login-button,
  .cyber-button {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
  .terminal {
    font-size: 0.85rem;
    padding: 1rem;
  }
  .login-content {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}
.section-container {
  position: relative;
  transition: all 0.3s ease;
}

.glitch-active {
  position: relative;
  animation: section-glitch 0.6s ease-out;
}

@keyframes section-glitch {
  0% {
    transform: translate(0);
    filter: hue-rotate(0deg) saturate(1);
  }
  10% {
    transform: translate(-2px, 1px) skew(0.5deg);
    filter: hue-rotate(90deg) saturate(1.5);
  }
  20% {
    transform: translate(1px, -1px) skew(-0.3deg);
    filter: hue-rotate(180deg) saturate(0.8);
  }
  30% {
    transform: translate(-1px, 2px) skew(0.8deg);
    filter: hue-rotate(270deg) saturate(1.2);
  }
  40% {
    transform: translate(2px, -2px) skew(-0.5deg);
    filter: hue-rotate(45deg) saturate(1.8);
  }
  50% {
    transform: translate(-3px, 1px) skew(1deg);
    filter: hue-rotate(135deg) saturate(0.6);
  }
  60% {
    transform: translate(1px, -3px) skew(-0.8deg);
    filter: hue-rotate(225deg) saturate(1.4);
  }
  70% {
    transform: translate(-2px, 2px) skew(0.6deg);
    filter: hue-rotate(315deg) saturate(1.1);
  }
  80% {
    transform: translate(3px, -1px) skew(-1deg);
    filter: hue-rotate(60deg) saturate(1.6);
  }
  90% {
    transform: translate(-1px, 3px) skew(0.3deg);
    filter: hue-rotate(120deg) saturate(0.9);
  }
  100% {
    transform: translate(0);
    filter: hue-rotate(0deg) saturate(1);
  }
}
.glitch-text {
  position: relative;
  display: inline-block;
}

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

.glitch-text::before {
  color: var(--neon-cyan);
  animation: glitch-text-1 0.6s ease-out;
  z-index: -1;
}

.glitch-text::after {
  color: var(--neon-pink);
  animation: glitch-text-2 0.6s ease-out;
  z-index: -2;
}

@keyframes glitch-text-1 {
  0%, 100% {
    transform: translate(0);
    opacity: 0;
  }
  10% {
    transform: translate(-2px, -1px);
    opacity: 0.8;
  }
  20% {
    transform: translate(2px, 1px);
    opacity: 0.7;
  }
  30% {
    transform: translate(-1px, 2px);
    opacity: 0.9;
  }
  40% {
    transform: translate(1px, -2px);
    opacity: 0.6;
  }
  50% {
    transform: translate(-3px, 1px);
    opacity: 0.8;
  }
  60% {
    transform: translate(3px, -1px);
    opacity: 0.5;
  }
  70% {
    transform: translate(-2px, 3px);
    opacity: 0.7;
  }
  80% {
    transform: translate(2px, -3px);
    opacity: 0.9;
  }
  90% {
    transform: translate(-1px, 1px);
    opacity: 0.4;
  }
}
@keyframes glitch-text-2 {
  0%, 100% {
    transform: translate(0);
    opacity: 0;
  }
  15% {
    transform: translate(3px, 2px);
    opacity: 0.7;
  }
  25% {
    transform: translate(-2px, -2px);
    opacity: 0.8;
  }
  35% {
    transform: translate(1px, -3px);
    opacity: 0.6;
  }
  45% {
    transform: translate(-3px, 1px);
    opacity: 0.9;
  }
  55% {
    transform: translate(2px, 3px);
    opacity: 0.5;
  }
  65% {
    transform: translate(-1px, -1px);
    opacity: 0.8;
  }
  75% {
    transform: translate(3px, -2px);
    opacity: 0.7;
  }
  85% {
    transform: translate(-2px, 2px);
    opacity: 0.6;
  }
  95% {
    transform: translate(1px, -1px);
    opacity: 0.4;
  }
}
.glitch-scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 0, 64, 0.03) 2px, rgba(255, 0, 64, 0.03) 4px);
  animation: scanlines-move 0.6s linear;
  pointer-events: none;
  z-index: 100;
}

@keyframes scanlines-move {
  0% {
    transform: translateY(-100%);
    opacity: 0.8;
  }
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}
.glitch-noise {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(255, 0, 64, 0.1) 0%, transparent 50%), radial-gradient(circle at 90% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 50% 50%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
  animation: noise-flicker 0.6s linear;
  pointer-events: none;
  z-index: 99;
  mix-blend-mode: screen;
}

@keyframes noise-flicker {
  0%, 100% {
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  20% {
    opacity: 0.1;
  }
  30% {
    opacity: 0.4;
  }
  40% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.6;
  }
  60% {
    opacity: 0.1;
  }
  70% {
    opacity: 0.3;
  }
  80% {
    opacity: 0.5;
  }
  90% {
    opacity: 0.2;
  }
}
.glitch-rgb-split {
  position: relative;
}

.glitch-rgb-split::before,
.glitch-rgb-split::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  pointer-events: none;
}

.glitch-rgb-split::before {
  animation: rgb-split-red 0.6s ease-out;
  mix-blend-mode: screen;
  z-index: -1;
}

.glitch-rgb-split::after {
  animation: rgb-split-blue 0.6s ease-out;
  mix-blend-mode: screen;
  z-index: -2;
}

@keyframes rgb-split-red {
  0%, 100% {
    transform: translate(0);
    filter: hue-rotate(0deg);
    opacity: 0;
  }
  20% {
    transform: translate(-3px, 0);
    filter: hue-rotate(0deg);
    opacity: 0.7;
  }
  40% {
    transform: translate(2px, -1px);
    filter: hue-rotate(0deg);
    opacity: 0.5;
  }
  60% {
    transform: translate(-1px, 2px);
    filter: hue-rotate(0deg);
    opacity: 0.8;
  }
  80% {
    transform: translate(1px, -1px);
    filter: hue-rotate(0deg);
    opacity: 0.4;
  }
}
@keyframes rgb-split-blue {
  0%, 100% {
    transform: translate(0);
    filter: hue-rotate(240deg);
    opacity: 0;
  }
  15% {
    transform: translate(3px, 1px);
    filter: hue-rotate(240deg);
    opacity: 0.6;
  }
  35% {
    transform: translate(-2px, 2px);
    filter: hue-rotate(240deg);
    opacity: 0.8;
  }
  55% {
    transform: translate(2px, -2px);
    filter: hue-rotate(240deg);
    opacity: 0.4;
  }
  75% {
    transform: translate(-1px, 1px);
    filter: hue-rotate(240deg);
    opacity: 0.7;
  }
}
.glitch-static {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cfilter id='static'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 0 0 0 0 0 0.4 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23static)' opacity='0.6'/%3E%3C/svg%3E");
  animation: static-flicker 0.1s steps(8) infinite;
  pointer-events: none;
  z-index: 98;
  opacity: 0;
}

.glitch-active .glitch-static {
  animation: static-show 0.6s ease-out;
}

@keyframes static-flicker {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-1px, 1px);
  }
  50% {
    transform: translate(1px, -1px);
  }
  75% {
    transform: translate(-1px, -1px);
  }
}
@keyframes static-show {
  0%, 90%, 100% {
    opacity: 0;
  }
  10%, 80% {
    opacity: 0.1;
  }
  20%, 70% {
    opacity: 0.2;
  }
  30%, 60% {
    opacity: 0.15;
  }
  40%, 50% {
    opacity: 0.25;
  }
}
.glitch-hologram {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 255, 0.1) 50%, transparent 70%);
  animation: hologram-sweep 0.8s ease-out;
  pointer-events: none;
  z-index: 97;
}

@keyframes hologram-sweep {
  0% {
    transform: translateX(-100%) skew(-10deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(200%) skew(-10deg);
    opacity: 0;
  }
}
.glitch-data-corruption {
  position: relative;
  overflow: hidden;
}

.glitch-data-corruption::before {
  content: "01100101 01110010 01110010 01101111 01110010";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  color: var(--neon-red);
  white-space: nowrap;
  animation: data-corruption 0.6s ease-out;
  pointer-events: none;
  z-index: 101;
}

@keyframes data-corruption {
  0%, 90%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
  10%, 80% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.2);
  }
  30%, 60% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(0.8);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.5);
  }
}
.glitch-cursor::after {
  content: "█";
  color: var(--neon-red);
  animation: cursor-glitch-blink 0.1s steps(2) infinite;
}

@keyframes cursor-glitch-blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}
.glass-card.glitch-active {
  border-color: var(--neon-red);
  box-shadow: 0 0 20px rgba(255, 0, 64, 0.6), inset 0 0 20px rgba(255, 0, 64, 0.1);
}

.glitch-transition-enter {
  animation: section-glitch 0.6s ease-out;
}

.glitch-transition-exit {
  animation: section-glitch-out 0.3s ease-in;
}

@keyframes section-glitch-out {
  0% {
    transform: translate(0);
    opacity: 1;
  }
  100% {
    transform: translate(0, -10px);
    opacity: 0;
  }
}
.glitch-variant-1 {
  animation: glitch-matrix 0.8s ease-out;
}

.glitch-variant-2 {
  animation: glitch-distort 0.7s ease-out;
}

.glitch-variant-3 {
  animation: glitch-fragment 0.9s ease-out;
}

.glitch-variant-4 {
  animation: glitch-cyber-pulse 0.6s ease-out;
}

.glitch-variant-5 {
  animation: glitch-data-stream 1s ease-out;
}

@keyframes glitch-matrix {
  0% {
    transform: translate(0);
    filter: brightness(1) contrast(1);
  }
  10% {
    transform: translate(-1px, 2px) skew(0.2deg);
    filter: brightness(1.5) contrast(1.3) hue-rotate(120deg);
  }
  20% {
    transform: translate(3px, -1px) skew(-0.4deg);
    filter: brightness(0.7) contrast(1.8) hue-rotate(240deg);
  }
  30% {
    transform: translate(-2px, 3px) skew(0.6deg);
    filter: brightness(2) contrast(0.5) hue-rotate(60deg);
  }
  40% {
    transform: translate(1px, -2px) skew(-0.3deg);
    filter: brightness(0.3) contrast(2) hue-rotate(300deg);
  }
  50% {
    transform: translate(-4px, 1px) skew(0.8deg);
    filter: brightness(1.8) contrast(1.1) hue-rotate(180deg);
  }
  60% {
    transform: translate(2px, -4px) skew(-0.7deg);
    filter: brightness(0.9) contrast(1.6) hue-rotate(90deg);
  }
  70% {
    transform: translate(-1px, 2px) skew(0.5deg);
    filter: brightness(1.4) contrast(0.8) hue-rotate(270deg);
  }
  80% {
    transform: translate(3px, -1px) skew(-0.9deg);
    filter: brightness(0.6) contrast(1.9) hue-rotate(45deg);
  }
  90% {
    transform: translate(-2px, 3px) skew(0.2deg);
    filter: brightness(1.7) contrast(1.2) hue-rotate(135deg);
  }
  100% {
    transform: translate(0);
    filter: brightness(1) contrast(1);
  }
}
@keyframes glitch-distort {
  0% {
    transform: scale(1) rotate(0deg);
    filter: blur(0px) saturate(1);
  }
  15% {
    transform: scale(1.02, 0.98) rotate(0.5deg);
    filter: blur(1px) saturate(1.5) hue-rotate(45deg);
  }
  30% {
    transform: scale(0.98, 1.03) rotate(-0.3deg);
    filter: blur(2px) saturate(0.7) hue-rotate(90deg);
  }
  45% {
    transform: scale(1.01, 0.99) rotate(0.8deg);
    filter: blur(0.5px) saturate(1.8) hue-rotate(135deg);
  }
  60% {
    transform: scale(0.99, 1.02) rotate(-0.6deg);
    filter: blur(1.5px) saturate(0.4) hue-rotate(180deg);
  }
  75% {
    transform: scale(1.03, 0.97) rotate(0.4deg);
    filter: blur(0.8px) saturate(1.6) hue-rotate(225deg);
  }
  90% {
    transform: scale(0.97, 1.01) rotate(-0.2deg);
    filter: blur(0.3px) saturate(1.1) hue-rotate(270deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    filter: blur(0px) saturate(1);
  }
}
@keyframes glitch-fragment {
  0%, 100% {
    transform: translate(0);
    clip-path: inset(0% 0% 0% 0%);
    filter: brightness(1);
  }
  10% {
    transform: translate(-3px, 1px);
    clip-path: inset(10% 20% 30% 0%);
    filter: brightness(1.8) hue-rotate(60deg);
  }
  20% {
    transform: translate(2px, -2px);
    clip-path: inset(0% 30% 10% 20%);
    filter: brightness(0.5) hue-rotate(120deg);
  }
  30% {
    transform: translate(-1px, 3px);
    clip-path: inset(20% 0% 20% 30%);
    filter: brightness(2.2) hue-rotate(180deg);
  }
  40% {
    transform: translate(4px, -1px);
    clip-path: inset(30% 10% 0% 20%);
    filter: brightness(0.3) hue-rotate(240deg);
  }
  50% {
    transform: translate(-2px, 2px);
    clip-path: inset(0% 0% 40% 10%);
    filter: brightness(1.5) hue-rotate(300deg);
  }
  60% {
    transform: translate(1px, -3px);
    clip-path: inset(15% 25% 15% 0%);
    filter: brightness(0.8) hue-rotate(30deg);
  }
  70% {
    transform: translate(-3px, 1px);
    clip-path: inset(5% 0% 35% 25%);
    filter: brightness(1.9) hue-rotate(90deg);
  }
  80% {
    transform: translate(2px, -1px);
    clip-path: inset(25% 15% 5% 10%);
    filter: brightness(0.6) hue-rotate(150deg);
  }
  90% {
    transform: translate(-1px, 2px);
    clip-path: inset(0% 10% 20% 30%);
    filter: brightness(1.3) hue-rotate(210deg);
  }
}
@keyframes glitch-cyber-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 64, 0.8);
    filter: brightness(1) contrast(1);
  }
  20% {
    transform: scale(1.02) skew(0.5deg, 0.2deg);
    box-shadow: 0 0 20px 5px rgba(255, 0, 64, 0.6);
    filter: brightness(1.4) contrast(1.3) hue-rotate(45deg);
  }
  40% {
    transform: scale(0.98) skew(-0.3deg, 0.4deg);
    box-shadow: 0 0 40px 10px rgba(0, 255, 255, 0.5);
    filter: brightness(0.7) contrast(1.6) hue-rotate(90deg);
  }
  60% {
    transform: scale(1.01) skew(0.2deg, -0.3deg);
    box-shadow: 0 0 30px 8px rgba(255, 0, 255, 0.7);
    filter: brightness(1.8) contrast(0.9) hue-rotate(135deg);
  }
  80% {
    transform: scale(0.99) skew(-0.4deg, 0.1deg);
    box-shadow: 0 0 15px 3px rgba(0, 255, 0, 0.4);
    filter: brightness(1.1) contrast(1.4) hue-rotate(180deg);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 64, 0);
    filter: brightness(1) contrast(1);
  }
}
@keyframes glitch-data-stream {
  0%, 100% {
    transform: translateY(0);
    background-position: 0% 0%;
    filter: brightness(1);
  }
  10% {
    transform: translateY(-2px) rotateX(2deg);
    background-position: -5% 10%;
    filter: brightness(1.6) hue-rotate(30deg);
  }
  20% {
    transform: translateY(1px) rotateX(-1deg);
    background-position: 10% -5%;
    filter: brightness(0.4) hue-rotate(60deg);
  }
  30% {
    transform: translateY(-3px) rotateX(3deg);
    background-position: -8% 15%;
    filter: brightness(2.1) hue-rotate(90deg);
  }
  40% {
    transform: translateY(2px) rotateX(-2deg);
    background-position: 12% -8%;
    filter: brightness(0.6) hue-rotate(120deg);
  }
  50% {
    transform: translateY(-1px) rotateX(1deg);
    background-position: -3% 20%;
    filter: brightness(1.3) hue-rotate(150deg);
  }
  60% {
    transform: translateY(3px) rotateX(-3deg);
    background-position: 15% -3%;
    filter: brightness(0.8) hue-rotate(180deg);
  }
  70% {
    transform: translateY(-2px) rotateX(2deg);
    background-position: -10% 8%;
    filter: brightness(1.7) hue-rotate(210deg);
  }
  80% {
    transform: translateY(1px) rotateX(-1deg);
    background-position: 8% -10%;
    filter: brightness(0.9) hue-rotate(240deg);
  }
  90% {
    transform: translateY(-1px) rotateX(1deg);
    background-position: -2% 5%;
    filter: brightness(1.2) hue-rotate(270deg);
  }
}
.glitch-extreme-1 {
  animation: glitch-system-crash 1.2s ease-out;
}

.glitch-extreme-2 {
  animation: glitch-quantum-flux 1.5s ease-out;
}

@keyframes glitch-system-crash {
  0% {
    transform: translate(0);
    filter: brightness(1);
    opacity: 1;
  }
  5% {
    transform: translate(-10px, 5px) scale(1.1) skew(2deg);
    filter: brightness(3) contrast(2) hue-rotate(180deg);
  }
  10% {
    transform: translate(8px, -8px) scale(0.9) skew(-3deg);
    filter: brightness(0.1) contrast(3) hue-rotate(90deg);
  }
  15% {
    transform: translate(-6px, 12px) scale(1.05) skew(1deg);
    filter: brightness(2.5) contrast(0.5) hue-rotate(270deg);
  }
  20% {
    transform: translate(15px, -3px) scale(0.85) skew(-4deg);
    filter: brightness(0.2) contrast(2.5) hue-rotate(45deg);
  }
  30% {
    transform: translate(-12px, 7px) scale(1.15) skew(3deg);
    filter: brightness(2.8) contrast(1.2) hue-rotate(135deg);
  }
  40% {
    transform: translate(4px, -15px) scale(0.95) skew(-2deg);
    filter: brightness(0.3) contrast(2.8) hue-rotate(225deg);
  }
  50% {
    transform: translate(-8px, 10px) scale(1.08) skew(5deg);
    filter: brightness(3.2) contrast(0.3) hue-rotate(315deg);
  }
  60% {
    transform: translate(12px, -6px) scale(0.88) skew(-1deg);
    filter: brightness(0.15) contrast(3.5) hue-rotate(60deg);
  }
  70% {
    transform: translate(-5px, 13px) scale(1.03) skew(2deg);
    filter: brightness(2.1) contrast(1.8) hue-rotate(150deg);
  }
  80% {
    transform: translate(7px, -9px) scale(0.97) skew(-3deg);
    filter: brightness(0.7) contrast(2.2) hue-rotate(240deg);
  }
  90% {
    transform: translate(-3px, 4px) scale(1.02) skew(1deg);
    filter: brightness(1.5) contrast(1.5) hue-rotate(330deg);
  }
  100% {
    transform: translate(0);
    filter: brightness(1);
    opacity: 1;
  }
}
@keyframes glitch-quantum-flux {
  0%, 100% {
    transform: translate(0) scale(1);
    filter: brightness(1) blur(0px);
    opacity: 1;
  }
  8% {
    transform: translate(-2px, 3px) scale(1.02) rotateZ(0.5deg);
    filter: brightness(1.8) blur(0.5px) hue-rotate(45deg);
    opacity: 0.9;
  }
  16% {
    transform: translate(4px, -1px) scale(0.98) rotateZ(-0.3deg);
    filter: brightness(0.4) blur(1px) hue-rotate(90deg);
    opacity: 0.7;
  }
  24% {
    transform: translate(-1px, 2px) scale(1.01) rotateZ(0.8deg);
    filter: brightness(2.2) blur(0.3px) hue-rotate(135deg);
    opacity: 0.95;
  }
  32% {
    transform: translate(3px, -4px) scale(0.99) rotateZ(-0.6deg);
    filter: brightness(0.6) blur(1.5px) hue-rotate(180deg);
    opacity: 0.6;
  }
  40% {
    transform: translate(-3px, 1px) scale(1.03) rotateZ(0.4deg);
    filter: brightness(1.6) blur(0.8px) hue-rotate(225deg);
    opacity: 0.8;
  }
  48% {
    transform: translate(1px, -3px) scale(0.97) rotateZ(-0.7deg);
    filter: brightness(0.8) blur(1.2px) hue-rotate(270deg);
    opacity: 0.85;
  }
  56% {
    transform: translate(-4px, 2px) scale(1.04) rotateZ(0.2deg);
    filter: brightness(1.9) blur(0.4px) hue-rotate(315deg);
    opacity: 0.75;
  }
  64% {
    transform: translate(2px, -2px) scale(0.96) rotateZ(-0.9deg);
    filter: brightness(0.5) blur(1.8px) hue-rotate(30deg);
    opacity: 0.9;
  }
  72% {
    transform: translate(-1px, 4px) scale(1.01) rotateZ(0.6deg);
    filter: brightness(1.4) blur(0.6px) hue-rotate(60deg);
    opacity: 0.65;
  }
  80% {
    transform: translate(3px, -1px) scale(0.99) rotateZ(-0.4deg);
    filter: brightness(0.9) blur(1px) hue-rotate(120deg);
    opacity: 0.8;
  }
  88% {
    transform: translate(-2px, 3px) scale(1.02) rotateZ(0.3deg);
    filter: brightness(1.2) blur(0.7px) hue-rotate(210deg);
    opacity: 0.9;
  }
  96% {
    transform: translate(1px, -1px) scale(1.01) rotateZ(-0.1deg);
    filter: brightness(1.1) blur(0.2px) hue-rotate(300deg);
    opacity: 0.95;
  }
}
.glitch-text-binary {
  position: relative;
}

.glitch-text-binary::before {
  content: "01001000 01000001 01000011 01001011";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Courier New", monospace;
  font-size: 0.6em;
  color: var(--neon-green);
  animation: binary-corruption 0.8s ease-out;
  pointer-events: none;
  z-index: 10;
}

@keyframes binary-corruption {
  0%, 80%, 100% {
    opacity: 0;
  }
  20%, 60% {
    opacity: 0.9;
  }
  40% {
    opacity: 1;
  }
}
.glitch-trigger-1 {
  animation: micro-glitch-1 0.3s ease-out;
}

.glitch-trigger-2 {
  animation: micro-glitch-2 0.2s ease-out;
}

.glitch-trigger-3 {
  animation: micro-glitch-3 0.4s ease-out;
}

@keyframes micro-glitch-1 {
  0%, 100% {
    transform: translate(0);
  }
  33% {
    transform: translate(-1px, 1px) skew(0.1deg);
  }
  66% {
    transform: translate(1px, -1px) skew(-0.1deg);
  }
}
@keyframes micro-glitch-2 {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.3) hue-rotate(30deg);
  }
}
@keyframes micro-glitch-3 {
  0%, 100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.01) skew(0.2deg);
  }
  75% {
    transform: scale(0.99) skew(-0.2deg);
  }
}
.multi-glitch {
  position: relative;
}

.multi-glitch::before,
.multi-glitch::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  pointer-events: none;
}

.multi-glitch::before {
  animation: multi-layer-1 0.6s ease-out;
  mix-blend-mode: difference;
  z-index: -1;
}

.multi-glitch::after {
  animation: multi-layer-2 0.6s ease-out;
  mix-blend-mode: exclusion;
  z-index: -2;
}

@keyframes multi-layer-1 {
  0%, 100% {
    transform: translate(0);
    opacity: 0;
  }
  20% {
    transform: translate(-3px, 1px);
    opacity: 0.7;
  }
  40% {
    transform: translate(2px, -2px);
    opacity: 0.8;
  }
  60% {
    transform: translate(-1px, 3px);
    opacity: 0.6;
  }
  80% {
    transform: translate(3px, -1px);
    opacity: 0.9;
  }
}
@keyframes multi-layer-2 {
  0%, 100% {
    transform: translate(0);
    opacity: 0;
  }
  15% {
    transform: translate(2px, 2px);
    opacity: 0.6;
  }
  35% {
    transform: translate(-3px, -1px);
    opacity: 0.8;
  }
  55% {
    transform: translate(1px, -3px);
    opacity: 0.5;
  }
  75% {
    transform: translate(-2px, 2px);
    opacity: 0.7;
  }
}
.glitch-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 95;
  overflow: hidden;
}

.glitch-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--neon-red);
  animation: particle-drift 2s linear infinite;
  opacity: 0;
}

.glitch-particle:nth-child(odd) {
  background: var(--neon-cyan);
  animation-duration: 1.5s;
}

.glitch-particle:nth-child(3n) {
  background: var(--neon-pink);
  animation-duration: 2.5s;
}

@keyframes particle-drift {
  0% {
    transform: translate(0, 0) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(var(--drift-x, 50px), var(--drift-y, -100px)) scale(1.2);
  }
  100% {
    opacity: 0;
    transform: translate(var(--drift-x, 100px), var(--drift-y, -200px)) scale(0);
  }
}
.matrix-rain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 94;
  background: transparent;
}

.matrix-column {
  position: absolute;
  top: -100%;
  font-family: "Courier New", monospace;
  font-size: 12px;
  color: var(--neon-green);
  animation: matrix-fall 3s linear infinite;
  opacity: 0.6;
  text-shadow: 0 0 5px var(--neon-green);
}

@keyframes matrix-fall {
  0% {
    transform: translateY(-100vh);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}
.em-interference {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 93;
  background: repeating-linear-gradient(90deg, transparent 0px, rgba(255, 0, 64, 0.02) 1px, transparent 2px, rgba(0, 255, 255, 0.02) 3px, transparent 4px);
  animation: interference-sweep 0.8s ease-out;
}

@keyframes interference-sweep {
  0% {
    transform: translateX(-100%) skew(5deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
    transform: translateX(0%) skew(-2deg);
  }
  100% {
    transform: translateX(100%) skew(3deg);
    opacity: 0;
  }
}
.fractal-distortion {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 92;
  background: radial-gradient(ellipse at center, rgba(255, 0, 64, 0.1) 0%, transparent 30%, rgba(0, 255, 255, 0.05) 60%, transparent 100%);
  animation: fractal-pulse 1s ease-in-out;
  mix-blend-mode: overlay;
}

@keyframes fractal-pulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0;
  }
  25% {
    transform: scale(1.1) rotate(2deg);
    opacity: 0.6;
  }
  50% {
    transform: scale(0.9) rotate(-1deg);
    opacity: 0.8;
  }
  75% {
    transform: scale(1.05) rotate(1deg);
    opacity: 0.4;
  }
}
.binary-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 91;
  font-family: "Courier New", monospace;
  font-size: 10px;
  line-height: 12px;
  color: rgba(0, 255, 0, 0.3);
  animation: binary-scroll 2s linear;
  overflow: hidden;
}

@keyframes binary-scroll {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  20% {
    opacity: 0.8;
  }
  80% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}
.energy-field {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 90;
  background: radial-gradient(circle at center, rgba(255, 0, 64, 0.02) 0%, rgba(255, 0, 64, 0.05) 20%, rgba(0, 255, 255, 0.03) 40%, rgba(255, 0, 255, 0.04) 60%, transparent 80%);
  animation: energy-pulse 1.2s ease-out;
}

@keyframes energy-pulse {
  0% {
    transform: translate(-50%, -50%) scale(0) rotate(0deg);
    opacity: 0;
  }
  30% {
    transform: translate(-50%, -50%) scale(0.8) rotate(45deg);
    opacity: 0.8;
  }
  60% {
    transform: translate(-50%, -50%) scale(1.2) rotate(-30deg);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(2) rotate(90deg);
    opacity: 0;
  }
}
.quantum-flux {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 89;
  background: repeating-linear-gradient(45deg, transparent 0px, rgba(255, 0, 255, 0.03) 1px, transparent 10px), repeating-linear-gradient(-45deg, transparent 0px, rgba(0, 255, 255, 0.02) 1px, transparent 15px);
  animation: flux-shift 1.5s ease-out;
}

@keyframes flux-shift {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0;
  }
  25% {
    transform: rotate(5deg) scale(1.02);
    opacity: 0.7;
  }
  50% {
    transform: rotate(-3deg) scale(0.98);
    opacity: 0.9;
  }
  75% {
    transform: rotate(2deg) scale(1.01);
    opacity: 0.5;
  }
  100% {
    transform: rotate(0deg) scale(1);
    opacity: 0;
  }
}
.neural-network {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 88;
  background-image: radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.1) 2px, transparent 2px), radial-gradient(circle at 80% 20%, rgba(255, 0, 64, 0.1) 2px, transparent 2px), radial-gradient(circle at 60% 80%, rgba(255, 0, 255, 0.1) 2px, transparent 2px), radial-gradient(circle at 30% 70%, rgba(0, 255, 0, 0.1) 2px, transparent 2px);
  background-size: 100px 100px, 150px 150px, 120px 120px, 80px 80px;
  animation: neural-pulse 2s ease-in-out;
}

@keyframes neural-pulse {
  0%, 100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}
.text-corruption-advanced {
  position: relative;
}

.text-corruption-advanced::before {
  content: attr(data-corruption);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: var(--neon-red);
  animation: corruption-flicker 0.5s steps(4) infinite;
  clip-path: inset(0 0 60% 0);
}

.text-corruption-advanced::after {
  content: attr(data-corruption);
  position: absolute;
  top: 2px;
  left: 2px;
  width: 100%;
  height: 100%;
  color: var(--neon-cyan);
  animation: corruption-flicker-2 0.7s steps(6) infinite;
  clip-path: inset(60% 0 0 0);
}

@keyframes corruption-flicker {
  0% {
    clip-path: inset(0 0 60% 0);
  }
  25% {
    clip-path: inset(20% 0 40% 0);
  }
  50% {
    clip-path: inset(40% 0 20% 0);
  }
  75% {
    clip-path: inset(10% 0 50% 0);
  }
  100% {
    clip-path: inset(30% 0 30% 0);
  }
}
@keyframes corruption-flicker-2 {
  0% {
    clip-path: inset(60% 0 0 0);
  }
  17% {
    clip-path: inset(40% 0 20% 0);
  }
  33% {
    clip-path: inset(80% 0 0% 0);
  }
  50% {
    clip-path: inset(50% 0 30% 0);
  }
  67% {
    clip-path: inset(70% 0 10% 0);
  }
  83% {
    clip-path: inset(60% 0 20% 0);
  }
  100% {
    clip-path: inset(75% 0 5% 0);
  }
}
.glitch-active,
.glitch-active *,
.glitch-variant-1,
.glitch-variant-2,
.glitch-variant-3,
.glitch-variant-4,
.glitch-variant-5,
.glitch-extreme-1,
.glitch-extreme-2,
.glitch-particles,
.matrix-rain,
.em-interference,
.fractal-distortion,
.binary-overlay,
.energy-field,
.quantum-flux,
.neural-network {
  will-change: transform, filter, opacity, clip-path, box-shadow, background-position;
}
