/* ============================================
   THEME SYSTEM - 5 Beautiful Themes
   ============================================ */

:root {
  --mx: 50vw;
  --my: 50vh;
  
  /* Theme transition for smooth switching */
  --theme-transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   THEME 1: CYBERPUNK (Default)
   Teal/Cyan accents on dark slate
   ============================================ */
[data-theme="cyberpunk"], :root {
  /* Primary accent */
  --accent-primary: #2dd4bf;
  --accent-secondary: #14b8a6;
  --accent-tertiary: #5eead4;
  --accent-glow: rgba(45, 212, 191, 0.4);
  --accent-subtle: rgba(45, 212, 191, 0.1);
  --accent-border: rgba(45, 212, 191, 0.3);
  
  /* Glitch effect color */
  --glitch-color: #ff0080;
  
  /* Backgrounds */
  --bg-primary: #020617;
  --bg-secondary: #0f172a;
  --bg-tertiary: #1e293b;
  --bg-elevated: #334155;
  --bg-glass: rgba(15, 23, 42, 0.6);
  --bg-nav-scrolled: rgba(2, 6, 23, 0.85);
  
  /* Text colors */
  --text-primary: #f1f5f9;
  --text-secondary: #e2e8f0;
  --text-tertiary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* Borders */
  --border-primary: #334155;
  --border-secondary: #475569;
  --border-subtle: rgba(255, 255, 255, 0.08);
  
  /* Gradients */
  --gradient-accent: linear-gradient(135deg, #2dd4bf, #67e8f9);
  --gradient-glow: linear-gradient(135deg, #14b8a6, #0ea5e9);
  
  /* Syntax highlighting */
  --syntax-keyword: #c084fc;
  --syntax-function: #facc15;
  --syntax-string: #4ade80;
  --syntax-component: #60a5fa;
  
  /* Selection */
  --selection-bg: rgba(45, 212, 191, 0.3);
  --selection-text: #f0fdfa;
}

/* ============================================
   THEME 2: MIDNIGHT
   Purple/Violet accents on deep blue
   ============================================ */
[data-theme="midnight"] {
  /* Primary accent */
  --accent-primary: #a78bfa;
  --accent-secondary: #8b5cf6;
  --accent-tertiary: #c4b5fd;
  --accent-glow: rgba(167, 139, 250, 0.4);
  --accent-subtle: rgba(167, 139, 250, 0.1);
  --accent-border: rgba(167, 139, 250, 0.3);
  
  /* Glitch effect color */
  --glitch-color: #f472b6;
  
  /* Backgrounds */
  --bg-primary: #0c0a1d;
  --bg-secondary: #1a1744;
  --bg-tertiary: #2e2a5c;
  --bg-elevated: #3d3875;
  --bg-glass: rgba(26, 23, 68, 0.6);
  --bg-nav-scrolled: rgba(12, 10, 29, 0.85);
  
  /* Text colors */
  --text-primary: #f8fafc;
  --text-secondary: #e2e8f0;
  --text-tertiary: #c8c6d6;
  --text-muted: #9d9ab8;
  --text-dim: #6b6992;
  
  /* Borders */
  --border-primary: #3d3875;
  --border-secondary: #4c4793;
  --border-subtle: rgba(255, 255, 255, 0.08);
  
  /* Gradients */
  --gradient-accent: linear-gradient(135deg, #a78bfa, #f472b6);
  --gradient-glow: linear-gradient(135deg, #8b5cf6, #ec4899);
  
  /* Syntax highlighting */
  --syntax-keyword: #f472b6;
  --syntax-function: #fbbf24;
  --syntax-string: #34d399;
  --syntax-component: #60a5fa;
  
  /* Selection */
  --selection-bg: rgba(167, 139, 250, 0.3);
  --selection-text: #faf5ff;
}

/* ============================================
   THEME 3: SUNSET
   Orange/Amber accents on warm dark
   ============================================ */
[data-theme="sunset"] {
  /* Primary accent */
  --accent-primary: #fb923c;
  --accent-secondary: #f97316;
  --accent-tertiary: #fdba74;
  --accent-glow: rgba(251, 146, 60, 0.4);
  --accent-subtle: rgba(251, 146, 60, 0.1);
  --accent-border: rgba(251, 146, 60, 0.3);
  
  /* Glitch effect color */
  --glitch-color: #ef4444;
  
  /* Backgrounds */
  --bg-primary: #1c1412;
  --bg-secondary: #2c1f1a;
  --bg-tertiary: #3d2a22;
  --bg-elevated: #4d3529;
  --bg-glass: rgba(44, 31, 26, 0.6);
  --bg-nav-scrolled: rgba(28, 20, 18, 0.85);
  
  /* Text colors */
  --text-primary: #fef3e2;
  --text-secondary: #fde8cd;
  --text-tertiary: #e8d5bf;
  --text-muted: #c9a88a;
  --text-dim: #9a7a5d;
  
  /* Borders */
  --border-primary: #4d3529;
  --border-secondary: #5e4033;
  --border-subtle: rgba(255, 255, 255, 0.08);
  
  /* Gradients */
  --gradient-accent: linear-gradient(135deg, #fb923c, #ef4444);
  --gradient-glow: linear-gradient(135deg, #f97316, #dc2626);
  
  /* Syntax highlighting */
  --syntax-keyword: #fbbf24;
  --syntax-function: #ef4444;
  --syntax-string: #4ade80;
  --syntax-component: #38bdf8;
  
  /* Selection */
  --selection-bg: rgba(251, 146, 60, 0.3);
  --selection-text: #fef3e2;
}

/* ============================================
   THEME 4: FOREST
   Emerald/Green accents on dark green-tinted
   ============================================ */
[data-theme="forest"] {
  /* Primary accent */
  --accent-primary: #34d399;
  --accent-secondary: #10b981;
  --accent-tertiary: #6ee7b7;
  --accent-glow: rgba(52, 211, 153, 0.4);
  --accent-subtle: rgba(52, 211, 153, 0.1);
  --accent-border: rgba(52, 211, 153, 0.3);
  
  /* Glitch effect color */
  --glitch-color: #22d3ee;
  
  /* Backgrounds */
  --bg-primary: #071210;
  --bg-secondary: #0f1f1a;
  --bg-tertiary: #1a2f28;
  --bg-elevated: #254035;
  --bg-glass: rgba(15, 31, 26, 0.6);
  --bg-nav-scrolled: rgba(7, 18, 16, 0.85);
  
  /* Text colors */
  --text-primary: #ecfdf5;
  --text-secondary: #d1fae5;
  --text-tertiary: #a7f3d0;
  --text-muted: #6ee7b7;
  --text-dim: #4ade80;
  
  /* Borders */
  --border-primary: #254035;
  --border-secondary: #2f5145;
  --border-subtle: rgba(255, 255, 255, 0.08);
  
  /* Gradients */
  --gradient-accent: linear-gradient(135deg, #34d399, #22d3ee);
  --gradient-glow: linear-gradient(135deg, #10b981, #06b6d4);
  
  /* Syntax highlighting */
  --syntax-keyword: #22d3ee;
  --syntax-function: #a3e635;
  --syntax-string: #fbbf24;
  --syntax-component: #60a5fa;
  
  /* Selection */
  --selection-bg: rgba(52, 211, 153, 0.3);
  --selection-text: #ecfdf5;
}

/* ============================================
   THEME 5: ARCTIC
   Light theme with blue accents
   ============================================ */
[data-theme="arctic"] {
  /* Primary accent */
  --accent-primary: #0ea5e9;
  --accent-secondary: #0284c7;
  --accent-tertiary: #38bdf8;
  --accent-glow: rgba(14, 165, 233, 0.3);
  --accent-subtle: rgba(14, 165, 233, 0.08);
  --accent-border: rgba(14, 165, 233, 0.3);
  
  /* Glitch effect color */
  --glitch-color: #8b5cf6;
  
  /* Backgrounds */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-tertiary: #e2e8f0;
  --bg-elevated: #cbd5e1;
  --bg-glass: rgba(248, 250, 252, 0.8);
  --bg-nav-scrolled: rgba(248, 250, 252, 0.95);
  
  /* Text colors */
  --text-primary: #0f172a;
  --text-secondary: #1e293b;
  --text-tertiary: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  
  /* Borders */
  --border-primary: #cbd5e1;
  --border-secondary: #94a3b8;
  --border-subtle: rgba(0, 0, 0, 0.08);
  
  /* Gradients */
  --gradient-accent: linear-gradient(135deg, #0ea5e9, #8b5cf6);
  --gradient-glow: linear-gradient(135deg, #0284c7, #7c3aed);
  
  /* Syntax highlighting */
  --syntax-keyword: #7c3aed;
  --syntax-function: #dc2626;
  --syntax-string: #16a34a;
  --syntax-component: #2563eb;
  
  /* Selection */
  --selection-bg: rgba(14, 165, 233, 0.2);
  --selection-text: #0f172a;
}

/* ============================================
   BASE STYLES
   ============================================ */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  transition: background-color var(--theme-transition), color var(--theme-transition);
}

/* Theme transition for all elements */
*,
*::before,
*::after {
  transition-property: background-color, border-color, color, fill, stroke, box-shadow;
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Exclude elements that need quick transitions */
.animate-blink,
.animate-wave,
.typewriter *,
#typewriter-text {
  transition: none !important;
}

/* Focus visible for keyboard users */
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* Remove focus outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
  left: 1rem;
  background-color: var(--accent-primary);
  color: var(--bg-primary);
}

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

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

@keyframes glitch {
  0% {
    transform: translate(0);
    text-shadow: none;
  }
  20% {
    transform: translate(-2px, 2px);
    text-shadow: 2px -2px var(--accent-primary);
  }
  40% {
    transform: translate(-2px, -2px);
    text-shadow: -2px 2px var(--glitch-color);
  }
  60% {
    transform: translate(2px, 2px);
    text-shadow: 2px 2px var(--accent-primary);
  }
  80% {
    transform: translate(2px, -2px);
    text-shadow: -2px -2px var(--glitch-color);
  }
  100% {
    transform: translate(0);
    text-shadow: none;
  }
}

@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(20deg); }
  75% { transform: rotate(-15deg); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px var(--accent-subtle);
  }
  50% {
    box-shadow: 0 0 40px var(--accent-glow);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ============================================
   ANIMATION CLASSES
   ============================================ */
.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-blink {
  animation: blink 1s step-end infinite;
}

.animate-wave {
  display: inline-block;
  animation: wave 0.6s ease-in-out;
}

.glitch-hover:hover {
  animation: glitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

/* Hero content staggered animation */
.hero-content > * {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

/* ============================================
   GLASS PANEL
   ============================================ */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
  border-color: var(--accent-border);
  box-shadow: 
    0 0 30px var(--accent-subtle),
    0 25px 50px -12px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

/* ============================================
   CYBER GRID BACKGROUND
   ============================================ */
.cyber-grid {
  background-image: 
    linear-gradient(var(--accent-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent-subtle) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

/* ============================================
   REVEAL ON SCROLL
   ============================================ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   FORM AUTOFILL
   ============================================ */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text-tertiary);
  -webkit-box-shadow: 0 0 0px 1000px var(--bg-secondary) inset;
  transition: background-color 5000s ease-in-out 0s;
}

/* ============================================
   MOUSE GLOW
   ============================================ */
#mouse-glow {
  background: radial-gradient(
    800px circle at var(--mx) var(--my),
    var(--accent-subtle),
    transparent 60%
  );
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-shell {
  background: transparent;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-shell.is-scrolled {
  background: var(--bg-nav-scrolled);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.nav-link {
  position: relative;
  padding: 0.5rem 0;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

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

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

.nav-link.is-active .nav-underline {
  width: 100%;
}

.nav-underline {
  background-color: var(--accent-primary);
}

/* ============================================
   THEME SWITCHER
   ============================================ */
.theme-switcher {
  position: relative;
}

.theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  color: var(--accent-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-btn:hover {
  background: var(--accent-subtle);
  border-color: var(--accent-border);
  transform: scale(1.05);
}

.theme-btn:active {
  transform: scale(0.95);
}

.theme-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 180px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 0.75rem;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.theme-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.theme-option:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.theme-option.is-active {
  background: var(--accent-subtle);
  color: var(--accent-primary);
}

.theme-color-preview {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border-secondary);
}

.theme-color-preview.cyberpunk { background: #2dd4bf; }
.theme-color-preview.midnight { background: #a78bfa; }
.theme-color-preview.sunset { background: #fb923c; }
.theme-color-preview.forest { background: #34d399; }
.theme-color-preview.arctic { background: #0ea5e9; }

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-top-btn {
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--accent-subtle);
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
}

.scroll-top-btn.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.scroll-top-btn:hover {
  transform: translateY(-4px);
  background: var(--accent-primary);
  color: var(--bg-primary);
}

/* ============================================
   PROJECT FILTER BUTTONS
   ============================================ */
.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  color: var(--text-muted);
  border: 1px solid transparent;
  background: transparent;
}

.filter-btn:hover {
  color: var(--text-secondary);
  background: var(--bg-tertiary);
}

.filter-btn.is-active {
  background: var(--accent-subtle);
  color: var(--accent-primary);
  border-color: var(--accent-border);
}

.filter-btn:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* ============================================
   PROJECT CARDS
   ============================================ */
.project-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* ============================================
   SKILLS PANEL HOVER EFFECTS
   ============================================ */
.skill-card {
  transition: all 0.3s ease;
}

.skill-card:hover {
  transform: scale(1.02);
  background: var(--bg-tertiary);
}

/* ============================================
   TIMELINE DOT ANIMATION
   ============================================ */
.timeline-dot {
  transition: all 0.3s ease;
}

.timeline-dot:hover {
  transform: scale(1.3);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* ============================================
   CODE BLOCK IN PROJECTS
   ============================================ */
.code-block {
  position: relative;
  overflow: hidden;
}

.code-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-subtle),
    transparent
  );
  animation: shimmer 3s infinite;
}

/* ============================================
   TEXT SELECTION
   ============================================ */
::selection {
  background: var(--selection-bg);
  color: var(--selection-text);
}

/* ============================================
   SCROLLBAR (WebKit)
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-border);
  border-radius: 4px;
}

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

/* ============================================
   MOBILE MENU ANIMATION
   ============================================ */
#mobile-menu {
  animation: fadeInUp 0.3s ease-out;
  background: var(--bg-nav-scrolled);
}

/* ============================================
   ACCENT-COLORED ELEMENTS
   ============================================ */
.accent-text {
  color: var(--accent-primary);
}

.accent-bg {
  background-color: var(--accent-primary);
}

.accent-border {
  border-color: var(--accent-primary);
}

.accent-glow {
  box-shadow: 0 0 20px var(--accent-glow);
}

/* Gradient text */
.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

/* ============================================
   THEMED BACKGROUND COLORS
   ============================================ */
.bg-themed-primary {
  background-color: var(--bg-primary);
}

.bg-themed-secondary {
  background-color: var(--bg-secondary);
}

.bg-themed-tertiary {
  background-color: var(--bg-tertiary);
}

/* ============================================
   THEMED TEXT COLORS
   ============================================ */
.text-themed-primary {
  color: var(--text-primary);
}

.text-themed-secondary {
  color: var(--text-secondary);
}

.text-themed-muted {
  color: var(--text-muted);
}

/* ============================================
   BUTTON STYLES
   ============================================ */
.btn-primary {
  background: var(--accent-subtle);
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  box-shadow: 0 0 30px var(--accent-glow);
}

.btn-accent {
  background: var(--accent-primary);
  color: var(--bg-primary);
  transition: all 0.3s ease;
}

.btn-accent:hover {
  background: var(--accent-tertiary);
  box-shadow: 0 0 40px var(--accent-glow);
  transform: translateY(-2px);
}

/* ============================================
   SYNTAX HIGHLIGHTING (Code Blocks)
   ============================================ */
.syntax-keyword {
  color: var(--syntax-keyword);
}

.syntax-function {
  color: var(--syntax-function);
}

.syntax-string {
  color: var(--syntax-string);
}

.syntax-component {
  color: var(--syntax-component);
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
  
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   BETTER MOBILE TOUCH TARGETS
   ============================================ */
@media (max-width: 768px) {
  .nav-link,
  .filter-btn,
  button {
    min-height: 44px;
    min-width: 44px;
  }
  
  .mobile-nav-link {
    padding: 0.75rem 0;
  }

  .theme-dropdown {
    right: -1rem;
    min-width: 160px;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .nav-shell,
  #mouse-glow,
  .cyber-grid,
  .scroll-top-btn,
  #boot,
  .theme-switcher {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}

/* ============================================
   ADDITIONAL DESIGN IMPROVEMENTS
   ============================================ */

/* Improved card hover */
.card-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.4),
    0 0 40px var(--accent-subtle);
}

/* Glow link */
.link-glow {
  position: relative;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.link-glow:hover {
  color: var(--accent-primary);
}

.link-glow::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s ease;
}

.link-glow:hover::after {
  width: 100%;
}

/* Floating animation for icons */
.float-icon {
  animation: float 3s ease-in-out infinite;
}

/* Pulse effect */
.pulse-accent {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Tech tag style */
.tech-tag {
  background: var(--accent-subtle);
  color: var(--text-tertiary);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-family: ui-monospace, monospace;
  transition: all 0.2s ease;
}

.tech-tag:hover {
  background: var(--accent-border);
  color: var(--accent-primary);
}

/* Section divider */
.section-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border-primary),
    transparent
  );
}

/* Card glow border on hover */
.glow-border {
  position: relative;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--gradient-accent);
  border-radius: inherit;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.glow-border:hover::before {
  opacity: 0.5;
}
