/* -------------------------------------------------------------
   ZAID KHAN (zaidkhan0997) - PORTFOLIO DESIGN SYSTEM
   Theme: Dark Glassmorphism, Neon Glow & Cyber-Modern Aesthetics
   ------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --bg-dark: #07090e;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(99, 102, 241, 0.4);
  
  --primary-indigo: #6366f1;
  --primary-indigo-glow: rgba(99, 102, 241, 0.35);
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.3);
  --accent-pink: #f43f5e;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  
  --text-bright: #f8fafc;
  --text-medium: #cbd5e1;
  --text-muted: #64748b;
  --text-dim: #475569;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-code: 'Fira Code', monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.15);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-medium);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  min-height: 100vh;
}

/* Ambient Background Lights */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  will-change: transform;
}

.ambient-1 {
  top: -10%;
  left: 10%;
  width: 550px;
  height: 550px;
  background: var(--primary-indigo);
  animation: move-bg-color-1 16s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.ambient-2 {
  bottom: -5%;
  right: 5%;
  width: 520px;
  height: 520px;
  background: var(--accent-cyan);
  animation: move-bg-color-2 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.ambient-3 {
  top: 35%;
  left: -5%;
  width: 480px;
  height: 480px;
  background: var(--accent-pink);
  animation: move-bg-color-3 18s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes move-bg-color-1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(50vw, 35vh) scale(1.25);
  }
  100% {
    transform: translate(25vw, 65vh) scale(0.85);
  }
}

@keyframes move-bg-color-2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-50vw, -55vh) scale(1.3);
  }
  100% {
    transform: translate(-65vw, -15vh) scale(0.9);
  }
}

@keyframes move-bg-color-3 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(65vw, -30vh) scale(1.2);
  }
  100% {
    transform: translate(35vw, 35vh) scale(0.88);
  }
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-bright);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-accent {
  background: linear-gradient(135deg, var(--primary-indigo) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.1rem 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease;
}

.navbar.scrolled {
  padding: 1.1rem 0;
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: none;
  box-shadow: none;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-bright);
  white-space: nowrap;
}

.nav-logo span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.logo-handle {
  font-family: var(--font-code);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.02em;
}

.logo-badge {
  background: linear-gradient(135deg, var(--primary-indigo), var(--accent-cyan));
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: var(--font-code);
  font-weight: 600;
  box-shadow: 0 0 15px var(--primary-indigo-glow);
}

.nav-avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--primary-indigo);
  box-shadow: 0 0 12px var(--primary-indigo-glow);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.nav-logo:hover .nav-avatar {
  transform: scale(1.08);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan-glow);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-medium);
  position: relative;
  padding: 0.25rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-indigo), var(--accent-cyan));
  transition: var(--transition-fast);
  border-radius: 2px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-indigo), #4f46e5);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-indigo-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
  background: linear-gradient(135deg, #6366f1, #4338ca);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-bright);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-bright);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--primary-indigo);
  color: var(--primary-indigo);
  background: rgba(99, 102, 241, 0.08);
}

/* Hero Section */
.hero {
  padding: 10rem 0 6rem 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge-container {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  width: fit-content;
  font-size: 0.85rem;
  color: #a5b4fc;
}

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

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 3.8rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-medium);
  max-width: 600px;
}

.hero-bio-quote {
  font-family: var(--font-code);
  font-size: 0.95rem;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
  border-left: 3px solid var(--accent-cyan);
  padding: 0.75rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-card {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-bright);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Avatar Card */
.hero-avatar-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.avatar-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  width: 100%;
  max-width: 380px;
  text-align: center;
  transition: var(--transition-smooth);
}

.avatar-card:hover {
  border-color: var(--border-active);
  box-shadow: 0 15px 35px var(--primary-indigo-glow);
  transform: translateY(-5px);
}

.avatar-img-container {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--primary-indigo), var(--accent-cyan), var(--accent-pink));
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: var(--bg-dark);
}

.avatar-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.avatar-handle {
  font-family: var(--font-code);
  color: var(--primary-indigo);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.avatar-role {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 0.8rem;
  line-height: 1.35;
}

.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-glass);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

