:root {
  color-scheme: dark;
  --bg: #050608;
  --panel: rgba(14, 17, 24, 0.9);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #f4f7fb;
  --muted: #a7b0be;
  --blue: #4a8df7;
  --blue-deep: #2f6fe0;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(74, 141, 247, 0.15), transparent 30%),
    radial-gradient(circle at bottom, rgba(47, 111, 224, 0.12), transparent 26%),
    linear-gradient(180deg, #050608 0%, #07090d 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black, transparent 88%);
  opacity: 0.35;
}

.page-shell {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.profile-card {
  position: relative;
  width: min(100%, 560px);
  padding: 40px 28px 26px;
  border: 1px solid var(--panel-border);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(16, 19, 27, 0.96), rgba(8, 10, 14, 0.98));
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
}

.backdrop {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.backdrop-a {
  width: 240px;
  height: 240px;
  top: -90px;
  right: -80px;
  background: rgba(74, 141, 247, 0.14);
}

.backdrop-b {
  width: 180px;
  height: 180px;
  left: -80px;
  bottom: -50px;
  background: rgba(47, 111, 224, 0.09);
}

.profile-header {
  position: relative;
  z-index: 1;
}

.avatar {
  width: 148px;
  height: 148px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid rgba(74, 141, 247, 0.85);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), transparent 36%),
    linear-gradient(180deg, rgba(18, 22, 31, 0.98), rgba(9, 12, 18, 0.98));
  box-shadow:
    0 0 0 8px rgba(74, 141, 247, 0.08),
    0 0 35px rgba(74, 141, 247, 0.32);
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.subtitle {
  margin: 14px auto 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.social-links {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 28px 0 28px;
}

.social-link {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.social-link svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-link:hover {
  transform: translateY(-2px);
  background: rgba(74, 141, 247, 0.12);
  border-color: rgba(74, 141, 247, 0.22);
}

.cta-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.cta-card {
  display: block;
  padding: 18px 20px;
  border-radius: 22px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.cta-card:hover {
  transform: translateY(-2px);
  border-color: rgba(74, 141, 247, 0.28);
  background: rgba(74, 141, 247, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 30px rgba(0, 0, 0, 0.25);
}

.cta-title {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-copy {
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(244, 247, 251, 0.8);
}

.cta-card:not(.primary) .cta-copy {
  color: var(--muted);
}

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: rgba(167, 176, 190, 0.78);
  font-size: 0.88rem;
}

.footer-dot {
  opacity: 0.5;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

  .profile-card {
    padding: 30px 18px 20px;
    border-radius: 26px;
  }

  .avatar {
    width: 132px;
    height: 132px;
    margin-bottom: 18px;
  }

  .social-links {
    gap: 12px;
    margin: 24px 0;
  }

  .social-link {
    width: 48px;
    height: 48px;
  }

  .cta-card {
    padding: 16px 16px;
    border-radius: 18px;
  }

  .cta-title {
    font-size: 1rem;
  }

  .cta-copy {
    font-size: 0.88rem;
  }
}
