/* --- 01. VARIABLES & GLOBALS --- */
:root {
  --bg-main: #050505;
  --bg-glass: rgba(10, 15, 12, 0.65);
  --text-primary: #e0e6ed;
  --text-secondary: #8b9eb0;
  --matrix-green: #00ff41;
  --neon-glow: rgba(0, 255, 65, 0.3);
  --border-glass: rgba(0, 255, 65, 0.2);
  --font-main: "Rajdhani", sans-serif;
  --font-mono: "Share Tech Mono", monospace;
}

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

::selection {
  background: rgba(0, 255, 65, 0.3);
  color: #fff;
  text-shadow: 0 0 5px var(--matrix-green);
}

::-moz-selection {
  background: rgba(0, 255, 65, 0.3);
  color: #fff;
  text-shadow: 0 0 5px var(--matrix-green);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}

ul {
  list-style: none;
}

/* --- 02. TYPOGRAPHY & UTILITIES --- */
h1,
h2,
h3,
h4,
.logo,
.matrix-text,
.hacker-text {
  font-family: var(--font-mono);
}

.matrix-text {
  color: var(--matrix-green);
}

.hacker-text {
  color: var(--matrix-green);
  text-shadow: 0 0 10px var(--neon-glow);
}

.section {
  padding: 60px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 40px;
}
.center-header {
  text-align: center;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  margin-top: 5px;
}

.blink-cursor {
  display: inline-block;
  width: 12px;
  height: 1em;
  background-color: var(--matrix-green);
  vertical-align: baseline;
  position: relative;
  top: 2px;
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* --- 03. TACTICAL HUD CORE (Glassmorphism) --- */
.glass-card {
  background: #050706;
  background-image:
    linear-gradient(rgba(0, 255, 65, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 65, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(0, 255, 65, 0.15);
  border-radius: 0;
  position: relative;
  clip-path: polygon(
    15px 0,
    100% 0,
    100% calc(100% - 15px),
    calc(100% - 15px) 100%,
    0 100%,
    0 15px
  );
  transform-style: preserve-3d;
  transform: perspective(1000px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.glass-card::before,
.glass-card::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
  z-index: 10;
  border-color: var(--matrix-green);
  border-style: solid;
  transition: all 0.3s ease;
}

.glass-card::before {
  top: 0;
  right: 0;
  border-width: 2px 2px 0 0;
}
.glass-card::after {
  bottom: 0;
  left: 0;
  border-width: 0 0 2px 2px;
}
.glass-card > * {
  transform: translateZ(20px);
}

/* --- 04. MATRIX BACKGROUND --- */
#matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  opacity: 0.65;
  pointer-events: none;
  transition: transform 0.1s linear;
  transform: scale(1.05);
}

/* --- 05. COMMAND TERMINAL --- */
.cmd-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 15vh;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}

.cmd-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cmd-terminal {
  width: 100%;
  max-width: 700px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  background: #090909;
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.9),
    0 0 30px rgba(0, 255, 65, 0.05);
  overflow: hidden;
}

.cmd-overlay.active .cmd-terminal {
  transform: translateY(0);
}

.cmd-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: #151515;
  border-bottom: 1px solid var(--border-glass);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.mac-btns {
  display: flex;
  gap: 8px;
}
.mac-btns span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.mac-btns span:nth-child(1) {
  background: #ff5f56;
}
.mac-btns span:nth-child(2) {
  background: #ffbd2e;
}
.mac-btns span:nth-child(3) {
  background: #27c93f;
}

.cmd-title {
  color: var(--text-secondary);
  font-weight: bold;
}
.cmd-close {
  color: var(--text-secondary);
  cursor: pointer;
  transition: 0.2s;
}
.cmd-close:hover {
  color: #ff5f56;
}

.cmd-body {
  padding: 20px 25px;
  flex-grow: 1;
  max-height: 60vh;
  overflow-y: auto;
  background: #050505;
}

.cmd-welcome {
  margin-bottom: 25px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  line-height: 1.6;
  font-size: 0.95rem;
}

#cmd-list {
  list-style: none;
}
#cmd-list li {
  padding: 8px 12px;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.95rem;
  border-radius: 4px;
}
#cmd-list li .cmd-prompt {
  color: var(--matrix-green);
  opacity: 0.8;
  font-weight: bold;
}
#cmd-list li:hover,
#cmd-list li.keyboard-active {
  background: var(--matrix-green);
  color: #000;
  font-weight: bold;
}
#cmd-list li:hover .cmd-prompt,
#cmd-list li.keyboard-active .cmd-prompt {
  opacity: 1;
}

.cmd-input-line {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  background: #050505;
  border-top: 1px dashed var(--border-glass);
}
.cmd-input-line .cmd-prompt {
  color: var(--matrix-green);
  margin-right: 15px;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: bold;
}
#cmd-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  outline: none;
}
#cmd-input::placeholder {
  color: rgba(0, 255, 65, 0.4);
  font-family: var(--font-mono);
}

