

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ============================================
   ROOT VARIABLES - LIGHT MODE (DEFAULT)
   ============================================ */
:root {
  /* Light Mode - Gaming Console Colors */
  --bg-primary: #f0f4f8;
  --bg-secondary: #e2e8f0;
  --bg-texture: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(99,102,241,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  
  /* Text Colors */
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-accent: #6366f1;
  
  /* Console Colors - Inspired by Gaming Controllers */
  --console-blue: #3b82f6;
  --console-purple: #8b5cf6;
  --console-pink: #ec4899;
  --console-green: #10b981;
  --console-red: #ef4444;
  --console-yellow: #f59e0b;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(99, 102, 241, 0.2);
  --glass-shadow: rgba(59, 130, 246, 0.1);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-gaming: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  
  /* Glow Effects */
  --glow-primary: rgba(102, 126, 234, 0.6);
  --glow-secondary: rgba(139, 92, 246, 0.6);
  --glow-accent: rgba(79, 172, 254, 0.6);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.2);
}

/* ============================================
   DARK MODE THEME
   ============================================ */
body.dark-mode {
  --bg-primary: #0f1419;
  --bg-secondary: #1a1f2e;
  --bg-texture: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(139,92,246,0.08)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-accent: #a78bfa;
  
  --console-blue: #60a5fa;
  --console-purple: #a78bfa;
  --console-pink: #f472b6;
  --console-green: #34d399;
  --console-red: #f87171;
  --console-yellow: #fbbf24;
  
  --glass-bg: rgba(26, 31, 46, 0.8);
  --glass-border: rgba(139, 92, 246, 0.3);
  --glass-shadow: rgba(139, 92, 246, 0.2);
  
  --glow-primary: rgba(167, 139, 250, 0.8);
  --glow-secondary: rgba(139, 92, 246, 0.8);
  --glow-accent: rgba(96, 165, 250, 0.8);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.6);
}

/* ============================================
   BASE STYLES
   ============================================ */
body {
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  background-image: var(--bg-texture);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              color 0.3s ease;
  position: relative;
}

/* Animated Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, var(--glow-primary) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, var(--glow-secondary) 0%, transparent 50%);
  opacity: 0.03;
  z-index: -1;
  pointer-events: none;
  animation: backgroundPulse 15s ease-in-out infinite;
}

@keyframes backgroundPulse {
  0%, 100% { opacity: 0.03; transform: scale(1); }
  50% { opacity: 0.05; transform: scale(1.1); }
}

/* ============================================
   NAVIGATION - GAMING CONSOLE STYLE
   ============================================ */
.glass-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md), 0 0 40px var(--glass-shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-nav.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(25px) saturate(200%);
  box-shadow: var(--shadow-lg), 0 0 60px var(--glass-shadow);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient-gaming);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
  letter-spacing: -0.5px;
  filter: drop-shadow(0 0 12px var(--glow-primary));
  transition: all 0.3s ease;
  position: relative;
}

.logo::after {
  content: '🎮';
  position: absolute;
  right: -35px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

.logo:hover {
  filter: drop-shadow(0 0 20px var(--glow-primary));
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 10px;
  transform: translateX(-50%);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px var(--glow-primary);
}

.nav-links a:hover {
  color: var(--console-purple);
  text-shadow: 0 0 15px var(--glow-primary);
}

.nav-links a:hover::before {
  width: 100%;
}

.nav-links a[aria-current="page"] {
  color: var(--console-purple);
}

.nav-links a[aria-current="page"]::before {
  width: 100%;
}

/* Theme Toggle Button - Gaming Controller Style */
.theme-btn {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 2px solid var(--glass-border);
  padding: 0.65rem 1.1rem;
  border-radius: 50px;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm), 0 0 20px var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.theme-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--gradient-primary);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.theme-btn:hover::before {
  width: 150%;
  height: 150%;
}

.theme-btn:hover {
  transform: scale(1.1) rotate(15deg);
  border-color: var(--console-purple);
  box-shadow: 0 0 30px var(--glow-primary);
}

