* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-deep: #0a0a1a;
  --bg-surface: #0f0f1f;
  --bg-card: rgba(20, 25, 45, 0.7);
  --primary: #c084fc;
  --primary-glow: #a855f7;
  --secondary: #38bdf8;
  --accent: #2dd4bf;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --border-light: rgba(139, 92, 246, 0.2);
  --shadow-xl: 0 25px 45px -12px rgba(0, 0, 0, 0.5);
  --grad-hero: linear-gradient(135deg, #c084fc 0%, #38bdf8 50%, #2dd4bf 100%);
  --glow-effect: 0 0 20px rgba(192, 132, 252, 0.3);
  --glass: rgba(15, 15, 31, 0.65);
}

body {
  background: var(--bg-deep);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Animated gradient background */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(ellipse at 30% 40%, rgba(56, 189, 248, 0.08), transparent 50%),
              radial-gradient(ellipse at 80% 70%, rgba(192, 132, 252, 0.08), transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(45, 212, 191, 0.05), transparent 60%);
  animation: slowShift 20s ease infinite;
}

@keyframes slowShift {
  0%, 100% { opacity: 0.7; transform: scale(1);}
  50% { opacity: 1; transform: scale(1.05);}
}

/* Floating particles */
.particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: rgba(192, 132, 252, 0.4);
  border-radius: 50%;
  filter: blur(2px);
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-20vh) rotate(360deg); opacity: 0; }
}

/* nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 6rem;
  background: rgba(10, 10, 26, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.25);
  transition: all 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
}

.logo-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.logo-text {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s;
  position: relative;
  padding: 0.5rem 0;
  cursor: pointer;
}

.nav-links a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-hero);
  transition: width 0.3s;
  border-radius: 2px;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-main);
}

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

/* sections base */
section {
  position: relative;
  z-index: 5;
  padding: 8rem 5rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(192, 132, 252, 0.1);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 0.3rem 1.2rem;
  font-family: 'Fira Code', monospace;
  font-size: 0.7rem;
  color: var(--secondary);
  letter-spacing: 0.1em;
  backdrop-filter: blur(4px);
  margin-bottom: 1.5rem;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1);}
  50% { opacity: 0.5; transform: scale(1.3);}
}

.section-label {
  font-family: 'Fira Code', monospace;
  font-size: 0.7rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 35px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff, var(--secondary), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* HERO with side image */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8rem 5rem 5rem;
  gap: 4rem;
}

.hero-content {
  max-width: 650px;
  z-index: 5;
  flex: 1;
}

.hero-side-image {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  animation: floatImage 6s ease-in-out infinite;
}

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

.profile-avatar {
  width: 320px;
  height: 320px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(192, 132, 252, 0.4);
  transition: all 0.5s ease;
  animation: morphShape 8s ease-in-out infinite;
}

@keyframes morphShape {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 58% 42% 75% 25% / 42% 55% 45% 58%; }
  50% { border-radius: 45% 55% 50% 50% / 55% 40% 60% 45%; }
  75% { border-radius: 35% 65% 55% 45% / 35% 30% 70% 65%; }
}

.profile-avatar img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: inherit;
  filter: brightness(1.05) contrast(1.1);
}

.glitch-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 800;
  line-height: 0.9;
  margin: 0.5rem 0;
  position: relative;
}

.glitch-primary {
  background: linear-gradient(120deg, #fff, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 3s linear infinite;
  background-size: 200% auto;
}

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

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 550px;
  margin: 2rem 0 2rem;
  border-left: 2px solid var(--primary);
  padding-left: 1.5rem;
}

.btn-group {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(105deg, var(--primary), var(--secondary));
  padding: 0.9rem 2.2rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(192, 132, 252, 0.3);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(192, 132, 252, 0.4);
  filter: brightness(1.05);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-light);
  padding: 0.9rem 2rem;
  border-radius: 40px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.3s;
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(192, 132, 252, 0.1);
  transform: translateY(-3px);
}

/* ========== PROJECTS SECTION ========== */
.projects-container {
  max-width: 1300px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.project-card,
.skill-card,
.interest-card,
.education-item,
.featured-project,
.contact-email,
.logo-overlay-card {
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
}

.project-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 28px;
  padding: 1.8rem;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.1), transparent);
  transition: left 0.6s ease;
  z-index: 0;
}