/* --- 06. NAVIGATION BAR --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5% !important;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}
.navbar.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid var(--border-glass);
}
.logo {
  font-size: 1.5rem;
  color: var(--matrix-green);
  font-weight: 700;
}
.nav-links {
  display: flex;
  gap: 30px;
}

.nav-item {
  font-size: 1.05rem;
  font-family: var(--font-mono);
  position: relative;
  padding-bottom: 5px;
  transition: all 0.3s ease;
}
.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--matrix-green);
  transition: 0.3s ease;
  box-shadow: 0 0 8px var(--matrix-green);
}
.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}
.nav-item:hover,
.nav-item.active {
  color: var(--matrix-green);
  transform: translateY(-2px);
  text-shadow: 0 0 10px var(--neon-glow);
}

/* --- 07. BUTTONS & PILLS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.btn-primary {
  background-color: rgba(0, 255, 65, 0.05);
  border: 1px solid var(--matrix-green);
  color: var(--matrix-green);
  box-shadow: inset 0 0 10px rgba(0, 255, 65, 0.1);
}
.btn-outline {
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
}

.pill-btn {
  background: transparent;
  border: 1px solid var(--matrix-green);
  color: var(--matrix-green);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 0 0 5px var(--neon-glow);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
  margin-right: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* --- 08. HERO SECTION --- */
.centered-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}
.hero-glass {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 60px 50px;
  background: linear-gradient(
    145deg,
    rgba(20, 25, 22, 0.8),
    rgba(5, 5, 5, 0.9)
  );
  border-top: 2px solid var(--matrix-green);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.9),
    inset 0 0 50px rgba(0, 255, 65, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
.hero-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(
      circle at top right,
      rgba(0, 255, 65, 0.1),
      transparent 40%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(0, 143, 17, 0.1),
      transparent 40%
    );
  z-index: -1;
  pointer-events: none;
}
.hero-content {
  flex: 1.2;
  text-align: left;
  z-index: 2;
}

/* Lock the H1 rigidly on one line without gaps */
.hero-glass .hero-title {
  font-size: 4.2rem;
  margin-bottom: 10px;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 15px;
  white-space: nowrap !important;
  font-family: var(--font-mono) !important;
  color: var(--matrix-green);
  text-shadow: 0 0 10px var(--neon-glow);
}
.hero-glass .hero-title span {
  display: inline-block !important;
}
.hero-glass .hero-title .prompt-arrow {
  opacity: 0.5;
  color: var(--text-secondary);
}

.hero-3d-container {
  flex: 1;
  min-height: 350px;
  width: 100%;
  position: relative;
  z-index: 1;
  cursor: grab;
}

.hero-3d-container canvas {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  outline: none;
}

.hero-3d-container:active {
  cursor: grabbing;
}

.terminal-cycler {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 25px;
  min-height: 1.5em;
}
.hero-glass h2 {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 25px;
}
.hero-glass .description {
  max-width: 600px;
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}
.social-links {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}
.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  transition: all 0.3s;
  position: relative;
}
.social-links a::after {
  content: attr(aria-label);
  position: absolute;
  top: 115%;
  z-index: 20;
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  background: rgba(5, 5, 5, 0.95);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  border: 1px solid var(--border-glass);
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.social-links svg {
  width: 20px;
  height: 20px;
}

.cmd-hint {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-primary);
  opacity: 1;
  display: inline-block;
  padding: 8px 15px;
  border: 1px dashed var(--matrix-green);
  background: rgba(0, 255, 65, 0.05);
  border-radius: 4px;
  margin-top: 10px;
  animation: pulseHint 2.5s infinite;
}
.cmd-hint span {
  background: var(--matrix-green);
  color: #050505;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 4px;
  box-shadow: 0 0 10px var(--neon-glow);
}
@keyframes pulseHint {
  0%,
  100% {
    box-shadow: 0 0 0px transparent;
  }
  50% {
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
  }
}

.system-clock {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px dashed rgba(0, 255, 65, 0.2);
  width: 100%;
  max-width: 400px;
  display: flex;
  gap: 15px;
}
.system-clock .node-text {
  color: var(--matrix-green);
}

/* --- 09. ABOUT SECTION (AUTHENTIC TERMINAL) --- */
.auth-terminal {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(0, 255, 65, 0.05);
  font-family: var(--font-mono);
}
.auth-term-header {
  background: rgba(15, 15, 15, 0.95);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
}
.auth-term-path {
  color: var(--text-secondary);
  font-size: 0.85rem;
  letter-spacing: 1px;
}
.auth-term-status {
  color: #ff5f56;
  font-size: 0.8rem;
  font-weight: bold;
}
.auth-term-body {
  background: rgba(10, 12, 10, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 35px 40px;
  min-height: 400px;
  font-size: 1.05rem;
  line-height: 1.5;
}
#ghost-cmd {
  color: #fff;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}
.output-block {
  margin-top: 15px;
  margin-bottom: 30px;
}
.term-output-text {
  color: var(--text-secondary);
  padding-left: 15px;
  border-left: 2px dashed rgba(0, 255, 65, 0.3);
  margin-bottom: 15px;
}

.terminal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
  line-height: 1.1 !important;
}
.ascii-skills {
  color: var(--matrix-green);
}
.ascii-row {
  margin-bottom: 2px !important;
  white-space: pre;
}
.ascii-skills .ascii-header {
  color: #fff;
  font-weight: bold;
  margin-top: 25px !important;
  margin-bottom: 8px !important;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  padding-bottom: 5px;
  display: block;
  width: fit-content;
  letter-spacing: 1px;
}
.ascii-skills:first-child .ascii-header:first-child {
  margin-top: 0 !important;
}
.ghost-line {
  visibility: hidden;
}

