* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  border-bottom: 1px solid #0ff;
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
}

.logo {
  font-size: 1.6em;
  background: linear-gradient(90deg, #00bfff, #0080ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo span {
  color: #fff;
}

nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-size: 1em;
  transition: color 0.3s;
}

nav a:hover {
  color: #00bfff;
}

/* HERO SECTION */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 60px 80px 100px;
  transform: translateY(-40px);
}

.hero-text {
  width: 50%;
  min-width: 300px;
}

.hero-text h2 {
  font-size: 2.5em;
}

.hero-text h2 span {
  background: linear-gradient(90deg, #00bfff, #0066ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  margin-top: 15px;
  font-size: 1.1em;
  color: #ccc;
}

/* 🔧 FIXED IMAGE SECTION (ONLY CHANGE) */
.hero-image {
  position: relative;
  width: min(450px, 90vw);
  aspect-ratio: 1 / 1;
  margin: 40px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  animation: glow 3s infinite alternate;
}

.circle {
  position: absolute;
  border: 2px solid #00bfff;
  border-radius: 50%;
  opacity: 0.8;
  pointer-events: none;
}

.outer {
  width: 115%;
  height: 115%;
  inset: -7.5%;
  border-top: transparent;
  animation: rotateClock 12s linear infinite;
}

.inner {
  width: 108%;
  height: 108%;
  inset: -4%;
  border-bottom: transparent;
  animation: rotateAnti 10s linear infinite;
}

/* PROJECTS */
.projects {
  padding: 80px 60px;
}

.project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 120px;
  flex-wrap: wrap;
  gap: 30px;
}

.project-text {
  width: 45%;
  min-width: 280px;
}

.project-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 350px;
  margin: auto;
}

.project-image img {
  width: 100%;
  border-radius: 20px;
  animation: glow 3s infinite alternate;
}

.btns {
  margin-top: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #00bfff;
  background: #000;
  color: #fff;
  text-decoration: none;
  margin-right: 10px;
  transition: all 0.3s;
}

.btn:hover {
  background: #00bfff;
  color: #000;
}

/* CONTACT */
.contact {
  text-align: center;
  padding: 60px;
}

.contact-links {
  margin-top: 20px;
}

.social {
  display: inline-block;
  margin: 10px;
  padding: 10px 25px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: transform 0.3s;
}

.social:hover {
  transform: scale(1.1);
}

.github { background: #333; }
.instagram { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
.twitter { background: #1da1f2; }
.discord { background: #5865f2; }

/* FLOATING WIDGET */
.unilink-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
}

.help-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  animation: glow 3s infinite alternate;
  cursor: pointer;
  position: relative;
}

.help-icon::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100px;
  height: 100px;
  border: 2px solid #00bfff;
  border-top-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  animation: rotateClock 10s linear infinite;
}

.help-icon::after {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: 90px;
  height: 90px;
  border: 2px solid #ff66cc;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  animation: rotateAnti 12s linear infinite;
}

.unilink-popup {
  display: none;
  position: absolute;
  bottom: 90px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid #00bfff;
  border-radius: 15px;
  padding: 15px;
  width: 250px;
  text-align: center;
}

.unilink-popup h4 {
  margin-bottom: 10px;
  color: #00bfff;
}

.unilink-popup a {
  display: block;
  margin: 6px 0;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}

.unilink-popup a:hover {
  color: #00bfff;
  border-bottom: 1px solid #00bfff;
}

/* ANIMATIONS */
@keyframes rotateClock {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateAnti {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes glow {
  from { filter: drop-shadow(0 0 10px #00bfff); }
  to { filter: drop-shadow(0 0 20px #00bfff); }
}

/* subtle dark animated gradient */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(5, 10, 20, 0.8),
    rgba(0, 0, 0, 1) 80%
  );
  z-index: -2;
  animation: bgmove 30s ease infinite;
}

@keyframes bgmove {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.05) translate(-2%, -1%); }
  100% { transform: scale(1) translate(0, 0); }
}