.theme-btn:active {
  transform: scale(0.95) rotate(-5deg);
}

.mobile-menu-btn {
  display: none;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 2px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.6rem 0.9rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--glow-primary);
}

/* Mobile Menu - Gaming Style */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 350px;
  height: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(30px) saturate(180%);
  border-left: 2px solid var(--glass-border);
  z-index: 2000;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2.5rem;
  box-shadow: -10px 0 50px var(--shadow-lg);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.close-menu {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 2px solid var(--glass-border);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-menu:hover {
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 20px var(--glow-primary);
  border-color: var(--console-red);
}

.mobile-nav-links {
  list-style: none;
  margin-top: 4rem;
}

.mobile-nav-links li {
  margin: 2rem 0;
  transform: translateX(-20px);
  opacity: 0;
  animation: slideInMobile 0.4s ease forwards;
}

.mobile-nav-links li:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-links li:nth-child(2) { animation-delay: 0.15s; }
.mobile-nav-links li:nth-child(3) { animation-delay: 0.2s; }
.mobile-nav-links li:nth-child(4) { animation-delay: 0.25s; }
.mobile-nav-links li:nth-child(5) { animation-delay: 0.3s; }
.mobile-nav-links li:nth-child(6) { animation-delay: 0.35s; }

@keyframes slideInMobile {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.mobile-nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 700;
  display: block;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mobile-nav-links a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 0;
  background: var(--gradient-primary);
  border-radius: 10px;
  transform: translateY(-50%);
  transition: height 0.3s ease;
}

.mobile-nav-links a:hover {
  background: var(--glass-bg);
  color: var(--console-purple);
  transform: translateX(10px);
}

.mobile-nav-links a:hover::before {
  height: 80%;
}

/* ============================================
   GLASS COMPONENTS - GAMING STYLE
   ============================================ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 2px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md), 0 0 30px var(--glass-shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--glow-primary) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--console-purple);
  box-shadow: var(--shadow-xl), 0 0 50px var(--glow-primary);
}

.glass-card:hover::before {
  opacity: 0.05;
}

.glass-btn {
  background: var(--glass-bg);
  backdrop-filter: blur(15px) saturate(150%);
  border: 2px solid var(--glass-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm), 0 0 20px var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.glass-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-primary) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.glass-btn:hover::after {
  width: 300%;
  height: 300%;
}

/* ============================================
   HOME PAGE - HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 2rem 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--glow-primary) 0%, transparent 70%);
  top: 10%;
  right: -200px;
  opacity: 0.1;
  animation: floatGlow 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--glow-secondary) 0%, transparent 70%);
  bottom: 10%;
  left: -150px;
  opacity: 0.1;
  animation: floatGlow 15s ease-in-out infinite reverse;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 50px) scale(1.2); }
}

.hero-content {
  text-align: center;
  z-index: 10;
  max-width: 900px;
}

/* Profile Picture - Console Style */
.profile-image-container {
  position: relative;
  display: inline-block;
  margin-bottom: 2.5rem;
}

.profile-pic {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid transparent;
  background: var(--gradient-gaming);
  background-clip: padding-box;
  box-shadow: 0 15px 50px var(--shadow-lg), 
              0 0 60px var(--glow-primary),
              inset 0 0 0 4px var(--bg-primary);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: float 4s ease-in-out infinite;
  position: relative;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.profile-pic:hover {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 20px 60px var(--shadow-xl), 
              0 0 80px var(--glow-primary),
              inset 0 0 0 4px var(--bg-primary);
}

.profile-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--gradient-gaming);
  filter: blur(60px);
  opacity: 0.4;
  z-index: -1;
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1); 
    opacity: 0.4; 
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.3); 
    opacity: 0.6; 
  }
}

/* Hero Title - Gaming Style */
.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 900;
  letter-spacing: -1px;
  filter: drop-shadow(0 0 15px var(--glow-primary));
}

