/* ===== Root Variables ===== */
:root {
  --bg-primary: #0a0a14;
  --accent-1: #7c7cff;
  --accent-2: #5a5aff;
  --text-primary: #ffffff;
  --text-secondary: #9fa3c4;
  --radius: 18px;
}

/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Body ===== */
body {
  background: radial-gradient(circle at top left, #1a1a2e, var(--bg-primary));
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  text-align: center;
  min-height: 100vh;
  padding: 60px 20px;
}

/* ===== Profile Image ===== */
.profile-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid transparent;
  background: linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
              linear-gradient(135deg, var(--accent-1), var(--accent-2)) border-box;
  box-shadow: 0 15px 40px rgba(124,124,255,0.35);
  transition: all 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.06);
}

/* ===== Name ===== */
.name {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-top: 24px;
  letter-spacing: 0.6px;
}

/* ===== Bio ===== */
.bio {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 18px auto 40px;
  line-height: 1.7;
}

/* ===== Links ===== */
.links {
  width: 100%;
  max-width: 450px;
  margin: auto;
}

.links a {
  display: block;
  padding: 18px;
  margin: 16px 0;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

/* Hover lift */
.links a:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(124,124,255,0.4);
}

/* Shine effect */
.links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: 0.7s;
}

.links a:hover::before {
  left: 100%;
}

/* ===== Mobile Optimization ===== */
@media (max-width: 480px) {
  body {
    padding: 40px 16px;
  }

  .profile-img {
    width: 110px;
    height: 110px;
  }

  .links a {
    padding: 16px;
    font-size: 0.95rem;
  }
}
