/* ==========================================================================
   DEVELOPER WORKSPACE PORTFOLIO — UNIFIED STYLE SHEET (v3)
   ========================================================================== */



/* ==========================================
   DESIGN TOKENS & SYSTEM VARIABLES
   ========================================== */
:root {
  /* Colors - Futuristic Dark/Void Theme */
  --bg-void: #06060e;
  --bg-surface-1: #0c0c1d;
  --bg-surface-2: #111128;
  
  --glass-bg: rgba(12, 12, 30, 0.45);
  --glass-bg-hover: rgba(20, 20, 45, 0.65);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-border-hover: rgba(255, 255, 255, 0.12);
  
  /* Text */
  --text-primary: #e4e4ef;
  --text-secondary: #8a8aaa;
  --text-muted: #4a4a6a;
  
  /* Accents */
  --accent-primary: #6366f1;  /* Indigo */
  --accent-glow: #818cf8;     /* Indigo glow */
  --accent-cyan: #22d3ee;     /* For highlighting */
  --accent-green: #34d399;    /* Terminal green */
  --accent-amber: #fbbf24;    /* Gold/amber */
  --accent-pink: #f472b6;     /* Code strings */
  --accent-purple: #c084fc;   /* Code keywords */
  
  /* Fonts */
  --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-pixel: 'Press Start 2P', monospace;
  
  /* Sizing / Spacing */
  --container-width: 1200px;
  --container-width-narrow: 800px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================
   RESET & SYSTEM STYLES
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: initial; /* Lenis handles smooth scrolling */
  overflow-x: hidden;
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: rgba(99, 102, 241, 0.3);
  color: var(--accent-cyan);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-void);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--bg-void);
  border-radius: 5px;
  transition: var(--transition-fast);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Focus Ring Customization */
*:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 4px;
}

/* Hide default cursor on fine-pointer desktops */
@media (pointer: fine) {
  body.custom-cursor-active {
    cursor: none;
  }
  body.custom-cursor-active a,
  body.custom-cursor-active button,
  body.custom-cursor-active [role="button"],
  body.custom-cursor-active input,
  body.custom-cursor-active textarea {
    cursor: none;
  }
}

/* ==========================================
   ATMOSPHERE — FLOWING CODE COLUMNS & ORBS
   ========================================== */
.code-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.04; /* Very subtle texturing */
  filter: blur(1px);
}

.code-column {
  position: absolute;
  top: 0;
  width: auto;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  user-select: none;
  display: flex;
  flex-direction: column;
}

/* Scroll Animation Loop */
.code-column__inner {
  display: inline-block;
  animation: scrollCode 60s linear infinite;
}

@keyframes scrollCode {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* Columns positioning & speed variances for parallax feel */
.code-column:nth-child(1) { left: 3%; width: 12%; }
.code-column:nth-child(1) .code-column__inner { animation-duration: 90s; }
.code-column:nth-child(2) { left: 20%; width: 14%; opacity: 0.6; }
.code-column:nth-child(2) .code-column__inner { animation-duration: 110s; animation-direction: reverse; }
.code-column:nth-child(3) { left: 40%; width: 13%; }
.code-column:nth-child(3) .code-column__inner { animation-duration: 75s; }
.code-column:nth-child(4) { left: 58%; width: 15%; opacity: 0.5; }
.code-column:nth-child(4) .code-column__inner { animation-duration: 130s; }
.code-column:nth-child(5) { left: 76%; width: 12%; opacity: 0.7; }
.code-column:nth-child(5) .code-column__inner { animation-duration: 85s; animation-direction: reverse; }
.code-column:nth-child(6) { left: 91%; width: 8%; }
.code-column:nth-child(6) .code-column__inner { animation-duration: 100s; }

/* Code highlights in background columns */
.code-bg .kw { color: var(--accent-purple); font-weight: bold; }
.code-bg .st { color: var(--accent-pink); }
.code-bg .fn { color: var(--accent-cyan); }
.code-bg .nm { color: var(--accent-amber); }
.code-bg .cm { color: var(--text-muted); font-style: italic; }
.code-bg .vr { color: var(--accent-green); }

/* Floating Glow Orbs */
.gradient-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.15;
  mix-blend-mode: screen;
}

.orb--1 {
  top: -10%;
  left: 10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
  animation: floatOrb1 25s ease-in-out infinite alternate;
}

.orb--2 {
  bottom: -5%;
  right: 5%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
  animation: floatOrb2 30s ease-in-out infinite alternate;
}

