@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800;900&family=Rajdhani:wght@400;500;600;700&family=Share+Tech+Mono&display=swap');

/* --- DESIGN SYSTEM & CONSTANTS --- */
:root {
  /* HSL Color Palette */
  --space-black: #000000;
  --space-deep: #010103;
  --cyan-core: hsl(180, 100%, 50%);
  --cyan-dim: hsla(180, 100%, 50%, 0.45);
  --cyan-glow: hsla(180, 100%, 50%, 0.2);
  --purple-core: hsl(275, 90%, 60%);
  --purple-dim: hsla(275, 90%, 60%, 0.45);
  --purple-glow: hsla(275, 90%, 60%, 0.2);
  --whatsapp-green: hsl(142, 70%, 45%);
  --whatsapp-green-dim: hsla(142, 70%, 45%, 0.45);
  --whatsapp-green-glow: hsla(142, 70%, 45%, 0.2);
  --starlight: hsl(220, 40%, 98%);
  --starlight-dim: hsla(220, 40%, 95%, 0.75);
  --dark-glass: rgba(0, 0, 1, 0.92);

  /* Fonts */
  --font-hologram: 'Orbitron', sans-serif;
  --font-tech: 'Rajdhani', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;

  /* Transitions */
  --transit-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transit-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transit-cinematic: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none !important;
  /* Hide native cursor globally to use custom WebGL/Canvas cursor */
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--space-black);
  color: var(--starlight);
  font-family: var(--font-tech);
  font-size: 18px;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--space-black);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--cyan-core), var(--purple-core));
  border-radius: 3px;
  box-shadow: 0 0 8px var(--cyan-core);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cyan-core);
}

/* --- CANVAS CONTAINER & OVERLAYS --- */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  /* Place above root black background, behind content */
  pointer-events: none;
  opacity: 0.45;
  filter: brightness(0.85);
  transition: opacity 0.4s ease;
}

#cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
  /* Let clicks pass through */
}

/* Scanlines overlay to simulate a CRT holographic HUD */
.hud-scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  pointer-events: none;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%,
      rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg,
      rgba(255, 0, 0, 0.06),
      rgba(0, 255, 0, 0.02),
      rgba(0, 0, 255, 0.06));
  background-size: 100% 4px, 6px 100%;
  opacity: 0.45;
}

/* Subtle CRT flickering */
@keyframes crt-flicker {
  0% {
    opacity: 0.98;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.99;
  }
}

body::after {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: radial-gradient(circle, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 998;
  pointer-events: none;
}

/* --- CINEMATIC LOADER --- */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--space-deep);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 1s cubic-bezier(0.7, 0, 0.3, 1), visibility 1s;
}

#loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-hud {
  width: 90%;
  max-width: 600px;
  background: rgba(8, 8, 20, 0.8);
  border: 1px solid var(--cyan-dim);
  border-radius: 4px;
  padding: 40px;
  box-shadow: 0 0 30px var(--cyan-glow), inset 0 0 15px var(--cyan-glow);
  position: relative;
  font-family: var(--font-mono);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.loader-hud::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent, rgba(6, 182, 212, 0.05));
  pointer-events: none;
}

.loader-title {
  font-family: var(--font-hologram);
  color: var(--cyan-core);
  font-size: 1.5rem;
  letter-spacing: 0.2rem;
  text-shadow: 0 0 10px var(--cyan-core);
  margin-bottom: 25px;
  text-align: center;
}

.loader-logs {
  height: 120px;
  overflow-y: hidden;
  font-size: 0.8rem;
  color: var(--starlight-dim);
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}

.log-line {
  opacity: 0;
  transform: translateY(10px);
  animation: log-fade-in 0.3s forwards;
}

.log-line.success {
  color: var(--cyan-core);
}

.log-line.warning {
  color: var(--purple-core);
}

@keyframes log-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.progress-container {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(6, 182, 212, 0.2);
  margin-bottom: 30px;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-core), var(--purple-core));
  box-shadow: 0 0 10px var(--cyan-core);
  transition: width 0.1s linear;
}

