@import url("https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap");

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

:root {
  --primary: #8b5cf6;
  --primary-dark: #7c3aed;
  --secondary: #ec4899;
  --accent: #06b6d4;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --darker: #020617;
  --light: #f1f5f9;
  --text: #e2e8f0;
  --text-light: #94a3b8;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-dark: linear-gradient(
    135deg,
    var(--dark) 0%,
    var(--dark-light) 100%
  );
  --gradient-accent: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--primary) 100%
  );
  --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.4);
  --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --glass: rgba(30, 41, 59, 0.7);
  --glass-light: rgba(30, 41, 59, 0.5);
  --border: rgba(255, 255, 255, 0.1);
  --neon-glow:
    0 0 10px rgba(139, 92, 246, 0.7), 0 0 20px rgba(139, 92, 246, 0.5),
    0 0 30px rgba(139, 92, 246, 0.3);
  --neon-pink-glow:
    0 0 10px rgba(236, 72, 153, 0.7), 0 0 20px rgba(236, 72, 153, 0.5),
    0 0 30px rgba(236, 72, 153, 0.3);
  --neon-cyan-glow:
    0 0 10px rgba(6, 182, 212, 0.7), 0 0 20px rgba(6, 182, 212, 0.5),
    0 0 30px rgba(6, 182, 212, 0.3);
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--darker);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--white);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.8rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 15px auto 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-5px);
}

.btn-glow {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.btn-glow:hover {
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.8);
  transform: translateY(-3px);
}

/* Glass Effect */
.glass {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
}

.glass-light {
  background: var(--glass-light);
  backdrop-filter: blur(5px);
  border: 1px solid var(--border);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 25px 0;
  transition: var(--transition);
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scrolled {
  padding: 18px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--white);
}

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

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover .nav-icon {
  color: var(--white);
  transform: scale(1.1);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
  background: url("../images/hacker-image.jpg") center center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.75) 0%,
    rgba(30, 41, 59, 0.8) 100%
  );
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(139, 92, 246, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(236, 72, 153, 0.15) 0%,
      transparent 50%
    );
  z-index: 2;
  pointer-events: none;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 3;
}

.hero-content {
  flex: 1 1 50%;
  max-width: 700px;
  text-align: left;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.1;
  text-align: left;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--text-light);
  max-width: 600px;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero-image {
  flex: 0 0 300px;
  max-width: 300px;
  margin: 0 auto;
  position: relative;
}

.hero-image::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: var(--gradient);
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(20px);
  z-index: -1;
  animation: pulse 3s ease-in-out infinite;
}

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

.hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 0 30px rgba(139, 92, 246, 0.6),
    var(--shadow);
  transition: var(--transition);
  background: var(--dark-light);
  filter: brightness(1.05) contrast(1.1);
}

.hero-image img:hover {
  transform: scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.8);
}

/* About */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  border: 1px solid var(--border);
}

.about-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0.1;
  mix-blend-mode: overlay;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

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

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--white);
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-light);
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.skill-card {
  background: var(--dark-light);
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.skill-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.skill-level {
  display: inline-block;
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.level-intermediate {
  background: rgba(139, 92, 246, 0.2);
  color: var(--primary);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.level-beginner {
  background: rgba(6, 182, 212, 0.2);
  color: var(--accent);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.level-learning {
  background: rgba(236, 72, 153, 0.2);
  color: var(--secondary);
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
}

.skill-tag {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #e2e8f0;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.skill-tag:hover {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--dark-light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
}

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

.project-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.project-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0;
  mix-blend-mode: overlay;
  transition: var(--transition);
}

.project-card:hover .project-img::after {
  opacity: 0.3;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.project-content {
  padding: 25px;
}

.project-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.project-content p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.coming-soon-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gradient);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 10;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

/* Services */
.services {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 10% 90%,
      rgba(139, 92, 246, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 90% 10%,
      rgba(236, 72, 153, 0.1) 0%,
      transparent 50%
    );
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: var(--dark-light);
  border-radius: 15px;
  padding: 30px;
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}

.service-card:hover::before {
  opacity: 0.05;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
}

.service-card h4 {
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--text-light);
  position: relative;
  z-index: 1;
}

/* Resume */
.resume-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.resume-box {
  background: var(--dark-light);
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.resume-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient);
}

.resume-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.resume-box h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: 1.3rem;
}

