*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-deep: #1a0f14;
  --bg-mid: #2d1824;
  --rose: #e8a4b8;
  --rose-light: #f5d0dc;
  --gold: #d4a574;
  --cream: #faf6f2;
  --text-muted: rgba(250, 246, 242, 0.65);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--cream);
  background: var(--bg-deep);
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(232, 164, 184, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 80%, rgba(212, 165, 116, 0.2), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 60%, rgba(45, 24, 36, 0.9), transparent 60%),
    linear-gradient(165deg, var(--bg-deep) 0%, var(--bg-mid) 45%, #1f1218 100%);
  pointer-events: none;
}

.bg-grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 2.5rem 1.5rem 2rem;
  max-width: 28rem;
  margin: 0 auto;
  text-align: center;
}

.hero {
  animation: fadeUp 0.9s ease-out both;
}

.avatar-wrap {
  position: relative;
  width: min(14rem, 78vw);
  margin: 0 auto 1.75rem;
}

.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 1.35rem;
  background: conic-gradient(
    from 200deg,
    var(--gold),
    var(--rose),
    var(--rose-light),
    var(--gold)
  );
  animation: spin 12s linear infinite;
  opacity: 0.85;
}

.avatar {
  position: relative;
  width: 100%;
  border-radius: 1.25rem;
  background: linear-gradient(145deg, #3d2430 0%, #2a1620 100%);
  border: 3px solid var(--bg-deep);
  overflow: hidden;
  line-height: 0;
}

.avatar-initials {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--rose-light);
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 10vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.tagline {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1.25rem;
}

.bio {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 22rem;
  margin: 0 auto;
}

.links {
  width: 100%;
  margin-top: 2.25rem;
  animation: fadeUp 0.9s 0.15s ease-out both;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--cream) 0%, var(--rose-light) 100%);
  border: none;
  border-radius: 999px;
  box-shadow:
    0 4px 24px rgba(232, 164, 184, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.4) inset;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  cursor: pointer;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 8px 32px rgba(232, 164, 184, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.5) inset;
  background: linear-gradient(135deg, #fff 0%, var(--rose-light) 100%);
  outline: none;
}

.cta:active {
  transform: translateY(0);
}

.cta-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.cta:hover .cta-arrow,
.cta:focus-visible .cta-arrow {
  transform: translateX(4px);
}

.footer {
  margin-top: auto;
  padding-top: 2.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  animation: fadeUp 0.9s 0.3s ease-out both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .links,
  .footer {
    animation: none;
  }

  .avatar-ring {
    animation: none;
  }

  .cta,
  .cta-arrow {
    transition: none;
  }
}

.avatar-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}