.engage-btn {
  background: transparent;
  border: 1px solid var(--cyan-core);
  color: var(--cyan-core);
  font-family: var(--font-hologram);
  font-size: 1rem;
  padding: 12px 35px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: none;
  transition: all var(--transit-fast);
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

.engage-btn.ready {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  animation: pulse-border 2s infinite;
}

.engage-btn:hover {
  background: var(--cyan-core);
  color: var(--space-black);
  box-shadow: 0 0 25px var(--cyan-core);
}

@keyframes pulse-border {
  0% {
    box-shadow: 0 0 5px rgba(6, 182, 212, 0.3);
  }

  50% {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.8);
  }

  100% {
    box-shadow: 0 0 5px rgba(6, 182, 212, 0.3);
  }
}

/* --- HUD LAYOUT (HEADER, ASIDES) --- */
#hud {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* Make clicks pass to elements underneath */
  z-index: 100;
  opacity: 0;
  transition: opacity 1.5s ease-out;
}

#hud.visible {
  opacity: 1;
}

/* Header */
.hud-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
  background: linear-gradient(to bottom, rgba(5, 5, 12, 0.8) 0%, transparent 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(6, 182, 212, 0.15);
  z-index: 1002;
  /* Sit above the mobile navigation menu overlay */
}

.hud-logo {
  font-family: var(--font-hologram);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--starlight);
  letter-spacing: 2px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hud-logo span {
  color: var(--cyan-core);
  text-shadow: 0 0 8px var(--cyan-core);
  border: 1px solid var(--cyan-dim);
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(0, 229, 255, 0.05);
  transition: all var(--transit-fast);
}

.hud-logo::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--cyan-core);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan-core);
  animation: pulse-dot 1.5s infinite;
  transition: all var(--transit-fast);
}

.hud-logo:hover span {
  background: var(--cyan-core);
  color: var(--space-black);
  border-color: var(--cyan-core);
  text-shadow: none;
  box-shadow: 0 0 15px var(--cyan-core);
}

.hud-logo:hover::before {
  background: var(--cyan-core);
  box-shadow: 0 0 10px var(--cyan-core);
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }

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

  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
}

.hud-nav {
  display: flex;
  gap: 30px;
}

.hud-link {
  font-family: var(--font-hologram);
  font-size: 0.8rem;
  color: var(--starlight-dim);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding: 8px 12px;
  transition: color var(--transit-fast);
}

.hud-link::before {
  content: '[';
  position: absolute;
  left: -2px;
  opacity: 0;
  transform: translateX(5px);
  transition: all var(--transit-fast);
  color: var(--cyan-core);
}

.hud-link::after {
  content: ']';
  position: absolute;
  right: -2px;
  opacity: 0;
  transform: translateX(-5px);
  transition: all var(--transit-fast);
  color: var(--cyan-core);
}

.hud-link:hover,
.hud-link.active {
  color: var(--cyan-core);
  text-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
}

.hud-link:hover::before,
.hud-link.active::before {
  opacity: 1;
  transform: translateX(0);
}

.hud-link:hover::after,
.hud-link.active::after {
  opacity: 1;
  transform: translateX(0);
}

/* Audio control & System Status */
.hud-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.audio-toggle {
  background: transparent;
  border: 1px solid rgba(6, 182, 212, 0.4);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-core);
  font-size: 0.9rem;
  transition: all var(--transit-fast);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.1);
}

.audio-toggle:hover {
  background: var(--cyan-glow);
  border-color: var(--cyan-core);
  box-shadow: 0 0 15px var(--cyan-dim);
}

.audio-icon-waves {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.audio-wave {
  width: 2px;
  background-color: var(--cyan-core);
  border-radius: 1px;
  height: 100%;
  animation: audio-bounce 0.8s ease infinite alternate;
  animation-play-state: paused;
}

.audio-toggle.playing .audio-wave {
  animation-play-state: running;
}

.audio-wave:nth-child(2) {
  height: 60%;
  animation-delay: -0.2s;
}

.audio-wave:nth-child(3) {
  height: 80%;
  animation-delay: -0.4s;
}

.audio-wave:nth-child(4) {
  height: 40%;
  animation-delay: -0.6s;
}

@keyframes audio-bounce {
  from {
    height: 10%;
  }

  to {
    height: 100%;
  }
}

/* HUD Decorative Border & Coordinates */
.hud-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--cyan-dim);
  pointer-events: none;
}

