/* ==========================================
   Bug Bounty Roadmap - ULTIMATE HACKER TERMINAL THEME
   ========================================== */

/* CSS Custom Properties - Enhanced Cyberpunk Colors */
/* Add this to your <style> tag or CSS file */
body {
    -webkit-user-select: none;  /* Chrome, Safari, and Opera */
    -moz-user-select: none;     /* Firefox */
    -ms-user-select: none;      /* IE 10+ */
    user-select: none;          /* Standard syntax */
}
:root {
  /* Dark terminal backgrounds */
  --bg-primary: #0a0a0a;
  --bg-secondary: #050505;
  --bg-card: rgba(0, 20, 10, 0.9);
  --bg-glass: rgba(0, 255, 65, 0.03);
  --bg-terminal: #0d1117;

  /* Neon Cyberpunk Colors */
  --accent-primary: #00ff41;
  --accent-secondary: #0ff;
  --accent-tertiary: #ff003c;
  --accent-purple: #bc13fe;
  --accent-orange: #ff6600;
  --accent-yellow: #ffff00;
  --accent-pink: #ff00ff;

  /* Terminal text colors */
  --text-primary: #00ff41;
  --text-secondary: #00cc33;
  --text-muted: #006622;
  --text-dim: #003311;

  /* Neon Gradients */
  --gradient-primary: linear-gradient(135deg, #00ff41, #0ff);
  --gradient-danger: linear-gradient(135deg, #ff003c, #ff6600);
  --gradient-card: linear-gradient(135deg, rgba(0, 255, 65, 0.08) 0%, rgba(0, 255, 255, 0.02) 100%);

  /* Sizes */
  --nav-height: 70px;
  --container-max: 1400px;
  --border-radius: 0;
  --border-radius-sm: 0;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Terminal-style shadows with glow */
  --shadow-sm: 0 0 10px rgba(0, 255, 65, 0.3);
  --shadow-md: 0 0 20px rgba(0, 255, 65, 0.4);
  --shadow-lg: 0 0 40px rgba(0, 255, 65, 0.5);
  --shadow-glow: 0 0 30px rgba(0, 255, 65, 0.6), 0 0 60px rgba(0, 255, 65, 0.4), 0 0 90px rgba(0, 255, 65, 0.2);
  --shadow-cyan: 0 0 20px rgba(0, 255, 255, 0.4);
  --shadow-red: 0 0 20px rgba(255, 0, 60, 0.4);
}

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: "Fira Code", "Share Tech Mono", "JetBrains Mono", "Courier New", monospace;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ==========================================
   START OVERLAY - Click to Initialize System
   ========================================== */
/* Adding new start overlay styles for audio initialization */
.start-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.start-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.start-content {
  text-align: center;
  padding: 40px;
  position: relative;
}

.start-terminal {
  background: rgba(0, 20, 10, 0.95);
  border: 2px solid var(--accent-primary);
  padding: 50px 60px;
  box-shadow: var(--shadow-glow), inset 0 0 100px rgba(0, 255, 65, 0.05);
  position: relative;
  max-width: 700px;
}

.start-terminal::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary), var(--accent-primary));
  z-index: -1;
  animation: borderGlow 3s linear infinite;
  filter: blur(3px);
}

@keyframes borderGlow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.start-header {
  font-size: 1.5rem;
  color: var(--accent-primary);
  margin-bottom: 30px;
  text-shadow: var(--shadow-glow);
  letter-spacing: 4px;
}

.blink-fast {
  animation: blink 0.5s step-end infinite;
}

.start-ascii {
  font-size: 0.45rem;
  color: var(--accent-primary);
  text-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  white-space: pre;
  line-height: 1.2;
  overflow: hidden;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .start-ascii {
    font-size: 0.25rem;
  }

  .start-terminal {
    padding: 30px 20px;
    margin: 0 15px;
  }
}

.start-message {
  margin-bottom: 30px;
  text-align: left;
  padding: 15px;
  background: rgba(0, 0, 0, 0.5);
  border-left: 3px solid var(--accent-secondary);
}

.typed-prompt {
  color: var(--accent-secondary);
}

.start-text {
  color: var(--text-secondary);
  animation: typeText 2s steps(50) forwards;
}

@keyframes typeText {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.start-button {
  background: transparent;
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
  padding: 20px 50px;
  font-size: 1rem;
  font-family: "Fira Code", monospace;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.start-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.4), transparent);
  animation: buttonSweep 2s linear infinite;
}

@keyframes buttonSweep {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.start-button:hover {
  background: var(--accent-primary);
  color: #000;
  box-shadow: var(--shadow-glow);
  transform: scale(1.05);
}

.start-button:active {
  transform: scale(0.98);
}

.btn-bracket {
  color: var(--accent-secondary);
  margin: 0 5px;
}

.start-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hint-icon {
  color: var(--accent-secondary);
  animation: pulse 1s ease infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.start-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.1) 1px,
    transparent 1px,
    transparent 2px
  );
}

/* Boot Screen Styles */
.boot-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.boot-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.boot-content {
  text-align: center;
  max-width: 600px;
  padding: 20px;
}

.boot-logo {
  font-size: 1.5rem;
  color: var(--accent-primary);
  margin-bottom: 30px;
  text-shadow: var(--shadow-glow);
  animation: bootPulse 0.5s ease infinite;
}

@keyframes bootPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.boot-line {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  opacity: 1;
  min-height: 1.4em;
  /* Remove the default animation - we handle it in JS now */
  animation: none;
}

.boot-line:nth-child(1) {
  animation-delay: 0.2s;
}
.boot-line:nth-child(2) {
  animation-delay: 0.5s;
}
.boot-line:nth-child(3) {
  animation-delay: 0.8s;
}
.boot-line:nth-child(4) {
  animation-delay: 1.1s;
}
.boot-line:nth-child(5) {
  animation-delay: 1.5s;
}

.boot-line.success {
  color: var(--accent-primary);
  text-shadow: var(--shadow-sm);
}

@keyframes bootLine {
  to {
    opacity: 1;
  }
}

.boot-progress {
  width: 100%;
  height: 4px;
  background: rgba(0, 255, 65, 0.2);
  border: 1px solid var(--accent-primary);
  overflow: hidden;
}