.resume-box ul {
  list-style: none;
  flex: 1;
}

.resume-box li {
  margin-bottom: 20px;
  padding-left: 20px;
  position: relative;
}

.resume-box li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.resume-box strong {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
  font-size: 1rem;
}

.resume-box small {
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.4;
  display: block;
}

.resume-download {
  text-align: center;
  margin-top: 50px;
}

/* Contact */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  margin-bottom: 30px;
  color: var(--white);
}

.contact-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--dark-light);
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.contact-box:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.contact-form {
  background: var(--dark-light);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

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

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background: var(--dark);
  padding: 60px 0 30px;
  text-align: center;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(139, 92, 246, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(236, 72, 153, 0.05) 0%,
      transparent 50%
    );
}

.footer-content {
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--dark-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.social-link:hover {
  background: var(--gradient);
  transform: translateY(-5px);
  border-color: transparent;
}

.copyright {
  padding-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

/* Particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--primary);
  border-radius: 50%;
  animation: float 15s infinite linear;
}

.particle:nth-child(odd) {
  background: var(--secondary);
}

.particle:nth-child(3n) {
  background: var(--accent);
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

/* ============================================================
   CINEMATIC INTRO STYLES
   ============================================================ */

#intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background: #000;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

#intro-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#intro-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#intro-text-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

#intro-text {
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: clamp(1.8rem, 6vw, 4rem);
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-shadow:
    0 0 20px rgba(139, 92, 246, 0.8),
    0 0 60px rgba(236, 72, 153, 0.4);
  letter-spacing: 0.05em;
  max-width: 90%;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    filter 0.6s ease;
  opacity: 0;
  transform: scale(0.95);
  filter: blur(10px);
}

#intro-text.intro-text-visible {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

#intro-text.intro-text-hidden {
  opacity: 0;
  transform: scale(0.95);
  filter: blur(10px);
}

#skip-intro {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10001;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.7;
}

#skip-intro:hover {
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  #intro-overlay {
    display: none;
  }
}

/* ============================================================
   SKELETON LOADING STYLES
   ============================================================ */

#skeleton-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #020617;
  z-index: 9999;
  overflow-y: auto;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

#skeleton-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.skeleton {
  background: #2a2a3a;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.skeleton::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  animation: shimmer 1.8s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(150%);
  }
}

.skeleton-text {
  height: 1.2em;
  width: 100%;
  margin-bottom: 0.5em;
  border-radius: 4px;
  background: #2a2a3a;
  position: relative;
  overflow: hidden;
}

.skeleton-text::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  animation: shimmer 1.8s infinite;
}

.skeleton-title {
  height: 2.5rem;
  width: 60%;
  margin: 0 auto 1rem;
  border-radius: 8px;
  background: #2a2a3a;
  position: relative;
  overflow: hidden;
}

.skeleton-title::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  animation: shimmer 1.8s infinite;
}

.skeleton-image {
  background: #2a2a3a;
  border-radius: 50%;
  aspect-ratio: 1/1;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.skeleton-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  animation: shimmer 1.8s infinite;
}

.skeleton-btn {
  height: 48px;
  width: 120px;
  border-radius: 50px;
  background: #2a2a3a;
  position: relative;
  overflow: hidden;
}

.skeleton-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  animation: shimmer 1.8s infinite;
}

.skeleton-card {
  background: #1e293b;
  border-radius: 15px;
  padding: 30px;
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.skeleton-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  animation: shimmer 1.8s infinite;
}

.skeleton-logo {
  background: #2a2a3a;
  border-radius: 4px;
  height: 36px;
  width: 120px;
  position: relative;
  overflow: hidden;
}

.skeleton-logo::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  animation: shimmer 1.8s infinite;
}

.skeleton-nav-item {
  height: 24px;
  width: 60px;
  background: #2a2a3a;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.skeleton-nav-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  animation: shimmer 1.8s infinite;
}

.skeleton-social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #2a2a3a;
  position: relative;
  overflow: hidden;
}

