*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #120e14;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5eef2;
  --text-muted: rgba(245, 238, 242, 0.62);
  --accent: #e8a4b8;
  --accent-soft: #c9a87c;
  --glow-rose: rgba(232, 164, 184, 0.35);
  --glow-gold: rgba(201, 168, 124, 0.2);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --radius: 16px;
  --max-w: 420px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--glow-rose), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 60%, var(--glow-gold), transparent 50%),
    radial-gradient(ellipse 50% 35% at 0% 80%, rgba(180, 120, 160, 0.15), transparent 45%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  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");
}

.page {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max-w));
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero */
.hero {
  text-align: center;
  margin-bottom: 2rem;
}

.avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.avatar-ring {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft), var(--accent));
  box-shadow:
    0 0 40px var(--glow-rose),
    0 8px 32px rgba(0, 0, 0, 0.4);
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #1e1620;
}

.avatar-fallback {
  display: none;
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--accent);
  background: linear-gradient(160deg, #2a1f28 0%, #1a1218 100%);
}

.avatar-fallback.visible {
  display: flex;
}

.status-dot {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #7dd87d;
  border: 2px solid var(--bg);
  box-shadow: 0 0 8px rgba(125, 216, 125, 0.5);
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 0.35rem;
}

.name {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 10vw, 3.5rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.1;
  background: linear-gradient(180deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 22rem;
  margin: 0 auto;
  line-height: 1.65;
  text-wrap: balance;
}

/* Links */
.links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.links .link-card:nth-child(1) { animation-delay: 0.15s; }
.links .link-card:nth-child(2) { animation-delay: 0.25s; }
.links .link-card:nth-child(3) { animation-delay: 0.35s; }

.link-card {
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s,
    box-shadow 0.25s,
    background 0.25s;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  outline: none;
}

.link-card:active {
  transform: scale(0.98);
}

.link-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.link-icon svg {
  width: 22px;
  height: 22px;
}

.link-text {
  flex: 1;
  text-align: left;
  min-width: 0;
}

.link-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.link-handle {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.link-arrow {
  font-size: 1.1rem;
  opacity: 0.4;
  transition: transform 0.25s, opacity 0.25s;
}

.link-card:hover .link-arrow {
  transform: translateX(4px);
  opacity: 0.9;
}

.link-instagram:hover {
  border-color: rgba(225, 48, 108, 0.35);
  background: rgba(225, 48, 108, 0.08);
}

.link-instagram .link-icon {
  color: #f77737;
}

.link-tiktok:hover {
  border-color: rgba(0, 242, 234, 0.25);
  background: rgba(0, 242, 234, 0.06);
}

.link-tiktok .link-icon {
  color: #00f2ea;
}

.link-youtube:hover {
  border-color: rgba(255, 0, 0, 0.3);
  background: rgba(255, 0, 0, 0.08);
}

.link-youtube .link-icon {
  color: #ff4444;
}

/* CTA */
.cta {
  text-align: center;
  margin-bottom: 2rem;
}

.cta-btn {
  display: inline-block;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  color: var(--bg);
  background: linear-gradient(135deg, var(--accent) 0%, #d4a0a8 50%, var(--accent-soft) 100%);
  border-radius: 999px;
  box-shadow: 0 4px 24px var(--glow-rose);
  transition: transform 0.25s, box-shadow 0.25s;
}

.cta-btn:hover,
.cta-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--glow-rose);
  outline: none;
}

/* Footer */
.footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .page,
  .link-card,
  .cta-btn {
    animation: none;
    transition: none;
  }
}