.boot-progress-bar {
  height: 100%;
  background: var(--accent-primary);
  box-shadow: var(--shadow-glow);
  animation: bootProgress 2s ease forwards;
}

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

/* Matrix Canvas Background */
#matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.15;
}

/* Scan Lines Overlay */
.scan-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 2px
  );
  z-index: 1;
}

/* Floating Mini Terminals */
.floating-terminals {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.mini-terminal {
  position: absolute;
  background: rgba(0, 20, 10, 0.8);
  border: 1px solid rgba(0, 255, 65, 0.3);
  padding: 10px;
  font-size: 0.7rem;
  color: var(--text-secondary);
  opacity: 0.4;
  animation: floatTerminal 20s ease-in-out infinite;
}

.mini-terminal.t1 {
  top: 15%;
  left: 5%;
  animation-delay: 0s;
}

.mini-terminal.t2 {
  top: 40%;
  right: 8%;
  animation-delay: 5s;
}

.mini-terminal.t3 {
  bottom: 20%;
  left: 10%;
  animation-delay: 10s;
}

@keyframes floatTerminal {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-20px) rotate(1deg);
    opacity: 0.5;
  }
  50% {
    transform: translateY(10px) rotate(-1deg);
    opacity: 0.4;
  }
  75% {
    transform: translateY(-10px) rotate(0.5deg);
    opacity: 0.5;
  }
}

.mini-terminal-header {
  color: var(--accent-primary);
  margin-bottom: 5px;
  font-weight: bold;
}

.mini-terminal-content {
  color: var(--text-muted);
}

/* Custom Scrollbar - Terminal style */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #000;
  border-left: 1px solid var(--accent-primary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 0 15px var(--accent-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography - Terminal style */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  font-family: "Fira Code", "Share Tech Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
}

a {
  color: var(--accent-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--accent-primary);
  text-shadow: 0 0 10px var(--accent-primary);
}

/* ==========================================
   Navigation - Enhanced Terminal Header
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: transparent;
  z-index: 1000;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--accent-primary);
  box-shadow: var(--shadow-md), inset 0 -1px 0 rgba(0, 255, 65, 0.5);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Enhanced nav logo with terminal prompt */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-shadow: var(--shadow-sm);
}

.terminal-prompt {
  color: var(--accent-secondary);
  font-size: 0.8rem;
  opacity: 0.8;
}

.logo-text .accent {
  color: var(--accent-secondary);
  text-shadow: var(--shadow-cyan);
}

.cursor-blink {
  animation: blink 1s step-end infinite;
  color: var(--accent-primary);
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* System status indicator */
.system-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--accent-primary);
  padding: 6px 12px;
  border: 1px solid rgba(0, 255, 65, 0.3);
  background: rgba(0, 255, 65, 0.05);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: statusPulse 2s ease infinite;
  box-shadow: 0 0 10px var(--accent-primary);
}

@keyframes statusPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
}

.status-text {
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  position: relative;
  padding: 8px 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.nav-link::before {
  content: "[";
  opacity: 0;
  transition: var(--transition-fast);
  color: var(--accent-primary);
}

.nav-link::after {
  content: "]";
  opacity: 0;
  transition: var(--transition-fast);
  color: var(--accent-primary);
}

.nav-link:hover {
  color: var(--accent-primary);
  text-shadow: var(--shadow-sm);
  border-color: rgba(0, 255, 65, 0.3);
  background: rgba(0, 255, 65, 0.05);
}

.nav-link:hover::before,
.nav-link:hover::after {
  opacity: 1;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--accent-primary);
  cursor: pointer;
  padding: 10px;
  transition: var(--transition-fast);
}

.nav-toggle:hover {
  box-shadow: var(--shadow-sm);
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--accent-primary);
  transition: var(--transition-fast);
  box-shadow: 0 0 5px var(--accent-primary);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================
   Hero Section - Terminal Boot Interface
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 100px 24px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 20%, rgba(0, 255, 65, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(188, 19, 254, 0.05) 0%, transparent 60%);
  z-index: -1;
  animation: heroPulse 8s ease-in-out infinite;
}

@keyframes heroPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}

.hero-content {
  text-align: center;
  max-width: 1000px;
  position: relative;
  z-index: 2;
}

/* Terminal window frame for hero */
.terminal-window {
  background: rgba(5, 5, 5, 0.95);
  border: 1px solid var(--accent-primary);
  box-shadow: var(--shadow-lg), inset 0 0 50px rgba(0, 255, 65, 0.03);
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: linear-gradient(180deg, rgba(0, 255, 65, 0.1), transparent);
  border-bottom: 1px solid rgba(0, 255, 65, 0.3);
}

.terminal-buttons {
  display: flex;
  gap: 8px;
}

.terminal-buttons span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid;
}

.btn-close {
  background: var(--accent-tertiary);
  border-color: var(--accent-tertiary) !important;
  box-shadow: 0 0 8px var(--accent-tertiary);
}

.btn-minimize {
  background: var(--accent-yellow);
  border-color: var(--accent-yellow) !important;
  box-shadow: 0 0 8px var(--accent-yellow);
}

.btn-maximize {
  background: var(--accent-primary);
  border-color: var(--accent-primary) !important;
  box-shadow: 0 0 8px var(--accent-primary);
}

.terminal-title {
  color: var(--text-secondary);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.terminal-controls {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.terminal-body {
  padding: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 255, 65, 0.1);
  border: 1px solid var(--accent-primary);
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-primary);
  margin-bottom: 30px;
  animation: fadeInUp 0.6s ease, badgePulse 3s ease-in-out infinite;
  text-transform: uppercase;
  letter-spacing: 3px;
  box-shadow: var(--shadow-md);
}

@keyframes badgePulse {
  0%,
  100% {
    box-shadow: var(--shadow-md);
  }
  50% {
    box-shadow: var(--shadow-lg);
  }
}

.badge-icon {
  color: var(--accent-yellow);
  animation: warningBlink 1s ease infinite;
}

@keyframes warningBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
  animation: fadeInUp 0.6s ease 0.1s both;
  text-shadow: var(--shadow-md);
}