.project-card:hover::before {
  left: 100%;
}

.project-card:hover {
  transform: translateY(-12px);
  border-color: var(--primary);
  box-shadow: var(--glow-effect);
}

.project-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.3s;
}

.project-icon-img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s;
}

.project-card:hover .project-icon,
.project-card:hover .project-icon-img {
  transform: scale(1.1) rotate(5deg);
}

.project-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #fff, var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.project-description {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  background: rgba(192, 132, 252, 0.15);
  border: 1px solid rgba(192, 132, 252, 0.3);
  border-radius: 50px;
  padding: 0.25rem 0.8rem;
  font-size: 0.7rem;
  font-family: 'Fira Code', monospace;
  color: var(--accent);
}

.project-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 40px;
  padding: 0.5rem 1.2rem;
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s;
}

.project-link:hover {
  border-color: var(--primary);
  background: rgba(192, 132, 252, 0.15);
  transform: translateY(-3px);
}

.feature-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(45, 212, 191, 0.2);
  border: 1px solid var(--accent);
  border-radius: 50px;
  padding: 0.2rem 0.8rem;
  font-size: 0.6rem;
  font-family: 'Fira Code', monospace;
  color: var(--accent);
}

/* Education items */
.education-item:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--glow-effect);
}

/* Skills grid */
.skills-container {
  max-width: 1200px;
  margin: 0 auto;
}

.skill-category {
  margin-bottom: 3rem;
}

.category-title {
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.category-title:after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.skill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.skill-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  position: relative;
  overflow: hidden;
}

.skill-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 20px 35px -12px black;
}

.skill-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

.skill-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.skill-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: monospace;
}

/* interest cards */
.interest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1300px;
  margin: 3rem auto 0;
}

.interest-card {
  background: rgba(15, 20, 35, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(192, 132, 252, 0.2);
  border-radius: 32px;
  padding: 2rem;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.interest-card:hover {
  transform: translateY(-12px);
  border-color: var(--primary);
  box-shadow: var(--glow-effect);
}

.interest-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.3s;
}

.interest-card:hover .interest-icon {
  transform: scale(1.2) rotate(5deg);
}

/* contact */
.contact-center {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 60px;
  padding: 1rem 2rem;
  transition: all 0.3s;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  margin: 2rem 0;
  cursor: pointer;
}

.contact-email:hover {
  border-color: var(--primary);
  transform: scale(1.02);
  box-shadow: 0 10px 35px rgba(0,0,0,0.5);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.social-btn {
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50px;
  padding: 0.7rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-muted);
  transition: all 0.2s;
  font-size: 0.85rem;
  cursor: pointer;
}

.social-btn:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-5px);
}

footer {
  border-top: 1px solid rgba(192, 132, 252, 0.2);
  padding: 2rem 5rem;
  display: flex;
  justify-content: space-between;
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* scroll reveal - enhanced */
.reveal {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--grad-hero);
  z-index: 101;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px var(--primary);
}

.logo-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.24s ease, visibility 0.24s ease;
  z-index: 2000;
}

.logo-overlay.show {
  visibility: visible;
  opacity: 1;
}

.logo-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 17, 0.84);
  backdrop-filter: blur(12px);
}

.logo-overlay-card {
  position: relative;
  z-index: 1;
  width: min(460px, 90vw);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(16, 18, 36, 0.96);
  border: 1px solid rgba(192, 132, 252, 0.25);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.35);
  padding: 1.25rem;
}

.logo-overlay-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  animation: popIn 0.35s ease-out;
}