/* Section Headings */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-tag {
  font-family: var(--font-code);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Skills Category Tabs Bar */
.skills-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.skills-tabs-bar {
  display: flex;
  gap: 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
  justify-content: center;
}

.skill-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.skill-tab-btn:hover {
  color: var(--text-bright);
}

.skill-tab-btn.active {
  background: linear-gradient(135deg, var(--primary-indigo), var(--accent-cyan));
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 15px var(--primary-indigo-glow);
}

/* Tech Stack & Specialization Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.skill-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.skill-level-badge {
  font-family: var(--font-code);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.skill-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-4px);
}

.skill-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.12);
  color: var(--primary-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.skill-title {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.skill-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  font-family: var(--font-code);
  font-size: 0.75rem;
  background: var(--bg-glass);
  color: var(--text-medium);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

/* Filter Controls */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-categories {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-medium);
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-bright);
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
  background: var(--primary-indigo);
  color: #fff;
  border-color: var(--primary-indigo);
  box-shadow: 0 0 15px var(--primary-indigo-glow);
}

.search-box {
  position: relative;
  min-width: 280px;
}

.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.6rem 1rem 0.6rem 2.6rem;
  color: var(--text-bright);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}

.search-input:focus {
  border-color: var(--primary-indigo);
  box-shadow: 0 0 15px var(--primary-indigo-glow);
}

.search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* Repositories Grid */
.repos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.repo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.repo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-indigo), transparent);
  opacity: 0;
  transition: var(--transition-fast);
}

.repo-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

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

.repo-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.repo-title-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.repo-icon {
  color: var(--accent-cyan);
  font-size: 1.1rem;
}

.repo-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-bright);
  font-family: var(--font-code);
  word-break: break-word;
}

.repo-badge {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
  white-space: nowrap;
}

.repo-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.repo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.repo-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

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

/* Explore More Repositories Button Container */
.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.btn-explore {
  padding: 0.8rem 2rem;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  color: var(--text-bright);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
  transition: var(--transition-smooth);
}

.btn-explore:hover {
  background: var(--primary-indigo);
  border-color: var(--primary-indigo);
  box-shadow: 0 6px 25px var(--primary-indigo-glow);
  transform: translateY(-3px);
}

.logo-handle {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-code);
  font-weight: 400;
  margin-left: 0.25rem;
}

/* Interactive Terminal Section */
.terminal-wrapper {
  background: #05070c;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.terminal-header {
  background: rgba(255, 255, 255, 0.04);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

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

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-title {
  font-family: var(--font-code);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 1.5rem;
  font-family: var(--font-code);
  font-size: 0.9rem;
  color: #38bdf8;
  min-height: 280px;
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.terminal-line {
  line-height: 1.5;
  word-break: break-word;
}

.term-prompt {
  color: var(--accent-emerald);
}

.term-path {
  color: var(--primary-indigo);
}

.term-output {
  color: var(--text-medium);
  margin-top: 0.2rem;
  padding-left: 0.5rem;
}

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.terminal-input {
  background: transparent;
  border: none;
  color: var(--text-bright);
  font-family: var(--font-code);
  font-size: 0.9rem;
  width: 100%;
  outline: none;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-profile-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.contact-avatar-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--primary-indigo), var(--accent-cyan));
  flex-shrink: 0;
}

.contact-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: var(--bg-dark);
}

.contact-profile-title h3 {
  font-size: 1.25rem;
  margin: 0 0 0.2rem 0;
}

.contact-profile-subtitle {
  font-family: var(--font-code);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  line-height: 1.4;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.12);
  color: var(--primary-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-val {
  font-size: 1.05rem;
  color: var(--text-bright);
  font-weight: 500;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-medium);
}

.form-control {
  background: rgba(7, 9, 14, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-bright);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-indigo);
  box-shadow: 0 0 15px var(--primary-indigo-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Modal Window */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 7, 12, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

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

.modal-container {
  background: #0f172a;
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8);
  transform: scale(0.95);
  transition: var(--transition-smooth);
}

.modal-backdrop.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: #fff;
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
}

.modal-title {
  font-size: 1.6rem;
  font-family: var(--font-code);
  margin-bottom: 0.5rem;
}