.orb--3 {
  top: 40%;
  left: 50%;
  width: 30vw;
  height: 30vw;
  background: radial-gradient(circle, var(--accent-pink) 0%, transparent 70%);
  animation: floatOrb3 20s ease-in-out infinite alternate;
  opacity: 0.08;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5vw, 8vh) scale(1.1); }
}
@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1.1); }
  100% { transform: translate(-8vw, -5vh) scale(0.9); }
}
@keyframes floatOrb3 {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-45%, -40%) rotate(360deg); }
}

/* ==========================================
   LAYOUT, CONTAINERS & HELPER STYLES
   ========================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.container--narrow {
  max-width: var(--container-width-narrow);
}

.section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

.section:nth-of-type(even) {
  background-color: rgba(6, 6, 14, 0.4);
}

/* Pixel Grid Overlay Vibe */
.pixel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.005) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.005) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* ==========================================
   PREMIUM GLASSMORPHISM CARDS (GLASS 2.0)
   ========================================== */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 
    0 4px 30px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.08);
  transition: border-color var(--transition-smooth), background var(--transition-smooth), box-shadow var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
}

/* Dotted pixel-style accent border overlay */
.pixel-accent-border {
  border: 1px dashed rgba(99, 102, 241, 0.25);
  padding: 0.5rem;
  border-radius: 20px;
}

/* ==========================================
   TYPOGRAPHY & SECTION HEADINGS
   ========================================== */
.section-meta {
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.section-title span {
  color: var(--accent-primary);
  text-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

/* ==========================================
   CUSTOM CURSOR SYSTEM
   ========================================== */
.custom-cursor {
  width: 6px;
  height: 6px;
  background-color: var(--text-primary);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10000;
  transition: transform 0.1s ease, background-color 0.2s ease;
}

.custom-cursor-follower {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: normal;
  transition: 
    width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
    height 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
    background-color 0.3s ease, 
    border-color 0.3s ease;
}

/* Cursor states on hover */
.custom-cursor-follower.hovered {
  width: 56px;
  height: 56px;
  background-color: rgba(99, 102, 241, 0.12);
  border-color: var(--accent-cyan);
}

.custom-cursor-follower.text-hovered {
  width: 24px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.9);
  border-color: white;
  mix-blend-mode: difference;
}

.custom-cursor.clicked {
  transform: translate(-50%, -50%) scale(0.6);
}

.custom-cursor-follower.clicked {
  transform: translate(-50%, -50%) scale(1.4);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hide on mobile devices completely */
@media (max-width: 1024px) {
  .custom-cursor,
  .custom-cursor-follower {
    display: none !important;
  }
}

/* ==========================================
   NAVIGATION BAR & BRANDING
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background var(--transition-smooth), border-color var(--transition-smooth), backdrop-filter var(--transition-smooth);
}

.header.scrolled {
  background: rgba(6, 6, 14, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.logo span {
  color: var(--accent-cyan);
}

.logo__cursor {
  width: 8px;
  height: 15px;
  background-color: var(--accent-green);
  display: inline-block;
  animation: blink 1s step-end infinite;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-cyan);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent-cyan);
}

/* Nav utilities */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 101;
}

/* ==========================================
   BUTTONS & SHIMMER EFFECTS
   ========================================== */
.btn {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, rgba(99, 102, 241, 0.7) 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.btn--primary:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, var(--accent-primary) 100%);
  box-shadow: 0 4px 25px rgba(99, 102, 241, 0.4);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--glass-border-hover);
}

/* Shimmer overlay effect */
.shimmer-effect::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1) 50%, transparent);
  transform: skewX(-25deg);
  transition: 0.75s;
}

.shimmer-effect:hover::after {
  left: 125%;
}

/* Magnetic Button Wrapper */
.magnetic-btn-wrap {
  display: inline-block;
  transition: transform var(--transition-smooth);
}

/* ==========================================
   1. 🖥️ HERO — THE GLASS IDE CODE EDITOR
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
}

.hero__intro {
  display: flex;
  flex-direction: column;
}

.hero__badge {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--accent-green);
  background-color: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.2rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

/* Clip Mask Reveal helper */
.line-reveal-wrap {
  overflow: hidden;
}

