.bio-body {
  --bio-bg: #090a10;
  --bio-border: rgba(161, 106, 251, 0.22);
  --bio-text: #f4f7ff;
  --bio-muted: #acb5cc;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% -10%, rgba(161, 106, 251, 0.22), transparent 45%),
    radial-gradient(circle at 100% 15%, rgba(237, 95, 247, 0.14), transparent 40%),
    var(--bio-bg);
  color: var(--bio-text);
}

.bio-body::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: 0.055;
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 0.45px, transparent 0.45px);
  background-size: 3px 3px;
}

.bio-page {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.5rem 2.5rem;
}

.bio-container {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
}

.bio-card {
  padding: 1.75rem 1.6rem 1.5rem;
  border: 1px solid var(--bio-border);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(18, 21, 35, 0.96), rgba(10, 12, 24, 0.98));
  box-shadow: 0 14px 42px rgba(6, 7, 12, 0.62);
  backdrop-filter: blur(18px);
}

.bio-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.bio-avatar {
  width: 84px;
  height: 84px;
  border: 2px solid rgba(161, 106, 251, 0.55);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px rgba(161, 106, 251, 0.1), 0 10px 28px rgba(0, 0, 0, 0.45);
}

.bio-card .bio-name {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-align: center;
}

.bio-card .bio-subtitle {
  margin: 0;
  color: var(--bio-muted);
  font-size: 0.96rem;
  text-align: center;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--bio-text);
  background: rgba(10, 12, 24, 0.92);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.social-btn svg {
  width: 1.3rem;
  height: 1.3rem;
}

.social-btn:hover,
.social-btn:focus-visible {
  transform: translateY(-3px);
}

.social-btn--instagram {
  border-color: rgba(214, 41, 118, 0.28);
  background: linear-gradient(145deg, rgba(253, 88, 33, 0.13), rgba(214, 41, 118, 0.16), rgba(131, 58, 180, 0.2));
}

.social-btn--tiktok {
  border-color: rgba(0, 242, 234, 0.2);
  background: linear-gradient(145deg, rgba(0, 242, 234, 0.09), rgba(255, 0, 80, 0.09));
}

.social-btn--youtube {
  border-color: rgba(255, 0, 0, 0.22);
  background: linear-gradient(145deg, rgba(255, 0, 0, 0.14), rgba(180, 0, 0, 0.1));
}

.social-btn--twitch {
  border-color: rgba(145, 70, 255, 0.3);
  background: linear-gradient(145deg, rgba(100, 65, 165, 0.18), rgba(145, 70, 255, 0.12));
}

.social-btn--linkedin {
  border-color: rgba(10, 102, 194, 0.28);
  background: linear-gradient(145deg, rgba(10, 102, 194, 0.15), rgba(0, 119, 181, 0.12));
}

.bio-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.bio-link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: var(--bio-text);
  background: radial-gradient(circle at 0% 0%, rgba(161, 106, 251, 0.16), transparent 55%), rgba(10, 12, 24, 0.95);
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.bio-link:hover,
.bio-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(161, 106, 251, 0.7);
  background: radial-gradient(circle at 0% 0%, rgba(161, 106, 251, 0.25), transparent 55%), rgba(10, 12, 24, 0.98);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.8);
}

.bio-link-left {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.7rem;
}

.bio-link-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #e0c8ff;
  background: rgba(15, 23, 42, 0.95);
}

.bio-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bio-link-chevron {
  flex-shrink: 0;
  color: var(--bio-muted);
}

.bio-footer {
  margin-top: 1.6rem;
  text-align: center;
}

.bio-card .bio-footer-text {
  margin: 0 0 0.8rem;
  color: var(--bio-muted);
  font-size: 0.8rem;
}

.bio-footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bio-footer-logo img {
  width: min(200px, 50vw);
  max-height: 80px;
  object-fit: contain;
}

.bio-orb {
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  opacity: 0.45;
  filter: blur(55px);
  pointer-events: none;
  animation: bio-float 8s ease-in-out infinite;
}

.bio-orb-a {
  top: -40px;
  left: -60px;
  width: 220px;
  height: 220px;
  background: rgba(161, 106, 251, 0.44);
}

.bio-orb-b {
  right: -80px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  background: rgba(237, 95, 247, 0.28);
  animation-delay: 1.4s;
}

@keyframes bio-float {
  50% { transform: translateY(-10px); }
}

@media (max-width: 640px) {
  .bio-page {
    padding: 2.6rem 1.1rem 2.1rem;
  }

  .bio-card {
    padding: 1.55rem 1.3rem 1.3rem;
  }

  .bio-link {
    min-width: 0;
    overflow: hidden;
    padding: 0.85rem 1rem;
  }

  .bio-link-label {
    min-width: 0;
    overflow: hidden;
  }

  .bio-link-label-second {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bio-footer-logo img {
    width: min(140px, 38vw);
    max-height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bio-orb {
    animation: none;
  }
}