@keyframes popIn {
  0% { transform: scale(0.94); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 1100px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 6rem;
  }
  .hero-content {
    text-align: center;
  }
  .hero-description {
    margin: 2rem auto;
    max-width: 100%;
  }
  .btn-group {
    justify-content: center;
  }
  .hero-side-image {
    order: -1;
    margin-bottom: 2rem;
  }
  .profile-avatar {
    width: 240px;
    height: 240px;
  }
  .skill-grid {
    justify-content: center;
  }
  .education-list,
  .interest-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 900px) {
  nav { padding: 1rem 1.2rem; flex-wrap: wrap; justify-content: center; }
  .nav-links { gap: 0.85rem; justify-content: center; flex-wrap: wrap; width: 100%; margin-top: 0.8rem; }
  section { padding: 4.5rem 1.2rem; }
  .hero { padding: 6.5rem 1.2rem 3rem; }
  .logo-text { font-size: 1.4rem; }
  .logo-img { width: 35px; height: 35px; }
  .projects-grid,
  .interest-grid,
  .education-list {
    grid-template-columns: 1fr;
  }
  .skill-grid { flex-direction: column; gap: 1rem; }
  .skill-card { width: 100%; }
  .btn-group { flex-direction: column; gap: 1rem; align-items: center; }
  .hero-description { font-size: 1rem; padding: 0 0.5rem; }
  .project-card,
  .interest-card,
  .education-item { padding: 1.6rem; }
  .project-title { font-size: 1.4rem; }
  .section-title { font-size: clamp(2.2rem, 7vw, 3.2rem); }
}

@media (max-width: 650px) {
  nav { padding: 0.9rem 1rem; }
  .nav-links { gap: 0.65rem; }
  .tag { font-size: 0.75rem; padding: 0.25rem 0.95rem; }
  .glitch-text { font-size: clamp(2rem, 12vw, 3.5rem); }
  .hero-description { font-size: 0.95rem; }
  .project-icon { font-size: 2.4rem; }
  .project-icon-img { width: 2.4rem; height: 2.4rem; }
  .project-title { font-size: 1.3rem; }
  .section-title { font-size: clamp(1.9rem, 10vw, 2.8rem); }
  .contact-center { padding: 0 0.5rem; }
  footer { padding: 1.5rem 1rem; }
  .social-links { gap: 0.8rem; }
}

@media (max-width: 500px) {
  body { font-size: 14px; }
  .hero { padding: 5.5rem 1rem 2.5rem; }
  .section-label { font-size: 0.65rem; }
  .btn-primary,
  .btn-outline { width: 100%; justify-content: center; }
  .project-card,
  .interest-card,
  .education-item { padding: 1.25rem; }
  .skill-card { padding: 0.85rem 1rem; }
  .project-links { flex-direction: column; align-items: stretch; }
  .project-link { width: 100%; justify-content: center; }
}
/* Resume Button */
.btn-resume-glow {
  position: relative;
  padding: 0.9rem 2.2rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: white;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.4);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: all 0.35s ease;
}

.btn-resume-glow span {
  position: relative;
  z-index: 1;
}

.btn-resume-glow:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 35px rgba(56, 189, 248, 0.25);
}

.github-stats-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.github-stats-container img {
  border-radius: 20px;
  background: var(--bg-card);
  padding: 1rem;
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  max-width: 420px;
  width: 100%;
}

.github-stats-container img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--glow-effect);
  border-color: var(--primary);
}


/* ================= FEATURED PROJECT (CENTERED) ================= */

.featured-project {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;

  background: linear-gradient(
    135deg,
    rgba(192, 132, 252, 0.12),
    rgba(56, 189, 248, 0.08)
  );

  border: 1px solid var(--border-light);
  border-radius: 30px;
  backdrop-filter: blur(12px);

  text-align: center;
  position: relative;
  overflow: hidden;

  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* Hover effect */
.featured-project:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: var(--glow-effect);
  border-color: var(--primary);
}

/* Title */
.featured-project h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: 'Space Grotesk', sans-serif;

  background: linear-gradient(135deg, #fff, var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Description */
.featured-project p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* List */
.featured-project ul {
  list-style: none;
  margin-bottom: 1.5rem;
  padding: 0;
}

.featured-project li {
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

/* ================= IMAGE ================= */

.featured-img {
  width: 100%;
  max-width: 500px;
  display: block;
  margin: 0 auto 1.5rem;

  border-radius: 20px;
  border: 1px solid var(--border-light);

  transition: all 0.3s ease;
}

.featured-img:hover {
  transform: scale(1.03);
  box-shadow: var(--glow-effect);
}

/* ================= BUTTON ALIGN ================= */

.featured-project .btn-group {
  justify-content: center;
  margin-top: 1rem;
}

/* ================= OPTIONAL BADGE ================= */

.featured-project .feature-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;

  background: rgba(45, 212, 191, 0.2);
  border: 1px solid var(--accent);
  border-radius: 50px;

  padding: 0.3rem 0.9rem;
  font-size: 0.65rem;
  font-family: 'Fira Code', monospace;
  color: var(--accent);
}




.project-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}


