/* =========================================
   YASH ANKUSH MISHRA — PORTFOLIO STYLES
   Premium Dark Theme | 2025
   ========================================= */

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #8b5cf6;
  --primary-dark: #6d28d9;
  --primary-light: #a78bfa;
  --cyan: #06b6d4;
  --cyan-light: #67e8f9;
  --green: #10b981;
  --orange: #f97316;
  --bg: #05050f;
  --bg-card: #0d0d1f;
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-border: rgba(255, 255, 255, 0.08);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-faint: #475569;
  --gradient: linear-gradient(135deg, #8b5cf6, #06b6d4);
  --gradient-warm: linear-gradient(135deg, #8b5cf6, #f97316);
  --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.15);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

/* ===== GLOBAL NEON LIGHT EFFECT (ALL TEXT & FACE) ===== */
h1, h2, h3, h4, h5, h6 {
  color: #fff;
  text-shadow: 0 0 15px rgba(139, 92, 246, 0.4), 0 0 30px rgba(139, 92, 246, 0.2);
  letter-spacing: -0.02em;
}

p, span, li, a, label {
  color: #f1f5f9;
  text-shadow: 0 0 8px rgba(139, 92, 246, 0.3);
}

.about-photo-wrapper {
  position: relative;
  filter: brightness(1.2) contrast(1.1); /* Face luminosity increased */
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.4), inset 0 0 40px rgba(6, 182, 212, 0.4);
  border: 4px solid rgba(139, 92, 246, 0.6);
  border-radius: 50%;
  overflow: visible; /* To allow glow bleed */
}

.about-photo-wrapper::before {
  content: '';
  position: absolute;
  inset: -10px;
  border: 2px dashed rgba(6, 182, 212, 0.5);
  border-radius: 50%;
  animation: spin 20s linear infinite;
  pointer-events: none;
}

body {
  background: #05000d; /* Deep dark background */
  color: #fff;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== CUSTOM CURSOR ===== */
#cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s;
  box-shadow: 0 0 10px var(--primary);
}

#cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(139, 92, 246, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== PARTICLES CANVAS ===== */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
}

#navbar.scrolled {
  background: rgba(5, 5, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bg-glass-border);
  padding: 12px 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.logo-ysm { color: var(--text); }
.logo-dot { color: var(--primary); }

.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: var(--bg-glass);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
}

.btn-hire {
  padding: 10px 24px;
  background: var(--gradient);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-hire:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== SECTIONS ===== */
.section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-main);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gradient);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.2);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-light);
  transition: var(--transition);
}

.btn-outline:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.animate-fade-in { animation: fadeIn 0.8s ease forwards; }
.animate-slide-up { animation: slideUp 0.8s ease forwards; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  text-align: center;
  max-width: 860px;
  padding: 120px 24px 60px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 32px;
  animation-delay: 0.1s;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  50% { opacity: 0.8; transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.hero-name {
  font-family: var(--font-main);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  animation-delay: 0.2s;
  white-space: nowrap;
}

.name-white {
  color: #ffffff;
}

.hero-role {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 24px;
  animation-delay: 0.3s;
  min-height: 2em;
}

.typed-wrapper {
  display: inline-flex;
  align-items: center;
}

.typed-text {
  color: var(--primary-light);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.typed-cursor {
  color: var(--primary);
  animation: blink 1s step-end infinite;
  margin-left: 2px;
  font-weight: 300;
  -webkit-text-fill-color: var(--primary);
}

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

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  animation-delay: 0.4s;
  line-height: 1.8;
}

.hero-sub strong { color: var(--text); }

.city-highlight {
  color: var(--cyan-light);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  animation-delay: 0.5s;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}

.stat-number {
  font-family: var(--font-main);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--bg-glass-border);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation-delay: 0.6s;
}

.hero-socials {
  display: flex;
  gap: 16px;
  justify-content: center;
  animation-delay: 0.7s;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.social-icon:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
  color: var(--primary-light);
  transform: translateY(-3px);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem; /* Larger font */
  font-weight: 700;
  letter-spacing: 4px; /* More spacing for premium look */
  text-transform: uppercase;
  color: var(--primary-light);
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
  animation: fadeIn 1s 1.5s ease forwards;
  opacity: 0;
}

.scroll-line {
  width: 2px; /* Thicker line */
  height: 60px; /* Taller line */
  background: linear-gradient(to bottom, #8b5cf6, #06b6d4, transparent);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.8); /* Brighter glow */
  animation: scrollLine 2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); opacity: 0; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); opacity: 0; transform-origin: bottom; }
}

/* Floating badges */
.floating-badge {
  position: absolute;
  padding: 8px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  color: var(--text-muted);
  display: none;
  z-index: 2;
}

