:root {
  --bg: #0b1220;
  --card: #0f1720;
  --muted: #9aa4b2;
  --accent: #7c5cff;
  --accent-2: #00d4ff;
  --text: #e6eef8;
  --glass: rgba(255, 255, 255, 0.03);
  --radius: 14px;
  --shadow: 0 8px 30px rgba(2, 6, 23, 0.6);
}

html,
body {
  height: 100%;
  margin: 0;
  background: linear-gradient(180deg, #07101a 0%, #07121a 100%);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 28px;
  box-sizing: border-box;
}

.container {
  max-width: 980px;
  margin: 24px auto;
}

.profile-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: 20px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}

.profile-left {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 240px;
}

/* wrapper avatar untuk efek gradient border */
.avatar {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 26px rgba(124, 92, 255, 0.18);
  flex-shrink: 0;
  transition:
    transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1),
    box-shadow 0.28s ease;
}

/* gambar profil sebenarnya */
.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 4px solid rgba(255, 255, 255, 0.04);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.06));
}

/* fallback huruf jika gambar tidak ada */
.avatar-fallback {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 40px;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: inset 0 -6px 18px rgba(0, 0, 0, 0.25);
}

.avatar:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 50px rgba(124, 92, 255, 0.18);
}

.name-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}

.fullname {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.05;
  color: var(--text);
}

.meta-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.cta {
  text-align: none;
  margin-left: auto;
  background: transparent;
  color: aliceblue;
  border: 1px solid rgba(124, 92, 255, 0.18);
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.08);
  background: linear-gradient(
    90deg,
    rgba(124, 92, 255, 0.06),
    rgba(0, 212, 255, 0.03)
  );
  text-decoration: none;
}

.profile-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.roles {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.role-pill {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  font-weight: 600;
}

.headline {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin-top: 4px;
}

.about {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 72ch;
}

.info-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
  flex-wrap: wrap;
}

.info-badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 12px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.01),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

/* responsive */
@media (max-width: 820px) {
  .profile-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .profile-left {
    width: 100%;
  }
  .headline {
    font-size: 20px;
  }
}

@media (max-width: 420px) {
  .avatar {
    width: 76px;
    height: 76px;
  }
  .avatar-img,
  .avatar-fallback {
    width: 68px;
    height: 68px;
  }
  .fullname {
    font-size: 16px;
  }
  .about {
    font-size: 14px;
  }
}