/* --- 10. SKILLS SECTION --- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-card {
  padding: 30px 20px;
}
.category-title {
  font-size: 1.1rem;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.blue {
  background-color: #3b82f6;
  box-shadow: 0 0 10px #3b82f6;
}
.dot.green {
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
}
.dot.purple {
  background-color: #8b5cf6;
  box-shadow: 0 0 10px #8b5cf6;
}
.dot.orange {
  background-color: #f97316;
  box-shadow: 0 0 10px #f97316;
}

.skill-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.skill-box {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  cursor: default;
}
.skill-box i {
  font-size: 1.8rem;
  color: var(--text-secondary);
  transition: 0.3s;
}
.skill-box span {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  transition: 0.3s;
}
.skill-box:hover {
  background: rgba(0, 255, 65, 0.05);
  border-color: var(--matrix-green);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--neon-glow);
}
.skill-box:hover i,
.skill-box:hover span {
  color: var(--matrix-green);
}

/* --- 11. PROJECTS SECTION (SYS DIRECTORY) --- */
.sys-directory {
  display: flex;
  min-height: 450px;
  padding: 0 !important;
  overflow: hidden;
}
.dir-sidebar {
  width: 35%;
  background: rgba(0, 0, 0, 0.4);
  border-right: 1px dashed var(--border-glass);
  display: flex;
  flex-direction: column;
}
.dir-header {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 255, 65, 0.02);
}
.file-list {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  flex-grow: 1;
}
.file-item {
  padding: 15px 25px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  position: relative;
}
.file-item .bracket {
  opacity: 0;
  color: var(--matrix-green);
  transition: all 0.3s ease;
  transform: translateX(-10px);
}
.file-item .bracket:last-child {
  transform: translateX(10px);
}
.file-item:hover,
.file-item.active {
  color: var(--matrix-green);
  background: rgba(0, 255, 65, 0.05);
}
.file-item:hover .bracket,
.file-item.active .bracket {
  opacity: 1;
  transform: translateX(0);
}
.file-item.active {
  border-left: 3px solid var(--matrix-green);
  font-weight: bold;
  text-shadow: 0 0 8px var(--neon-glow);
  background: linear-gradient(
    90deg,
    rgba(0, 255, 65, 0.1) 0%,
    transparent 100%
  );
}
.dir-footer {
  padding: 20px;
  border-top: 1px dashed rgba(255, 255, 255, 0.05);
}
.dir-main {
  width: 65%;
  display: flex;
  flex-direction: column;
  background: rgba(5, 7, 5, 0.6);
  position: relative;
}
.dir-main::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 1;
}
.readout-header {
  display: flex;
  justify-content: space-between;
  padding: 15px 30px;
  border-bottom: 1px dashed rgba(0, 255, 65, 0.2);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: #050505;
  z-index: 2;
}
.readout-display {
  padding: 40px 40px;
  flex-grow: 1;
  z-index: 2;
  position: relative;
}
.proj-content {
  display: none;
  animation: glitchIn 0.3s ease forwards;
}
.proj-content.active-readout {
  display: block;
}
.proj-title {
  font-size: 2rem;
  color: var(--matrix-green);
  margin-bottom: 20px;
  font-family: var(--font-mono);
  text-shadow: 0 0 10px var(--neon-glow);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
  display: inline-block;
}
.proj-desc {
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 1.05rem;
}
.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}
.proj-tags span {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 0.85rem;
}
.proj-actions {
  display: flex;
  gap: 15px;
}