.modal-desc {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.modal-code-block {
  background: #05070c;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-family: var(--font-code);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: #1e293b;
  border: 1px solid var(--primary-indigo);
  color: var(--text-bright);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: slide-toast 0.3s ease forwards;
}

@keyframes slide-toast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
  background: rgba(5, 7, 12, 0.6);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Responsive Navigation Adjustments */
@media (max-width: 1180px) {
  .nav-engagement {
    display: none; /* Hide header engagement pill on medium screens to eliminate header overlap */
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    display: none;
  }
}

@media (max-width: 768px) {
  /* Skills & Technologies filter bar: Wrap gracefully into centered pill buttons */
  .skills-tabs-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-bottom: 2rem;
  }
  
  .skills-tabs-bar {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    backdrop-filter: none;
    box-shadow: none;
  }

  .skill-tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
    color: var(--text-medium);
    white-space: nowrap;
    flex: 0 1 auto;
  }

  .skill-tab-btn:hover {
    color: var(--text-bright);
    border-color: rgba(255, 255, 255, 0.2);
  }

  .skill-tab-btn.active {
    background: linear-gradient(135deg, var(--primary-indigo), var(--accent-cyan));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px var(--primary-indigo-glow);
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 7rem 0 4rem 0;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
  }

  .filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
    flex: 0 1 auto;
  }

  .search-box {
    width: 100%;
  }

  .repos-grid {
    grid-template-columns: 1fr;
  }

  .nav-logo {
    font-size: 1.1rem;
  }

  .logo-handle {
    display: none;
  }

  .nav-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }

  .btn-primary#github-nav-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }

  .contact-info-card, .contact-form {
    padding: 1.5rem;
  }
}

/* =============================================================
   LIKE & VIEWS COUNTER INTERACTION STYLES
   ============================================================= */

/* Color & Gradient Utilities */
.text-cyan {
  color: var(--accent-cyan);
}

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

.gradient-cyan-text {
  background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-pink-text {
  background: linear-gradient(135deg, #fb7185 0%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Explicit Button Base Resets to Prevent Native Browser White Button Fallback */
button.hero-like-btn,
button.nav-like-btn,
button.float-like-pill {
  font-family: var(--font-body);
  color: var(--text-bright);
  outline: none;
  border-style: solid;
  -webkit-appearance: none;
  appearance: none;
  text-align: left;
}

/* Header Navbar Engagement Items */
.nav-engagement {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.5rem;
  backdrop-filter: blur(12px);
}

.nav-views-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  transition: var(--transition-fast);
}

.nav-views-btn:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: rgba(6, 182, 212, 0.5);
}

.nav-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-pink);
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.25);
  cursor: pointer;
  transition: var(--transition-fast);
}

.nav-like-btn:hover {
  background: rgba(244, 63, 94, 0.2);
  border-color: rgba(244, 63, 94, 0.5);
  transform: translateY(-1px);
}

.nav-like-btn .heart-icon {
  color: #f43f5e;
  transition: transform 0.2s ease;
}

.nav-like-btn:hover .heart-icon,
.nav-like-btn.liked .heart-icon {
  animation: heart-pulse 0.6s ease infinite alternate;
}

.nav-like-btn.liked {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.3), rgba(225, 29, 72, 0.4));
  border-color: #f43f5e;
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.4);
}

/* Hero Engagement Bar (Views First, Likes Second) */
.hero-engagement-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.hero-views-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.2rem;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  min-width: 220px;
}

.hero-views-card:hover {
  background: rgba(6, 182, 212, 0.14);
  border-color: rgba(6, 182, 212, 0.6);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.2);
  transform: translateY(-2px);
}

.views-active-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.4);
  margin-left: auto;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.engagement-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.views-icon-glow {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.2);
}

.like-icon-glow {
  background: rgba(244, 63, 94, 0.15);
  color: var(--accent-pink);
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.2);
}

.engagement-details {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.engagement-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  white-space: nowrap;
}

.engagement-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-bright);
  white-space: nowrap;
}

.hero-like-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.2rem;
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.3);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  min-width: 220px;
}

.hero-like-btn:hover {
  background: rgba(244, 63, 94, 0.16);
  border-color: rgba(244, 63, 94, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.25);
}

.hero-like-btn.liked {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.25), rgba(225, 29, 72, 0.35));
  border-color: #f43f5e;
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.4);
}

.hero-like-btn.liked .heart-icon {
  animation: heart-pulse 0.7s ease infinite alternate;
}

.like-active-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(244, 63, 94, 0.2);
  color: #f43f5e;
  border: 1px solid rgba(244, 63, 94, 0.4);
  margin-left: auto;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.hero-like-btn.liked .like-active-badge {
  background: #f43f5e;
  color: #fff;
}

/* Stat Cards Header Enhancement */
.stat-card-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stat-views-highlight, .stat-likes-highlight {
  position: relative;
  transition: var(--transition-smooth);
}

.stat-views-highlight:hover, .stat-likes-highlight:hover {
  transform: translateY(-3px);
}