.hud-corner.tl {
  top: 90px;
  left: 20px;
  border-right: none;
  border-bottom: none;
}

.hud-corner.tr {
  top: 90px;
  right: 20px;
  border-left: none;
  border-bottom: none;
}

.hud-corner.bl {
  bottom: 20px;
  left: 20px;
  border-right: none;
  border-top: none;
}

.hud-corner.br {
  bottom: 20px;
  right: 20px;
  border-left: none;
  border-top: none;
}

.hud-telemetry {
  position: absolute;
  bottom: 25px;
  left: 50px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--starlight-dim);
  display: flex;
  gap: 30px;
}

.telemetry-item span {
  color: var(--cyan-core);
}

.hud-sector {
  position: absolute;
  right: 50px;
  bottom: 25px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--starlight-dim);
  text-align: right;
}

.hud-sector span {
  color: var(--purple-core);
}

/* --- SECTION CONTENT CONTAINER --- */
#content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

.section {
  width: 100%;
  min-height: 100vh;
  padding: 120px 8% 80px 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
  position: relative;
  box-sizing: border-box;
}

/* Standard Section Headers */
.section-header {
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.section-code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan-core);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 5px;
  display: block;
}

.section-title {
  font-family: var(--font-hologram);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--starlight);
  position: relative;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-core), transparent);
  margin-top: 10px;
}

/* Glassmorphism Panel styles */
.hud-panel {
  background: var(--dark-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--cyan-dim);
  border-radius: 4px;
  padding: 30px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.75),
    0 0 15px var(--cyan-glow),
    inset 0 0 15px var(--cyan-glow);
  position: relative;
  transition: border-color var(--transit-smooth), box-shadow var(--transit-smooth);
}

.hud-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 20px;
  background: var(--cyan-core);
  box-shadow: 0 0 8px var(--cyan-core);
}

.hud-panel::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 4px;
  background: var(--purple-core);
  box-shadow: 0 0 8px var(--purple-core);
}

.hud-panel:hover {
  border-color: var(--cyan-core);
  box-shadow: 0 12px 45px rgba(6, 182, 212, 0.2),
    0 0 25px var(--cyan-dim),
    inset 0 0 20px var(--cyan-dim);
}

/* --- HERO SECTION --- */
#hero {
  align-items: flex-start;
  justify-content: center;
}

.hero-content {
  max-width: 800px;
  position: relative;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--cyan-dim);
  padding: 6px 16px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan-core);
  letter-spacing: 1px;
  margin-bottom: 25px;
  text-transform: uppercase;
  animation: hero-fade-down 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--cyan-core);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan-core);
  animation: pulse-dot 1s infinite;
}

