/**
 * Akash Lodhi — Premium 3D Developer Portfolio Stylesheet
 * Architectural Standard: Modern Dark-Mode Editorial UI
 * Typography: Space Grotesk + Inter + JetBrains Mono
 * Standard: WCAG 2.2 Level AA Accessible
 */

/* ==========================================================================
   1. CSS Custom Properties & Design Tokens
   ========================================================================== */
:root {
  /* Surfaces */
  --bg-core: #07090e;
  --bg-deep: #0b0e16;
  --bg-surface: #101420;
  --bg-surface-elevated: #161c2d;
  --bg-glass: rgba(16, 20, 32, 0.72);
  --bg-glass-card: rgba(22, 28, 45, 0.65);

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-highlight: rgba(0, 240, 255, 0.35);

  /* Accents */
  --accent-cyan: #00f0ff;
  --accent-cyan-glow: rgba(0, 240, 255, 0.22);
  --accent-emerald: #00ff9d;
  --accent-indigo: #6366f1;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  /* Text & Content */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --text-inverse: #07090e;

  /* Typography Stacks */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Shadows */
  --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(0, 240, 255, 0.15);
  --shadow-focus: 0 0 0 2px #07090e, 0 0 0 4px #00f0ff;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 160ms;
  --duration-normal: 280ms;

  /* Container Max Width */
  --container-max: 1240px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-core);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  position: relative;
}

/* Accessible Skip Link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--accent-cyan);
  color: var(--text-inverse);
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 4px;
  z-index: 9999;
  transition: top var(--duration-fast) ease;
}
.skip-link:focus {
  top: 20px;
  box-shadow: var(--shadow-focus);
}

/* Selection */
::selection {
  background: rgba(0, 240, 255, 0.25);
  color: #ffffff;
}

/* Focus Visible Rule (WCAG 2.2 AA) */
:focus {
  outline: none;
}
:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus) !important;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography Hierarchy */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

/* Badges & Tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  color: var(--text-secondary);
  text-transform: uppercase;
}
.badge-accent {
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.35);
  color: var(--accent-cyan);
}
.badge-emerald {
  background: rgba(0, 255, 157, 0.1);
  border-color: rgba(0, 255, 157, 0.35);
  color: var(--accent-emerald);
}
.badge-amber {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.35);
  color: var(--accent-amber);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-ring 2s infinite ease-out;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  padding: 14px 26px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
  user-select: none;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: var(--accent-cyan);
  color: var(--text-inverse);
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 18px rgba(0, 240, 255, 0.28);
}
.btn-primary:hover {
  background: #26f4ff;
  box-shadow: 0 6px 24px rgba(0, 240, 255, 0.42);
  transform: translateY(-2px);
}
.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border-color: var(--border-medium);
}
.btn-secondary:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
  background: #1b2339;
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}
.btn-ghost:hover {
  color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.05);
}

/* Section Header Structure */
.section-header {
  margin-bottom: 56px;
}
.section-header .section-tag {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.section-header p {
  max-width: 68ch;
  margin-top: 12px;
}

/* ==========================================================================
   3. Header Navigation Bar
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color var(--duration-normal) ease, backdrop-filter var(--duration-normal) ease, border-color var(--duration-normal) ease;
  border-bottom: 1px solid transparent;
}
.site-header.nav-scrolled {
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(0, 240, 255, 0.4);
  background: rgba(0, 240, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-link {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-medium);
  border-radius: 6px;
  width: 44px;
  height: 44px;
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Mobile Navigation Drawer */
.mobile-menu-drawer {
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  height: calc(100vh - 76px);
  background: var(--bg-core);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 999;
  border-bottom: 1px solid var(--border-medium);
}
.mobile-menu-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   4. Hero Section — The 3D Digital Universe
   ========================================================================== */
.hero-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 10;
}

/* 3D Canvas Background Container */
#hero-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

/* Foreground Content */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
  pointer-events: none; /* Allows pointer pass-through to 3D canvas */
}
.hero-content a,
.hero-content button,
.hero-content .badge {
  pointer-events: auto; /* Re-enable buttons */
}

.hero-status-wrapper {
  margin-bottom: 24px;
}