@keyframes glitchIn {
  0% {
    opacity: 0;
    filter: contrast(3) invert(1);
    transform: translateX(-10px);
  }
  50% {
    filter: contrast(1) invert(0);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- 12. STATS SECTION --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.stat-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
}
.stat-title {
  font-size: 1.3rem;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--matrix-green);
  border-bottom: 1px dashed rgba(0, 255, 65, 0.3);
  padding-bottom: 15px;
}
.gh-stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}
.gh-stat-box {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.gh-val {
  font-size: 1.5rem;
  font-family: var(--font-mono);
  color: var(--text-primary);
  font-weight: bold;
}
.gh-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.gh-langs {
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  justify-content: center;
}
.gh-langs img {
  max-width: 100%;
  height: auto;
}
.lc-container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-grow: 1;
}
.lc-circle-container {
  flex: 0 0 auto;
}
.lc-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: conic-gradient(
    var(--matrix-green) 0%,
    rgba(255, 255, 255, 0.05) 0%
  );
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
  transition: background 1s ease-out;
}
.lc-circle-inner {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #0b100d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.lc-total-val {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 5px;
}
.lc-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}
.lc-bars-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lc-bar-info {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.lc-fraction {
  color: var(--text-secondary);
}
.lc-bar-wrap .sys-progress {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
}

/* --- 13. CERTIFICATIONS SECTION --- */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.shard-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 30px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition:
    transform 0.3s,
    border-color 0.3s;
}
.shard-card:hover {
  border-color: var(--matrix-green);
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
}
.shard-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}
.cert-icon {
  font-size: 2rem;
  color: var(--matrix-green);
  text-shadow: 0 0 10px var(--neon-glow);
  transition: 0.3s;
}
.shard-card:hover .cert-icon {
  transform: scale(1.1);
}
.cert-date {
  font-size: 0.8rem;
  color: var(--matrix-green);
  font-family: var(--font-mono);
  background: rgba(0, 255, 65, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-glass);
}
.shard-body {
  flex-grow: 1;
  margin-top: 10px;
}
.cert-title {
  font-size: 1.2rem;
  font-family: var(--font-mono);
  color: var(--text-primary);
  margin-bottom: 5px;
  transition: 0.3s;
}
.shard-card:hover .cert-title {
  color: var(--matrix-green);
}
.cert-issuer {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}
.shard-footer {
  margin-top: auto;
  border-top: 1px dashed rgba(0, 255, 65, 0.3);
  padding-top: 15px;
  overflow: hidden;
  transition: 0.3s;
}
.access-text {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--matrix-green);
  transform: translateX(-150%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.shard-card:hover .access-text {
  transform: translateX(0);
  opacity: 1;
  text-shadow: 0 0 8px var(--neon-glow);
}

/* --- 14. CONTACT SECTION --- */
.terminal-form-wrapper {
  margin: 40px auto;
  max-width: 750px;
  text-align: left;
  background: rgba(0, 0, 0, 0.5);
  padding: 35px;
  border: 1px solid rgba(0, 255, 65, 0.15);
  border-radius: 8px;
  box-shadow: inset 0 0 20px rgba(0, 255, 65, 0.02);
}
.hacker-form .input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 25px;
}
.hacker-form .input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
}
.hacker-form label {
  font-family: var(--font-mono);
  color: var(--matrix-green);
  font-size: 0.95rem;
  letter-spacing: 1px;
}
.hacker-form input,
.hacker-form textarea {
  background: rgba(5, 5, 5, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  color: var(--matrix-green);
  font-family: var(--font-mono);
  border-radius: 6px;
  outline: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}
.hacker-form input::placeholder,
.hacker-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}
.hacker-form input:focus,
.hacker-form textarea:focus {
  border-color: var(--matrix-green) !important;
  box-shadow:
    0 0 20px rgba(0, 255, 65, 0.2),
    inset 0 0 10px rgba(0, 255, 65, 0.1) !important;
  background: rgba(0, 255, 65, 0.08) !important;
  transform: translateY(-2px);
}
.submit-btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1.05rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
.contact-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  margin: 40px auto;
  max-width: 750px;
}
.contact-divider::before,
.contact-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px dashed rgba(0, 255, 65, 0.3);
}
.contact-divider span {
  padding: 0 20px;
  font-size: 0.85rem;
  letter-spacing: 2px;
}
.contact-node {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  padding: 15px 25px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
}
.contact-node:hover {
  background: var(--matrix-green);
  color: var(--bg-main);
  box-shadow: 0 0 20px var(--neon-glow);
}
.system-status-footer {
  margin: 40px auto 0;
  padding-bottom: 25px;
  max-width: 750px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-top: 1px dashed rgba(0, 255, 65, 0.2);
  padding-top: 25px;
}
.status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 15px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.status-item i {
  color: var(--matrix-green);
  text-shadow: 0 0 8px var(--neon-glow);
  animation: statusBreathe 2s infinite ease-in-out;
}
@keyframes statusBreathe {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 2px var(--matrix-green));
  }
  50% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px var(--matrix-green));
  }
}

/* --- 15. MODALS --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  max-width: 650px;
  width: 90%;
  background: rgba(10, 15, 12, 0.9);
  border: 1px solid var(--matrix-green);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.9),
    inset 0 0 30px rgba(0, 255, 65, 0.05);
  transform: translateY(50px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 40px;
}
.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}
.close-modal {
  position: absolute;
  top: 20px;
  right: 25px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: 0.3s;
}
.close-modal:hover {
  color: #ff5f56;
  transform: scale(1.1);
  text-shadow: 0 0 10px #ff5f56;
}
.modal-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  padding-right: 30px;
}
.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px dashed rgba(0, 255, 65, 0.3);
}
.modal-tags span {
  background: rgba(0, 255, 65, 0.1);
  border: 1px solid var(--border-glass);
  color: var(--matrix-green);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
}
.modal-description {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 35px;
}
.modal-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.resume-modal-content {
  max-width: 850px;
  height: 85vh;
  display: flex;
  flex-direction: column;
  padding: 30px;
}
.pdf-container {
  flex-grow: 1;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: #222;
}

/* --- 16. BOOT SEQUENCE OVERLAY --- */
#boot-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #030504;
  z-index: 999999;
  display: flex;
  align-items: center;
  padding: 0 10%;
  transition: transform 0.8s cubic-bezier(0.86, 0, 0.07, 1);
}
#boot-screen.slide-up {
  transform: translateY(-100%);
}
.global-hex {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  padding: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: rgba(0, 255, 65, 0.35);
  overflow: hidden;
  line-height: 1.2;
  white-space: nowrap;
  transition: opacity 0.2s ease;
  z-index: 1;
}
#main-boot-layout {
  display: none;
  opacity: 0;
  width: 100%;
  z-index: 2;
  transition: opacity 0.4s ease;
}
.boot-console {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--matrix-green);
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.4);
}
.boot-text {
  margin-bottom: 15px;
  display: none;
}
.boot-text.success-text {
  color: #fff;
  text-shadow: 0 0 15px #fff;
  font-weight: bold;
}

