:root {
  --card-fg: #f5f7fa;
  --tagline-fg: #b7c2d0;
  --bio-fg: #b7c2d0;
  --link-fg: #7ea2f2;
  --link-fg-hover: #a5c0f7;
  --avatar-ring: rgba(126, 162, 242, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--card-fg);
  background-color: #0b1220;
  background-image: url("images/BG.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.card {
  width: 100%;
  max-width: 620px;
}

.identity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.avatar {
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--avatar-ring);
}

.name {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tagline {
  margin: 0 0 16px;
  font-size: 1.5rem;
  line-height: 1.35;
  font-weight: 400;
  color: var(--tagline-fg);
  white-space: normal;
}

@media (min-width: 600px) {
  .tagline {
    white-space: nowrap;
  }
}

.bio {
  margin: 0 0 28px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--bio-fg);
}

.bio a,
.links a {
  color: var(--link-fg);
  text-decoration: none;
}

.bio a:hover,
.bio a:focus-visible,
.links a:hover,
.links a:focus-visible {
  color: var(--link-fg-hover);
  text-decoration: underline;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 1.05rem;
  font-weight: 500;
}

@media (max-width: 480px) {
  .name {
    font-size: 1.3rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

  .bio,
  .links {
    font-size: 1rem;
  }

  .links {
    gap: 8px 18px;
  }
}
