:root {
  /* Pitch Black & Electric Royal Cyan / Ice Blue Theme */
  --bg-dark: #000000;
  --bg-deep: #050505;
  --bg-card: rgba(14, 14, 14, 0.88);
  --bg-card-hover: rgba(26, 26, 26, 0.95);
  --bg-elevated: #161616;
  
  /* Primary Accent: Electric Lite Blue & Cool Cyan - 0% Yellow */
  --accent-cyan: #ffffff;
  --accent-blue: #e4e4e7;
  --accent-ice: #d4d4d8;
  --accent-indigo: #a1a1aa;
  --accent-green: #ffffff;
  --arcade-red: #ffffff;
  
  --border-glow: rgba(255, 255, 255, 0.35);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.25);
  
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #888888;
  
  --font-main: 'Outfit', sans-serif;
  --font-mono: 'Fira Code', monospace;
  --font-pixel: 'Press Start 2P', cursive;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --glass-bg: rgba(10, 10, 10, 0.72);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-hover-border: rgba(255, 255, 255, 0.38);
  --glow-subtle: 0 0 20px rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  cursor: default;
}

/* Custom Gamer Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.1s, height 0.1s, background-color 0.2s;
  box-shadow: 0 0 12px var(--accent-cyan);
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, border-color 0.2s;
}

/* Background Cyber Grid / Star Canvas */
#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, #171717 0%, #000000 85%);
}

/* --- DYNAMIC FLOATING ISLAND TOP NAVIGATION --- */
.hud-header {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 1280px;
  min-height: 58px;
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 1.25rem;
  z-index: 1000;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: var(--transition);
  flex-wrap: nowrap;
}

.hud-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-glitch {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pixel-prefix {
  color: var(--accent-cyan);
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  animation: pulseDot 2s infinite;
}

.hud-status-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
}

.status-dot.pulse {
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulseCyan 1.8s infinite;
}

@keyframes pulseCyan {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.hud-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 1;
}

.hud-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
  position: relative;
  padding: 6px 8px;
  border-radius: 8px;
  white-space: nowrap;
}

.hud-link:hover, .hud-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.hud-link:hover i, .hud-link.active i {
  color: var(--accent-cyan);
}

.hud-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.hud-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 7px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
  text-decoration: none;
}

.hud-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-cyan);
  color: #fff;
  transform: translateY(-1px);
}

.btn-highlight {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.25));
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  font-weight: 600;
}

.hud-xp-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  color: var(--accent-cyan);
  cursor: pointer;
  transition: var(--transition);
}

.hud-xp-badge:hover {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.hud-xp-bar-bg {
  width: 44px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.hud-xp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffffff, #e4e4e7);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.hud-xp-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
}

.hamburger-btn {
  display: none;
}

/* ACHIEVEMENT UNLOCKED POPUP TOAST */
.achievement-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(12, 12, 12, 0.85);
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 9999;
  transform: translateY(120px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.achievement-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.ach-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid var(--accent-cyan);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.2rem;
  animation: pulseDot 1.5s infinite;
}

.ach-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ach-tag {
  font-family: var(--font-pixel);
  font-size: 0.58rem;
  color: var(--accent-cyan);
  letter-spacing: 0.5px;
}

.ach-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.ach-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 86px;
  left: 5%;
  width: 90%;
  background: rgba(10, 10, 10, 0.92);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 1.5rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
  box-shadow: 0 15px 40px rgba(0,0,0,0.9);
}

.mobile-drawer.open {
  display: flex;
}

.m-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- HERO SECTION: COMMAND CENTER HUD WITH LIVE RADAR & HOLOGRAPHIC TILES --- */
.hero-section {
  min-height: 100vh;
  padding: 140px 2rem 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-container {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
}

.hero-dashboard-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.hero-player-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--font-pixel);
  font-size: 0.65rem;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.tag-label {
  color: var(--accent-cyan);
}

.tag-level {
  color: var(--text-secondary);
}

.tag-hp strong {
  color: var(--accent-green);
}