/* --- 17. SYS.PET (PIXEL ROBOT) --- */
.cyber-pet {
  position: fixed;
  bottom: 25px;
  right: 30px;
  z-index: 999;
  font-family: var(--font-mono);
  color: var(--matrix-green);
  text-align: center;
  cursor: pointer;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  animation: pixelHover 2s steps(4) infinite;
}
@keyframes pixelHover {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.pixel-robot {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 5px;
}
.robot-antenna {
  width: 4px;
  height: 10px;
  background: var(--matrix-green);
  position: relative;
}
.robot-antenna::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -3px;
  width: 10px;
  height: 10px;
  background: var(--matrix-green);
  box-shadow: 0 0 10px var(--neon-glow);
  animation: blink 1s step-end infinite;
}
.robot-head {
  width: 50px;
  height: 40px;
  background: #111;
  border: 3px solid var(--matrix-green);
  box-shadow:
    0 0 10px rgba(0, 0, 0, 0.8),
    inset 0 0 5px var(--neon-glow);
  padding: 4px;
  position: relative;
  z-index: 2;
}
.robot-face {
  width: 100%;
  height: 100%;
  background: #000;
  border: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
}
.robot-eyes {
  display: flex;
  justify-content: space-between;
  width: 22px;
  position: absolute;
  top: 6px;
  left: 7px;
  transition: transform 0.1s linear;
}
.eye {
  width: 8px;
  height: 8px;
  background: var(--matrix-green);
  box-shadow: 0 0 8px var(--neon-glow);
}
.robot-body {
  width: 30px;
  height: 12px;
  background: #111;
  border: 3px solid var(--matrix-green);
  border-top: none;
  position: relative;
  z-index: 1;
}
.pet-label {
  font-size: 0.7rem;
  margin-top: 5px;
  opacity: 0.7;
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 5px;
  border-radius: 4px;
  border: 1px solid var(--border-glass);
}
.pet-speech {
  position: absolute;
  bottom: 110%;
  right: -10px;
  background: rgba(5, 5, 5, 0.95);
  border: 2px solid var(--matrix-green);
  padding: 8px 12px;
  font-size: 0.85rem;
  white-space: nowrap;
  box-shadow: 0 0 10px var(--neon-glow);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s steps(3);
}
.pet-speech.active {
  opacity: 1;
  visibility: visible;
  bottom: 125%;
}
.cyber-pet.panic-mode {
  animation: none !important;
  transition: transform 0.5s ease-in-out !important;
}

