:root {
  --page-bg: #020817;
  --text: #e6f1ff;
  --muted: #9ab4d6;
  --accent: #7bc8ff;
  --accent-strong: #2563eb;
  --surface: rgba(7, 18, 36, 0.8);
  --surface-strong: rgba(10, 24, 48, 0.92);
  --surface-border: rgba(123, 200, 255, 0.16);
  --shadow: 0 24px 80px rgba(1, 8, 20, 0.48);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(37, 99, 235, 0.16), transparent 38%),
    linear-gradient(180deg, #061225 0%, #030817 100%);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-background__image,
.page-background__wash,
.page-background__glow {
  position: absolute;
  inset: 0;
}

.page-background__image {
  background-image: url("./assets/background-default.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(1.1);
  transform: scale(1.04);
}

.page-background__wash {
  background:
    linear-gradient(180deg, rgba(2, 8, 23, 0.22) 0%, rgba(2, 8, 23, 0.78) 100%),
    radial-gradient(circle at 50% 10%, rgba(59, 130, 246, 0.12), transparent 48%);
}

.page-background__glow {
  filter: blur(70px);
  opacity: 0.7;
}

.page-background__glow--left {
  left: -10%;
  top: 8%;
  width: 24rem;
  height: 24rem;
  background: rgba(59, 130, 246, 0.2);
}

.page-background__glow--right {
  inset: auto 0 6% auto;
  width: 22rem;
  height: 22rem;
  background: rgba(14, 165, 233, 0.16);
}

.page-shell {
  position: relative;
  min-height: 100vh;
  padding: 32px 18px;
  display: grid;
  place-items: center;
}

.card {
  width: min(100%, 34rem);
  border: 1px solid var(--surface-border);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card__inner {
  padding: 28px;
}

.profile {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.profile__image {
  width: 124px;
  height: 124px;
  border-radius: 999px;
  border: 3px solid rgba(123, 200, 255, 0.45);
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(2, 8, 23, 0.4);
  background: var(--surface-strong);
}

.profile__copy {
  display: grid;
  gap: 8px;
}

.profile__kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.profile__name {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.profile__headline {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.links {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.link-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid rgba(123, 200, 255, 0.12);
  border-radius: 20px;
  background: rgba(9, 20, 40, 0.72);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.link-row:hover,
.link-row:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(123, 200, 255, 0.34);
  background: rgba(13, 28, 54, 0.92);
}

.link-row:focus-visible {
  outline: 2px solid rgba(123, 200, 255, 0.4);
  outline-offset: 2px;
}

.link-row__icon,
.link-row__arrow {
  display: grid;
  place-items: center;
}

.link-row__icon {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(123, 200, 255, 0.18), rgba(37, 99, 235, 0.14)),
    rgba(12, 25, 48, 0.86);
  color: var(--accent);
}

.link-row__icon svg,
.link-row__arrow svg {
  width: 1.25rem;
  height: 1.25rem;
}

.link-row__body {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.link-row__label {
  font-weight: 700;
}

.link-row__meta {
  color: var(--muted);
  font-size: 0.92rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-row__arrow {
  color: rgba(230, 241, 255, 0.78);
}

.status {
  padding: 22px;
  border-radius: 20px;
  background: rgba(12, 25, 48, 0.86);
  border: 1px solid rgba(123, 200, 255, 0.12);
  text-align: center;
  color: var(--muted);
}

@media (max-width: 640px) {
  .page-shell {
    padding: 18px 14px;
  }

  .card__inner {
    padding: 22px;
  }

  .profile__image {
    width: 108px;
    height: 108px;
  }

  .link-row {
    padding: 14px;
  }

  .link-row__meta {
    white-space: normal;
  }
}