.command-prefix {
  color: var(--accent-secondary);
  margin-right: 10px;
}

/* Enhanced glitch effect */
.gradient-text {
  display: block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.glitch {
  animation: glitch 5s infinite;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glitch::before {
  animation: glitchTop 3s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.glitch::after {
  animation: glitchBottom 2s infinite;
  clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
}

@keyframes glitch {
  0%,
  90%,
  100% {
    transform: translate(0);
  }
  92% {
    transform: translate(-3px, 3px);
  }
  94% {
    transform: translate(3px, -3px);
  }
  96% {
    transform: translate(-3px, -3px);
  }
  98% {
    transform: translate(3px, 3px);
  }
}

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

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

/* Typewriter effect */
.typewriter {
  overflow: hidden;
  border-right: 2px solid var(--accent-primary);
  white-space: nowrap;
  animation: typing 3s steps(100, end), blinkCaret 0.75s step-end infinite;
  max-width: 100%;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blinkCaret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: var(--accent-primary);
  }
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.6s ease 0.2s both;
  /* Remove typewriter styles - handled by JS */
  overflow: visible;
  border-right: none;
  white-space: normal;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0;
  animation: fadeInUp 0.6s ease 0.3s both;
}

/* Enhanced Cyber Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: "Fira Code", monospace;
  position: relative;
  overflow: hidden;
}

.cyber-btn {
  clip-path: polygon(
    0 10px,
    10px 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    10px 100%,
    0 calc(100% - 10px)
  );
}

.btn-glitch {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover .btn-glitch {
  left: 100%;
}

.btn-primary {
  background: var(--accent-primary);
  color: #000;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  color: #000;
}

.btn-secondary {
  background: transparent;
  color: var(--accent-primary);
}

.btn-secondary:hover {
  background: rgba(0, 255, 65, 0.15);
  box-shadow: var(--shadow-md);
  color: var(--accent-primary);
}

/* System Monitors for Stats */
.system-monitors {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 50px;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.monitor-box {
  text-align: center;
  padding: 25px 35px;
  border: 1px solid rgba(0, 255, 65, 0.4);
  background: rgba(0, 255, 65, 0.05);
  position: relative;
  min-width: 180px;
}

.monitor-header {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-primary);
  padding: 2px 15px;
  font-size: 0.65rem;
  color: var(--accent-secondary);
  border: 1px solid rgba(0, 255, 255, 0.3);
  letter-spacing: 1px;
}

.stat-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-shadow: var(--shadow-glow);
  line-height: 1;
  margin-bottom: 8px;
}

.infinity-pulse {
  animation: infinityPulse 2s ease-in-out infinite;
}

@keyframes infinityPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
    text-shadow: var(--shadow-glow);
  }
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.monitor-graph {
  position: absolute;
  bottom: 5px;
  left: 10px;
  right: 10px;
  height: 3px;
  background: rgba(0, 255, 65, 0.2);
  overflow: hidden;
}

.monitor-graph::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 30%;
  background: var(--accent-primary);
  animation: graphMove 2s ease-in-out infinite;
}

@keyframes graphMove {
  0% {
    left: 0;
  }
  50% {
    left: 70%;
  }
  100% {
    left: 0;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: var(--text-muted);
  font-size: 0.75rem;
  animation: bounce 2s infinite;
  z-index: 2;
}

.scroll-text {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--accent-primary);
  border-bottom: 2px solid var(--accent-primary);
  transform: rotate(45deg);
  box-shadow: 3px 3px 8px var(--accent-primary);
  animation: arrowPulse 1.5s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%,
  100% {
    opacity: 1;
    transform: rotate(45deg) translateY(0);
  }
  50% {
    opacity: 0.5;
    transform: rotate(45deg) translateY(5px);
  }
}

/* ==========================================
   Sections Common
   ========================================== */
.section {
  padding: 120px 0;
  position: relative;
}

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

/* Enhanced section badges */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid var(--accent-secondary);
  padding: 8px 20px;
  font-size: 0.75rem;
  color: var(--accent-secondary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
  box-shadow: var(--shadow-cyan);
}

.warning-badge {
  background: rgba(255, 0, 60, 0.1);
  border-color: var(--accent-tertiary);
  color: var(--accent-tertiary);
  box-shadow: var(--shadow-red);
}

.command-badge {
  background: rgba(0, 255, 65, 0.1);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: var(--shadow-sm);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  text-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.section-title.scroll-typing,
.section-subtitle.scroll-typing {
  display: inline-block;
}

.title-decoration {
  color: var(--text-muted);
  font-weight: 400;
  opacity: 0.5;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* Terminal frame for sections */
.section-terminal-frame {
  position: relative;
  padding: 40px;
  border: 1px solid rgba(0, 255, 65, 0.2);
  background: rgba(0, 10, 5, 0.5);
}

.frame-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-primary);
}

.frame-corner.top-left {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
}

.frame-corner.top-right {
  top: -2px;
  right: -2px;
  border-left: none;
  border-bottom: none;
}

.frame-corner.bottom-left {
  bottom: -2px;
  left: -2px;
  border-right: none;
  border-top: none;
}

.frame-corner.bottom-right {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
}

/* ==========================================
   Reality Check Section - Log Entries
   ========================================== */
.reality-section {
  background: var(--bg-secondary);
}

/* Bento-style grid layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.bento-grid .large {
  grid-column: span 2;
}

/* Log entry style cards */
.log-entry {
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 65, 0.2);
  padding: 25px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  overflow: hidden;
}

.log-entry::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.log-entry:hover::before {
  transform: scaleY(1);
}

.log-entry.visible {
  opacity: 1;
  transform: translateY(0);
}

.log-entry:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px) !important;
}

.log-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 255, 65, 0.1);
}

.log-type {
  font-size: 0.7rem;
  padding: 3px 10px;
  border: 1px solid;
  letter-spacing: 1px;
}

.log-type.warning {
  color: var(--accent-yellow);
  border-color: var(--accent-yellow);
  background: rgba(255, 255, 0, 0.1);
}

.log-type.info {
  color: var(--accent-secondary);
  border-color: var(--accent-secondary);
  background: rgba(0, 255, 255, 0.1);
}