/* --- 18. ANIMATIONS & SCROLL REVEAL --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards cubic-bezier(0.25, 1, 0.5, 1);
}
.slide-up-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards cubic-bezier(0.25, 1, 0.5, 1);
  animation-delay: 1.5s;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
body.glitching {
  animation: digital-flicker 0.4s steps(4) both;
  pointer-events: none;
}
@keyframes digital-flicker {
  0%,
  100% {
    opacity: 1;
    filter: contrast(1);
  }
  20% {
    opacity: 0.5;
    filter: contrast(3) invert(1);
  }
  40% {
    opacity: 0.9;
    filter: contrast(1) invert(0);
  }
  60% {
    opacity: 0.3;
    filter: contrast(4) invert(1);
  }
  80% {
    opacity: 1;
    filter: contrast(2) invert(0);
  }
}

/* --- 19. RESPONSIVE DESIGN --- */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--matrix-green);
  color: var(--matrix-green);
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  text-shadow: 0 0 5px var(--neon-glow);
  transition: all 0.3s ease;
}
.mobile-close-item {
  display: none;
}
@media (max-width: 1024px) {
  .mainframe-body {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .identity-core {
    margin: 20px 0;
  }
  .skills-grid,
  .projects-grid,
  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .hero-glass {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }
  .hero-content {
    flex: 1.2;
    text-align: left;
    z-index: 2;
    max-width: 60%;
  }
  .hero-3d-container {
    flex: 1;
    height: 350px;
    min-width: 350px;
    position: relative;
    z-index: 1;
    cursor: grab;
  }
  .hero-glass .hero-title {
    margin: 0 auto 10px auto;
  }
  .hero-buttons,
  .social-links,
  .system-clock {
    justify-content: center;
  }
  .system-clock {
    max-width: 100%;
  }
  .sys-directory {
    flex-direction: column;
  }
  .dir-sidebar,
  .dir-main {
    width: 100%;
    border-right: none;
  }
  .dir-sidebar {
    border-bottom: 1px dashed var(--border-glass);
  }
  .file-list {
    padding: 10px 0;
  }
  .readout-display {
    padding: 30px 20px;
  }
}
@media (max-width: 768px) {
  .hero-glass .hero-title {
    font-size: 9vw;
    white-space: nowrap;
    margin: 0 auto 15px auto;
  }
  .terminal-cycler {
    font-size: 0.8rem;
    margin-bottom: 15px;
  }
  .hero-glass h2 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding: 0 10px;
  }
  .hero-glass .description {
    font-size: 0.95rem;
    margin-bottom: 30px;
    padding: 0 10px;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 15px;
    padding: 0 15px;
  }
  .hero-buttons .btn {
    width: 100%;
    padding: 12px 15px;
    font-size: 0.85rem;
  }
  .hero-3d-container {
    height: 220px;
    margin-top: 20px;
  }
  .cyber-pet {
    transform: scale(0.65);
    bottom: 5px;
    right: 5px;
  }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .pill-btn,
  .btn-primary {
    padding: 6px 10px;
    font-size: 0.75rem;
    margin-right: 0;
  }
  .logo {
    font-size: 1.1rem;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: -120vh;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(10px);
    display: flex !important;
    visibility: visible !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: top 0.5s cubic-bezier(0.86, 0, 0.07, 1);
    z-index: 998;
    border-bottom: 2px solid var(--matrix-green);
    margin: 0;
    padding: 0;
  }
  .mobile-close-item {
    display: block;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-glass);
    width: 80%;
    text-align: center;
  }
  .mobile-close-item a {
    color: #ff5f56 !important;
    font-size: 1.1rem !important;
    cursor: pointer;
  }
  .nav-links.active {
    top: 0;
  }
  .nav-links li a {
    font-size: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
  }
  .nav-links li a::before {
    content: "> ";
    opacity: 0.5;
    color: var(--text-secondary);
  }
  .nav-links li a.active::before,
  .nav-links li a:hover::before {
    opacity: 1;
    color: var(--matrix-green);
    text-shadow: 0 0 10px var(--neon-glow);
  }
  .skills-grid,
  .projects-grid,
  .certs-grid {
    grid-template-columns: 1fr;
  }
  .hacker-form .input-row {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 0;
  }
  .system-status-footer {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  .lc-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .boot-console {
    font-size: 0.9rem;
  }
  .global-hex {
    font-size: 10px;
  }
  .terminal-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
@media (max-width: 480px) {
  .pill-btn {
    font-size: 0px;
    padding: 8px 12px;
  }
  .pill-btn i {
    font-size: 1rem;
    margin: 0;
  }
  .btn-primary {
    padding: 6px 8px;
    font-size: 0.7rem;
  }
}
@media (max-width: 380px) {
  .hero-glass .hero-title {
    font-size: 1.8rem;
  }
  .system-clock {
    font-size: 0.75rem;
    flex-direction: column;
    gap: 5px;
  }
}

/* --- 20. THEME: CYBERPUNK (Red Overrides) --- */
body.theme-cyberpunk {
  --matrix-green: #ff2a2a;
  --neon-glow: rgba(255, 42, 42, 0.4);
  --border-glass: rgba(255, 42, 42, 0.25);
  --bg-glass: rgba(15, 10, 10, 0.65);
}
body.theme-cyberpunk .hero-glass {
  background: linear-gradient(
    145deg,
    rgba(25, 18, 18, 0.8),
    rgba(5, 5, 5, 0.9)
  );
  border-top: 2px solid #ff2a2a !important;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.9),
    inset 0 0 50px rgba(255, 42, 42, 0.1),
    inset 0 1px 1px rgba(255, 42, 42, 0.4);
}
body.theme-cyberpunk .hero-glass::before {
  background-image:
    radial-gradient(
      circle at top right,
      rgba(255, 42, 42, 0.1),
      transparent 40%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(200, 0, 0, 0.1),
      transparent 40%
    );
}
body.theme-cyberpunk .hero-glass .hero-title {
  color: #ff2a2a;
  text-shadow: 0 0 10px rgba(255, 42, 42, 0.4);
}
body.theme-cyberpunk .lc-circle-inner {
  background: #100808;
}
body.theme-cyberpunk .output {
  border-left-color: rgba(255, 42, 42, 0.3);
}
body.theme-cyberpunk .outer-ring {
  border-color: rgba(255, 42, 42, 0.1);
  box-shadow: 0 0 20px rgba(255, 42, 42, 0.05);
}
body.theme-cyberpunk .middle-ring {
  border-color: rgba(255, 42, 42, 0.1);
}
body.theme-cyberpunk .inner-ring {
  background: rgba(255, 42, 42, 0.05);
  box-shadow:
    inset 0 0 30px rgba(255, 42, 42, 0.2),
    0 0 30px rgba(255, 42, 42, 0.2);
  animation: pulseCoreRed 3s ease-in-out infinite;
}
body.theme-cyberpunk .spec-block h4,
body.theme-cyberpunk .system-clock {
  border-top-color: rgba(255, 42, 42, 0.2);
  border-bottom-color: rgba(255, 42, 42, 0.2);
}
body.theme-cyberpunk .sys-progress {
  border-color: rgba(255, 42, 42, 0.2);
}
body.theme-cyberpunk .skill-box:hover,
body.theme-cyberpunk #cmd-list li:hover {
  background: rgba(255, 42, 42, 0.05);
}
body.theme-cyberpunk .tags span,
body.theme-cyberpunk .modal-tags span,
body.theme-cyberpunk .cert-date {
  background: rgba(255, 42, 42, 0.1);
}
body.theme-cyberpunk .project-card:hover,
body.theme-cyberpunk .cert-card:hover {
  box-shadow: 0 0 20px rgba(255, 42, 42, 0.15);
}
body.theme-cyberpunk .stat-title,
body.theme-cyberpunk .modal-tags,
body.theme-cyberpunk .contact-divider::before,
body.theme-cyberpunk .contact-divider::after {
  border-color: rgba(255, 42, 42, 0.3);
}
body.theme-cyberpunk .terminal-form-wrapper {
  border-color: rgba(255, 42, 42, 0.15);
  box-shadow: inset 0 0 20px rgba(255, 42, 42, 0.02);
}
body.theme-cyberpunk footer {
  background: rgba(15, 10, 10, 0.9) !important;
  border-top: 1px solid rgba(255, 42, 42, 0.3) !important;
  box-shadow: 0 -10px 30px rgba(255, 42, 42, 0.05) !important;
}
body.theme-cyberpunk .boot-console {
  text-shadow: 0 0 10px rgba(255, 42, 42, 0.4);
}
body.theme-cyberpunk .global-hex {
  color: rgba(255, 42, 42, 0.35);
}
body.theme-cyberpunk .gh-langs img {
  filter: hue-rotate(225deg);
}
body.theme-cyberpunk .btn-primary {
  background: rgba(255, 42, 42, 0.05);
  box-shadow: inset 0 0 10px rgba(255, 42, 42, 0.1);
}
body.theme-cyberpunk .btn-interactive:hover {
  background: rgba(255, 42, 42, 0.15);
  box-shadow:
    0 0 20px var(--neon-glow),
    inset 0 0 15px rgba(255, 42, 42, 0.2);
}
body.theme-cyberpunk .mainframe-body {
  background: radial-gradient(
    circle at center,
    rgba(255, 42, 42, 0.03) 0%,
    transparent 70%
  );
}
body.theme-cyberpunk .hacker-form input:focus,
body.theme-cyberpunk .hacker-form textarea:focus {
  box-shadow:
    0 0 20px rgba(255, 42, 42, 0.2),
    inset 0 0 10px rgba(255, 42, 42, 0.1) !important;
  background: rgba(255, 42, 42, 0.08) !important;
  transform: translateY(-2px);
}
body.theme-cyberpunk .system-status-footer {
  border-top-color: rgba(255, 42, 42, 0.2);
}
body.theme-cyberpunk .shard-footer {
  border-top-color: rgba(255, 42, 42, 0.3);
}
body.theme-cyberpunk .eye:first-child {
  clip-path: polygon(0 0, 100% 40%, 100% 100%, 0 100%);
}
body.theme-cyberpunk .eye:last-child {
  clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%);
}