/* Floating Sticky Engagement Widget (Bottom Right) */
.floating-engagement-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-active);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.2);
  transition: var(--transition-smooth);
  animation: float-widget-bounce 4s infinite ease-in-out;
}

.floating-engagement-widget:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(99, 102, 241, 0.35);
}

.float-views-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-full);
}

.float-eye-icon {
  color: var(--accent-cyan);
  font-size: 0.95rem;
}

.float-like-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.3);
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--text-bright);
  transition: var(--transition-fast);
}

.float-like-pill:hover {
  background: rgba(244, 63, 94, 0.25);
  border-color: rgba(244, 63, 94, 0.6);
  transform: scale(1.04);
}

.float-like-pill.liked {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.8), rgba(225, 29, 72, 0.9));
  border-color: #f43f5e;
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.5);
}

.float-heart-icon {
  color: #f43f5e;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.float-like-pill.liked .float-heart-icon {
  color: #fff;
  animation: heart-pulse 0.6s infinite alternate;
}

.float-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.float-title {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.float-like-pill.liked .float-title {
  color: rgba(255, 255, 255, 0.85);
}

.float-count {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-bright);
}

/* Floating Heart Particle Effect */
.heart-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  color: #f43f5e;
  font-size: 1.4rem;
  animation: float-heart-up 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  filter: drop-shadow(0 0 8px rgba(244, 63, 94, 0.8));
}

@keyframes float-heart-up {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(0.6) rotate(0deg);
  }
  50% {
    opacity: 0.9;
    transform: translate(var(--dx, -10px), -60px) scale(1.3) rotate(var(--rot, -15deg));
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx, 20px), -120px) scale(0.8) rotate(var(--rot, 25deg));
  }
}

@keyframes heart-pulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.25); }
}

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

@media (max-width: 992px) {
  .logo-handle {
    display: none !important;
  }

  .nav-menu {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .nav-logo {
    font-size: 1.1rem;
  }

  .nav-engagement {
    display: none !important;
  }

  .github-btn-text {
    display: none !important;
  }

  #github-nav-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }

  .footer {
    padding: 2.5rem 0 7.5rem 0;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .footer-links {
    justify-content: center;
    width: 100%;
  }

  .floating-menu-btn {
    bottom: 1rem;
    left: 0.75rem;
    padding: 0.45rem 0.7rem;
  }

  .floating-menu-text {
    font-size: 0.8rem;
  }

  .floating-engagement-widget {
    bottom: 1rem;
    right: 0.75rem;
    padding: 0.25rem 0.35rem;
    gap: 0.3rem;
  }

  .float-views-pill, .float-like-pill {
    padding: 0.3rem 0.5rem;
    gap: 0.35rem;
  }

  .float-title {
    display: none;
  }

  .float-count {
    font-size: 0.82rem;
  }

  .hero-engagement-bar {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-views-card, .hero-like-btn {
    width: 100%;
    flex: 1 1 100%;
    padding: 0.75rem 1rem;
    justify-content: flex-start;
  }

  .engagement-details {
    flex: 1;
  }
}

/* =============================================================
   FLOATING 3-LINE MENU BUTTON & FLYOUT DRAWER STYLES
   ============================================================= */

body.menu-open {
  overflow: hidden;
}

/* 3-Line Hamburger Lines Component */
.hamburger-lines {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  position: relative;
}

.hamburger-lines .line {
  display: block;
  height: 2.5px;
  width: 100%;
  border-radius: 2px;
  background: var(--text-bright);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, background 0.3s ease;
  transform-origin: center;
}

/* Active 3-Line state (Transforms hamburger lines into 'X' close icon) */
.floating-menu-btn.active .line-1,
.nav-hamburger-btn.active .line-1 {
  transform: translateY(6.75px) rotate(45deg);
  background: var(--accent-cyan);
}

.floating-menu-btn.active .line-2,
.nav-hamburger-btn.active .line-2 {
  opacity: 0;
  transform: scaleX(0);
}

.floating-menu-btn.active .line-3,
.nav-hamburger-btn.active .line-3 {
  transform: translateY(-6.75px) rotate(-45deg);
  background: var(--accent-pink);
}

/* 1. Navbar Hamburger Button */
.nav-hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  color: var(--text-bright);
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.nav-hamburger-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--primary-indigo);
  box-shadow: 0 0 15px var(--primary-indigo-glow);
  transform: scale(1.05);
}

/* 2. Floating 3-Line Button (Fixed Bottom Left) */
.floating-menu-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid var(--border-active);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(6, 182, 212, 0.25);
  cursor: pointer;
  color: var(--text-bright);
  transition: var(--transition-smooth);
  animation: float-widget-bounce 4s infinite ease-in-out;
}

