:root {
  --card-bg: #000;
  --btn-bg: #222;
  --btn-hover: #333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  font-family: "Poppins", sans-serif;

  background: radial-gradient(
    circle at top,
    #333333,
    #1a1a1a 35%,
    #111111 70%,
    #000000
  );
}

.card {
  width: min(400px, 90vw);
  background: var(--card-bg);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.4),
    0 5px 15px rgba(0, 0, 0, 0.2);
  &:hover {
    border: 1px solid #f97316;
    transition: border 0.3s ease;
  }
}

.profile-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 30px auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    #feda75,
    #fa7e1e,
    #d62976,
    #962fbf,
    #4f5bd5,
    #feda75
  );
  animation: rotateRing 15s linear infinite;
  box-shadow:
    0 0 10px rgba(214, 41, 118, 0.3),
    0 0 20px rgba(150, 47, 191, 0.2);
}

.profile-ring img {
  position: relative;
  z-index: 2;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #000;
}
.profile-ring:hover {
  animation-play-state: paused;
  transform: scale(1.05);
}

.profile-ring img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid #000;
}

@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.info {
  color: white;
  margin-top: 20px;
}

.info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.info p {
  color: #cfcfcf;
  line-height: 1.5;
  padding: 0 20px;
  font-size: 0.93rem;
}

.socials {
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 25px;
}

.socials div {
  background: var(--btn-bg);
  border-radius: 12px;
  height: 55px;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.socials div:hover {
  background: var(--btn-hover);
  transform: translateY(-3px);
  border: 1px solid #f97316;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.08);
}

.socials a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}

.socials i {
  font-size: 1.2rem;
  transition: color 0.25s ease;
}

.linkedin:hover i {
  color: #0a66c2;
}

.instagram:hover i {
  color: #e4405f;
}

.github:hover i {
  color: black;
}

.facebook:hover i {
  color: #1877f2;
}

.twitter:hover i {
  color: #1da1f2;
}

@media (max-width: 480px) {
  .info h3 {
    font-size: 1.6rem;
  }
  .socials div {
    height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-ring {
    animation: none;
  }
  .socials div {
    transition: none;
  }
}