/* Breach Mode Global Card Fixes */
body.theme-cyberpunk .glass-card {
  border-color: rgba(255, 42, 42, 0.4) !important;
  background-image:
    linear-gradient(rgba(255, 42, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 42, 42, 0.03) 1px, transparent 1px) !important;
}
body.theme-cyberpunk .glass-card::before,
body.theme-cyberpunk .glass-card::after {
  border-color: #ff2a2a !important;
  box-shadow: 0 0 8px rgba(255, 42, 42, 0.4);
}
body.theme-cyberpunk .cmd-hint {
  display: inline-block !important;
  opacity: 1 !important;
  color: #e0e6ed !important;
  border: 1px dashed rgba(255, 42, 42, 0.6) !important;
  background: rgba(255, 42, 42, 0.08) !important;
  box-shadow: 0 0 15px rgba(255, 42, 42, 0.2) !important;
}
body.theme-cyberpunk .cmd-hint span {
  background: #ff2a2a !important;
  color: #050505 !important;
  box-shadow: 0 0 10px rgba(255, 42, 42, 0.6) !important;
}
body.theme-cyberpunk .status-item i {
  color: #ff2a2a !important;
  text-shadow: 0 0 8px rgba(255, 42, 42, 0.4) !important;
  animation: statusBreatheRed 2s infinite ease-in-out !important;
}
body.theme-cyberpunk .auth-terminal {
  border-color: rgba(255, 42, 42, 0.5);
}
body.theme-cyberpunk .auth-term-header {
  border-bottom-color: rgba(255, 42, 42, 0.5);
}
body.theme-cyberpunk .auth-line .prompt,
body.theme-cyberpunk .ascii-skills {
  color: #ff2a2a;
}
body.theme-cyberpunk .term-output-text {
  border-left-color: rgba(255, 42, 42, 0.3);
}
body.theme-cyberpunk .dir-sidebar {
  border-right-color: rgba(255, 42, 42, 0.25);
}
body.theme-cyberpunk .file-item.active {
  border-left-color: #ff2a2a;
  text-shadow: 0 0 8px rgba(255, 42, 42, 0.4);
  background: linear-gradient(
    90deg,
    rgba(255, 42, 42, 0.1) 0%,
    transparent 100%
  );
}
body.theme-cyberpunk .file-item:hover .bracket,
body.theme-cyberpunk .file-item.active .bracket {
  color: #ff2a2a;
}
body.theme-cyberpunk .readout-status span {
  color: #ff2a2a !important;
}
body.theme-cyberpunk .readout-header {
  border-bottom-color: rgba(255, 42, 42, 0.2);
}
body.theme-cyberpunk .proj-title {
  color: #ff2a2a;
  text-shadow: 0 0 10px rgba(255, 42, 42, 0.4);
}