.gradient-text {
  background: var(--gradient-gaming);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Typing Effect Container */
.typing-container {
  min-height: 60px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-subtitle {
  font-size: 1.75rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.typing-text {
  color: var(--console-purple);
}

.cursor {
  animation: blink 1s infinite;
  color: var(--console-purple);
  font-weight: bold;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Tags - Gaming Badges */
.hero-tagline {
  margin: 2rem 0;
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.tag {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  border: 2px solid var(--glass-border);
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm), 0 0 15px var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.5s ease;
}

.tag:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: var(--console-purple);
  color: white;
  box-shadow: 0 0 30px var(--glow-primary);
}

.tag:hover::before {
  left: 0;
}

.tag strong {
  position: relative;
  z-index: 1;
}

/* Hero Description */
.hero-description {
  margin: 2rem auto;
  max-width: 750px;
  padding: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 2px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.hero-description p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.hero-description p:last-child {
  margin-bottom: 0;
}

/* Buttons - Gaming Console Style */
.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
  border-color: var(--console-purple);
}

.btn-primary:hover {
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6), 0 0 40px var(--glow-primary);
  transform: translateY(-5px) scale(1.05);
}

.btn-primary:active {
  transform: translateY(-2px) scale(1.02);
}

.btn-secondary {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  color: var(--text-primary);
  border-color: var(--glass-border);
  box-shadow: var(--shadow-sm), 0 0 20px var(--glass-shadow);
}

.btn-secondary:hover {
  background: var(--gradient-accent);
  color: white;
  border-color: var(--console-blue);
  box-shadow: 0 15px 40px rgba(79, 172, 254, 0.6), 0 0 40px var(--glow-accent);
  transform: translateY(-5px) scale(1.05);
}

.btn-icon {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: scale(1.2) rotate(10deg);
}

/* ============================================
   COMMON SECTION STYLES
   ============================================ */
.section {
  padding: 6rem 2rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 4rem;
  background: var(--gradient-gaming);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px var(--glow-primary));
  animation: gradientShift 4s ease infinite;
  background-size: 200% 200%;
  letter-spacing: -1px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 10px;
  box-shadow: 0 0 15px var(--glow-primary);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-intro {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: var(--console-purple);
  font-weight: 700;
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 1.5rem;
  line-height: 2;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.fun-facts {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 2px solid var(--glass-border);
  box-shadow: var(--shadow-md), 0 0 30px var(--glass-shadow);
}

.fun-facts h2 {
  margin-bottom: 1.5rem;
  color: var(--console-purple);
  font-size: 1.8rem;
  font-weight: 800;
}

.fun-facts ul {
  list-style: none;
  padding-left: 0;
}

.fun-facts li {
  padding: 1rem 0;
  padding-left: 2rem;
  position: relative;
  font-size: 1.05rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.fun-facts li::before {
  content: '🎮';
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.fun-facts li:hover {
  transform: translateX(10px);
  color: var(--console-purple);
}

/* ============================================
   SKILLS PAGE
   ============================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.skill-category h2 {
  margin-bottom: 1.5rem;
  color: var(--console-purple);
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-category h2::before {
  content: '▸';
  color: var(--console-pink);
  font-size: 1.4rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.skill-tag {
  padding: 0.7rem 1.3rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 2px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: var(--shadow-sm), 0 0 15px var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.skill-tag::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--gradient-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.skill-tag:hover {
  color: white;
  border-color: var(--console-purple);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 30px var(--glow-primary);
}

.skill-tag:hover::before {
  width: 300%;
  height: 300%;
}

.skill-tag span {
  position: relative;
  z-index: 1;
}

/* ============================================
   EDUCATION PAGE - RACING TRACK TIMELINE
   ============================================ */
.timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 0;
}

/* Racing Track Base */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 100%;
  background: linear-gradient(180deg, 
    var(--bg-secondary) 0%, 
    var(--bg-secondary) 45%, 
    var(--console-yellow) 45%, 
    var(--console-yellow) 55%, 
    var(--bg-secondary) 55%, 
    var(--bg-secondary) 100%);
  background-size: 100% 60px;
  border-left: 4px dashed var(--glass-border);
  border-right: 4px dashed var(--glass-border);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3), 
              0 0 20px var(--glass-shadow);
  border-radius: 15px;
}

/* Racing Track Side Lines */
.timeline::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 100%;
  border-left: 3px solid var(--console-red);
  border-right: 3px solid var(--console-red);
  box-shadow: 0 0 10px var(--console-red);
  pointer-events: none;
  opacity: 0.4;
}

.timeline-item {
  display: flex;
  margin: 4rem 0;
  position: relative;
  animation: raceCarDrive 0.8s ease-out;
}

@keyframes raceCarDrive {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

/* Racing Car Icon */
.timeline-icon {
  width: 85px;
  height: 85px;
  background: var(--gradient-gaming);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  box-shadow: 0 8px 30px var(--shadow-xl), 
              0 0 40px var(--glow-primary),
              inset 0 -3px 10px rgba(0, 0, 0, 0.3);
  border: 5px solid var(--bg-primary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

/* Racing flames/speed lines effect */
.timeline-icon::before {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, var(--console-red) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-icon::after {
  content: '';
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%) translateY(8px);
  width: 35px;
  height: 3px;
  background: linear-gradient(90deg, var(--console-yellow) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-icon::before {
  left: -20px;
  right: auto;
  background: linear-gradient(-90deg, var(--console-red) 0%, transparent 100%);
}

.timeline-item:nth-child(even) .timeline-icon::after {
  left: -25px;
  right: auto;
  background: linear-gradient(-90deg, var(--console-yellow) 0%, transparent 100%);
}

.timeline-icon:hover {
  transform: translateX(-50%) scale(1.2);
  box-shadow: 0 12px 45px var(--shadow-xl), 
              0 0 60px var(--glow-primary),
              inset 0 -3px 10px rgba(0, 0, 0, 0.3);
  animation: carBounce 0.5s ease-in-out;
}

.timeline-icon:hover::before,
.timeline-icon:hover::after {
  opacity: 1;
  animation: speedLines 0.6s ease-in-out infinite;
}

@keyframes carBounce {
  0%, 100% { transform: translateX(-50%) scale(1.2) translateY(0); }
  50% { transform: translateX(-50%) scale(1.2) translateY(-10px); }
}

@keyframes speedLines {
  0% { 
    opacity: 1;
    width: 30px;
  }
  100% { 
    opacity: 0;
    width: 50px;
  }
}

/* Checkpoint Markers on Track */
.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 40px;
  background: repeating-linear-gradient(
    0deg,
    var(--console-yellow) 0px,
    var(--console-yellow) 5px,
    var(--text-primary) 5px,
    var(--text-primary) 10px
  );
  z-index: 1;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.timeline-content {
  width: calc(50% - 80px);
  padding: 2.5rem;
  position: relative;
}

/* Racing stripes on content cards */
.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, 
    var(--console-red) 0%, 
    var(--console-red) 33%, 
    var(--console-yellow) 33%, 
    var(--console-yellow) 66%, 
    var(--console-green) 66%, 
    var(--console-green) 100%
  );
  border-radius: 10px;
  box-shadow: 0 0 15px var(--glow-primary);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  left: 0;
}

.timeline-item:nth-child(even) .timeline-content::before {
  right: 0;
}

.timeline-content h2 {
  color: var(--console-purple);
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-content h2::before {
  content: '🏁';
  font-size: 1.4rem;
  animation: flagWave 2s ease-in-out infinite;
}

@keyframes flagWave {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

.timeline-place {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.timeline-time {
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-time::before {
  content: '⏱️';
}

.timeline-grade {
  color: var(--console-green);
  font-weight: 800;
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-shadow: 0 0 10px var(--console-green);
}

.timeline-grade::before {
  content: '🏆';
  font-size: 1.3rem;
  animation: trophySpin 3s ease-in-out infinite;
}

@keyframes trophySpin {
  0%, 100% { transform: rotateY(0deg); }
  50% { transform: rotateY(180deg); }
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

/* ============================================
   PROJECTS PAGE
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.project-card {
  text-align: left;
}

.project-card h2 {
  color: var(--console-purple);
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-card h2::before {
  content: '◆';
  color: var(--console-pink);
  font-size: 1.2rem;
}

.project-desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.project-tech span {
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 2px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  color: var(--text-secondary);
}

.project-tech span:hover {
  background: var(--gradient-accent);
  color: white;
  border-color: var(--console-blue);
  transform: translateY(-3px);
  box-shadow: 0 0 20px var(--glow-accent);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-intro {
  margin-bottom: 3rem;
  font-size: 1.2rem;
  line-height: 2;
  color: var(--text-secondary);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  text-decoration: none;
  color: var(--text-primary);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: var(--console-purple);
  box-shadow: var(--shadow-xl), 0 0 50px var(--glow-accent);
}

.contact-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 10px var(--glow-primary));
  transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
  transform: scale(1.2) rotate(10deg);
}

.contact-info {
  text-align: left;
  flex: 1;
}

.contact-info h2 {
  color: var(--console-purple);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  font-weight: 800;
}

.contact-info p {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.contact-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--gradient-gaming);
  color: white;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
}

.contact-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(102, 126, 234, 0.6);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  text-align: center;
  padding: 2.5rem;
  margin: 3rem 2rem;
  border-top: 2px solid var(--glass-border);
}

.footer p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  margin-top: 0.8rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .nav-container {
    padding: 1rem 1.5rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links { 
    display: none; 
  }
  
  .mobile-menu-btn { 
    display: block; 
  }
  
  .hero {
    padding: 6rem 1.5rem 3rem;
  }
  
  .hero-title { 
    font-size: 2.5rem; 
  }
  
  .profile-pic { 
    width: 180px; 
    height: 180px; 
  }
  
  .profile-glow {
    width: 220px;
    height: 220px;
  }
  
  .hero-subtitle {
    font-size: 1.4rem;
  }
  
  .section-title { 
    font-size: 2.2rem; 
  }
  
  .section {
    padding: 5rem 1.5rem;
  }
  
  /* Racing track for mobile - vertical track on left */
  .timeline::before { 
    left: 42px;
    width: 60px;
    border-radius: 10px;
  }
  
  .timeline::after {
    left: 42px;
    width: 68px;
  }
  
  .timeline-icon { 
    left: 42px; 
    width: 65px;
    height: 65px;
    transform: none;
    font-size: 1.8rem;
  }
  
  .timeline-icon::before,
  .timeline-icon::after {
    right: -15px;
    width: 20px;
  }
  
  .timeline-icon:hover {
    transform: scale(1.15);
  }
  
  .timeline-item { 
    flex-direction: row !important; 
  }
  
  .timeline-item::before {
    left: 42px;
    width: 6px;
    height: 30px;
  }
  
  .timeline-content { 
    width: calc(100% - 120px); 
    margin-left: 120px;
    padding: 1.5rem;
  }
  
  .timeline-content::before {
    left: 0 !important;
    right: auto !important;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.4rem;
  }
  
  .logo::after {
    right: -30px;
    font-size: 1.2rem;
  }
  
  .hero-title { 
    font-size: 2rem; 
  }
  
  .profile-pic {
    width: 150px;
    height: 150px;
  }
  
  .profile-glow {
    width: 180px;
    height: 180px;
  }
  
  .section { 
    padding: 4rem 1rem; 
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .glass-card {
    padding: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .timeline-content {
    font-size: 0.9rem;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-info {
    text-align: center;
  }
}

/* ============================================
   CUSTOM SCROLLBAR - GAMING STYLE
   ============================================ */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 10px;
  border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-accent);
  box-shadow: 0 0 10px var(--glow-primary);
}

/* ============================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus Styles */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--console-purple);
  outline-offset: 3px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .glass-nav,
  .mobile-menu,
  .theme-btn,
  .mobile-menu-btn,
  .hero-buttons,
  .footer {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .glass-card {
    border: 1px solid #ddd;
    box-shadow: none;
  }
}