html {
  scroll-behavior: smooth;
}
body {
  background: #050816;
  color: white;
  overflow-x: hidden;
  background: radial-gradient(circle at top, #112244, #050816);
  padding: 100px;
}
body::before {
  content: "";
  position: fixed;
  width: 500px;
  height: 500px;
  background: cyan;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.08;
  top: -150px;
  left: -150px;
  z-index: -1;
}
body::after {
  content: "";
  position: fixed;
  width: 500px;
  height: 500px;
  background: cyan;
  border-radius: 50%;
  filter: blur(180px);
  opacity: 0.15;
  bottom: -150px;
  right: -150px;
  z-index: -1;
}
/* Navbar Styles */
nav {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.15);
  z-index: 1000;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 15px;
}
.logo {
  font-size: 15px;
  color: cyan;
  text-shadow:
    0 0 3px cyan,
    0 0 px rgb(175, 235, 235);
}
ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
a {
  color: rgb(183, 215, 233);
  text-decoration: none;
  transition: 0.3s;
  text-shadow: 0 0 2px rgb(183, 215, 233);
}
a:hover {
  color: cyan;
  transition: 0.3s;
  text-shadow:
    0 0 5px cyan,
    0 0 10px rgb(195, 230, 230);
}
.nav-profile {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid cyan;
  object-fit: cover;
  box-shadow: 0 0 15px cyan;
  opacity: 1;
  transform: translateY(5px);
  transition: 0.5s ease;
}
.nav-profile:hover {
  transform: scale(1.1);
  box-shadow:
    0 0 20px cyan,
    0 0 20px cyan,
    0 0 20px cyan;
}
.nav ul li a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
  position: relative;
}
.nav ul li a:hover {
  color: cyan;
  text-shadow: 0 0 10px cyan;
}
nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: cyan;
  transition: 0.3s;
  box-shadow: 0 0 10px cyan;
}
nav ul li a:hover::after {
  width: 100%;
}
/* Cursor Glow */
.cursor-glow {
  position: fixed;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.25), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: -1;
  transition: 0.1s;
}
/* STARS */
.stars {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: -1;
}
.stars span {
  position: absolute;
  display: block;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  box-shadow:
    0 0 10px cyan,
    0 0 20px cyan;
  animation: animateStars linear infinite;
}
/* STAR MOVEMENT */
@keyframes animateStars {
  0% {
    transform: translateY(0px);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-1000px);
    opacity: 0;
  }
}
/* STARS BACKGROUND */
.stars {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
}
.stars span {
  position: absolute;
  display: block;
  width: 4px;
  height: 4px;
  background: cyan;
  border-radius: 50%;
  box-shadow:
    0 0 10px cyan,
    0 0 20px cyan,
    0 0 40px cyan;
  animation: animateStars linear infinite;
  bottom: -10px;
}
@keyframes animateStars {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-1000px);
    opacity: 0;
  }
}
/* =========================
   STARS ANIMATION
========================= */
.stars {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
}
.stars span {
  position: absolute;
  display: block;
  width: 4px;
  height: 4px;
  background: cyan;
  border-radius: 50%;
  box-shadow:
    0 0 10px cyan,
    0 0 20px cyan,
    0 0 40px cyan;
  animation: animateStars linear infinite;
  bottom: -10px;
}
@keyframes animateStars {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-1000px);
    opacity: 0;
  }
}
/* =========================
   SCROLL REVEAL
========================= */
.reveal {
  position: relative;
  transform: translateY(100px);
  opacity: 0;
  transition: all 1s ease;
}
.reveal.active {
  transform: translateY(0);
  opacity: 1;
}