@keyframes statusBreatheRed {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 2px #ff2a2a);
  }
  50% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px rgba(255, 42, 42, 0.8));
  }
}
@keyframes pulseCoreRed {
  50% {
    box-shadow:
      inset 0 0 50px rgba(255, 42, 42, 0.4),
      0 0 50px rgba(255, 42, 42, 0.4);
  }
}

/* =========================================
   21. GLOBE TELEMETRY READOUT
   ========================================= */
.globe-telemetry {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 1px;
  z-index: 10;
  position: relative;
}
.telemetry-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--matrix-green);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 8px var(--neon-glow);
  animation: telemetryPulse 1.5s infinite alternate;
}
@keyframes telemetryPulse {
  0% {
    opacity: 0.4;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 12px var(--matrix-green);
  }
}
body.theme-cyberpunk .telemetry-dot {
  background-color: #ff2a2a;
  box-shadow: 0 0 8px rgba(255, 42, 42, 0.4);
  animation: telemetryPulseRed 1.5s infinite alternate;
}
@keyframes telemetryPulseRed {
  0% {
    opacity: 0.4;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 12px #ff2a2a;
  }
}

/* =========================================
   22. UNIVERSAL BUTTON HOVERS & ELEVATIONS
   ========================================= */

/* A. Flat Breathing Glow (Transmit Data, Live Demo, View Source) */
.btn:hover,
.submit-btn:hover {
  background-color: #050505 !important;
  border-color: var(--matrix-green) !important;
  color: var(--matrix-green) !important;
  transform: none !important; /* Forces flat */
  text-shadow: 0 0 8px var(--matrix-green) !important;
  animation: neonBreathingGlow 1.2s infinite alternate ease-in-out !important;
}

/* B. Social Links (Keep scale, but stay flat/no lift) */
.social-links a:hover {
  background-color: #050505 !important;
  border-color: var(--matrix-green) !important;
  color: var(--matrix-green) !important;
  transform: scale(1.1) !important;
  box-shadow:
    0 0 15px rgba(0, 255, 65, 0.4),
    0 0 30px rgba(0, 255, 65, 0.2),
    inset 0 0 10px rgba(0, 255, 65, 0.1) !important;
  text-shadow: 0 0 8px var(--matrix-green) !important;
}

/* C. Hero Buttons (Open Projects, Get Resume) -> Force Elevation */
.hero-buttons .btn:hover {
  transform: translateY(-3px) !important; /* Only these buttons lift */
}

/* D. Disable Hover Effects for INIT_BREACH (Pill Button) */
.pill-btn:hover {
  background: transparent !important;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5) !important;
  transform: none !important;
  text-shadow: 0 0 5px var(--neon-glow) !important;
}

@keyframes neonBreathingGlow {
  0% {
    box-shadow:
      0 0 8px rgba(0, 255, 65, 0.3),
      inset 0 0 5px rgba(0, 255, 65, 0.1) !important;
  }
  100% {
    box-shadow:
      0 0 20px rgba(0, 255, 65, 0.8),
      inset 0 0 15px rgba(0, 255, 65, 0.2) !important;
  }
}

/* --- Breach Mode Button Overrides --- */
body.theme-cyberpunk .btn:hover,
body.theme-cyberpunk .submit-btn:hover,
body.theme-cyberpunk .social-links a:hover {
  border-color: #ff2a2a !important;
  color: #ff2a2a !important;
  text-shadow: 0 0 8px #ff2a2a !important;
  animation: neonBreathingGlowRed 1.2s infinite alternate ease-in-out !important;
}
body.theme-cyberpunk .social-links a:hover::after {
  color: #ff2a2a !important;
  border-color: #ff2a2a !important;
  box-shadow: 0 0 10px rgba(255, 42, 42, 0.4) !important;
}
@keyframes neonBreathingGlowRed {
  0% {
    box-shadow:
      0 0 8px rgba(255, 42, 42, 0.3),
      inset 0 0 5px rgba(255, 42, 42, 0.1) !important;
  }
  100% {
    box-shadow:
      0 0 20px rgba(255, 42, 42, 0.8),
      inset 0 0 15px rgba(255, 42, 42, 0.2) !important;
  }
}