.log-type.stats {
  color: var(--accent-purple);
  border-color: var(--accent-purple);
  background: rgba(188, 19, 254, 0.1);
}

.log-type.error {
  color: var(--accent-tertiary);
  border-color: var(--accent-tertiary);
  background: rgba(255, 0, 60, 0.1);
}

.log-type.debug {
  color: var(--accent-orange);
  border-color: var(--accent-orange);
  background: rgba(255, 102, 0, 0.1);
}

.log-type.success {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  background: rgba(0, 255, 65, 0.1);
}

.log-timestamp {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.reality-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.log-entry h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--accent-primary);
  text-shadow: var(--shadow-sm);
}

.log-entry p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

.log-footer {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 255, 65, 0.1);
}

.log-id {
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* ==========================================
   Mindset Section - Command Cards
   ========================================== */
.command-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

/* Command card style */
.command-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 255, 0.2);
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.command-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.command-card:hover {
  border-color: var(--accent-secondary);
  box-shadow: var(--shadow-cyan);
  transform: translateY(-5px) !important;
}

.command-number {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(0, 255, 255, 0.1);
  font-family: "Fira Code", monospace;
  line-height: 1;
}

.num-prefix {
  font-size: 0.8rem;
  color: rgba(0, 255, 255, 0.2);
}

.card-content {
  padding: 30px;
  padding-bottom: 15px;
}

.command-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--accent-secondary);
  text-shadow: var(--shadow-cyan);
}

.command-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.mindset-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--accent-yellow);
  padding: 10px;
  background: rgba(255, 255, 0, 0.05);
  border: 1px solid rgba(255, 255, 0, 0.2);
}

.tip-icon {
  color: var(--accent-yellow);
  font-weight: bold;
}

.command-line {
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: "Fira Code", monospace;
}

/* ==========================================
   Roadmap Section - Pipeline
   ========================================== */
.roadmap-section {
  background: var(--bg-secondary);
}

/* Pipeline container */
.pipeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.pipeline-line {
  position: absolute;
  left: 35px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    to bottom,
    var(--accent-primary) 0%,
    var(--accent-secondary) 30%,
    var(--accent-purple) 60%,
    var(--accent-tertiary) 100%
  );
  box-shadow: 0 0 20px var(--accent-primary);
}

.pipeline-node {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
  opacity: 0;
  transform: translateX(-30px);
}

.pipeline-node.visible {
  opacity: 1;
  transform: translateX(0);
}

.pipeline-node.final-node .data-flow {
  color: var(--accent-primary) !important;
}

.node-marker {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background: var(--bg-primary);
  border: 3px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.node-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-primary);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: nodePulse 2s ease-out infinite;
  opacity: 0;
}

@keyframes nodePulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.stage-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-primary);
  font-family: "Fira Code", monospace;
  text-shadow: var(--shadow-sm);
}

.node-content {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 65, 0.2);
  padding: 25px;
  position: relative;
}

.node-content::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 25px;
  width: 15px;
  height: 2px;
  background: var(--accent-primary);
}

.node-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.node-status {
  width: 10px;
  height: 10px;
  background: var(--text-muted);
  border-radius: 50%;
}

.node-status.active {
  background: var(--accent-primary);
  box-shadow: 0 0 15px var(--accent-primary);
  animation: statusPulse 1.5s ease infinite;
}

.node-content h3 {
  font-size: 1.1rem;
  color: var(--accent-primary);
  text-shadow: var(--shadow-sm);
  flex: 1;
}

.stage-duration {
  font-size: 0.7rem;
  color: var(--accent-secondary);
  background: rgba(0, 255, 255, 0.1);
  padding: 5px 15px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.node-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.resource-chip {
  display: inline-block;
  background: rgba(0, 255, 65, 0.1);
  color: var(--accent-primary);
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid rgba(0, 255, 65, 0.3);
}

.resource-chip:hover {
  background: rgba(0, 255, 65, 0.2);
  color: var(--accent-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.featured-chip {
  background: rgba(0, 255, 65, 0.2);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-sm);
}

.data-flow {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: right;
  animation: dataFlowPulse 2s ease infinite;
}

.success-flow {
  color: var(--accent-primary) !important;
  text-shadow: var(--shadow-sm);
}

@keyframes dataFlowPulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* ==========================================
   Tools Section - Weapon Grid
   ========================================== */
.weapon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* Weapon card style */
.weapon-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid rgba(255, 102, 0, 0.2);
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.weapon-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.weapon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255, 102, 0, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.weapon-card:hover .weapon-glow {
  opacity: 1;
}

.weapon-card:hover {
  transform: translateY(-8px) !important;
  border-color: var(--accent-orange);
  box-shadow: 0 0 40px rgba(255, 102, 0, 0.3);
}

.tool-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.weapon-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--accent-orange);
  text-shadow: 0 0 15px rgba(255, 102, 0, 0.3);
}

.weapon-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.5;
}

.tool-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-orange);
  background: rgba(255, 102, 0, 0.1);
  padding: 5px 12px;
  border: 1px solid rgba(255, 102, 0, 0.3);
  margin-bottom: 15px;
}

.weapon-stats {
  margin-top: 10px;
}

.stat-bar {
  display: block;
  height: 4px;
  background: rgba(255, 102, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.stat-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--accent-orange);
  box-shadow: 0 0 10px var(--accent-orange);
}

.stat-bar.full::after {
  width: 100%;
}
.stat-bar.high::after {
  width: 80%;
}
.stat-bar.medium::after {
  width: 60%;
}

/* ==========================================
   Practice Section - Training Grid
   ========================================== */
.practice-section {
  background: var(--bg-secondary);
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.training-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 65, 0.2);
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  overflow: hidden;
}

.training-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card-glitch-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 255, 65, 0.05) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.training-card:hover .card-glitch-overlay {
  transform: translateX(100%);
}

.training-card.featured {
  border-color: var(--accent-primary);
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.1) 0%, transparent 100%);
  box-shadow: var(--shadow-md);
}

.training-card:hover {
  transform: translateY(-8px) !important;
  border-color: var(--accent-secondary);
  box-shadow: var(--shadow-cyan);
}