.hero__title span {
  display: block;
  background: linear-gradient(135deg, #fff 30%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__title .glow-word {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero__ctas {
  display: flex;
  gap: 1.25rem;
}

/* The Glass Editor Mockup */
.editor-window {
  width: 100%;
  max-width: 560px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(99, 102, 241, 0.05);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(8, 8, 20, 0.65);
}

.editor-chrome {
  background: rgba(12, 12, 30, 0.8);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.editor-controls {
  display: flex;
  gap: 6px;
}

.editor-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.editor-dot--red { background-color: #ef4444; }
.editor-dot--yellow { background-color: #eab308; }
.editor-dot--green { background-color: #22c55e; }

.editor-tab {
  background: var(--bg-void);
  border: 1px solid var(--glass-border);
  border-bottom: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  padding: 0.35rem 0.8rem;
  border-radius: 6px 6px 0 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: -0.8rem;
  margin-left: 1.5rem;
}

.editor-tab-lang {
  color: #3178c6; /* TS blue color */
}

.editor-window-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.editor-content {
  padding: 1.5rem;
  display: flex;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  overflow-x: auto;
  min-height: 290px;
}

.editor-linenos {
  display: flex;
  flex-direction: column;
  color: var(--text-muted);
  text-align: right;
  padding-right: 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  user-select: none;
}

.editor-code-body {
  padding-left: 1.25rem;
  color: var(--text-primary);
  flex-grow: 1;
  white-space: pre-wrap;
  word-break: break-all;
}

/* Typing Caret */
.caret {
  display: inline-block;
  width: 7px;
  height: 15px;
  background-color: var(--accent-cyan);
  margin-left: 3px;
  animation: blink 0.8s step-end infinite;
  vertical-align: middle;
}

@keyframes blink {
  from, to { background-color: transparent; }
  50% { background-color: var(--accent-cyan); }
}

/* Code coloring inside editor */
.editor-code-body .kw { color: var(--accent-purple); }
.editor-code-body .st { color: var(--accent-pink); }
.editor-code-body .fn { color: var(--accent-cyan); }
.editor-code-body .vr { color: var(--accent-green); }
.editor-code-body .cm { color: var(--text-muted); font-style: italic; }

/* Scroll down indicator */
.hero__scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.hero__scroll-mouse {
  width: 20px;
  height: 32px;
  border: 2px solid var(--text-secondary);
  border-radius: 12px;
  position: relative;
}

.hero__scroll-wheel {
  width: 3px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s ease infinite;
}

@keyframes scrollWheel {
  0% { opacity: 0; top: 4px; }
  30% { opacity: 1; }
  80% { opacity: 0; top: 16px; }
  100% { opacity: 0; }
}

/* ==========================================
   2. 👤 ABOUT — GLASS PANEL WITH STATS
   ========================================== */
.about__layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about__profile-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.about__avatar-card {
  padding: 1.25rem;
  max-width: 320px;
  text-align: center;
}

.about__avatar-inner {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-void);
  border: 1px solid var(--glass-border);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about__avatar-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  transition: transform var(--transition-spring);
}

.about__avatar-card:hover .about__avatar-inner img {
  transform: scale(1.08) rotate(2deg);
}

.about__avatar-frame {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

/* Stats counter grid */
.about__stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.stat-card {
  padding: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: var(--font-sans);
}

.about__text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about__text p strong {
  color: var(--text-primary);
  font-weight: 500;
}

.about__text p mark {
  background: transparent;
  color: var(--accent-cyan);
  border-bottom: 1px dashed var(--accent-cyan);
}

/* ==========================================
   3. 💼 EXPERIENCE — INTERACTIVE IDE EXP
   ========================================== */
.experience__layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 3rem;
}

/* IDE Sidebar mimicking file tree */
.ide-sidebar {
  padding: 1.25rem;
  height: fit-content;
}

.ide-sidebar__title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ide-tree {
  list-style: none;
}

.ide-folder {
  margin-bottom: 0.75rem;
}

.ide-folder__title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.ide-files {
  list-style: none;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ide-file-item {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.ide-file-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

.ide-file-item.active {
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-cyan);
  border-left: 2px solid var(--accent-cyan);
}

/* File icon colorings */
.ide-icon-json { color: #f472b6; }
.ide-icon-python { color: #306998; }
.ide-icon-terminal { color: var(--accent-green); }

/* IDE Main Panel */
.ide-panel {
  display: flex;
  flex-direction: column;
}

.ide-tabs {
  display: flex;
  background: rgba(8, 8, 20, 0.4);
  border-bottom: 1px solid var(--glass-border);
  padding-left: 1rem;
}

.ide-tab {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  padding: 0.75rem 1.25rem;
  border-right: 1px solid var(--glass-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.ide-tab.active {
  background: var(--bg-surface-2);
  color: var(--accent-cyan);
  border-bottom: 2px solid var(--accent-cyan);
}

.ide-panel-content {
  padding: 2rem;
  background: rgba(8, 8, 20, 0.2);
  min-height: 400px;
}

.experience-content {
  display: none;
}

.experience-content.active {
  display: block;
}

.exp__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  padding-bottom: 1.5rem;
}

.exp__role {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.exp__company {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-size: 0.95rem;
}

.exp__time {
  text-align: right;
}

.exp__date {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--accent-amber);
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

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

.exp__bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.exp__bullet-item {
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  padding-left: 2rem;
}

.exp__bullet-item::before {
  content: '>';
  font-family: var(--font-mono);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-green);
  font-weight: bold;
}

.exp__bullet-item strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* ==========================================
   4. ⚡ SKILLS — `package.json` EXPERIENCE
   ========================================== */
.skills__description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 680px;
}

.json-editor {
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  position: relative;
}

.json-editor__content {
  padding: 2rem;
  min-height: 480px;
}

/* JSON highlight colors */
.json-key { color: var(--accent-purple); }
.json-string { color: var(--accent-pink); }
.json-number { color: var(--accent-amber); }
.json-bracket { color: #e4e4ef; }

/* Interactive Hovering Lines */
.json-line {
  position: relative;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  transition: background var(--transition-fast);
}

.json-line.hoverable {
  cursor: help;
}

.json-line.hoverable:hover {
  background: rgba(99, 102, 241, 0.1);
}

/* Skill Level Tooltip Card */
.skill-tooltip {
  position: absolute;
  z-index: 10;
  background: var(--bg-surface-2);
  border: 1px solid var(--accent-cyan);
  border-radius: 8px;
  padding: 1rem;
  width: 250px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  transform: translateY(10px);
}

.skill-tooltip.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.tooltip-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.tooltip-bar-wrap {
  background: var(--bg-void);
  height: 6px;
  border-radius: 3px;
  width: 100%;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.tooltip-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-cyan));
  width: 0%; /* Populated by JS */
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.tooltip-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ==========================================
   5. 🚀 PROJECTS — REPO CARDS WITH 3D TILT
   ========================================== */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* 3D perspective wrapper */
.tilt-card-wrap {
  perspective: 1000px;
}

.repo-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Flashlight Spotlight Glow */
.card-flashlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle 180px at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(99, 102, 241, 0.1), transparent 80%);
  z-index: 2;
}

.repo-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  transform: translateZ(30px);
}

.repo-card__branch {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--glass-border);
}

.repo-card__title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateZ(40px);
}

.repo-card__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 2rem;
  flex-grow: 1;
  transform: translateZ(20px);
}

.repo-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1.25rem;
  transform: translateZ(30px);
}

