:root {
  --font-sans: "Plus Jakarta Sans", sans-serif;
  --background: oklch(0.146 0.005 286);
  --foreground: oklch(0.97 0.002 286);
  --subtle: oklch(0.4 0.006 286);
  --profile-copy: oklch(0.77 0.007 286);
  --profile-glow: oklch(0.32 0.035 55 / 0.17);
  --profile-edge: oklch(1 0 0 / 0.15);
  --profile-shadow: 0 12px 40px oklch(0 0 0 / 0.25);
  --cta-shadow: 0 6px 28px oklch(1 0 0 / 0.06);
  --shimmer: oklch(0.7 0 0 / 0.12);
  --primary: oklch(1 0 0);
  --primary-foreground: oklch(0.146 0.005 286);
  --muted-foreground: oklch(0.66 0.007 286);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-sans); line-height: 1.5; }
h1, p { margin: 0; }
img { display: block; }
.profile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  padding: 0 16px;
  font-weight: 500;
  text-decoration: none;
}
.profile-cta:focus-visible { outline: 2px solid var(--foreground); outline-offset: 4px; }
.profile-cta-inner > span { min-width: 0; }
.profile-cta-inner svg { width: 16px; height: 16px; }
.profile-cta-title, .profile-cta-subtitle { display: block; }

.profile-page {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 28px 20px 24px;
  background:
    radial-gradient(ellipse at 50% 38%, var(--profile-glow), transparent 55%), var(--background);
}
.profile-content {
  width: 100%;
  max-width: 420px;
  align-self: center;
  justify-self: center;
  text-align: center;
  padding-bottom: 16px;
  animation: profile-enter 300ms ease-out both;
}
.profile-avatar {
  width: 116px;
  height: 116px;
  margin: 0 auto;
  border: 1px solid var(--profile-edge);
  border-radius: 50%;
  box-shadow: var(--profile-shadow);
  overflow: hidden;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 37%;
}
.profile-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}
.profile-handle {
  font-size: 13px;
  color: var(--muted-foreground);
  margin-top: 8px;
}
.profile-bio {
  font-size: 14px;
  line-height: 1.9;
  color: var(--profile-copy);
  margin: 28px auto 30px;
  max-width: 390px;
  text-wrap: pretty;
}
.profile-cta {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 16px;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--cta-shadow);
  transition:
    transform 150ms ease,
    opacity 150ms ease;
}
.profile-cta:hover {
  opacity: 0.93;
}
.profile-cta:active {
  transform: scale(0.98);
}
.profile-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(110deg, transparent 30%, var(--shimmer) 50%, transparent 70%);
  animation: cta-shimmer 6s ease-in-out infinite;
  pointer-events: none;
}
.profile-cta-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.profile-cta-title {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  white-space: normal;
}
.profile-cta-subtitle {
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 400;
  opacity: 0.6;
}
.profile-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 19px;
  font-size: 10px;
  color: var(--muted-foreground);
}
.profile-footer {
  text-align: center;
  font-size: 10px;
  color: var(--subtle);
  padding-top: 18px;
}
@keyframes profile-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes cta-shimmer {
  0%,
  65% {
    transform: translateX(-120%);
  }
  85%,
  100% {
    transform: translateX(120%);
  }
}
@media (max-width: 640px) {
  .profile-page {
    padding-inline: 0;
  }
  .profile-content {
    max-width: 380px;
    margin-inline: auto;
    padding-inline: 20px;
    align-self: start;
    padding-top: 20px;
  }
}
@media (max-height: 650px) {
  .profile-page {
    padding-top: 16px;
    padding-bottom: 14px;
  }
  .profile-bio {
    margin-top: 18px;
    margin-bottom: 20px;
    line-height: 1.7;
  }
  .profile-name {
    margin-top: 12px;
  }
}
@media (max-width: 640px) and (max-height: 650px) {
  .profile-content {
    padding-top: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .profile-content,
  .profile-cta::after {
    animation: none;
  }
  .profile-cta {
    transition: none;
  }
}