@media (min-width: 1100px) {
  .floating-badge { display: block; }
  .fb-python  { top: 25%; left: 4%; animation: float1 6s ease-in-out infinite; }
  .fb-react   { top: 40%; right: 4%; animation: float2 7s ease-in-out infinite; }
  .fb-firebase{ top: 60%; left: 6%; animation: float3 8s ease-in-out infinite; }
  .fb-django  { bottom: 25%; right: 6%; animation: float1 5s ease-in-out infinite; }
  .fb-ai      { top: 20%; right: 12%; animation: float2 6.5s ease-in-out infinite; }
}

@keyframes float1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(-8px); }
  50% { transform: translateY(8px); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(4px); }
  50% { transform: translateY(-10px); }
}

/* ===== ABOUT ===== */
#about {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(13, 13, 31, 0.7) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: center;
}

.about-avatar-col {
  display: flex;
  justify-content: center;
}

.avatar-frame {
  position: relative;
  width: 280px;
  height: 280px;
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
  border: 2px solid rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Real photo styles */
.avatar-inner.photo-loaded {
  padding: 0;
  overflow: hidden;
  border: 3px solid transparent;
  background: var(--gradient) border-box;
}

.real-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
  position: relative;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.avatar-frame:hover .real-photo {
  transform: scale(1.06);
}

.photo-shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.18) 0%,
    transparent 50%,
    rgba(139,92,246,0.08) 100%
  );
  z-index: 2;
  pointer-events: none;
  animation: shine-rotate 4s linear infinite;
}

@keyframes shine-rotate {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

/* Fallback initials (if no photo) */
.avatar-initials {
  font-family: var(--font-main);
  font-size: 4rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.avatar-glow {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--gradient);
  opacity: 0.15;
  filter: blur(20px);
  animation: pulse-avatar 3s ease-in-out infinite;
}

@keyframes pulse-avatar {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.25; transform: scale(1.05); }
}

.avatar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.2);
  animation: spin 20s linear infinite;
}

.ring1 {
  width: 310px; height: 310px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.ring2 {
  width: 350px; height: 350px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-direction: reverse;
  animation-duration: 30s;
  border-color: rgba(6, 182, 212, 0.1);
}

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.role-badge {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 24px; /* Increased padding */
  background: var(--gradient);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
}

.company-badge {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 20px; /* Increased padding */
  background: rgba(13, 13, 31, 0.95);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-white);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 5;
}

.about-heading {
  font-family: var(--font-main);
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-para {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-para strong { color: var(--text); }
.about-para em { color: var(--primary-light); font-style: normal; }

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.highlight-item:hover {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.2);
}

.highlight-item > i {
  color: var(--primary-light);
  margin-top: 3px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.hl-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 2px;
}

.hl-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.hl-value a {
  color: var(--primary-light);
  transition: var(--transition);
}
.hl-value a:hover { opacity: 0.8; }

.about-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ===== PROJECTS ===== */
#projects {
  background: var(--bg);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.project-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.featured-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr;
}

.project-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  pointer-events: none;
  transition: var(--transition);
}

.glow-cyan { background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%); }
.glow-green { background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%); }
.glow-orange { background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%); }

.project-card:hover .project-glow { transform: scale(1.5); opacity: 1.5; }

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.project-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.pi-purple { background: rgba(139, 92, 246, 0.15); border: 1px solid rgba(139, 92, 246, 0.3); }
.pi-cyan   { background: rgba(6, 182, 212, 0.15);   border: 1px solid rgba(6, 182, 212, 0.3); }
.pi-green  { background: rgba(16, 185, 129, 0.15);  border: 1px solid rgba(16, 185, 129, 0.3); }
.pi-orange { background: rgba(249, 115, 22, 0.15);  border: 1px solid rgba(249, 115, 22, 0.3); }

.project-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--green);
}

.live-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-green 1.5s infinite;
}

.wip-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
}

.project-type {
  font-size: 0.72rem;
  color: var(--text-faint);
  font-weight: 500;
  text-align: right;
}

.project-name {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tag {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bg-glass-border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-light);
  transition: var(--transition);
}

.project-link:hover {
  gap: 12px;
  color: var(--primary);
}

.project-link-wip {
  color: var(--orange);
}

/* ===== SKILLS ===== */
#skills {
  background: rgba(13, 13, 31, 0.5);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.skill-category {
  padding: 28px;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.skill-category:hover {
  border-color: rgba(139, 92, 246, 0.25);
  background: rgba(139, 92, 246, 0.04);
}

.skill-cat-title {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-cat-title i { font-size: 0.9rem; }

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--bg-glass-border);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.skill-pill:hover {
  border-color: rgba(139, 92, 246, 0.3);
  color: var(--text);
  transform: scale(1.05);
}

.skill-emoji { font-size: 0.85rem; }

/* ===== EXPERIENCE / TIMELINE ===== */
#experience {
  background: var(--bg);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--primary), rgba(6, 182, 212, 0.3), transparent);
}