.skeleton-social-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  animation: shimmer 1.8s infinite;
}

.skeleton-container {
  padding: 20px 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.skeleton-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 40px;
}

.skeleton-nav {
  display: flex;
  gap: 25px;
}

.skeleton-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 80px;
}

.skeleton-hero-content {
  flex: 1;
}

.skeleton-hero-btns {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.skeleton-hero-image {
  flex: 0 0 260px;
}

.skeleton-about {
  margin-bottom: 80px;
}

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

.skeleton-skills,
.skeleton-projects,
.skeleton-services,
.skeleton-resume,
.skeleton-contact {
  margin-bottom: 80px;
}

.skeleton-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.skeleton-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.skeleton-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.skeleton-resume-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.skeleton-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.skeleton-footer {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.skeleton-footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

/* Responsive skeleton */
@media (max-width: 992px) {
  .skeleton-hero {
    flex-direction: column;
    text-align: center;
  }
  .skeleton-hero-btns {
    justify-content: center;
  }
  .skeleton-hero-image {
    flex: 0 0 200px;
  }
  .skeleton-about-grid {
    grid-template-columns: 1fr;
  }
  .skeleton-resume-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .skeleton-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .skeleton-nav {
    display: none;
  }
  .skeleton-projects-grid {
    grid-template-columns: 1fr;
  }
  .skeleton-resume-grid {
    grid-template-columns: 1fr;
  }
  .skeleton-skills-grid {
    grid-template-columns: 1fr 1fr;
  }
  .skeleton-services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .skeleton-skills-grid {
    grid-template-columns: 1fr;
  }
  .skeleton-hero-image {
    flex: 0 0 160px;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero .container {
    flex-direction: column;
    text-align: left;
  }
  .hero-content {
    max-width: 100%;
    text-align: left;
  }
  .hero p {
    margin-left: 0;
    margin-right: 0;
  }
  .hero-btns {
    justify-content: flex-start;
  }
  .hero-image {
    flex: 0 0 260px;
    max-width: 260px;
    margin-bottom: 20px;
    margin-left: 0;
  }
  .section-title h2 {
    font-size: 2.4rem;
  }
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .resume-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--dark-light);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
    border-radius: 0 0 15px 15px;
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero h1 {
    font-size: 2.3rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .hero-image {
    flex: 0 0 220px;
    max-width: 220px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .nav-links a {
    padding: 12px 0;
    font-size: 1.1rem;
  }
  .resume-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  .section-title h2 {
    font-size: 2rem;
  }
  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-image {
    flex: 0 0 200px;
    max-width: 200px;
  }
}

/* ============================================================
   ═══════════════════════════════════════════════════════════
   PREMIUM HOLOGRAPHIC HERO NAME (ADDED)
   ═══════════════════════════════════════════════════════════
   ============================================================ */

.hologram-wrapper {
  position: relative;
  display: inline-block;
  margin: 0.5rem 0 1.5rem 0;
  cursor: pointer;
  user-select: none;
  perspective: 1500px;
}

.hologram-container {
  position: relative;
  display: inline-block;
  transform-style: preserve-3d;
  animation: hologramFloat 8s ease-in-out infinite;
}

/* ---- Main Text ---- */
.hologram-text {
  position: relative;
  display: inline-block;
  font-family: "Orbitron", "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
  transform-style: preserve-3d;
}

/* ---- Hologram Layers ---- */
.hologram-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hologram-main {
  position: relative;
  display: inline-block;
  background: linear-gradient(
    135deg,
    rgba(100, 220, 255, 0.9) 0%,
    rgba(139, 92, 246, 0.8) 40%,
    rgba(100, 220, 255, 0.6) 70%,
    rgba(236, 72, 153, 0.3) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow:
    0 0 30px rgba(100, 220, 255, 0.15),
    0 0 60px rgba(139, 92, 246, 0.1),
    0 0 100px rgba(100, 220, 255, 0.05);
  animation: hologramBreath 4s ease-in-out infinite;
  transform: translateZ(20px);
  letter-spacing: 0.06em;
}

/* ---- Soft Glow ---- */
.hologram-glow {
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(100, 220, 255, 0.08) 0%,
    rgba(139, 92, 246, 0.06) 40%,
    transparent 70%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hologramGlowPulse 5s ease-in-out infinite;
  transform: translateZ(-5px);
  filter: blur(12px);
}

/* ---- Light Sweep ---- */
.hologram-sweep {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(100, 220, 255, 0) 20%,
    rgba(100, 220, 255, 0.15) 40%,
    rgba(139, 92, 246, 0.2) 50%,
    rgba(100, 220, 255, 0.15) 60%,
    rgba(100, 220, 255, 0) 80%,
    transparent 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hologramSweep 6s ease-in-out infinite;
  transform: translateZ(25px);
  mix-blend-mode: screen;
}

/* ---- Distortion / Glitch layer ---- */
.hologram-distortion {
  background: transparent;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  animation: hologramDistortion 12s ease-in-out infinite;
  transform: translateZ(2px);
  mix-blend-mode: difference;
}

/* ---- Scanline ---- */
.hologram-scanline {
  background: repeating-linear-gradient(
    0deg,
    rgba(100, 220, 255, 0) 0px,
    rgba(100, 220, 255, 0.02) 2px,
    rgba(100, 220, 255, 0) 4px,
    rgba(100, 220, 255, 0.01) 6px,
    rgba(100, 220, 255, 0) 8px
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hologramScanline 8s linear infinite;
  transform: translateZ(30px);
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* ---- Background Glow behind the text ---- */
.hologram-background-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 200%;
  background: radial-gradient(
    ellipse at center,
    rgba(100, 220, 255, 0.06) 0%,
    rgba(139, 92, 246, 0.03) 40%,
    transparent 70%
  );
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
  animation: hologramBgGlow 6s ease-in-out infinite;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes hologramFloat {
  0%,
  100% {
    transform: translateY(0px) rotateX(0deg) rotateY(0deg);
  }
  25% {
    transform: translateY(-10px) rotateX(1deg) rotateY(0.5deg);
  }
  75% {
    transform: translateY(-5px) rotateX(-0.5deg) rotateY(-0.5deg);
  }
}

@keyframes hologramBreath {
  0%,
  100% {
    opacity: 0.9;
    transform: scale(1) translateZ(20px);
  }
  50% {
    opacity: 1;
    transform: scale(1.008) translateZ(22px);
  }
}

@keyframes hologramGlowPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: translateZ(-5px) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateZ(-5px) scale(1.05);
  }
}

@keyframes hologramSweep {
  0% {
    transform: translateX(-30%) scaleX(0.8);
    opacity: 0.2;
  }
  25% {
    transform: translateX(-5%) scaleX(1);
    opacity: 0.6;
  }
  50% {
    transform: translateX(5%) scaleX(1.1);
    opacity: 0.8;
  }
  75% {
    transform: translateX(15%) scaleX(1);
    opacity: 0.4;
  }
  100% {
    transform: translateX(40%) scaleX(0.8);
    opacity: 0.1;
  }
}

@keyframes hologramScanline {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100px;
  }
}

@keyframes hologramBgGlow {
  0%,
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* ---- Distortion keyframes (random glitch) ---- */
@keyframes hologramDistortion {
  0%,
  92%,
  100% {
    opacity: 0;
    transform: translateZ(2px) skewX(0deg) scale(1);
  }
  93% {
    opacity: 1;
    transform: translateZ(2px) skewX(2deg) scale(1.01);
  }
  94% {
    opacity: 0.8;
    transform: translateZ(2px) skewX(-1deg) scale(0.99);
  }
  95% {
    opacity: 0.5;
    transform: translateZ(2px) skewX(1.5deg) scale(1.01);
  }
  96% {
    opacity: 0;
    transform: translateZ(2px) skewX(0deg) scale(1);
  }
}

/* ============================================================
   CANVAS (Particles & Pulse)
   ============================================================ */

.hologram-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  border-radius: 4px;
}

#hologramParticles {
  opacity: 0.8;
}

#hologramPulse {
  opacity: 0;
  transition: opacity 0.3s ease;
}
#hologramPulse.active {
  opacity: 1;
}

/* ============================================================
   HOLOGRAM MATERIALIZATION (on load)
   ============================================================ */

.hologram-container.materializing .hologram-main {
  opacity: 0;
  animation: none;
}

.hologram-container.materializing {
  animation: materializeIn 2.2s ease forwards;
}

@keyframes materializeIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    filter: blur(20px);
  }
  30% {
    opacity: 0.5;
    transform: translateY(10px) scale(0.95);
    filter: blur(8px);
  }
  60% {
    opacity: 0.8;
    transform: translateY(0px) scale(0.99);
    filter: blur(2px);
  }
  80% {
    opacity: 1;
    transform: translateY(0px) scale(1);
    filter: blur(0px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px) scale(1);
    filter: blur(0px);
  }
}