.repo-card__lang {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.repo-card__lang-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Dynamic lang dot colors */
.lang-rust { background-color: #dee2e6; }
.lang-ts { background-color: #3178c6; }
.lang-mongo { background-color: #4db33d; }
.lang-react { background-color: #61dafb; }
.lang-next { background-color: #ffffff; }

.repo-card__stats {
  display: flex;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.repo-card__stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ==========================================
   PROJECT DETAILS MODAL SYSTEM
   ========================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 4, 10, 0.85);
  backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: 90%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 3rem;
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal__close:hover {
  color: var(--accent-cyan);
}

.modal__header {
  margin-bottom: 2rem;
}

.modal__title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.modal__meta {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

.modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.modal__tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.modal__body {
  color: var(--text-secondary);
  line-height: 1.7;
}

.modal__body p {
  margin-bottom: 1.5rem;
}

.modal__body h4 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin: 2rem 0 1rem 0;
}

.modal__body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.modal__body li {
  position: relative;
  padding-left: 1.5rem;
}

.modal__body li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}

.modal__links {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
}

/* ==========================================
   6. 🎓 EDUCATION & CERTIFICATIONS — ACHIEVEMENTS
   ========================================== */
.edu-cert__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

.edu-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.edu-card {
  padding: 2rem;
  position: relative;
}

.edu-card::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 2rem;
  bottom: 2rem;
  width: 4px;
  background-color: var(--accent-primary);
  border-radius: 2px;
}

.edu-card__degree {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.edu-card__school {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.edu-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.edu-card__date {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--accent-amber);
}

.cert-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  position: relative;
  overflow: hidden;
}

/* Gold/amber border highlight for high achievements */
.cert-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background-color: var(--accent-amber);
}

.cert-card__icon {
  font-size: 2.25rem;
  color: var(--accent-amber);
}

.cert-card__info {
  flex-grow: 1;
}

.cert-card__name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.cert-card__issuer {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.cert-card__id {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.cert-card__badge {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: var(--accent-amber);
  border: 1px solid rgba(251, 191, 36, 0.2);
  background: rgba(251, 191, 36, 0.05);
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  margin-left: auto;
}

/* ==========================================
   7. 📬 CONTACT — FLOATING TERMINAL
   ========================================== */
.contact__layout {
  display: flex;
  justify-content: center;
  position: relative;
}

.terminal-window {
  width: 100%;
  max-width: 720px;
  box-shadow: 
    0 30px 60px rgba(0,0,0,0.6),
    0 0 50px rgba(99, 102, 241, 0.03);
}

.terminal-header {
  background: rgba(12, 12, 30, 0.85);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-left: 1.5rem;
}

.terminal-body {
  padding: 2rem 2.5rem;
}

.terminal-welcome {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.terminal-prompt {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-green);
  margin-bottom: 1.5rem;
}

.terminal-prompt span {
  color: var(--text-primary);
}

.terminal-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Interactive terminal input fields */
.terminal-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.terminal-prefix {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-green);
  position: absolute;
  left: 0;
  top: 0;
}

.terminal-input,
.terminal-textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--glass-border);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-primary);
  padding: 0 0 0.5rem 2.25rem;
  width: 100%;
  transition: border-color var(--transition-fast);
}

.terminal-textarea {
  min-height: 100px;
  resize: vertical;
  padding-left: 2.25rem;
  line-height: 1.6;
}

.terminal-input:focus,
.terminal-textarea:focus {
  outline: none;
  border-bottom-color: var(--accent-cyan);
}

.terminal-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  position: absolute;
  left: 2.25rem;
  top: 0;
  pointer-events: none;
  transition: transform var(--transition-fast), font-size var(--transition-fast), color var(--transition-fast);
}