.hero-headline {
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subhead {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  color: var(--accent-cyan);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.hero-bio {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 66ch;
  margin: 0 auto 36px auto;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* 3D Raycasting HUD Annotation */
.hero-hud-annotation {
  position: absolute;
  bottom: 80px;
  right: 40px;
  background: rgba(16, 20, 32, 0.88);
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
  border-radius: 8px;
  padding: 14px 18px;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--duration-fast) ease, transform var(--duration-fast) ease;
  max-width: 320px;
  backdrop-filter: blur(10px);
}
.hero-hud-annotation.active {
  opacity: 1;
  transform: translateY(0);
}
.hud-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hud-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.4;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: auto;
}
.mouse-icon {
  width: 22px;
  height: 36px;
  border: 2px solid var(--border-medium);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.mouse-wheel {
  width: 4px;
  height: 7px;
  background: var(--accent-cyan);
  border-radius: 2px;
  animation: wheel-bounce 1.6s infinite;
}
@keyframes wheel-bounce {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ==========================================================================
   5. About Me Section
   ========================================================================== */
.about-section {
  padding: 120px 0;
  background: var(--bg-deep);
  position: relative;
  border-top: 1px solid var(--border-subtle);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.about-story p {
  margin-bottom: 24px;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.metric-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 22px;
  transition: border-color var(--duration-fast) ease;
}
.metric-box:hover {
  border-color: var(--border-highlight);
}
.metric-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 6px;
  line-height: 1;
}
.metric-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.about-card-side {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  position: sticky;
  top: 100px;
}
.profile-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.avatar-mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(99, 102, 241, 0.2));
  border: 1px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--accent-cyan);
}
.profile-titles h3 {
  font-size: 1.25rem;
}
.profile-titles p {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.core-focus-list {
  list-style: none;
  margin-top: 20px;
}
.core-focus-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.core-focus-list li strong {
  color: var(--text-primary);
}

/* ==========================================================================
   6. Technical Arsenal (Interactive Skills)
   ========================================================================== */
.skills-section {
  padding: 120px 0;
  position: relative;
  background: var(--bg-core);
}

.skill-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.skill-filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}
.skill-filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}
.skill-filter-btn.active {
  background: var(--accent-cyan);
  color: var(--text-inverse);
  border-color: var(--accent-cyan);
  box-shadow: 0 2px 14px rgba(0, 240, 255, 0.35);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.skill-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
  transition: transform var(--duration-fast) var(--ease-out), border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.skill-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-card);
}
.skill-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.skill-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}
.skill-category-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
}
.skill-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.skill-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: var(--bg-surface-elevated);
  color: var(--text-secondary);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   7. Featured Projects (Main Attraction)
   ========================================================================== */
.projects-section {
  padding: 120px 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}

.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: transform var(--duration-fast) var(--ease-out), border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.project-thumbnail-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #080a10;
  overflow: hidden;
}
.project-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}
.project-card:hover .project-thumbnail {
  transform: scale(1.04);
}
.project-badge-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
}

.project-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.45rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.project-metric-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-emerald);
  margin-bottom: 14px;
  font-weight: 500;
}

.project-summary {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.project-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}
.card-cta-link {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-cta-link svg {
  transition: transform var(--duration-fast) ease;
}
.project-card:hover .card-cta-link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   8. Experience & Achievements
   ========================================================================== */
.achievements-section {
  padding: 120px 0;
  background: var(--bg-core);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-indigo) 100%);
  opacity: 0.4;
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 48px;
}
.timeline-dot {
  position: absolute;
  top: 4px;
  left: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-core);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
}
.timeline-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 28px;
  transition: border-color var(--duration-fast) ease;
}
.timeline-card:hover {
  border-color: var(--border-highlight);
}
.timeline-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 700;
}
.timeline-role {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   9. Education Section
   ========================================================================== */
.education-section {
  padding: 100px 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
}

.education-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}
.edu-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-indigo);
  flex-shrink: 0;
}
.edu-details h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.edu-institution {
  font-size: 1.05rem;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}
.edu-meta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}
.coursework-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.coursework-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  background: var(--bg-surface-elevated);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   10. Contact Section
   ========================================================================== */
.contact-section {
  padding: 120px 0;
  background: var(--bg-core);
  position: relative;
  border-top: 1px solid var(--border-subtle);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 16px;
}
.contact-lead {
  font-size: 1.15rem;
  margin-bottom: 32px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}
.channel-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.channel-content {
  display: flex;
  align-items: center;
  gap: 14px;
}
.channel-icon {
  color: var(--accent-cyan);
}
.channel-label {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.channel-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

.copy-mini-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--duration-fast) ease;
}
.copy-mini-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px;
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-input,
.form-textarea {
  width: 100%;
  background: var(--bg-deep);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}
.status-msg {
  margin-top: 16px;
  font-size: 0.88rem;
  font-family: var(--font-mono);
}
.status-success {
  color: var(--accent-emerald);
}
.status-error {
  color: var(--accent-rose);
}