/* ============================================================
   HOLOGRAM PULSE (click effect)
   ============================================================ */

.hologram-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  border: 2px solid rgba(100, 220, 255, 0.3);
  pointer-events: none;
  z-index: 5;
  animation: pulseRing 1.2s ease-out forwards;
}

@keyframes pulseRing {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
    border-width: 3px;
  }
  100% {
    width: 400px;
    height: 400px;
    opacity: 0;
    border-width: 0px;
  }
}

/* ============================================================
   HOVER INTERACTION (3D tilt via JS)
   ============================================================ */

.hologram-wrapper:hover .hologram-main {
  text-shadow:
    0 0 40px rgba(100, 220, 255, 0.25),
    0 0 80px rgba(139, 92, 246, 0.15),
    0 0 120px rgba(100, 220, 255, 0.08);
}

.hologram-wrapper:hover .hologram-glow {
  opacity: 0.9;
}

.hologram-wrapper:hover .hologram-sweep {
  animation-duration: 3s;
  opacity: 0.9;
}

/* ============================================================
   RESPONSIVE HOLOGRAM
   ============================================================ */

@media (max-width: 768px) {
  .hologram-text {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }
  .hologram-main {
    letter-spacing: 0.04em;
  }
  .hologram-wrapper {
    margin: 0.3rem 0 1rem 0;
  }
  .hologram-background-glow {
    width: 100%;
    height: 150%;
  }
  @keyframes pulseRing {
    0% {
      width: 0;
      height: 0;
    }
    100% {
      width: 250px;
      height: 250px;
    }
  }
}