.timeline-item {
  position: relative;
  padding-left: 64px;
  margin-bottom: 48px;
}

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 24px;
  width: 18px;
  height: 18px;
  background: var(--gradient);
  border-radius: 50%;
  border: 3px solid var(--bg);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.timeline-dot-secondary {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.timeline-content {
  padding: 28px 32px;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.timeline-content:hover {
  border-color: rgba(139, 92, 246, 0.2);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.exp-role {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.exp-company {
  font-size: 0.88rem;
  color: var(--primary-light);
  font-weight: 600;
}

.exp-period {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.exp-current {
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.5px;
}

.exp-location {
  font-size: 0.78rem;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 4px;
}

.exp-points {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
}

.exp-points li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== CONTACT ===== */
#contact {
  background: rgba(13, 13, 31, 0.5);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.contact-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.05);
  transform: translateX(4px);
}

.cc-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1rem;
  flex-shrink: 0;
}

.cc-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-faint);
  margin-bottom: 2px;
}

.cc-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.cc-value:not(span):hover { color: var(--primary-light); }

.contact-quicklinks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.quicklink-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition);
}

.whatsapp-btn {
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25d366;
}
.whatsapp-btn:hover {
  background: rgba(37, 211, 102, 0.2);
  transform: translateY(-2px);
}

.email-btn {
  background: rgba(234, 67, 53, 0.1);
  border: 1px solid rgba(234, 67, 53, 0.3);
  color: #ea4335;
}
.email-btn:hover {
  background: rgba(234, 67, 53, 0.2);
  transform: translateY(-2px);
}

.linkedin-contact-btn {
  background: rgba(10, 102, 194, 0.1);
  border: 1px solid rgba(10, 102, 194, 0.3);
  color: #0a66c2;
}
.linkedin-contact-btn:hover {
  background: rgba(10, 102, 194, 0.2);
  transform: translateY(-2px);
}

/* Contact form */
.contact-form-wrap {
  padding: 40px;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-faint);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.05);
}

.btn-submit {
  width: 100%;
  padding: 16px 32px;
  background: var(--gradient);
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.3);
  font-family: var(--font-body);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5);
}

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.form-success {
  margin-top: 16px;
  padding: 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  color: var(--green);
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ===== FOOTER ===== */
#footer {
  background: rgba(5, 5, 15, 0.95);
  border-top: 1px solid var(--bg-glass-border);
  padding: 60px 0 32px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--font-main);
  font-size: 1.4rem;
  font-weight: 800;
  display: block;
  margin-bottom: 12px;
}

.footer-tagline {
  color: var(--text-faint);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-socials a:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
  color: var(--primary-light);
  transform: translateY(-2px);
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links ul li a {
  font-size: 0.9rem;
  color: var(--text-faint);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--bg-glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-faint);
}

.heart { animation: beat 1s ease-in-out infinite; display: inline-block; }
@keyframes beat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ===== FLOATING BUTTONS ===== */
.fab-btn {
  position: fixed;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: var(--transition);
  z-index: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.fab-wa {
  bottom: 100px;
  right: 24px;
  background: #25d366;
  color: #fff;
}

.fab-top {
  bottom: 36px;
  right: 24px;
  background: var(--gradient);
  color: #fff;
}

.fab-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.fab-tooltip {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 12px;
  background: rgba(13, 13, 31, 0.9);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.fab-btn:hover .fab-tooltip { opacity: 1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-avatar-col { display: none; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .projects-grid { grid-template-columns: 1fr; }
  .featured-card { grid-column: span 1; }
  .skills-grid { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
  .stat-item { padding: 0 16px; }
  .stat-number { font-size: 2rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  body { cursor: auto; }
  #cursor-dot, #cursor-ring { display: none; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 80px 24px 40px;
    background: rgba(5,5,15,0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    gap: 8px;
  }

  .nav-link { font-size: 1.2rem; padding: 12px 20px; }
}

@media (max-width: 480px) {
  .hero-name { font-size: 2.8rem; letter-spacing: -1px; }
  .section-title { font-size: 1.8rem; }
  .contact-form-wrap { padding: 24px; }
  .timeline-content { padding: 20px; }
  .timeline-header { flex-direction: column; }
  .exp-period { align-items: flex-start; }
}

/* =============================================
   ADVANCED PREMIUM EFFECTS
   ============================================= */

/* ===== SCROLL PROGRESS BAR ===== */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #8b5cf6, #06b6d4, #8b5cf6);
  background-size: 200% 100%;
  animation: gradientShift 3s linear infinite;
  z-index: 9999;
  border-radius: 0 100px 100px 0;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.8);
  transition: width 0.1s linear;
}

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

/* ===== AURORA BACKGROUND ORBS ===== */
.aurora-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  animation: aurora-drift linear infinite;
}

.aurora-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #8b5cf6, transparent 70%);
  top: -200px; left: -200px;
  animation-duration: 25s;
  animation-name: drift1;
}

.aurora-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #06b6d4, transparent 70%);
  bottom: -150px; right: -150px;
  animation-duration: 30s;
  animation-name: drift2;
  opacity: 0.1;
}