.practice-badge {
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--accent-primary);
  color: #000;
  padding: 8px 16px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 0 20px var(--accent-primary);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
}

.training-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--accent-primary);
  text-shadow: var(--shadow-sm);
}

.training-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.6;
}

.practice-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-secondary);
  background: rgba(0, 255, 255, 0.1);
  padding: 5px 14px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  text-transform: uppercase;
}

.training-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(0, 255, 65, 0.2);
}

.progress-bar {
  height: 100%;
  width: 0;
  background: var(--accent-primary);
  box-shadow: var(--shadow-sm);
  animation: progressLoad 2s ease forwards;
}

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

/* ==========================================
   Hunters Section - Network Grid
   ========================================== */
.hunters-section {
  background: var(--bg-secondary);
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

/* Network node style */
.network-node {
  display: block;
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 65, 0.2);
  padding: 25px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  position: relative;
}

.network-node.visible {
  opacity: 1;
  transform: translateY(0);
}

.node-connection {
  position: absolute;
  top: -1px;
  left: 20px;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), transparent);
}

.network-node:hover {
  transform: translateY(-5px) !important;
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
}

.hunter-avatar {
  width: 50px;
  height: 50px;
  background: rgba(0, 255, 65, 0.1);
  border: 2px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-primary);
  margin-bottom: 15px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hunter-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 10px;
  text-shadow: var(--shadow-sm);
}

.network-node p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 15px;
}

.hunter-ping {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ping-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pingPulse 2s ease infinite;
  box-shadow: 0 0 10px var(--accent-primary);
}

@keyframes pingPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

.ping-text {
  font-size: 0.65rem;
  color: var(--accent-primary);
  letter-spacing: 2px;
}

/* ==========================================
   Resources Section - Database Grid
   ========================================== */
.database-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 25px;
}

/* Data card style */
.data-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 0, 60, 0.2);
  padding: 28px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  position: relative;
}

.data-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.data-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 0, 60, 0.1) 50%);
}

.data-card:hover {
  border-color: var(--accent-tertiary);
  box-shadow: var(--shadow-red);
  transform: translateY(-5px) !important;
}

.data-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.data-type {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.data-priority {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-tertiary);
  background: rgba(255, 0, 60, 0.1);
  padding: 4px 12px;
  border: 1px solid rgba(255, 0, 60, 0.3);
  text-transform: uppercase;
}

.data-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--accent-tertiary);
  text-shadow: 0 0 15px rgba(255, 0, 60, 0.3);
}

.data-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.6;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent-tertiary);
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.resource-link:hover {
  color: var(--accent-primary);
  text-shadow: var(--shadow-sm);
  transform: translateX(5px);
}

/* ==========================================
   Motivation Section
   ========================================== */
.motivation-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.quote-terminal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

/* Terminal quote style */
.terminal-quote {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 0, 0.2);
  padding: 25px;
  text-align: left;
  opacity: 0;
  transform: translateY(30px);
}

.terminal-quote.visible {
  opacity: 1;
  transform: translateY(0);
}

.quote-prompt {
  font-size: 0.75rem;
  color: var(--accent-primary);
  margin-bottom: 15px;
}

.terminal-quote blockquote {
  font-size: 1rem;
  font-style: normal;
  color: var(--accent-yellow);
  margin-bottom: 15px;
  line-height: 1.6;
  text-shadow: 0 0 15px rgba(255, 255, 0, 0.2);
  padding-left: 15px;
  border-left: 3px solid var(--accent-yellow);
}

.terminal-quote p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.quote-author {
  color: var(--text-muted) !important;
  font-style: italic;
}

/* Final message styling */
.final-message {
  background: var(--bg-card);
  border: 2px solid var(--accent-primary);
  padding: 0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.message-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 15px;
  background: rgba(0, 255, 65, 0.1);
  border-bottom: 1px solid var(--accent-primary);
}

.message-icon {
  color: var(--accent-tertiary);
  font-size: 0.8rem;
  animation: messageIconBlink 1s ease infinite;
}

@keyframes messageIconBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.message-title {
  color: var(--accent-primary);
  font-size: 0.8rem;
  letter-spacing: 3px;
}

.final-message h3 {
  font-size: 1.4rem;
  margin: 30px 40px 20px;
  color: var(--accent-primary);
  text-shadow: var(--shadow-md);
}

.final-message p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0 40px 20px;
  line-height: 1.7;
}

.final-message .highlight {
  color: var(--accent-primary);
  font-weight: 600;
  text-shadow: var(--shadow-sm);
}

.message-footer {
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(0, 255, 65, 0.2);
}

.blink-text {
  color: var(--accent-primary);
  font-size: 0.8rem;
  animation: blinkText 1s step-end infinite;
}