@media (max-width: 576px) {
  .hologram-text {
    font-size: clamp(1.8rem, 12vw, 2.8rem);
  }
  .hologram-main {
    letter-spacing: 0.02em;
  }
  .hologram-wrapper {
    margin: 0.2rem 0 0.8rem 0;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .hologram-container,
  .hologram-main,
  .hologram-glow,
  .hologram-sweep,
  .hologram-scanline,
  .hologram-background-glow,
  .hologram-distortion {
    animation: none !important;
  }
  .hologram-container.materializing {
    animation: none !important;
    opacity: 1 !important;
  }
  .hologram-main {
    background: rgba(100, 220, 255, 0.15);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.8);
  }
}

/* ============================================================
   ═══════════════════════════════════════════════════════════
   PREMIUM SCROLL ANIMATION SYSTEM (ADDED)
   ═══════════════════════════════════════════════════════════
   ============================================================ */

/* ---------- Reading Progress Bar ---------- */
.progress-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 10000;
  pointer-events: none;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  border-radius: 0 2px 2px 0;
  transition: width 0.1s ease;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

/* ---------- Scroll to Top Button ---------- */
.scroll-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
  font-size: 18px;
  cursor: pointer;
  z-index: 9997;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8) translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

.scroll-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(139, 92, 246, 0.6);
}

/* ---------- Active Navigation Link ---------- */
.nav-links a.active {
  color: var(--white);
}

.nav-links a.active::after {
  width: 100% !important;
}

/* ---------- Scroll Reveal Base Classes ---------- */
.reveal {
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  visibility: visible;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  .progress-bar-container {
    display: none;
  }
  .scroll-to-top {
    display: none;
  }
}

/* ---------- Responsive Scroll Button ---------- */
@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 80px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .scroll-to-top {
    bottom: 75px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}