/* Floated Label triggers */
.terminal-input:focus ~ .terminal-label,
.terminal-input:not(:placeholder-shown) ~ .terminal-label,
.terminal-textarea:focus ~ .terminal-label,
.terminal-textarea:not(:placeholder-shown) ~ .terminal-label {
  transform: translateY(-1.1rem);
  font-size: 0.6rem;
  color: var(--accent-cyan);
}

.terminal-submit {
  align-self: flex-start;
  margin-top: 1rem;
}

/* Social links terminal block */
.terminal-socials-block {
  margin-top: 3rem;
  border-top: 1px dashed rgba(255,255,255,0.05);
  padding-top: 2rem;
  text-align: center;
}

.terminal-socials-block p {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: transform var(--transition-spring), border-color var(--transition-fast), color var(--transition-fast);
}

.social-icon-btn:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.15);
}

/* ==========================================
   8. FOOTER — MINIMAL GLASS BAR
   ========================================== */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--glass-border);
  background-color: rgba(4, 4, 10, 0.5);
  backdrop-filter: blur(10px);
}

.footer__layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.footer__copyright strong {
  color: var(--text-primary);
  font-weight: 500;
}

.footer__right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer__meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.back-to-top {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.back-to-top:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Toast Message Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10000;
  background: var(--bg-surface-2);
  border: 1px solid var(--accent-green);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease, visibility 0.4s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-success-icon {
  color: var(--accent-green);
  font-size: 1.1rem;
}

.mobile-only-nav-action {
  display: none !important;
}

#cursor-toggle:hover {
  border-color: var(--accent-cyan) !important;
}

/* ==========================================
   RESPONSIVE DESIGN SYSTEM OVERRIDES
   ========================================== */