.aurora-orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #6d28d9, transparent 70%);
  top: 50%; left: 60%;
  animation-duration: 20s;
  animation-name: drift3;
  opacity: 0.08;
}

.aurora-orb-4 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #10b981, transparent 70%);
  top: 30%; right: 10%;
  animation-duration: 35s;
  animation-name: drift1;
  opacity: 0.06;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, 40px) scale(1.1); }
  66% { transform: translate(-40px, 60px) scale(0.95); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, -60px) scale(1.2); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(50px, -50px) scale(1.1) rotate(180deg); }
}

/* ===== NOISE TEXTURE OVERLAY ===== */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ===== NAME SHIMMER EFFECT ===== */
.name-shimmer {
  background: linear-gradient(
    90deg,
    #8b5cf6 0%,
    #06b6d4 25%,
    #a78bfa 50%,
    #06b6d4 75%,
    #8b5cf6 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-move 4s linear infinite;
}

@keyframes shimmer-move {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* ===== MAGNETIC BUTTONS ===== */
.magnetic-btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.3s ease;
}

.btn-sparkle {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 100px;
}

.btn-sparkle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.25),
    transparent
  );
  transform: skewX(-20deg) translateY(-50%);
  animation: sparkle-sweep 3s ease-in-out infinite;
}

@keyframes sparkle-sweep {
  0% { left: -100%; }
  50%, 100% { left: 200%; }
}

/* ===== LOTTIE HERO ANIMATION ===== */
.hero-lottie {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: none;
  pointer-events: none;
}

.lottie-glow {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.2) 0%, transparent 70%);
  animation: lottie-pulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes lottie-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@media (min-width: 1280px) {
  .hero-lottie { display: block; }
  .hero-inner { margin-right: 200px; }
}

@media (min-width: 1600px) {
  .hero-lottie { right: 8%; }
}

/* ===== FEATURED CARD GRADIENT BORDER ===== */
.featured-card {
  position: relative;
  background-clip: padding-box;
}

.featured-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  padding: 1px;
  background: linear-gradient(135deg, #8b5cf6, #06b6d4, #8b5cf6);
  background-size: 300% 300%;
  border-radius: inherit;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: border-rotate 4s linear infinite;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.featured-card:hover::before {
  opacity: 1;
}

@keyframes border-rotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== GSAP SECTION TITLE UNDERLINE ===== */
.gsap-title {
  position: relative;
  display: inline-block;
}

.gsap-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 3px;
  background: var(--gradient);
  border-radius: 100px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.6);
}

.gsap-title.underline-active::after {
  width: 60%;
}

/* ===== VANILLA TILT GLARE OVERRIDE ===== */
.js-tilt-glare {
  border-radius: inherit !important;
}

.js-tilt-glare-inner {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.12) 0%,
    rgba(139,92,246,0.06) 100%
  ) !important;
}

/* ===== SECTION TAG ANIMATED BORDER ===== */
.section-tag {
  position: relative;
  overflow: hidden;
}

.section-tag::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,0.15), transparent);
  animation: tag-shimmer 3s ease-in-out infinite;
}

@keyframes tag-shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

/* ===== SKILL PILL HOVER STAGGER ===== */
.skill-pill {
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.skill-pill:hover {
  transform: scale(1.08) translateY(-2px);
  background: rgba(139,92,246,0.12) !important;
  border-color: rgba(139,92,246,0.4) !important;
  color: var(--primary-light) !important;
  box-shadow: 0 4px 16px rgba(139,92,246,0.2);
}

/* ===== CONTACT CARD LIFT ===== */
.contact-card {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.contact-card:hover {
  transform: translateX(8px) scale(1.01) !important;
  box-shadow: 0 8px 32px rgba(139,92,246,0.15);
}

/* ===== LIVE BADGE PULSE RING ===== */
.live-badge {
  position: relative;
}

.live-dot::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  background: rgba(16,185,129,0.5);
  border-radius: 50%;
  animation: ring-pulse 2s ease-out infinite;
}

@keyframes ring-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3.5); opacity: 0; }
}

