:root {
  --bg: #0b1020;
  --card: rgba(255, 255, 255, 0.04);
  --muted: rgba(255, 255, 255, 0.65);
  --glass: rgba(255, 255, 255, 0.03);
  --accent1: #2c9ac9;
  --accent2: #8a2be2;
  --accent3: #ff6b6b;
  --focus: 0 8px 30px rgba(0, 0, 0, 0.6);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color: white;
  background: var(--bg);
}

body::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(1000px 600px at 15% 20%, rgba(44,154,201,0.15), transparent),
    radial-gradient(800px 500px at 85% 80%, rgba(138,43,226,0.12), transparent),
    radial-gradient(900px 600px at 50% 100%, rgba(255,107,107,0.08), transparent),
    linear-gradient(180deg, #05060a 0%, #0b1020 100%);
  background-size: 300% 300%;
  animation: gradientAurora 20s ease infinite;
  z-index: -1;
}

@keyframes gradientAurora {
  0% {
    background-position: 0% 50%;
    filter: hue-rotate(0deg);
  }
  25% {
    background-position: 50% 100%;
    filter: hue-rotate(20deg);
  }
  50% {
    background-position: 100% 50%;
    filter: hue-rotate(40deg);
  }
  75% {
    background-position: 50% 0%;
    filter: hue-rotate(20deg);
  }
  100% {
    background-position: 0% 50%;
    filter: hue-rotate(0deg);
  }
}

/* Wrapper */
.wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Card */
.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  box-shadow: var(--focus);
  padding: 24px;
  backdrop-filter: blur(8px);
}

/* Hero */
.hero {
  display: flex;
  align-items: center;
  gap: 18px;
}

.avatar-img {
  width: 86px;
  height: 86px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.meta h1 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.2px;
}

.meta p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.bio {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

/* Mission */
.mission {
  margin-top: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 14px;
}

.mission h2 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: white;
}

.mission p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Links */
.links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.03);
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 15px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.link-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(2,6,23,0.6);
}

.icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent2), var(--accent3));
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 16px;
}

/* Footer & misc */
.small {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.footer {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer input {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--glass);
  color: white;
  font-size: 13px;
}

.footer input:focus {
  outline: none;
  border-color: var(--accent1);
}

/* Contact */
.contact-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.contact-wrapper .link-btn.full-width {
  width: 100%;
  display: flex;
  gap: 12px;
  cursor: pointer;
  margin-top: 12px;
}

#emailContainer a {
  color: white;
  text-decoration: underline;
  font-weight: 600;
}

/* Mobile */
@media (max-width: 520px) {
  .wrap {
    padding: 0 6px;
  }
  .hero {
    gap: 12px;
  }
  .avatar-img {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }
  .link-btn {
    padding: 10px;
  }
}