.floating-menu-btn:hover {
  transform: translateY(-3px) scale(1.04);
  background: rgba(15, 23, 42, 0.95);
  border-color: var(--accent-cyan);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(6, 182, 212, 0.45);
}

.floating-menu-text {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* 3. Backdrop Overlay */
.floating-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-menu-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* 4. Drawer Flyout Panel */
.floating-menu-drawer {
  position: fixed;
  top: 0;
  left: -440px;
  width: 400px;
  max-width: calc(100vw - 2.5rem);
  height: 100vh;
  background: rgba(8, 12, 22, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(99, 102, 241, 0.2);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.floating-menu-drawer.active {
  transform: translateX(440px);
  opacity: 1;
  pointer-events: auto;
}

/* Drawer Header */
.drawer-header {
  padding: 1.5rem 1.5rem 1.25rem 1.5rem;
  background: rgba(15, 23, 42, 0.6);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-profile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.drawer-avatar-wrapper {
  position: relative;
}

.drawer-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 14px var(--accent-cyan-glow);
}

.drawer-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  border: 2px solid #0f172a;
}

.drawer-profile-info {
  display: flex;
  flex-direction: column;
}

.drawer-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-bright);
  margin: 0;
  line-height: 1.2;
}

.drawer-handle {
  font-family: var(--font-code);
  font-size: 0.78rem;
  color: var(--accent-cyan);
}

.drawer-tag {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-top: 0.15rem;
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-medium);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.drawer-close-btn:hover {
  background: rgba(244, 63, 94, 0.2);
  border-color: rgba(244, 63, 94, 0.5);
  color: #f43f5e;
  transform: rotate(90deg);
}

/* Drawer Body Scroll Container */
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.drawer-body::-webkit-scrollbar {
  width: 6px;
}
.drawer-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
.drawer-body::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Drawer Sections */
.drawer-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.drawer-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Navigation List */
.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-fast);
}

.drawer-nav-item:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateX(4px);
}

.drawer-item-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.drawer-nav-item:hover .drawer-item-icon {
  background: var(--primary-indigo);
  color: #fff;
  box-shadow: 0 0 12px var(--primary-indigo-glow);
}

.drawer-item-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.drawer-item-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-bright);
}

.drawer-item-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.drawer-arrow {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.drawer-nav-item:hover .drawer-arrow {
  color: var(--accent-cyan);
  transform: translateX(3px);
}

/* Skill Chips & Filters */
.drawer-skills-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.drawer-chip {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-medium);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.drawer-chip:hover, .drawer-chip.active {
  background: rgba(6, 182, 212, 0.18);
  border-color: var(--accent-cyan);
  color: var(--text-bright);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.25);
}

/* Languages Grid */
.drawer-lang-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.drawer-lang-tag {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-bright);
  font-family: var(--font-code);
}

.lang-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

/* Drawer Contact Links */
.drawer-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.drawer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.84rem;
  color: var(--text-medium);
  transition: var(--transition-fast);
}

.drawer-contact-item a,
.drawer-contact-item span {
  word-break: break-all;
}

.drawer-contact-item i {
  color: var(--accent-cyan);
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
}

.drawer-contact-item:hover {
  background: rgba(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.3);
  color: var(--text-bright);
}

.drawer-contact-location {
  opacity: 0.8;
  border-style: dashed;
}

/* Drawer Footer Toolbar */
.drawer-footer {
  padding: 1.1rem 1.5rem;
  background: rgba(15, 23, 42, 0.8);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.drawer-footer-engagement {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.drawer-views-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem;
  border-radius: var(--radius-md);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  font-size: 0.85rem;
  font-weight: 700;
}

.drawer-like-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem;
  border-radius: var(--radius-md);
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: var(--text-bright);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.drawer-like-btn:hover, .drawer-like-btn.liked {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.8), rgba(225, 29, 72, 0.9));
  border-color: #f43f5e;
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.4);
}

.btn-drawer-github {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 0.6rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .floating-menu-btn {
    bottom: 1rem;
    left: 1rem;
    padding: 0.5rem 0.85rem;
  }
  .floating-menu-text {
    font-size: 0.82rem;
  }
}