/* Tablet & Smaller Screens (< 1024px) */
@media (max-width: 1024px) {
  .code-minimap {
    display: none !important;
  }

  .gradient-orbs {
    display: none !important;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  
  .hero__intro {
    align-items: center;
  }
  
  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .editor-window {
    margin-left: auto;
    margin-right: auto;
  }
  
  .about__layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about__profile-wrapper {
    order: -1;
  }
  
  .experience__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .edu-cert__layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .projects__grid {
    grid-template-columns: 1fr;
  }
  
  .code-bg {
    opacity: 0.02; /* Simpler background details */
  }
  
  /* Hide column 4, 5, 6 on tablet */
  .code-column:nth-child(4),
  .code-column:nth-child(5),
  .code-column:nth-child(6) {
    display: none !important;
  }
}

/* Mobile Screens (< 768px) */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .section-title {
    font-size: 2.25rem;
    margin-bottom: 2rem;
  }
  
  .hero__title {
    font-size: 3rem;
  }
  
  .hero__subtitle {
    font-size: 1.1rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(8, 8, 20, 0.95);
    backdrop-filter: blur(25px);
    border-left: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 8rem 2rem 2rem 2rem;
    align-items: flex-start;
    gap: 2rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .hamburger {
    display: block;
  }

  .nav-actions .magnetic-btn-wrap {
    display: none !important;
  }

  .mobile-only-nav-action {
    display: block !important;
  }
  
  .about__stats-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .ide-sidebar {
    display: none; /* Hide sidebar file explorer in mobile */
  }
  
  .experience__layout {
    grid-template-columns: 1fr;
  }
  
  .ide-tabs {
    overflow-x: auto;
    white-space: nowrap;
    padding-left: 0.5rem;
  }
  
  .ide-panel-content {
    padding: 1.5rem;
  }
  
  .exp__header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .exp__time {
    text-align: left;
  }

  .obs-gauges {
    grid-template-columns: 1fr;
  }

  .obs-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .json-editor__content {
    padding: 1.25rem;
    font-size: 0.75rem;
  }
  
  .terminal-body {
    padding: 1.5rem;
  }
  
  .footer__layout {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer__right {
    flex-direction: column-reverse;
    gap: 1rem;
  }
  
  .code-bg {
    display: none !important; /* Save rendering calculations on mobile */
  }
}

/* Extra Small Screens (< 480px) */
@media (max-width: 480px) {
  .achievements-grid {
    grid-template-columns: 1fr;
  }

  .cert-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cert-card__badge {
    align-self: flex-start;
    margin-left: 0;
  }
}

/* Reduced Motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
    transform: none !important;
  }
  
  .code-bg,
  .gradient-orbs,
  .card-flashlight,
  .shimmer-effect::after {
    display: none !important;
  }
  
  .custom-cursor,
  .custom-cursor-follower {
    display: none !important;
  }
}

/* ==========================================================================
   ENVIRONMENT CONFIGURATION, SQL, TERMINAL, & KONAMI STYLES
   ========================================================================== */

/* 1. .env Editor block inside About */
.env-editor {
  width: 100%;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(34, 211, 238, 0.03);
}

.env-code-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  overflow-x: auto;
}

.env-line {
  display: block;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  transition: background var(--transition-fast);
  white-space: pre;
}

.env-line:hover {
  background: rgba(99, 102, 241, 0.08);
}

.env-comment {
  color: var(--text-muted);
  font-style: italic;
}

.env-key {
  color: var(--accent-cyan);
  font-weight: 500;
}

.env-val {
  color: var(--accent-pink);
}

.env-num {
  color: var(--accent-amber);
}

.env-bool {
  color: var(--accent-purple);
}

/* 2. SQL Query Database console inside Education */
.sql-console {
  background: rgba(8, 8, 20, 0.65);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 1.5rem;
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.5),
    0 0 30px rgba(99, 102, 241, 0.02);
  width: 100%;
}

.sql-prompt {
  color: var(--accent-green);
  margin-bottom: 0.75rem;
}

.sql-prompt span {
  color: var(--text-primary);
}

.sql-query {
  color: var(--accent-purple);
  font-weight: bold;
}

.sql-table-wrapper {
  overflow-x: auto;
  white-space: pre;
  line-height: 1.4;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  border-top: 1px dashed rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

.sql-table-header {
  color: var(--accent-cyan);
  font-weight: bold;
}

.sql-table-rows {
  color: var(--text-primary);
}

.sql-table-meta {
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-style: italic;
}

/* 3. Interactive Terminal Form Additions */
.terminal-history {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  max-height: 250px;
  overflow-y: auto;
  margin-bottom: 1.5rem;
  padding-right: 0.5rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  padding-bottom: 1rem;
}

.terminal-line {
  margin-bottom: 0.5rem;
  white-space: pre-wrap;
  word-break: break-all;
}

.terminal-line--in {
  color: var(--accent-green);
}

.terminal-line--out {
  color: var(--text-secondary);
}

.terminal-line--success {
  color: var(--accent-green);
}

.terminal-line--info {
  color: var(--accent-cyan);
}

.terminal-line--warn {
  color: var(--accent-amber);
}

.terminal-line--error {
  color: #f87171;
}

.terminal-interactive-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.terminal-prompt-prefix {
  color: var(--accent-green);
  white-space: nowrap;
  user-select: none;
}

.terminal-prompt-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  flex-grow: 1;
  width: 100%;
}