/* ==========================================================================
   11. Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  background: var(--bg-core);
}
.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-copy {
  font-size: 0.88rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-link {
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.footer-link:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   12. Modals (Project Detail & Resume Preview)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 6, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-normal) ease, visibility var(--duration-normal) ease;
}
.modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 16px;
  width: 100%;
  max-width: 840px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  transform: translateY(20px);
  transition: transform var(--duration-normal) var(--ease-out);
}
.modal-backdrop.is-active .modal-dialog {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) ease;
}
.modal-close-btn:hover {
  background: var(--accent-rose);
  color: #ffffff;
}

.modal-project-hero {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  max-height: 360px;
}
.modal-project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-project-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.modal-title {
  font-size: 1.8rem;
  margin-top: 6px;
  width: 100%;
}
.modal-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.modal-section {
  margin-bottom: 24px;
}
.modal-section h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.modal-section p {
  font-size: 0.95rem;
  line-height: 1.65;
}
.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.modal-actions {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

/* Resume Modal Custom Styling */
.resume-paper {
  background: #0f1422;
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  padding: 32px;
  color: #e2e8f0;
  font-family: var(--font-body);
}
.resume-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 20px;
  margin-bottom: 24px;
}
.resume-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
}
.resume-contact-line {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  margin-top: 6px;
}
.resume-block {
  margin-bottom: 20px;
}
.resume-block h4 {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-emerald);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(0, 255, 157, 0.2);
  padding-bottom: 4px;
}
.resume-item {
  margin-bottom: 14px;
}
.resume-item-title {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.95rem;
}
.resume-item-sub {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 4px;
}
.resume-item-desc {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.5;
}

/* ==========================================================================
   13. Responsive Media Queries
   ========================================================================== */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-card-side {
    position: static;
  }
  .education-card {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-menu,
  .nav-cta .btn {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .hero-hud-annotation {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .metrics-strip {
    grid-template-columns: 1fr;
  }
  .modal-dialog {
    padding: 24px;
  }
}

/* ==========================================================================
   14. Print & Reduced Motion Media Queries
   ========================================================================== */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .site-header,
  .hero-section,
  .projects-section,
  .skills-section,
  .contact-section,
  .site-footer,
  #hero-canvas-container,
  .modal-close-btn,
  .modal-actions {
    display: none !important;
  }
  .modal-backdrop {
    position: static !important;
    background: transparent !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .modal-dialog {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: 100% !important;
  }
  .resume-paper {
    background: #ffffff !important;
    color: #000000 !important;
    border: none !important;
  }
  .resume-name,
  .resume-item-title {
    color: #000000 !important;
  }
}

/* ==========================================================================
   15. Messenger 3D World Interactive UI (Matching messenger.abeto.co)
   ========================================================================== */

/* Golden Retro BEGIN Button (Matching video frame 00:01) */
.begin-btn-wrapper {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.begin-exp-btn {
  background: #facc15;
  color: #1f2937;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 44px;
  border-radius: 6px;
  border: 3px solid #ca8a04;
  box-shadow: 0 6px 0 #a16207, 0 12px 25px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.begin-exp-btn:hover {
  background: #fde047;
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #a16207, 0 16px 30px rgba(0, 0, 0, 0.5);
}
.begin-exp-btn:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #a16207, 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Envelope Folding Loader Screen (Matching video frame 00:02) */
.envelope-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.envelope-loader.is-active {
  opacity: 1;
  visibility: visible;
}
.envelope-icon {
  width: 56px;
  height: 40px;
  border: 3px solid #222222;
  border-radius: 4px;
  position: relative;
  margin-bottom: 16px;
  animation: env-bob 0.8s infinite alternate ease-in-out;
}
.envelope-flap {
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-top: 22px solid #222222;
  transform-origin: top;
  animation: flap-fold 0.8s infinite alternate ease-in-out;
}
.envelope-label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: #222222;
  text-transform: uppercase;
}

@keyframes env-bob {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}
@keyframes flap-fold {
  from { transform: translateX(-50%) rotateX(0deg); }
  to { transform: translateX(-50%) rotateX(180deg); }
}

/* Visual Novel Dialog Box (Matching video frame 00:19) */
.vn-dialog-box {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: calc(100% - 48px);
  max-width: 820px;
  background: #ffffff;
  border: 3px solid #1e293b;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  padding: 22px 28px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s var(--ease-out), opacity 0.25s ease, visibility 0.25s ease;
}
.vn-dialog-box.is-active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}
.vn-nameplate {
  position: absolute;
  top: -18px;
  left: 24px;
  background: #0284c7;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 5px 16px;
  border-radius: 6px;
  border: 2px solid #0369a1;
  text-transform: uppercase;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
.vn-text {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.5;
  margin: 0;
  min-height: 52px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.vn-dialog-next {
  position: absolute;
  bottom: 14px;
  right: 20px;
  background: #0284c7;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: arrow-bounce 0.8s infinite alternate ease-in-out;
}
@keyframes arrow-bounce {
  from { transform: translateX(0); }
  to { transform: translateX(4px); }
}

/* Waypoint Proximity Banner */
.waypoint-prompt {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: rgba(15, 23, 42, 0.94);
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.3);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s var(--ease-out);
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(8px);
}
.waypoint-prompt.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}
.inspect-btn {
  background: var(--accent-cyan);
  color: #000000;
  border: none;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  cursor: pointer;
}

/* Touch & On-Screen Street HUD Controls (Matching video frame 00:26) */
.street-controls-hud {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.street-controls-hud.is-active {
  opacity: 1;
  visibility: visible;
}

/* Right-Edge Action Bar (Matching video right icons) */
.street-action-bar {
  position: absolute;
  top: 110px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: auto;
}
.street-tool-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #cbd5e1;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.1s ease, background-color 0.1s ease;
}
.street-tool-btn:hover {
  background: #ffffff;
  transform: scale(1.06);
}
.street-tool-btn:active {
  transform: scale(0.94);
}

/* Fast Travel Station Picker */
.fast-travel-menu {
  position: absolute;
  top: 110px;
  right: 76px;
  width: 320px;
  max-width: calc(100vw - 90px);
  background: rgba(15, 23, 42, 0.95);
  border: 2px solid var(--accent-cyan);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.2);
  backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 16px;
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 150;
}
.fast-travel-menu.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.ft-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.ft-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
}
.ft-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.ft-close:hover {
  color: #ffffff;
}
.ft-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 380px;
  overflow-y: auto;
}
.ft-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
  text-align: left;
  cursor: pointer;
  color: #ffffff;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  width: 100%;
}
.ft-item:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--accent-cyan);
}
.ft-icon {
  font-size: 1.25rem;
}
.ft-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ft-info strong {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ft-info small {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ft-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-cyan);
  padding: 2px 6px;
  border-radius: 4px;
}