.hero-title {
  font-family: var(--font-hologram);
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--starlight) 30%, var(--cyan-core) 70%, var(--purple-core));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.25));
  animation: hero-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: white;
  letter-spacing: 2px;
  margin-bottom: 40px;
  animation: hero-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-content p {
  animation: hero-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.hero-actions {
  display: flex;
  gap: 20px;
  animation: hero-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

@keyframes hero-fade-down {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

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

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal-element {
  opacity: 0;
  transform: translateY(35px) scale(0.96);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease, box-shadow 0.5s ease;
  will-change: opacity, transform;
}

.reveal-element.reveal-left {
  transform: translateX(-40px) scale(0.96);
}

.reveal-element.reveal-right {
  transform: translateX(40px) scale(0.96);
}

.reveal-element.reveal-up {
  transform: translateY(40px) scale(0.96);
}

.reveal-element.reveal-scale {
  transform: scale(0.9);
}

.reveal-element.revealed {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* Futuristic HUD Panel pulse when revealed on scroll */
.hud-panel.reveal-element.revealed {
  animation: hud-reveal-pulse 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes hud-reveal-pulse {
  0% {
    border-color: var(--cyan-core);
    box-shadow: 0 0 35px var(--cyan-core), inset 0 0 20px var(--cyan-core);
  }

  40% {
    border-color: var(--cyan-core);
    box-shadow: 0 0 25px var(--cyan-dim), inset 0 0 15px var(--cyan-dim);
  }

  100% {
    border-color: var(--cyan-dim);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.75), 0 0 15px var(--cyan-glow), inset 0 0 15px var(--cyan-glow);
  }
}

/* Reveal Delays */
.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

.reveal-delay-3 {
  transition-delay: 0.36s;
}

.reveal-delay-4 {
  transition-delay: 0.48s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-core), var(--cyan-dim));
  border: 1px solid var(--cyan-core);
  color: var(--space-black);
  font-family: var(--font-hologram);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 15px 35px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all var(--transit-fast);
  box-shadow: 0 0 15px var(--cyan-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--cyan-core);
  background: var(--cyan-core);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--starlight-dim);
  color: var(--starlight);
  font-family: var(--font-hologram);
  font-size: 0.85rem;
  padding: 15px 35px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all var(--transit-fast);
}

.btn-secondary:hover {
  border-color: var(--cyan-core);
  color: var(--cyan-core);
  background: rgba(6, 182, 212, 0.05);
  box-shadow: 0 0 15px var(--cyan-glow);
  transform: translateY(-2px);
}

/* --- MOUSE SCROLL DOWN INDICATOR --- */
.scroll-indicator {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--cyan-core);
  z-index: 20;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
  pointer-events: auto;
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
}

.mouse-icon {
  width: 24px;
  height: 40px;
  border: 2px solid var(--cyan-dim);
  border-radius: 12px;
  position: relative;
  background: rgba(1, 1, 5, 0.5);
  backdrop-filter: blur(4px);
  box-shadow: 0 0 12px var(--cyan-glow), inset 0 0 8px var(--cyan-glow);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.mouse-wheel {
  width: 4px;
  height: 8px;
  background: var(--cyan-core);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--cyan-core);
  animation: mouse-wheel-roll 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes mouse-wheel-roll {
  0% {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  60% {
    opacity: 0.8;
    transform: translate(-50%, 12px);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 18px);
  }
}

.scroll-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
}

.scroll-arrows span {
  display: block;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--cyan-core);
  border-bottom: 2px solid var(--cyan-core);
  transform: rotate(45deg);
  animation: arrow-bounce-glow 1.8s ease-in-out infinite;
}

.scroll-arrows span:nth-child(2) {
  animation-delay: 0.25s;
}

@keyframes arrow-bounce-glow {

  0%,
  100% {
    opacity: 0.3;
    transform: rotate(45deg) translate(0, 0);
  }

  50% {
    opacity: 1;
    transform: rotate(45deg) translate(2px, 2px);
    filter: drop-shadow(0 0 5px var(--cyan-core));
  }
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2.5px;
  color: var(--starlight-dim);
  text-transform: uppercase;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  user-select: none;
}

.scroll-indicator:hover .mouse-icon {
  border-color: var(--cyan-core);
  box-shadow: 0 0 20px var(--cyan-dim), inset 0 0 12px var(--cyan-dim);
  transform: translateY(2px);
}

.scroll-indicator:hover .scroll-text {
  color: var(--cyan-core);
  text-shadow: 0 0 8px var(--cyan-dim);
}

/* --- ABOUT SECTION (BIOMETRIC LOGBOOK) --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: stretch;
}

.bio-card p {
  margin-bottom: 20px;
  color: var(--starlight-dim);
}

.bio-stats {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-item {
  border-left: 2px solid var(--purple-core);
  padding-left: 15px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--purple-core);
  text-transform: uppercase;
  display: block;
}

.stat-val {
  font-family: var(--font-hologram);
  font-size: 1.1rem;
  font-weight: 600;
}

/* Hologram Visualizer Box */
.hologram-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(6, 182, 212, 0.3);
  background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
  position: relative;
  overflow: hidden;
}

.hologram-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('profile.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: grayscale(40%) contrast(120%) brightness(90%) sepia(20%) hue-rotate(160deg);
  mix-blend-mode: screen;
  z-index: 0;
  pointer-events: none;
  transition: all var(--transit-smooth);
}