/* 4. Retro monochrome Konami Overload theme */
.retro-scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.28) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.05), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.05));
  background-size: 100% 4px, 6px 100%;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.retro-overload .retro-scanlines {
  opacity: 1;
}

.retro-overload {
  --bg-void: #020402;
  --bg-surface-1: #040804;
  --bg-surface-2: #060c06;
  
  --glass-bg: rgba(2, 8, 2, 0.75);
  --glass-bg-hover: rgba(5, 15, 5, 0.85);
  --glass-border: rgba(57, 255, 20, 0.2);
  --glass-border-hover: rgba(57, 255, 20, 0.5);
  
  --text-primary: #39ff14;
  --text-secondary: #00dd00;
  --text-muted: #005500;
  
  --accent-primary: #39ff14;
  --accent-glow: #39ff14;
  --accent-cyan: #39ff14;
  --accent-green: #39ff14;
  --accent-amber: #39ff14;
  --accent-pink: #39ff14;
  --accent-purple: #39ff14;
}

.retro-overload .orb,
.retro-overload .card-flashlight {
  display: none !important;
}

.retro-overload .btn--primary {
  background: transparent;
  border: 2px solid #39ff14;
  color: #39ff14;
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.retro-overload .btn--primary:hover {
  background: #39ff14;
  color: #020402;
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.7);
}

.retro-overload img {
  filter: grayscale(100%) contrast(150%) brightness(85%) sepia(100%) hue-rotate(85deg) saturate(300%);
}

.retro-overload .code-bg {
  opacity: 0.14;
  filter: brightness(1.2) contrast(1.2);
}

.retro-overload .code-column {
  font-weight: bold;
  text-shadow: 0 0 5px rgba(57, 255, 20, 0.5);
}

.retro-overload .custom-cursor {
  background-color: #39ff14;
  box-shadow: 0 0 8px #39ff14;
}

.retro-overload .custom-cursor-follower {
  border-color: #39ff14;
  background-color: rgba(57, 255, 20, 0.08);
}

/* Screen shake keyframes */
@keyframes glitchShake {
  0% { transform: translate(0, 0); }
  10% { transform: translate(-3px, 3px); }
  20% { transform: translate(3px, -3px); }
  30% { transform: translate(-1px, 2px); }
  40% { transform: translate(2px, -1px); }
  50% { transform: translate(-3px, -2px); }
  60% { transform: translate(3px, 3px); }
  70% { transform: translate(-2px, -3px); }
  80% { transform: translate(3px, 2px); }
  90% { transform: translate(-3px, -2px); }
  100% { transform: translate(0, 0); }
}

.glitch-shake {
  animation: glitchShake 0.4s ease-in-out;
}

/* ==========================================================================
   RECRUITER MODE & CURSOR TOGGLE OVERRIDES
   ========================================================================== */

/* Plain text layout for recruiters */
.about-plain-text {
  display: none; /* Hidden by default in Developer Mode */
}

.recruiter-mode-active .env-editor {
  display: none !important;
}

.recruiter-mode-active .about-plain-text {
  display: block !important;
}

/* Base styles for standard educational card */
.edu-card {
  display: none; /* Hidden by default */
}

.recruiter-mode-active .sql-console {
  display: none !important;
}

.recruiter-mode-active .edu-card {
  display: block !important;
}

/* Custom cursor disabling utilities */
.custom-cursor-disabled .custom-cursor,
.custom-cursor-disabled .custom-cursor-follower {
  display: none !important;
}

body.custom-cursor-disabled {
  cursor: auto !important;
}

body.custom-cursor-disabled a,
body.custom-cursor-disabled button,
body.custom-cursor-disabled [role="button"],
body.custom-cursor-disabled input,
body.custom-cursor-disabled textarea {
  cursor: pointer !important;
}

/* Visual warning alert inside terminal console */
.terminal-comment-alert {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  background: rgba(34, 211, 238, 0.04);
  border: 1px solid rgba(34, 211, 238, 0.15);
  border-left: 3px solid var(--accent-cyan);
  line-height: 1.55;
}

/* ==========================================================================
   PHASE A, B, AND C INTERACTIVE REDESIGN STYLES
   ========================================================================== */