/* On-Screen Mobile D-Pad (Bottom-Left) */
.dpad-container {
  position: absolute;
  bottom: 30px;
  left: 24px;
  display: grid;
  grid-template-columns: repeat(3, 46px);
  grid-template-rows: repeat(2, 46px);
  gap: 6px;
  pointer-events: auto;
}
.dpad-btn {
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid #94a3b8;
  border-radius: 8px;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
}
.dpad-btn:active {
  background: #38bdf8;
  color: #ffffff;
}

@media (min-width: 992px) {
  .dpad-container {
    opacity: 0.6;
  }
  .dpad-container:hover {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   16. Full 3D Game World & Recruiter Drawer UI
   ========================================================================== */

/* Header 3D Tech Stack Pills */
.header-tech-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}
.tech-pill-tag {
  font-weight: 600;
  letter-spacing: 0.03em;
}
.tech-pill-dot {
  color: rgba(255, 255, 255, 0.4);
}
@media (max-width: 900px) {
  .header-tech-pills {
    display: none;
  }
}

/* Recruiter & Document Overview Drawer */
.recruiter-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 860px;
  max-width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 29, 0.97);
  backdrop-filter: blur(24px);
  border-left: 2px solid rgba(0, 240, 255, 0.35);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.15);
  z-index: 2500;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.recruiter-drawer.is-open {
  transform: translateX(0);
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.85);
  flex-shrink: 0;
}
.drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
}
.drawer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.drawer-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 6px;
  transition: color 0.15s ease;
}
.drawer-close:hover {
  color: #ffffff;
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 30px 24px;
}

/* Modal Open State */
.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal-backdrop.is-open .modal-dialog {
  transform: translateY(0) scale(1);
}

/* Station 01: Vending Machine Skills Matrix */
.modal-dialog-lg {
  max-width: 960px !important;
}
.skills-vending-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.vending-category-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.vending-category-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}
.vending-card-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 12px;
}
.vending-category-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.vending-category-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  flex: 1;
}
.skill-tag.highlighted {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  font-weight: 700;
}

/* Station 08: Achievements */
.achievements-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.achievement-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px;
}
.achieve-icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
}
.achieve-content h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: #f1f5f9;
}
.achieve-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ========================================================================
   Interactive Cyberpunk Custom Cursor
   ======================================================================== */
.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: #38bdf8;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate3d(-100px, -100px, 0);
  box-shadow: 0 0 10px #38bdf8, 0 0 20px rgba(56, 189, 248, 0.6);
  transition: opacity 0.2s ease, transform 0.04s linear;
  will-change: transform;
}

.custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(56, 189, 248, 0.7);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate3d(-100px, -100px, 0);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              background-color 0.25s ease,
              opacity 0.25s ease;
  will-change: transform;
}

.custom-cursor-ring.is-hovering {
  width: 52px;
  height: 52px;
  border-color: #f59e0b;
  background-color: rgba(245, 158, 11, 0.08);
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.45);
}

.custom-cursor-ring.is-clicking {
  transform: translate3d(-100px, -100px, 0) scale(0.85);
  border-color: #10b981;
}

@media (pointer: coarse), (hover: none) {
  .custom-cursor-dot,
  .custom-cursor-ring {
    display: none !important;
  }
}