.hologram-box:hover::before {
  opacity: 0.35;
  filter: grayscale(0%) contrast(110%) brightness(100%);
}

.holo-photo-container {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--cyan-dim);
  box-shadow: 0 0 25px var(--cyan-glow);
  background: rgba(0, 229, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.holo-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) contrast(120%) brightness(90%) sepia(20%) hue-rotate(160deg);
  mix-blend-mode: screen;
  opacity: 0.85;
  transition: all var(--transit-smooth);
}

.holo-photo-container:hover .holo-photo {
  filter: grayscale(0%) contrast(110%) brightness(100%);
  opacity: 1;
}

.holo-photo-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to bottom, transparent, var(--cyan-core), transparent);
  box-shadow: 0 0 12px var(--cyan-core);
  z-index: 5;
  animation: scan-vertical 4s linear infinite;
  pointer-events: none;
}

.holo-photo-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 8px 8px;
  background-image: linear-gradient(rgba(6, 182, 212, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.08) 1px, transparent 1px);
  z-index: 4;
  pointer-events: none;
}

.holo-ring-outer {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 1px dashed var(--cyan-core);
  border-radius: 50%;
  animation: rotate-retro 20s linear infinite;
  pointer-events: none;
  opacity: 0.6;
}

.holo-ring-inner {
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 1px dotted var(--purple-core);
  border-radius: 50%;
  animation: rotate-retro-rev 12s linear infinite;
  pointer-events: none;
  opacity: 0.5;
}

.hologram-rings {
  position: absolute;
  bottom: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan-core);
  animation: pulse-opacity 2s ease-in-out infinite;
  z-index: 2;
}

.hologram-socials {
  position: absolute;
  bottom: 45px;
  display: flex;
  gap: 15px;
  z-index: 10;
  pointer-events: auto;
}

.hologram-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--cyan-dim);
  background: rgba(0, 229, 255, 0.05);
  color: var(--cyan-core);
  transition: all var(--transit-fast);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.2);
}

.hologram-social-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform var(--transit-fast);
}

.hologram-social-link:hover {
  border-color: var(--cyan-core);
  color: var(--starlight);
  background: var(--cyan-glow);
  box-shadow: 0 0 15px var(--cyan-core);
  transform: translateY(-2px);
}

.hologram-social-link:hover svg {
  transform: scale(1.15);
}

@keyframes rotate-retro {
  from {
    transform: rotate(0deg);
  }

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

@keyframes rotate-retro-rev {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

@keyframes pulse-opacity {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

@keyframes scan-vertical {
  0% {
    top: -5%;
  }

  50% {
    top: 105%;
  }

  100% {
    top: -5%;
  }
}


/* --- SKILLS SECTION --- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.skill-category-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-hologram);
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan-core);
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(6, 182, 212, 0.2);
  padding-bottom: 10px;
}

.category-icon {
  width: 22px;
  height: 22px;
  fill: var(--cyan-core);
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px var(--cyan-core));
}

.skill-bars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-bar-wrapper {
  width: 100%;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  margin-bottom: 8px;
  color: var(--starlight-dim);
}

.skill-name {
  color: var(--starlight);
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-icon {
  width: 18px;
  height: 18px;
  fill: var(--cyan-core);
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px var(--cyan-glow));
  transition: transform var(--transit-fast), filter var(--transit-fast);
}

.skill-bar-wrapper:hover .skill-icon {
  transform: scale(1.25) rotate(5deg);
  filter: drop-shadow(0 0 8px var(--cyan-core));
}

.skill-percentage {
  font-family: var(--font-mono);
  color: var(--cyan-core);
  font-weight: 600;
}

.skill-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-core), var(--purple-core));
  width: 0%;
  /* Animated on trigger */
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px var(--cyan-core);
}

/* --- PROJECTS SECTION --- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.project-img-box {
  width: 100%;
  height: 190px;
  position: relative;
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid rgba(6, 182, 212, 0.15);
}

.project-img-box img,
.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transit-smooth, 0.4s ease), filter var(--transit-smooth, 0.4s ease);
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

/* Individual project image and box IDs (inherit default 190px height and 100% width) */

#project-img-1 {
  object-position: center;
}

#project-img-2 {
  object-position: center;
}