/* ===== SOCIAL ICON MAGNETIC ===== */
.social-icon {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.15) !important;
  box-shadow: 0 12px 32px rgba(139,92,246,0.3);
}

/* ===== PROJECT CARD GLOW ON HOVER ===== */
.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(139,92,246,0);
  transition: box-shadow 0.4s ease;
  pointer-events: none;
}

.project-card:hover::after {
  box-shadow: inset 0 0 0 1px rgba(139,92,246,0.3);
}

/* ===== SCROLL REVEAL STAGGER ===== */
.reveal:nth-child(1) { transition-delay: 0ms; }
.reveal:nth-child(2) { transition-delay: 80ms; }
.reveal:nth-child(3) { transition-delay: 160ms; }
.reveal:nth-child(4) { transition-delay: 240ms; }
.reveal:nth-child(5) { transition-delay: 320ms; }
.reveal:nth-child(6) { transition-delay: 400ms; }

/* ===== HERO BADGE GLOW ===== */
.hero-badge {
  box-shadow: 0 0 20px rgba(16,185,129,0.15);
  animation: badge-glow 3s ease-in-out infinite !important;
}

@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(16,185,129,0.15); }
  50% { box-shadow: 0 0 30px rgba(16,185,129,0.3); }
}

/* ===== NAV LOGO GRADIENT ANIMATION ===== */
.nav-logo:hover .logo-dot {
  animation: logo-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes logo-pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.5); }
}

/* ===== FLOATING BADGES GLOW ===== */
.floating-badge {
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: var(--transition);
}

.floating-badge:hover {
  background: rgba(139,92,246,0.1) !important;
  border-color: rgba(139,92,246,0.4) !important;
  transform: scale(1.05);
}

/* ===== TIMELINE DOT PULSE ===== */
.timeline-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(139,92,246,0.4);
  animation: dot-ring 2s ease-out infinite;
}

@keyframes dot-ring {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

/* ===== FOOTER BRAND GLOW ===== */
.footer-logo {
  transition: var(--transition);
}

.footer-logo:hover {
  filter: drop-shadow(0 0 20px rgba(139,92,246,0.4));
}

/* ===== SUBMIT BUTTON PULSE ===== */
.btn-submit:not(:disabled) {
  animation: submit-idle 3s ease-in-out infinite;
}

@keyframes submit-idle {
  0%, 100% { box-shadow: 0 4px 24px rgba(139,92,246,0.3); }
  50% { box-shadow: 0 4px 40px rgba(139,92,246,0.6); }
}

/* ===== GSAP HERO NAME ===== */
.gsap-hero-name {
  overflow: hidden;
}

/* ===== RESPONSIVE: Hide Lottie on small ===== */
@media (max-width: 1279px) {
  .hero-inner { margin-right: 0; }
}
/* ===== HERO THREE.JS BACKGROUND & SKYLINE ===== */
.hero-canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #0d001a 0%, #05000d 100%);
}

#hero-three-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-skyline-silhouette {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40vh;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400" preserveAspectRatio="none"><path d="M0 400V300h20v-20h20v20h10V200h20v100h10V250h20v50h10v-60h20v60h15V180h30v120h10V240h20v60l20-40 20 40h10V100h30l5-30h10l5 30h30v200h20V240h20v60h15v-90h30v90h10v-50h20v50l15-30 15 30h10V50h40v250h10v-40h20v40h10V200h20v100h10V250h20v50h10v-60h20v60h15V150h30v150h10V220h20v80h10V100h30v200h20V240h20v60h15v-90h30v90h10v-50h20v50h15V300H1200v100H0z" fill="%2305000d"/></svg>');
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
  opacity: 0.8;
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  filter: drop-shadow(0 -5px 15px rgba(139, 92, 246, 0.3));
}

#hero {
  background: transparent !important;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

/* Adjust visibility of other elements */
#about, #projects, #skills, #experience, #contact {
  background: var(--bg-dark); /* Ensure other sections aren't transparent */
  position: relative;
  z-index: 3;
}

.aurora-bg {
  display: none; /* Hide old aurora as we use Three.js now */
}

/* ===== 1. CRYSTAL SPOTLIGHT & FLUID CURSOR 2.0 ===== */
.crystal-spotlight {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  /* Reduced baseline darkness (0.5 instead of 0.8) and added a subtle inner glow */
  background: radial-gradient(
    circle 450px at var(--mouse-x, 50%) var(--mouse-y, 50%), 
    rgba(16, 185, 129, 0.05) 0%, 
    transparent 40%, 
    rgba(5, 0, 13, 0.45) 100%
  );
}