@keyframes blinkText {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* ==========================================
   Footer - Terminal Footer
   ========================================== */
.terminal-footer {
  background: var(--bg-secondary);
  padding: 70px 0 30px;
  border-top: 2px solid var(--accent-primary);
  box-shadow: 0 -10px 50px rgba(0, 255, 65, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.footer-ascii {
  font-size: 0.6rem;
  color: var(--text-muted);
  line-height: 1.2;
}

.footer-ascii pre {
  margin: 0;
}

.footer-links h4 {
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: var(--accent-primary);
  text-shadow: var(--shadow-sm);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-primary);
  text-shadow: var(--shadow-sm);
  padding-left: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 255, 65, 0.2);
}

.footer-terminal-line {
  margin-bottom: 15px;
  font-size: 0.8rem;
}

.footer-terminal-line .prompt {
  color: var(--accent-secondary);
}

.footer-terminal-line .command {
  color: var(--accent-primary);
  margin-left: 10px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.footer-bottom a {
  color: var(--accent-primary);
}

.heart-pulse {
  display: inline-block;
  animation: heartPulse 1s ease infinite;
}

@keyframes heartPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.footer-motto {
  font-size: 1.1rem !important;
  color: var(--accent-primary) !important;
  text-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.motto-text {
  animation: mottoGlow 2s ease infinite;
}

@keyframes mottoGlow {
  0%,
  100% {
    text-shadow: var(--shadow-sm);
  }
  50% {
    text-shadow: var(--shadow-glow);
  }
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-15px);
  }
  60% {
    transform: translateX(-50%) translateY(-8px);
  }
}

/* Staggered animation delays */
.log-entry:nth-child(1) {
  transition-delay: 0.1s;
}
.log-entry:nth-child(2) {
  transition-delay: 0.15s;
}
.log-entry:nth-child(3) {
  transition-delay: 0.2s;
}
.log-entry:nth-child(4) {
  transition-delay: 0.25s;
}
.log-entry:nth-child(5) {
  transition-delay: 0.3s;
}
.log-entry:nth-child(6) {
  transition-delay: 0.35s;
}

.command-card:nth-child(1) {
  transition-delay: 0.1s;
}
.command-card:nth-child(2) {
  transition-delay: 0.15s;
}
.command-card:nth-child(3) {
  transition-delay: 0.2s;
}
.command-card:nth-child(4) {
  transition-delay: 0.25s;
}
.command-card:nth-child(5) {
  transition-delay: 0.3s;
}
.command-card:nth-child(6) {
  transition-delay: 0.35s;
}
.command-card:nth-child(7) {
  transition-delay: 0.4s;
}
.command-card:nth-child(8) {
  transition-delay: 0.45s;
}

.pipeline-node:nth-child(1) {
  transition-delay: 0.1s;
}
.pipeline-node:nth-child(2) {
  transition-delay: 0.2s;
}
.pipeline-node:nth-child(3) {
  transition-delay: 0.3s;
}
.pipeline-node:nth-child(4) {
  transition-delay: 0.4s;
}
.pipeline-node:nth-child(5) {
  transition-delay: 0.5s;
}
.pipeline-node:nth-child(6) {
  transition-delay: 0.6s;
}
.pipeline-node:nth-child(7) {
  transition-delay: 0.7s;
}
.pipeline-node:nth-child(8) {
  transition-delay: 0.8s;
}

.weapon-card:nth-child(1) {
  transition-delay: 0.05s;
}
.weapon-card:nth-child(2) {
  transition-delay: 0.1s;
}
.weapon-card:nth-child(3) {
  transition-delay: 0.15s;
}
.weapon-card:nth-child(4) {
  transition-delay: 0.2s;
}
.weapon-card:nth-child(5) {
  transition-delay: 0.25s;
}
.weapon-card:nth-child(6) {
  transition-delay: 0.3s;
}
.weapon-card:nth-child(7) {
  transition-delay: 0.35s;
}
.weapon-card:nth-child(8) {
  transition-delay: 0.4s;
}

.training-card:nth-child(1) {
  transition-delay: 0.1s;
}
.training-card:nth-child(2) {
  transition-delay: 0.15s;
}
.training-card:nth-child(3) {
  transition-delay: 0.2s;
}
.training-card:nth-child(4) {
  transition-delay: 0.25s;
}
.training-card:nth-child(5) {
  transition-delay: 0.3s;
}
.training-card:nth-child(6) {
  transition-delay: 0.35s;
}

.network-node:nth-child(1) {
  transition-delay: 0.05s;
}
.network-node:nth-child(2) {
  transition-delay: 0.1s;
}
.network-node:nth-child(3) {
  transition-delay: 0.15s;
}
.network-node:nth-child(4) {
  transition-delay: 0.2s;
}
.network-node:nth-child(5) {
  transition-delay: 0.25s;
}
.network-node:nth-child(6) {
  transition-delay: 0.3s;
}
.network-node:nth-child(7) {
  transition-delay: 0.35s;
}
.network-node:nth-child(8) {
  transition-delay: 0.4s;
}
.network-node:nth-child(9) {
  transition-delay: 0.45s;
}
.network-node:nth-child(10) {
  transition-delay: 0.5s;
}
.network-node:nth-child(11) {
  transition-delay: 0.55s;
}
.network-node:nth-child(12) {
  transition-delay: 0.6s;
}

.terminal-quote:nth-child(1) {
  transition-delay: 0.1s;
}
.terminal-quote:nth-child(2) {
  transition-delay: 0.2s;
}
.terminal-quote:nth-child(3) {
  transition-delay: 0.3s;
}
.terminal-quote:nth-child(4) {
  transition-delay: 0.4s;
}

/* Transition for visibility */
.log-entry,
.command-card,
.pipeline-node,
.weapon-card,
.training-card,
.network-node,
.data-card,
.terminal-quote {
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Glitch hover effect */
.glitch-hover.glitching {
  animation: glitchHover 0.3s ease;
}

@keyframes glitchHover {
  0%,
  100% {
    transform: translate(0);
    filter: none;
  }
  20% {
    transform: translate(-2px, 2px);
    filter: hue-rotate(90deg);
  }
  40% {
    transform: translate(2px, -2px);
    filter: hue-rotate(-90deg);
  }
  60% {
    transform: translate(-2px, -2px);
  }
  80% {
    transform: translate(2px, 2px);
  }
}

/* ==========================================
   TYPING ANIMATION STYLES
   ========================================== */

/* Added typing cursor animation */
.typing-cursor {
  display: inline;
  color: var(--accent-primary);
  animation: cursorBlink 0.7s step-end infinite;
  font-weight: normal;
  text-shadow: 0 0 10px var(--accent-primary);
}

@keyframes cursorBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Typing active state */
.typing-active {
  position: relative;
}

.typing-complete {
  animation: typeComplete 0.3s ease;
}

@keyframes typeComplete {
  0% {
    text-shadow: 0 0 20px var(--accent-primary), 0 0 40px var(--accent-primary);
  }
  100% {
    text-shadow: none;
  }
}

/* Scroll typing states */
.scroll-type-pending {
  min-height: 1em;
}

.scroll-typing {
  position: relative;
}

.scroll-typing::after {
  content: "▌";
  color: var(--accent-primary);
  animation: cursorBlink 0.7s step-end infinite;
  text-shadow: 0 0 10px var(--accent-primary);
}

.scroll-typed {
  animation: scrollTyped 0.5s ease;
}

@keyframes scrollTyped {
  0% {
    text-shadow: 0 0 30px var(--accent-primary);
    transform: translateX(-5px);
  }
  50% {
    text-shadow: 0 0 15px var(--accent-primary);
  }
  100% {
    text-shadow: none;
    transform: translateX(0);
  }
}

/* Enhanced glowing text during typing */
.typing-glow {
  animation: typingGlow 0.1s ease;
}

@keyframes typingGlow {
  0% {
    text-shadow: 0 0 20px var(--accent-primary), 0 0 40px var(--accent-primary);
  }
  100% {
    text-shadow: 0 0 5px var(--accent-primary);
  }
}

/* Sound wave visualization (optional visual feedback) */
.sound-wave {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 30px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 9999;
}

.sound-wave span {
  width: 3px;
  background: var(--accent-primary);
  animation: soundWave 0.5s ease-in-out infinite;
  box-shadow: 0 0 5px var(--accent-primary);
}

.sound-wave span:nth-child(1) {
  animation-delay: 0s;
}
.sound-wave span:nth-child(2) {
  animation-delay: 0.1s;
}
.sound-wave span:nth-child(3) {
  animation-delay: 0.2s;
}
.sound-wave span:nth-child(4) {
  animation-delay: 0.3s;
}
.sound-wave span:nth-child(5) {
  animation-delay: 0.4s;
}

@keyframes soundWave {
  0%,
  100% {
    height: 5px;
  }
  50% {
    height: 25px;
  }
}

/* Terminal line animation for typed content */
.terminal-typed-line {
  position: relative;
  overflow: hidden;
}

.terminal-typed-line::before {
  content: ">";
  color: var(--accent-secondary);
  margin-right: 8px;
  opacity: 0;
  animation: promptAppear 0.3s ease forwards;
}

@keyframes promptAppear {
  to {
    opacity: 1;
  }
}

/* Scanline flicker effect during typing */
.typing-scanline {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent 50%, rgba(0, 255, 65, 0.02) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 9998;
  animation: scanlineFlicker 0.1s infinite;
  opacity: 0;
}

.typing-scanline.active {
  opacity: 1;
}

@keyframes scanlineFlicker {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.5;
  }
}

/* Character highlight on type */
.char-highlight {
  animation: charHighlight 0.2s ease;
  display: inline;
}

@keyframes charHighlight {
  0% {
    color: #fff;
    text-shadow: 0 0 20px var(--accent-primary), 0 0 40px var(--accent-primary);
  }
  100% {
    color: inherit;
    text-shadow: none;
  }
}

/* ==========================================
   Responsive Design
   ========================================== */

/* Large Desktop */
@media (max-width: 1400px) {
  .container {
    padding: 0 20px;
  }

  .bento-grid {
    gap: 15px;
  }
}

/* Tablet */
@media (max-width: 1200px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-grid .large {
    grid-column: span 1;
  }

  .pipeline-container {
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
  }
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .system-monitors {
    gap: 15px;
    flex-wrap: wrap;
  }

  .monitor-box {
    min-width: 140px;
    padding: 18px 20px;
  }

  .system-status {
    display: none;
  }

  .command-grid,
  .weapon-grid,
  .training-grid,
  .network-grid,
  .database-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .terminal-window {
    margin: 0 10px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  /* Start overlay mobile styles */
  .start-overlay {
    padding: 15px;
  }

  .start-terminal {
    padding: 25px 15px;
    margin: 0;
    max-width: 100%;
  }

  .start-header {
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
  }

  .start-ascii {
    font-size: 0.18rem;
    margin-bottom: 20px;
    transform: scale(0.9);
  }

  .start-message {
    padding: 10px;
    margin-bottom: 20px;
  }

  .start-button {
    padding: 15px 30px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    width: 100%;
  }

  .start-hint {
    font-size: 0.65rem;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  /* Boot screen mobile */
  .boot-content {
    padding: 15px;
    max-width: 100%;
  }

  .boot-logo {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .boot-line {
    font-size: 0.75rem;
  }

  /* Navigation */
  .nav-toggle {
    display: flex;
  }

  .nav-logo {
    font-size: 0.9rem;
  }

  .terminal-prompt {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    border-bottom: 2px solid var(--accent-primary);
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }

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

  .nav-link {
    display: block;
    padding: 18px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 255, 65, 0.1);
  }

  /* Hero */
  .hero {
    padding: 80px 15px 40px;
    min-height: auto;
  }

  .terminal-window {
    margin: 0;
  }

  .terminal-header {
    padding: 10px 15px;
  }

  .terminal-title {
    font-size: 0.65rem;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .terminal-controls {
    display: none;
  }

  .terminal-body {
    padding: 20px 15px;
  }

  .hero-badge {
    padding: 8px 15px;
    font-size: 0.7rem;
    letter-spacing: 1px;
  }

  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .command-prefix {
    display: block;
    margin-right: 0;
    margin-bottom: 5px;
    font-size: 0.8rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 25px;
  }

  .system-monitors {
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
  }

  .monitor-box {
    min-width: 100%;
    padding: 15px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .scroll-indicator {
    display: none;
  }

  .floating-terminals {
    display: none;
  }

  /* Sections */
  .section {
    padding: 60px 0;
  }

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

  .section-terminal-frame {
    padding: 15px;
  }

  .section-title {
    flex-direction: column;
    gap: 10px;
    font-size: 1.5rem;
  }

  .title-decoration {
    display: none;
  }

  .section-badge {
    padding: 6px 14px;
    font-size: 0.65rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
    padding: 0 10px;
  }

  /* Grids */
  .bento-grid,
  .command-grid,
  .weapon-grid,
  .training-grid,
  .network-grid,
  .database-grid,
  .quote-terminal {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* Cards */
  .log-entry {
    padding: 18px;
  }

  .log-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .log-entry h3 {
    font-size: 0.9rem;
  }

  .log-entry p {
    font-size: 0.8rem;
  }

  .command-card {
    padding: 0;
  }

  .card-content {
    padding: 20px;
  }

  .command-number {
    font-size: 2rem;
    top: 10px;
    right: 10px;
  }

  .command-card h3 {
    font-size: 0.9rem;
  }

  .command-card p {
    font-size: 0.8rem;
  }

  .mindset-tip {
    font-size: 0.75rem;
    flex-wrap: wrap;
  }

  .command-line {
    font-size: 0.65rem;
    padding: 10px 15px;
  }

  /* Roadmap */
  .pipeline-line {
    left: 20px;
    width: 3px;
  }

  .pipeline-node {
    gap: 15px;
    margin-bottom: 25px;
  }

  .node-marker {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .stage-number {
    font-size: 1rem;
  }

  .node-content {
    padding: 15px;
  }

  .node-content::before {
    left: -10px;
    width: 10px;
  }

  .node-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .node-content h3 {
    font-size: 0.95rem;
  }

  .node-content p {
    font-size: 0.8rem;
    margin-bottom: 15px;
  }

  .stage-duration {
    font-size: 0.6rem;
    padding: 4px 10px;
  }

  .resource-links {
    gap: 8px;
  }

  .resource-chip {
    padding: 6px 12px;
    font-size: 0.7rem;
  }

  /* Tools/Weapons */
  .weapon-card {
    padding: 20px;
  }

  .tool-icon {
    font-size: 2.5rem;
  }

  .weapon-card h3 {
    font-size: 0.9rem;
  }

  .weapon-card p {
    font-size: 0.75rem;
  }

  /* Training */
  .training-card {
    padding: 20px;
  }

  .training-card h3 {
    font-size: 0.95rem;
  }

  .training-card p {
    font-size: 0.8rem;
  }

  .practice-badge {
    padding: 6px 12px;
    font-size: 0.6rem;
  }

  /* Network/Hunters */
  .network-node {
    padding: 18px;
  }

  .hunter-avatar {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .hunter-name {
    font-size: 0.9rem;
  }

  .network-node p {
    font-size: 0.75rem;
  }

  /* Resources */
  .data-card {
    padding: 20px;
  }

  .data-card h3 {
    font-size: 0.95rem;
  }

  .data-card p {
    font-size: 0.8rem;
  }

  /* Quotes */
  .terminal-quote {
    padding: 18px;
  }

  .terminal-quote blockquote {
    font-size: 0.9rem;
    padding-left: 12px;
  }

  /* Final Message */
  .final-message {
    margin: 0 10px;
  }

  .message-header {
    padding: 12px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .message-title {
    font-size: 0.7rem;
  }

  .final-message h3 {
    margin: 20px 15px 15px;
    font-size: 1.1rem;
  }

  .final-message p {
    margin: 0 15px 15px;
    font-size: 0.85rem;
  }

  /* Footer */
  .terminal-footer {
    padding: 50px 0 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 25px;
  }

  .footer-links {
    text-align: center;
  }

  .footer-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
  }

  .footer-links li {
    margin-bottom: 0;
  }

  .footer-ascii {
    display: none;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-terminal-line {
    font-size: 0.7rem;
  }

  .footer-motto {
    font-size: 0.95rem !important;
  }

  /* Sound wave indicator */
  .sound-wave {
    bottom: 10px;
    right: 10px;
    height: 20px;
  }

  .sound-wave span {
    width: 2px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  /* Extra small screen start overlay */
  .start-terminal {
    padding: 20px 12px;
  }

  .start-header {
    font-size: 0.85rem;
  }

  .start-ascii {
    font-size: 0.15rem;
    margin-bottom: 15px;
  }

  .start-button {
    padding: 12px 20px;
    font-size: 0.7rem;
  }

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

  .gradient-text {
    font-size: 1.4rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.75rem;
  }

  .hero-badge {
    font-size: 0.6rem;
    padding: 6px 12px;
    text-align: center;
  }

  .log-entry,
  .command-card .card-content,
  .training-card,
  .data-card,
  .terminal-quote,
  .network-node,
  .weapon-card {
    padding: 15px;
  }

  .final-message h3 {
    margin: 15px 12px;
    font-size: 1rem;
  }

  .final-message p {
    margin: 0 12px 12px;
    font-size: 0.8rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .section-subtitle {
    font-size: 0.8rem;
  }

  /* Pipeline mobile adjustments */
  .pipeline-line {
    left: 15px;
  }

  .node-marker {
    width: 35px;
    height: 35px;
  }

  .stage-number {
    font-size: 0.9rem;
  }

  .node-content {
    padding: 12px;
  }

  .resource-chip {
    padding: 5px 10px;
    font-size: 0.65rem;
  }

  /* Terminal buttons */
  .terminal-buttons span {
    width: 10px;
    height: 10px;
  }

  /* Scrollbar thin on mobile */
  ::-webkit-scrollbar {
    width: 6px;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.1rem;
  }

  .gradient-text {
    font-size: 1.2rem;
  }

  .start-ascii {
    display: none;
  }

  .monitor-box {
    padding: 12px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.6rem;
  }

  .section-title {
    font-size: 1.1rem;
  }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 70px 15px 30px;
  }

  .start-overlay {
    overflow-y: auto;
  }

  .start-terminal {
    padding: 20px;
  }

  .start-ascii {
    display: none;
  }

  .system-monitors {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .monitor-box {
    min-width: auto;
    flex: 1;
    max-width: 150px;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  #matrix-canvas {
    display: none;
  }

  .boot-screen {
    display: none;
  }

  .start-overlay {
    display: none;
  }
}

/* ==========================================
   TYPING CURSOR STYLES
   ========================================== */
/* Adding typing cursor animation styles */
.typing-cursor {
  color: var(--accent-primary);
  animation: cursorBlink 0.7s step-end infinite;
  font-weight: normal;
  text-shadow: var(--shadow-sm);
}

@keyframes cursorBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.typing-active {
  position: relative;
}

.typing-complete {
  animation: typeComplete 0.3s ease;
}

@keyframes typeComplete {
  0% {
    text-shadow: var(--shadow-glow);
  }
  100% {
    text-shadow: none;
  }
}

/* Scroll typing states */
.scroll-type-pending {
  opacity: 0.3;
  min-height: 1em;
}

.scroll-typing {
  color: var(--accent-primary);
  text-shadow: var(--shadow-sm);
}

.scroll-typed {
  animation: scrollTypeComplete 0.5s ease forwards;
}

@keyframes scrollTypeComplete {
  0% {
    text-shadow: var(--shadow-glow);
    color: var(--accent-primary);
  }
  100% {
    text-shadow: none;
  }
}