#project-img-3 {
  object-position: center;
}

/* Custom CSS generated visuals inside cards */
.project-visual-plasma {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, var(--purple-glow) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, var(--cyan-glow) 0%, transparent 60%),
    rgba(5, 5, 12, 0.9);
  position: relative;
}

.project-visual-grid {
  width: 100%;
  height: 100%;
  background-size: 20px 20px;
  background-image: linear-gradient(to right, rgba(6, 182, 212, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(6, 182, 212, 0.05) 1px, transparent 1px);
  position: absolute;
  top: 0;
  left: 0;
}

.project-visual-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 1px solid var(--cyan-dim);
  border-radius: 50%;
  animation: rotate-retro 10s linear infinite;
}

.project-visual-core::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--cyan-core);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan-core);
}

.project-card:hover .project-visual-core {
  animation-duration: 4s;
  border-color: var(--cyan-core);
}

.project-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-tech-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: rgba(6, 182, 212, 0.06);
  border: 1px solid rgba(6, 182, 212, 0.15);
  color: var(--cyan-core);
  padding: 3px 8px;
  border-radius: 2px;
}

.project-title {
  font-family: var(--font-hologram);
  font-size: 1.15rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-desc {
  font-size: 0.85rem;
  color: var(--starlight-dim);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* --- CYBER HUD PROJECT BUTTONS --- */
.project-link {
  font-family: var(--font-hologram);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--cyan-core);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: rgba(6, 182, 212, 0.06);
  border: 1px solid var(--cyan-core);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  box-shadow: 0 0 14px var(--cyan-glow), inset 0 0 8px rgba(6, 182, 212, 0.06);
  transition: all var(--transit-smooth);
  margin-top: auto;
}

/* Diagonal light sheen sweep effect on hover */
.project-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.2) 40%,
      rgba(255, 255, 255, 0.7) 50%,
      rgba(255, 255, 255, 0.2) 60%,
      transparent 100%);
  transform: skewX(-25deg);
  transition: left 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}

/* Arrow indicator */
.project-link::after {
  content: '→';
  display: inline-block;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform var(--transit-smooth);
}

/* Base Hover State */
.project-link:hover {
  color: #ffffff;
  border-color: #ffffff;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.35), rgba(138, 43, 226, 0.25));
  box-shadow: 0 0 25px var(--cyan-core), 0 0 45px var(--cyan-glow), inset 0 0 14px rgba(6, 182, 212, 0.4);
  transform: translateY(-3px);
  text-shadow: 0 0 10px var(--cyan-core), 0 0 20px rgba(6, 182, 212, 0.8);
}

.project-link:hover::before {
  left: 140%;
}

.project-link:hover::after {
  transform: translateX(6px);
}

.project-link:active {
  transform: translateY(-1px) scale(0.98);
}

/* --- THEMATIC COLOR ACCENTS FOR THE 3 PROJECTS --- */

/* Project 1: Algorithm Visualizer (Neon Cyan Core) */
.project-card:nth-child(1) .project-link,
.project-link.btn-algo {
  color: var(--cyan-core);
  border-color: var(--cyan-core);
  box-shadow: 0 0 14px var(--cyan-glow), inset 0 0 8px rgba(6, 182, 212, 0.08);
}

.project-card:nth-child(1) .project-link:hover,
.project-link.btn-algo:hover {
  color: #ffffff;
  border-color: #ffffff;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.4), rgba(6, 182, 212, 0.15));
  box-shadow: 0 0 25px var(--cyan-core), 0 0 45px var(--cyan-glow), inset 0 0 15px rgba(6, 182, 212, 0.45);
  text-shadow: 0 0 10px var(--cyan-core);
}

/* Project 2: Agrozonex (Emerald / Teal IoT Bio-Core) */
.project-card:nth-child(2) .project-link,
.project-link.btn-agronex {
  color: #00f5a0;
  border-color: rgba(0, 245, 160, 0.65);
  box-shadow: 0 0 14px rgba(0, 245, 160, 0.2), inset 0 0 8px rgba(0, 245, 160, 0.06);
}