/* ===== CONTAINER ===== */
.text-cluster {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

/* ===== ROWS ===== */
.row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

/* ===== MAIN TITLE (CENTER) ===== */
.main-title {
  font-size: 3rem;
  font-weight: 800;

  background: linear-gradient(135deg, #c084fc, #38bdf8, #2dd4bf);
  background-size: 200% auto;

  -webkit-background-clip: text;
  color: transparent;

  animation: glowMove 4s linear infinite, floatMain 4s ease-in-out infinite;
}

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

/* ===== SKILLS ===== */
.skill {
  font-family: 'Fira Code', monospace;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;

  background: transparent;
  border: none;

  animation: floatText 4s ease-in-out infinite,
             pulse 3s ease-in-out infinite;

  transition: 0.3s;
}
.skill {
  text-shadow: 0 0 15px currentColor, 0 0 30px currentColor;
}
.text-cluster {
  transform: scale(1.2);
}
.text-cluster {
  position: relative;
}
/* 🔥 GLOW BACKGROUND */
.cluster-glow {
  position: absolute;
  inset: -40px;           /* extend around text */
  z-index: -1;

  border-radius: 40px;

  background:
    radial-gradient(circle at 30% 40%, rgba(192,132,252,0.35), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(56,189,248,0.35), transparent 60%),
    radial-gradient(circle at 50% 80%, rgba(45,212,191,0.25), transparent 70%);

  filter: blur(40px);
  opacity: 0.8;

  animation: glowMove 10s ease-in-out infinite alternate;
}

@keyframes glowMove {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.1) translate(10px, -10px);
  }
  100% {
    transform: scale(1.05) translate(-10px, 10px);
  }
}

/* ===== COLORS ===== */
.html {
  color: #f97316;
  text-shadow: 0 0 10px #f97316;
}

.css {
  color: #38bdf8;
  text-shadow: 0 0 10px #38bdf8;
}

.js {
  color: #facc15;
  text-shadow: 0 0 10px #facc15;
}

.python {
  color: #22c55e;
  text-shadow: 0 0 10px #22c55e;
}

.sql {
  color: #a78bfa;
  text-shadow: 0 0 10px #a78bfa;
}

/* ===== FLOAT ANIMATION ===== */
@keyframes floatText {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

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

/* ===== PULSE ===== */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ===== HOVER EFFECT ===== */
.skill:hover {
  transform: scale(1.15);
  filter: brightness(1.3);
}

.main-title:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .row {
    gap: 30px;
    flex-wrap: wrap;
  }

  .main-title {
    font-size: 2rem;
  }

  .skill {
    font-size: 1.2rem;
  }
}

.project-card,
.skill-card,
.interest-card {
  transition: transform 0.15s ease;
}

/* ===== SIDE LAYOUT ===== */
.paws-card {
  display: flex;
  align-items: center;
  gap: 3rem;
  text-align: left;
}

/* LEFT IMAGE */
.paws-left {
  flex: 1;
}

.paws-left img {
  width: 100%;
  border-radius: 20px;
}

/* RIGHT CONTENT */
.paws-right {
  flex: 1;
}

/* Make text spacing better */
.paws-right h2 {
  margin-bottom: 1rem;
}

.paws-right p {
  margin-bottom: 1rem;
}

.paws-right ul {
  margin-bottom: 1.5rem;
}
@media (max-width: 900px) {
  .paws-card {
    flex-direction: column;
    text-align: center;
  }
}
.paws-left img:hover {
  transform: scale(1.03);
  box-shadow: var(--glow-effect);
}

/* 🌌 GLOBAL CURSOR LIGHT */
.global-cursor-glow {
  position: fixed;
  top: 0;
  left: 0;

  width: 80px;
  height: 80px;

  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;

  /* 🔥 soft glow (not disturbing) */
  background: radial-gradient(circle, rgba(192,132,252,0.18), transparent 70%);

  filter: blur(50px);

  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;

  /* 🔥 KEY: blend instead of covering text */
  mix-blend-mode: screen;

  opacity: 1;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
  
}