/* 1. Clickable Hero editor tabs */
.editor-tab-btn {
  background: transparent;
  border: 1px solid var(--glass-border);
  border-bottom: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  padding: 0.45rem 1rem;
  border-radius: 6px 6px 0 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.editor-tab-btn:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

.editor-tab-btn.active {
  background: var(--bg-void);
  color: var(--accent-cyan);
  border-color: var(--glass-border);
  border-bottom: 1px solid var(--bg-void);
}

.editor-tabs-container {
  display: flex;
  gap: 0.25rem;
  margin-bottom: -0.85rem;
  margin-left: 1rem;
}

/* 2. Vertical Code Minimap Navigator */
.code-minimap {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 350px;
  background: rgba(12, 12, 30, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 1rem 0.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.minimap-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.minimap-bar:hover {
  transform: scaleX(1.15);
  background: rgba(255, 255, 255, 0.2);
}

.minimap-bar.active {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.minimap-label {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-secondary);
  background: var(--bg-surface-2);
  border: 1px solid var(--glass-border);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.minimap-bar:hover .minimap-label {
  opacity: 1;
  visibility: visible;
}

/* 3. Mobile Skill Drawer / Bottom Sheet */
.mobile-skill-sheet {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: rgba(12, 12, 30, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-top: 1px solid var(--glass-border);
  border-radius: 20px 20px 0 0;
  z-index: 9999;
  padding: 2.5rem 2rem;
  box-shadow: 0 -15px 40px rgba(0,0,0,0.5);
  transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-skill-sheet.open {
  bottom: 0;
}

.mobile-sheet-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  cursor: pointer;
}

/* 4. Interactive Observability Simulation Widget */
.obs-widget {
  background: rgba(8, 8, 20, 0.65);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.obs-widget.incident-active {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.15);
  animation: alertBorderFlash 1.5s infinite alternate;
}

@keyframes alertBorderFlash {
  0% { border-color: rgba(239, 68, 68, 0.3); }
  100% { border-color: rgba(239, 68, 68, 0.85); }
}

.obs-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
}

.obs-widget-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: bold;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.obs-status-light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.obs-widget.incident-active .obs-status-light {
  background-color: #ef4444;
  box-shadow: 0 0 12px #ef4444;
  animation: lightFlash 0.5s infinite;
}

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

.obs-gauges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.obs-gauge-card {
  background: rgba(4, 4, 10, 0.4);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.obs-gauge-name {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
}

.obs-gauge-val {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-green);
  transition: color 0.3s ease;
}

.obs-gauge-bar-track {
  background: rgba(255,255,255,0.05);
  height: 4px;
  border-radius: 2px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.obs-gauge-bar-fill {
  height: 100%;
  width: 30%; /* default healthy */
  background: var(--accent-green);
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.obs-widget.incident-active .obs-gauge-val {
  color: #f87171;
}

.obs-widget.incident-active .obs-gauge-bar-fill {
  background: #ef4444;
}

.obs-console-logs {
  background: rgba(4,4,10,0.8);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  height: 110px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  text-align: left;
}

.obs-log-line {
  margin-bottom: 0.25rem;
}

.obs-log-line.err { color: #f87171; }
.obs-log-line.ok { color: var(--accent-green); }
.obs-log-line.info { color: var(--accent-cyan); }

.obs-actions {
  display: flex;
  gap: 1rem;
}

.obs-btn {
  flex-grow: 1;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.obs-btn--incident {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.25);
}

.obs-btn--incident:hover {
  background: #ef4444;
  color: #020402;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.obs-btn--script {
  background: rgba(52, 211, 153, 0.1);
  color: var(--accent-green);
  border-color: rgba(52, 211, 153, 0.25);
}

.obs-btn--script:hover {
  background: var(--accent-green);
  color: #020402;
  box-shadow: 0 0 15px rgba(52, 211, 153, 0.4);
}

/* 5. Gamified Achievements timeline Certification block */
.achievements-timeline-item {
  margin-top: 3rem;
  border-top: 1px dashed rgba(255,255,255,0.05);
  padding-top: 2rem;
}

.achievements-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.achievement-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 1.25rem 0.5rem;
  text-align: center;
  font-family: var(--font-mono);
  position: relative;
  overflow: hidden;
  opacity: 0.35;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease, box-shadow 0.5s ease;
}

.achievement-card.unlocked {
  opacity: 1;
  border-color: var(--accent-amber);
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.18);
}

.achievement-icon {
  font-size: 1.85rem;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
  margin-bottom: 0.5rem;
}

.achievement-card.unlocked .achievement-icon {
  filter: grayscale(0%);
}

.achievement-name {
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.achievement-desc {
  font-size: 0.65rem;
  color: var(--text-secondary);
  line-height: 1.3;
}