.project-card:nth-child(2) .project-link:hover,
.project-link.btn-agronex:hover {
  color: #ffffff;
  border-color: #ffffff;
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.35), rgba(6, 182, 212, 0.2));
  box-shadow: 0 0 25px rgba(0, 245, 160, 0.85), 0 0 45px rgba(0, 245, 160, 0.3), inset 0 0 15px rgba(0, 245, 160, 0.4);
  text-shadow: 0 0 10px #00f5a0;
}

/* Project 3: Plug Me (Cosmic Purple Deep AI Neural) */
.project-card:nth-child(3) .project-link,
.project-link.btn-plugme {
  color: hsl(275, 100%, 75%);
  border-color: var(--purple-core);
  box-shadow: 0 0 14px var(--purple-glow), inset 0 0 8px rgba(138, 43, 226, 0.08);
}

.project-card:nth-child(3) .project-link:hover,
.project-link.btn-plugme:hover {
  color: #ffffff;
  border-color: #ffffff;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.42), rgba(6, 182, 212, 0.15));
  box-shadow: 0 0 25px var(--purple-core), 0 0 45px var(--purple-glow), inset 0 0 15px rgba(138, 43, 226, 0.45);
  text-shadow: 0 0 10px var(--purple-core);
}

/* --- CONTACT SECTION (TRANSMISSION TERMINAL) --- */
.contact-container {
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.terminal-header {
  background: rgba(6, 182, 212, 0.1);
  border-bottom: 1px solid rgba(6, 182, 212, 0.2);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan-core);
  letter-spacing: 1px;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.terminal-dot.red {
  background: #ef4444;
}

.terminal-dot.yellow {
  background: #eab308;
}

.terminal-dot.green {
  background: #22c55e;
}

.terminal-form {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--purple-core);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 3px;
  padding: 12px 15px;
  color: var(--starlight);
  font-family: var(--font-tech);
  font-size: 0.95rem;
  transition: all var(--transit-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--cyan-core);
  box-shadow: 0 0 10px var(--cyan-glow);
  background: rgba(6, 182, 212, 0.02);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  background: transparent;
  border: 1px solid var(--purple-core);
  color: var(--purple-core);
  font-family: var(--font-hologram);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all var(--transit-fast);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.btn-submit:hover {
  background: var(--purple-core);
  color: var(--space-black);
  box-shadow: 0 0 25px var(--purple-core);
}

.submit-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  width: 100%;
}

@media (max-width: 600px) {
  .submit-group {
    grid-template-columns: 1fr;
  }
}

#whatsapp-btn {
  border-color: var(--whatsapp-green-dim);
  color: var(--whatsapp-green);
  box-shadow: 0 0 10px var(--whatsapp-green-glow);
}

#whatsapp-btn:hover {
  background: var(--whatsapp-green);
  color: var(--space-black);
  border-color: var(--whatsapp-green);
  box-shadow: 0 0 25px var(--whatsapp-green);
}

.terminal-response {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan-core);
  padding: 12px;
  background: rgba(6, 182, 212, 0.05);
  border-left: 2px solid var(--cyan-core);
  display: none;
  animation: log-fade-in 0.3s forwards;
}

.hologram-socials.footer-socials {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 50px;
  margin-bottom: 20px;
  width: 100%;
}

.footer-socials .hologram-social-link {
  width: 48px;
  height: 48px;
}

.footer-socials .hologram-social-link svg {
  width: 20px;
  height: 20px;
}

/* --- FOOTER / COPYRIGHT --- */
.hud-footer {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--starlight-dim);
  padding: 40px 0;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  width: 100%;
}

.hud-footer span {
  color: var(--cyan-core);
}

/* --- MOBILE MENU & TOGGLE --- */
.mobile-menu-toggle {
  display: none;
  /* Hidden on desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 44px;
  /* Expanded touch hit area */
  height: 44px;
  /* Expanded touch hit area */
  background: transparent;
  border: none;
  padding: 13px 9px;
  /* Centers visual 26px x 18px bars */
  z-index: 1003;
  /* Above mobile menu overlay */
  cursor: none !important;
  pointer-events: auto;
}

.mobile-menu-toggle:focus {
  outline: none;
}