.fluid-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease-out;
}

/* ===== 2. HOLOGRAPHIC TERMINAL (ABOUT) ===== */
.holographic-terminal-container {
  margin-top: 2rem;
  background: rgba(13, 0, 26, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(10px);
}

.terminal-header {
  background: rgba(139, 92, 246, 0.1);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span { width: 10px; height: 10px; border-radius: 50%; opacity: 0.6; }
.terminal-dots span:nth-child(1) { background: #ff5f56; }
.terminal-dots span:nth-child(2) { background: #ffbd2e; }
.terminal-dots span:nth-child(3) { background: #27c93f; }

.terminal-title { font-size: 0.8rem; color: var(--text-dim); font-family: monospace; }
.terminal-body { padding: 16px; font-family: 'Courier New', Courier, monospace; min-height: 120px; }
.terminal-line { color: #06b6d4; margin-bottom: 4px; font-size: 0.9rem; }
.terminal-prompt { color: #8b5cf6; margin-right: 8px; }

/* Typing animation helper */
.terminal-typing::after {
  content: '|';
  animation: bar-blink 1s infinite;
}
@keyframes bar-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ===== 3. 3D SKILL SPHERE ===== */
.skill-sphere-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: 
    linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 20px;
}

.skill-sphere-container {
  width: 100%;
  height: 100%;
  cursor: grab;
}
.skill-sphere-container:active { cursor: grabbing; }

.skill-sphere-overlay {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(139, 92, 246, 0.1);
  padding: 8px 20px;
  border-radius: 30px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  font-size: 0.8rem;
  color: var(--text-dim);
  backdrop-filter: blur(5px);
  pointer-events: none;
}

/* ===== 4. SMOOTH LIQUID TRANSITIONS ===== */
html {
  scroll-behavior: auto !important; /* GSAP will handle smooth scroll */
}

/* ===== 5. CUSTOM HIGHLIGHTS & GLITCH ===== */
.gradient-text {
  position: relative;
  display: inline-block;
}

.gradient-text:hover {
  text-shadow: 2px 2px 10px rgba(139, 92, 246, 0.8), -2px -2px 10px rgba(6, 182, 212, 0.8);
  animation: text-glitch 0.3s infinite;
}

/* ===== SPOTLIGHT PROJECT GLOW (CHAMKE EFFECT) ===== */
.project-card:hover {
  border-color: rgba(139, 92, 246, 1) !important;
  box-shadow: 0 0 50px rgba(139, 92, 246, 0.4) !important;
  transform: translateY(-10px) scale(1.02);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover .project-name {
  color: white;
  text-shadow: 0 0 10px rgba(139, 92, 246, 1);
}

/* Make skill sphere canvas more luminous */
#skill-sphere-container canvas {
  filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.5));
}

/* ===== LEGENDARY: SOUND TOGGLE & SLIDER ===== */
.sound-toggle {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #8b5cf6;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.sound-toggle:hover {
  background: rgba(139, 92, 246, 0.3);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

/* INFINITE TECH SLIDER */
.infinite-slider-container {
  width: 100%;
  background: rgba(13, 0, 26, 0.5);
  border-top: 1px solid rgba(139, 92, 246, 0.1);
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  padding: 40px 0;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.slider-track {
  display: flex;
  width: max-content;
  gap: 80px;
  animation: scroll-left 30s linear infinite;
}

.slider-track span {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-faint);
  opacity: 0.4;
  white-space: nowrap;
  transition: all 0.5s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.slider-track span:hover {
  opacity: 1;
  color: #06b6d4;
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* PROJECT HOLOGRAPHIC PEEK */
.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(6,182,212,0.1));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  border-radius: inherit;
  z-index: 1;
}

.project-card:hover::after {
  opacity: 1;
}

.project-card .project-header, .project-card .project-name, .project-card .project-desc {
  position: relative;
  z-index: 2;
}

/* ===== RESUME MODAL STYLES ===== */
.resume-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 0, 13, 0.95);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  backdrop-filter: blur(15px);
}

.resume-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.resume-modal-content {
  background: rgba(13, 0, 26, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(139, 92, 246, 0.3);
  display: flex;
  flex-direction: column;
}

.resume-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
}

.resume-preview-container {
  padding: 40px;
  overflow-y: auto;
  flex-grow: 1;
}

.resume-page {
  background: white;
  color: #333;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

.resume-header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 2px solid #8b5cf6;
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.resume-photo-small {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #8b5cf6;
}

.res-name { font-size: 1.8rem; margin: 0; color: #1e1b4b; }
.res-subtitle { font-size: 0.9rem; color: #8b5cf6; margin: 4px 0 0; font-weight: 700; }

.resume-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}

.res-section-title {
  font-size: 1rem;
  text-transform: uppercase;
  color: #8b5cf6;
  margin: 24px 0 12px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 4px;
}

.res-item { margin-bottom: 16px; }
.res-item strong { display: block; color: #1e1b4b; }
.res-item p { margin: 2px 0 0; color: #64748b; font-size: 0.85rem; }

.resume-footer {
  padding: 24px;
  background: rgba(139, 92, 246, 0.1);
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(139,92,246,0.2);
}

.btn-download-resume {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
}

/* RESUME CONTENT ENHANCEMENTS & CONTRAST FIX */
.resume-page p, .resume-page span, .resume-page li, .resume-page a, .resume-page strong, .resume-page h2, .resume-page h4 {
  text-shadow: none !important; /* Remove glow for readability */
}

.resume-page {
  color: #1e293b !important;
}

.res-section-title {
  color: #1e1b4b !important;
  border-bottom: 2px solid #8b5cf6 !important;
  font-weight: 800 !important;
}

.res-highlight { color: #8b5cf6; font-size: 1.1rem; font-weight: 700; }
.res-meta { font-size: 0.85rem; color: #475569; font-weight: 600; margin-bottom: 8px; }
.res-list { padding-left: 18px; margin-bottom: 15px; }
.res-list li { font-size: 0.85rem; color: #1e293b !important; margin-bottom: 6px; }
.res-desc { font-style: normal; color: #475569 !important; font-size: 0.85rem; line-height: 1.4; padding-top: 4px; }
.res-summary { font-size: 0.9rem; color: #334155; margin-bottom: 20px; line-height: 1.6; }

.res-tag { 
  display: inline-block; 
  background: #ede9fe; 
  padding: 4px 10px; 
  border-radius: 6px; 
  font-size: 0.75rem; 
  font-weight: 700; 
  color: #6d28d9; 
  margin-top: 6px;
}

.res-tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Increased consistent gap */
  row-gap: 12px; /* Extra vertical breathing room */
  align-items: center;
}

.res-tech-grid span {
  background: #f1f5f9 !important;
  color: #1e1b4b !important;
  border: 1px solid #e2e8f0 !important;
  padding: 8px 14px !important; /* Slightly more padding */
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
  line-height: 1; /* Fix vertical squashing */
  white-space: nowrap;
}

/* ===== JOURNEY TIMELINE ===== */
.journey-section { 
  margin-top: 60px; 
  margin-bottom: 80px; /* Space to prevent overlap below */
  background: rgba(139, 92, 246, 0.05);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(139, 92, 246, 0.1);
}
.journey-title { 
  font-size: 1.4rem; 
  color: #fff; 
  text-shadow: 0 0 10px #8b5cf6;
  margin-bottom: 40px; 
}
.journey-map {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
}
.journey-dot {
  position: relative;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 20px #8b5cf6;
  z-index: 2;
}
.journey-dot::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(139, 92, 246, 0.8);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.journey-line { 
  height: 3px; /* Thicker line */
  flex-grow: 1; 
  background: linear-gradient(to right, #8b5cf6, #06b6d4); 
  margin: 0 10px; 
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}
.city-name { 
  position: absolute; 
  top: -35px; 
  left: 50%; 
  transform: translateX(-50%); 
  font-weight: 800; 
  font-size: 0.95rem; 
  white-space: nowrap; 
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.city-edu { 
  position: absolute; 
  top: 35px; 
  left: 50%; 
  transform: translateX(-50%); 
  font-size: 0.8rem; 
  color: #94a3b8; 
  font-weight: 600;
  white-space: nowrap; 
  text-align: center; 
}

/* ===== RECOMMENDATIONS ===== */
.recommendations-container { margin-top: 100px; }
.recom-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.recom-card {
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.1);
  padding: 30px;
  border-radius: 15px;
  position: relative;
}
.recom-icon { font-size: 4rem; position: absolute; top: -10px; left: 20px; color: rgba(139,92,246,0.2); }
.recom-card p { font-style: italic; color: #94a3b8; font-size: 0.95rem; margin-bottom: 15px; }
.recom-author { font-weight: 700; color: #8b5cf6; font-size: 0.85rem; }

/* ===== YASH-AI CHATBOT ===== */
.ai-chat-bubble {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #8b5cf6;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 5px 20px rgba(139,92,246,0.5);
  transition: transform 0.3s ease;
}
.chat-ping {
  position: absolute;
  top: 0; right: 0; width: 15px; height: 15px;
  background: #4ade80; border: 3px solid #05000d; border-radius: 50%;
}
.ai-chat-window {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 320px;
  height: 400px;
  background: #0d001a;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 15px;
  display: none;
  flex-direction: column;
  z-index: 10000;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  overflow: hidden;
}
.ai-chat-header {
  padding: 15px; background: rgba(139,92,246,0.1);
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid rgba(139,92,246,0.2);
}
.bot-status-dot { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; margin-right: 8px; display: inline-block; }
.ai-chat-body { flex-grow: 1; padding: 15px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.bot-msg, .user-msg { padding: 10px 14px; border-radius: 12px; font-size: 0.85rem; max-width: 80%; }
.bot-msg { background: rgba(255,255,255,0.05); align-self: flex-start; border: 1px solid rgba(139,92,246,0.1); }
.user-msg { background: #8b5cf6; color: white; align-self: flex-end; }
.ai-chat-footer { padding: 15px; display: flex; gap: 10px; border-top: 1px solid rgba(139,92,246,0.2); }
.ai-chat-footer input { background: rgba(255,255,255,0.05); border: 1px solid rgba(139,92,246,0.1); color: white; padding: 8px 12px; border-radius: 8px; flex-grow: 1; outline: none; }
.ai-chat-close { background: none; border: none; color: white; cursor: pointer; font-size: 1.2rem; }

/* ===== HERO AI HELPER (MODERN) ===== */
.ai-helper-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  margin-left: 20px;
}

.ai-helper-hero:hover {
  background: rgba(139, 92, 246, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.ai-helper-hero i {
  font-size: 1.2rem;
  color: #8b5cf6;
  text-shadow: 0 0 10px #8b5cf6;
}

.ai-helper-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
  white-space: nowrap;
}

.ai-helper-pulse {
  position: absolute;
  width: 100%; height: 100%;
  border: 2px solid rgba(139, 92, 246, 0.5);
  border-radius: inherit;
  inset: 0;
  animation: ai-pulse 2s infinite;
  pointer-events: none;
}

@keyframes ai-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.1); opacity: 0; }
}

/* ADJUST CHAT WINDOW POSITION FOR HERO TOGGLE */
.ai-chat-window {
  bottom: 120px !important;
  right: auto !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

@media (max-width: 768px) {
  .ai-helper-hero { margin-left: 0; margin-top: 15px; }
  .ai-chat-window { width: 90%; bottom: 80px !important; }
}

/* ===== NIGHT CITY SKYLINE ===== */
.city-skyline {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35vh;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    z-index: -2;
    pointer-events: none;
    opacity: 0.15;
    filter: blur(1.5px);
    overflow: hidden;
}
.building {
    position: relative;
    background: linear-gradient(to top, #0a0a0f, #1a1a24);
    width: 80px;
    margin: 0 4px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: 10px 5px;
    box-shadow: 0 0 50px rgba(0,0,0,1);
    box-sizing: border-box;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}
.win {
    width: 6px;
    height: 4px;
    background: #0d0d14;
    margin: 4px;
    border-radius: 1px;
}
.win.active {
    background: #ffd700;
    box-shadow: 0 0 12px 2px #ffd700;
    animation: winFlicker 3s infinite alternate;
}
.win.cyan {
    background: #06b6d4;
    box-shadow: 0 0 12px 2px #06b6d4;
    animation: winFlicker 5s infinite alternate-reverse;
}
@keyframes winFlicker {
    0% { opacity: 0.2; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

/* ===== BURJ KHALIFA LIGHT SHOW ===== */
.laser-beam {
    position: absolute;
    top: -500px;
    left: 50%;
    width: 2px;
    height: 500px;
    background: linear-gradient(to top, rgba(139, 92, 246, 0.8), transparent);
    transform: translateX(-50%);
    opacity: 0;
    box-shadow: 0 0 15px #8b5cf6;
    animation: laserScan 6s infinite ease-in-out;
}

@keyframes laserScan {
    0%, 100% { opacity: 0; transform: translateX(-50%) scaleY(0.1); }
    50% { opacity: 0.6; transform: translateX(-50%) scaleY(1.5); }
}

.spire-light {
    position: absolute;
    top: -10px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px white;
    animation: spireStrobe 1.5s infinite;
}

@keyframes spireStrobe {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
    50% { transform: translateX(-50%) scale(2.5); opacity: 0.2; box-shadow: 0 0 40px #8b5cf6; }
}

/* Color Wave across buildings */
.building:nth-child(2n) .win.active { animation-delay: 0.2s; }
.building:nth-child(3n) .win.active { animation-delay: 0.4s; }
.building:nth-child(4n) .win.active { animation-delay: 0.6s; }
.building:nth-child(5n) .win.active { animation-delay: 0.8s; }