.tag-mana strong {
  color: var(--accent-cyan);
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, #e4e4e7 60%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent-text {
  color: var(--accent-cyan);
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.name-bold {
  color: #fff;
  font-weight: 700;
}

.code-pill {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 9px;
  border-radius: 6px;
  color: #cbd5e1;
  font-size: 0.85em;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.3px;
  transition: var(--transition);
}

.code-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* Terminal Line */
.terminal-banner {
  background: rgba(12, 12, 12, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 18px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.term-prompt {
  color: var(--accent-cyan);
}

.term-typewriter {
  color: #f4f4f5;
}

.term-cursor {
  color: var(--accent-cyan);
  animation: blink 0.9s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Hero CTA Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.game-btn {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition);
  cursor: pointer;
}

.primary-btn {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.primary-btn:hover {
  transform: translateY(-2px);
  background: #f4f4f5;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.45);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.6);
}

.arcade-btn {
  background: linear-gradient(135deg, #1a1a1a, #333333);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.arcade-btn:hover {
  background: var(--accent-cyan);
  color: #000;
  transform: translateY(-2px);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-cyan);
  color: #fff;
  transform: translateY(-2px);
}

/* Hero Right Side: Holographic Radar HUD Card */
.hero-radar-card {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  padding: 1.85rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-radar-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, 0.1) 0deg, transparent 60deg);
  animation: radarSweep 5s linear infinite;
  pointer-events: none;
}

@keyframes radarSweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.radar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 0.9rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.radar-title {
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.radar-status {
  color: var(--accent-green);
  font-size: 0.72rem;
}

.radar-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.radar-metric-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.radar-metric-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.radar-metric-label i {
  color: var(--accent-cyan);
}

.radar-metric-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
}

/* Hero Stats Strip below */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  width: 100%;
}

.stat-card {
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--accent-cyan);
  padding: 1.25rem;
  border-radius: 12px;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.stat-num {
  font-family: var(--font-pixel);
  font-size: 1.25rem;
  color: var(--accent-cyan);
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.scroll-indicator {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-pixel);
  font-size: 0.58rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.scroll-indicator:hover {
  color: var(--accent-cyan);
}

.scroll-indicator i {
  animation: bounceDown 1.8s infinite;
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

/* SECTION CONTAINERS */
.section-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 95px 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.sub-badge {
  font-family: var(--font-pixel);
  font-size: 0.65rem;
  color: var(--accent-cyan);
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.header-line {
  width: 65px;
  height: 3px;
  background: linear-gradient(90deg, #ffffff, #a1a1aa);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ==========================================================================
   --- RADICALLY REDESIGNED PROJECT STAGE: INTERACTIVE MISSION DECK ---
   Tabbed Mission Selector + Interactive Live Deep Dive Terminal
   ========================================================================== */
.projects-deck-container {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 2rem;
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.projects-deck-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

/* Project Selection List (Left Deck) */
.project-selector-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.project-select-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  position: relative;
  text-align: left;
  width: 100%;
}

.project-select-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(4px);
}

.project-select-item.active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.project-select-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 4px;
  background: var(--accent-cyan);
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.psi-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.psi-info {
  flex-grow: 1;
}

.psi-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.psi-category {
  font-family: var(--font-pixel);
  font-size: 0.58rem;
  color: var(--text-muted);
}

.psi-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
}

/* Project Showcase Stage (Right Side) */
.project-showcase-stage {
  background: #080808;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.project-showcase-stage::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.stage-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.stage-badge-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.stage-badge {
  font-family: var(--font-pixel);
  font-size: 0.62rem;
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
}

.stage-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stage-title {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.stage-tagline {
  font-size: 1.05rem;
  color: var(--accent-cyan);
  font-weight: 500;
  margin-top: 4px;
}

.stage-github-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.stage-github-btn:hover {
  background: var(--accent-cyan);
  color: #000;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.stage-description {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

/* Key Metrics Benchmarks Grid */
.stage-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.metric-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.1rem;
  text-align: center;
}

.metric-box-val {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
}

.metric-box-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Interactive Architecture Terminal Box */
.stage-arch-box {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 2rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #e4e4e7;
  line-height: 1.7;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.arch-prompt {
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stage-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stage-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 6px;
  color: #fff;
}

/* ABOUT SECTION */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.about-card {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2.25rem;
  transition: var(--transition);
}

.about-card:hover {
  border-color: var(--border-glow);
}

.profile-bio-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pixel-avatar-box {
  width: 90px;
  height: 90px;
  position: relative;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid var(--accent-cyan);
}

.online-indicator {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 16px;
  height: 16px;
  background: var(--accent-green);
  border: 3px solid #000;
  border-radius: 50%;
}

.bio-text h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.role-caption {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.bio-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.fun-fact-box {
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--accent-cyan);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.fun-fact-box i {
  color: var(--accent-cyan);
  font-size: 1.2rem;
  margin-top: 3px;
}

.bio-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip-link {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.chip-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Attributes / Stats Card */
.card-heading {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}

.attributes-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.attr-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.attr-meta i {
  color: var(--accent-cyan);
  margin-right: 4px;
}

.attr-level {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
}

.attr-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.attr-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffffff, #a1a1aa);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.live-github-strip {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.gh-stat-pill {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.gh-stat-pill:hover {
  border-color: var(--accent-cyan);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* SKILLS SECTION */
.skills-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.skill-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.skill-item:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.skill-icon {
  font-size: 1.6rem;
  color: var(--accent-cyan);
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-info h4 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 2px;
}

.skill-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* QUEST / EXPERIENCE SECTION */
.quest-timeline {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
  border-left: 2px dashed rgba(255, 255, 255, 0.3);
}

.quest-node {
  position: relative;
  margin-bottom: 2.5rem;
}

.quest-marker {
  position: absolute;
  left: -2.85rem;
  top: 0;
  width: 42px;
  height: 42px;
  background: var(--bg-dark);
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.quest-content {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
  transition: var(--transition);
}

.quest-content:hover {
  border-color: var(--border-glow);
}

.quest-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.quest-badge {
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.current-badge {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
}

.quest-title {
  font-size: 1.5rem;
  color: #fff;
}

.quest-org {
  font-size: 1.05rem;
  color: var(--accent-cyan);
  margin-top: 2px;
  font-weight: 500;
}

.quest-meta {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quest-summary {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
}

.quest-achievements {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.quest-achievements li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.quest-achievements li i {
  color: var(--accent-cyan);
  font-size: 0.75rem;
  margin-top: 6px;
}

.quest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 3px 9px;
  border-radius: 6px;
}

/* ARCADE ZONE MINI-GAME */
.arcade-cabinet {
  max-width: 680px;
  margin: 0 auto;
  background: #080808;
  border: 4px solid #222222;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.cabinet-marquee {
  background: linear-gradient(90deg, #ffffff, #ffffff, #a1a1aa);
  padding: 10px 15px;
  text-align: center;
}

.marquee-text {
  font-family: var(--font-pixel);
  font-size: 0.65rem;
  color: #000;
  font-weight: 700;
  letter-spacing: 1px;
}

.arcade-screen-wrapper {
  position: relative;
  background: #000000;
  border: 3px solid #1c1c1c;
  margin: 12px;
  border-radius: 12px;
  overflow: hidden;
}

#gameCanvas {
  display: block;
  width: 100%;
  height: auto;
  background: #050505;
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}

.overlay-content {
  max-width: 450px;
}

.game-title {
  font-family: var(--font-pixel);
  color: var(--accent-cyan);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.game-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.green-text { color: var(--accent-green); font-weight: 600; }
.red-text { color: var(--arcade-red); font-weight: 600; }

.score-board {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
}

.arcade-play-btn {
  background: linear-gradient(135deg, #ffffff, #e4e4e7);
  border: none;
  color: #000;
  font-family: var(--font-pixel);
  font-size: 0.78rem;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}

.arcade-play-btn:hover {
  transform: scale(1.04);
}

.game-instructions {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cabinet-controls {
  padding: 1rem 1.5rem;
  background: #080808;
  border-top: 2px solid #222222;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.dpad-zone {
  display: flex;
  gap: 0.5rem;
}

.control-btn {
  background: #141414;
  border: 1px solid #2a2a2a;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.control-btn:active {
  background: var(--accent-cyan);
  color: #000;
}

.arcade-status-panel {
  display: flex;
  gap: 1.25rem;
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  color: #fff;
}

.hud-stat strong {
  color: var(--accent-cyan);
}

#hudLives {
  color: var(--arcade-red);
}

/* Multi-Game Switcher Tabs */
.arcade-tabs-bar {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.arcade-tab-btn {
  background: rgba(14, 14, 14, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-secondary);
  font-family: var(--font-pixel);
  font-size: 0.65rem;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.arcade-tab-btn:hover {
  border-color: var(--accent-cyan);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.arcade-tab-btn.active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(200, 200, 200, 0.15));
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.actions-zone {
  display: flex;
  gap: 0.75rem;
}

.action-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #fff;
  font-family: var(--font-pixel);
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.red-btn { background: #ffffff; color: #fff; }
.cyan-btn { background: #ffffff; color: #000; font-weight: 700; }
.action-btn:active { transform: scale(0.92); }

/* EDUCATION & BADGES SECTION */
.edu-cert-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.col-title {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}

.mt-4 {
  margin-top: 2rem;
}

.credential-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.credential-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.cred-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.cred-period {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cred-info h4 {
  font-size: 1.05rem;
  color: #fff;
  margin: 2px 0 4px;
}

.cred-inst {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.badge-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.score-highlight {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--accent-green);
  font-weight: 600;
}

.cred-details {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Certifications list */
.cert-item-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.cert-item-box:hover {
  border-color: var(--accent-cyan);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.cert-badge-logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.cert-text h4 {
  font-size: 0.98rem;
  color: #fff;
}

.cert-text p {
  font-size: 0.82rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

/* CONTACT SECTION */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-intel h3 {
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.contact-intel p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-channel-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.channel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition);
}

.channel-card:hover {
  border-color: var(--border-glow);
  transform: translateX(4px);
}

.channel-icon {
  font-size: 1.4rem;
  color: var(--accent-cyan);
  width: 24px;
}

.ch-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.ch-value {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.ch-value:hover {
  color: var(--accent-cyan);
}

/* Contact Form Panel */
.contact-form-panel {
  background: #080808;
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

.form-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.red { background: #777777; }
.terminal-dot.yellow { background: #ffffff; }
.terminal-dot.green { background: #ffffff; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-group label i {
  color: var(--accent-cyan);
  margin-right: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px 14px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

.form-group select option {
  background: #080808;
  color: #fff;
}

.transmit-btn {
  width: 100%;
  background: linear-gradient(135deg, #ffffff, #e4e4e7);
  border: none;
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: var(--transition);
}

.transmit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.form-alert {
  margin-top: 1rem;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-alert.success {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: #000000;
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-brand .footer-logo {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
  display: block;
  margin-bottom: 0.35rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.social-circle:hover {
  background: var(--accent-cyan);
  color: #000;
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1.5rem;
}

/* RESUME MODAL */
.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.active {
  display: flex;
}

.modal-box {
  background: #101010;
  border: 1px solid var(--accent-cyan);
  border-radius: 16px;
  width: 100%;
  max-width: 580px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.modal-header {
  padding: 1.25rem 1.5rem;
  background: #080808;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.15rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--accent-cyan);
}

.modal-body {
  padding: 1.5rem;
}

/* Quest Log Modal & Dynamic XP Badge Enhancements */
.hud-xp-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.hud-xp-badge:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.quest-log-hint {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  letter-spacing: 1px;
  background: #ffffff;
  color: #000000;
  padding: 2px 5px;
  border-radius: 4px;
  margin-left: 4px;
  font-weight: 700;
}

.quest-modal-box {
  max-width: 620px;
  width: 90%;
}

.quest-summary-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.85rem;
}

.quest-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
}

.quest-stat-lbl {
  font-size: 0.65rem;
  font-family: var(--font-pixel);
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.quest-stat-val {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.quest-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.quest-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(20, 20, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.quest-item.unlocked {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(30, 30, 30, 0.85);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.quest-item-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.quest-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #a1a1aa;
  font-size: 0.9rem;
}

.quest-item.unlocked .quest-item-icon {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.quest-item-info h4 {
  font-size: 0.88rem;
  color: #ffffff;
  margin-bottom: 0.15rem;
  font-family: var(--font-main);
}

.quest-item-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.quest-item-xp {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.quest-item.unlocked .quest-item-xp {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

/* Floating Click Combo Particle Effects */
.floating-xp-text {
  position: fixed;
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  color: #ffffff;
  text-shadow: 0 0 8px #ffffff;
  pointer-events: none;
  z-index: 999999;
  animation: floatUpFade 0.85s ease-out forwards;
}

@keyframes floatUpFade {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-24px) scale(1.15);
  }
  100% {
    opacity: 0;
    transform: translateY(-45px) scale(0.9);
  }
}

.resume-meta-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.resume-actions-modal {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* RESPONSIVE DESIGN FOR LAPTOPS & TABLETS */
@media (max-width: 1200px) {
  .hud-nav { gap: 0.2rem; }
  .hud-link { font-size: 0.78rem; padding: 5px 6px; }
  .hud-link i { font-size: 0.75rem; }
  .hud-status-badge { display: none; }
  .quest-log-hint { display: none; }
}

@media (max-width: 1040px) {
  .hud-nav { display: none; }
  .hamburger-btn { display: flex; }
  .hud-status-badge { display: inline-flex; }
}

@media (max-width: 992px) {
  .hero-dashboard-layout { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.6rem; }
  .projects-deck-container { grid-template-columns: 1fr; }
  .about-grid, .edu-cert-grid, .contact-wrapper { grid-template-columns: 1fr; }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2.1rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-stats-grid { grid-template-columns: 1fr; }
  .stage-metrics-grid { grid-template-columns: 1fr; }
  .arcade-status-panel { display: none; }
  .custom-cursor, .custom-cursor-follower { display: none !important; }
}

/* --- PURE HIGH-CONTRAST BLACK AND WHITE GAMING RETRO CRT SCANLINES --- */
body::before {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.3) 50%);
  background-size: 100% 3px;
  z-index: 99990;
  pointer-events: none;
  opacity: 0.35;
}

/* Crisp Monochrome Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #000000;
}
::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 4px;
  border: 1px solid #444444;
}
::-webkit-scrollbar-thumb:hover {
  background: #ffffff;
}