.menu-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--cyan-core);
  box-shadow: 0 0 5px var(--cyan-dim);
  transition: all var(--transit-smooth);
}

/* Transform hamburger to X when active */
.mobile-menu-toggle.active .menu-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .menu-bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-menu-toggle.active .menu-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hud-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--dark-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 900;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 2px solid var(--cyan-dim);
  box-shadow: 0 0 30px var(--cyan-glow), inset 0 0 30px var(--cyan-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: opacity var(--transit-smooth), transform var(--transit-smooth), visibility var(--transit-smooth);
  pointer-events: auto;
  /* Enable touch/clicks since parent #hud has pointer-events: none */
}

.hud-mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu-scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%,
      rgba(0, 0, 0, 0.4) 50%);
  background-size: 100% 6px;
  opacity: 0.3;
}

.hud-mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  z-index: 2;
}

.hud-mobile-link {
  font-family: var(--font-hologram);
  font-size: 1.3rem;
  color: var(--starlight-dim);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 8px 16px;
  transition: all var(--transit-fast);
  position: relative;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid transparent;
}

.hud-mobile-link::before {
  content: '[';
  position: absolute;
  left: -8px;
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--transit-fast);
  color: var(--cyan-core);
}

.hud-mobile-link::after {
  content: ']';
  position: absolute;
  right: -8px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transit-fast);
  color: var(--cyan-core);
}

.hud-mobile-link:hover,
.hud-mobile-link.active {
  color: var(--cyan-core);
  text-shadow: 0 0 10px var(--cyan-core);
}

.hud-mobile-link:hover::before,
.hud-mobile-link.active::before {
  opacity: 1;
  transform: translateX(0);
}

.hud-mobile-link:hover::after,
.hud-mobile-link.active::after {
  opacity: 1;
  transform: translateX(0);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 900px) {
  html {
    font-size: 16px;
  }

  .hud-header {
    padding: 15px 20px;
  }

  .hud-nav {
    display: none;
    /* Hide default nav menu on small screens */
  }

  .mobile-menu-toggle {
    display: flex;
    /* Show hamburger */
  }

  #content-wrapper {
    scroll-snap-type: none !important;
    overflow-y: auto !important;
    height: 100vh;
  }

  .section {
    min-height: auto !important;
    height: auto !important;
    scroll-snap-align: none !important;
    padding: 100px 6% 60px 6% !important;
  }

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

  .hologram-box {
    order: -1;
    padding: 35px 0;
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .hud-telemetry,
  .hud-sector,
  .hud-corner {
    display: none;
  }

  .hud-footer {
    padding: 30px 10px;
    margin-top: 40px;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.2rem !important;
    line-height: 1.2;
    letter-spacing: -1px;
  }

  .hero-subtitle {
    font-size: 1rem !important;
    margin-bottom: 25px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }

  .section-title {
    font-size: 1.6rem !important;
  }

  .bio-stats {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }

  .holo-photo-container {
    width: 140px !important;
    height: 140px !important;
  }

  .hologram-rings {
    bottom: 85px !important;
    font-size: 0.65rem !important;
  }

  .hologram-socials {
    bottom: 35px !important;
    gap: 12px !important;
  }

  .hologram-social-link {
    width: 32px !important;
    height: 32px !important;
  }

  .hologram-social-link svg {
    width: 12px !important;
    height: 12px !important;
  }

  .footer-socials .hologram-social-link {
    width: 42px !important;
    height: 42px !important;
  }

  .footer-socials .hologram-social-link svg {
    width: 18px !important;
    height: 18px !important;
  }

  .hud-panel {
    padding: 20px 15px !important;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 25px !important;
  }

  .hud-logo {
    font-size: 1.1rem !important;
  }

  .hud-logo-prefix {
    display: none;
  }

  .scroll-indicator {
    bottom: 12px;
    gap: 4px;
  }

  .mouse-icon {
    width: 20px;
    height: 34px;
  }

  .mouse-wheel {
    width: 3px;
    height: 6px;
    top: 5px;
  }

  .scroll-text {
    font-size: 0.58rem;
    letter-spacing: 1.5px;
  }
}