:root {
  --ink: #342c30;
  --muted: #766a70;
  --cream: #fffaf7;
  --peach: #f7cdbd;
  --pink: #edb9c6;
  --lilac: #cfc3e8;
  --sage: #cbd5bd;
  --line: rgba(52, 44, 48, 0.12);
  --shadow: 0 18px 45px rgba(93, 67, 77, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 5%, rgba(255, 220, 228, 0.85), transparent 32rem),
    radial-gradient(circle at 90% 28%, rgba(219, 210, 246, 0.8), transparent 30rem),
    linear-gradient(145deg, #fff8f4 0%, #faf5fb 52%, #f8f5ef 100%);
  font-family: "DM Sans", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.ambient {
  position: fixed;
  z-index: -1;
  width: 18rem;
  height: 18rem;
  border-radius: 45% 55% 60% 40%;
  filter: blur(2px);
  opacity: 0.35;
  pointer-events: none;
}

.ambient-one { top: -7rem; right: -6rem; background: var(--peach); transform: rotate(24deg); }
.ambient-two { bottom: -8rem; left: -7rem; background: var(--lilac); transform: rotate(-18deg); }

.page-shell {
  width: min(100% - 28px, 680px);
  margin: 0 auto;
  padding: 38px 0 48px;
}

.profile,
.featured,
.links-section {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 34px;
  background: rgba(255, 250, 247, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(15px);
}

.profile { padding: 48px 28px 32px; text-align: center; }

.profile::after {
  position: absolute;
  top: -62px;
  left: -62px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--pink);
  content: "";
  opacity: 0.28;
}

.share-button {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.share-button:hover { background: white; transform: rotate(-8deg) scale(1.05); }
.share-button svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.7; }

.avatar-wrap { position: relative; width: 116px; margin: 0 auto 20px; }
.avatar { display: block; width: 116px; height: 116px; border: 5px solid white; border-radius: 50%; object-fit: cover; box-shadow: 0 10px 25px rgba(75, 51, 61, 0.17); }
.status-dot { position: absolute; right: 8px; bottom: 7px; width: 19px; height: 19px; border: 4px solid white; border-radius: 50%; background: #81aa79; }

.eyebrow,
.section-kicker { margin: 0; color: #a26e7b; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
h1, h2 { font-family: "Playfair Display", serif; }
h1 { margin: 5px 0 0; font-size: clamp(2.15rem, 8vw, 3.1rem); line-height: 1.1; }
.handle { margin: 7px 0 12px; color: #9a6875; font-size: 0.92rem; font-weight: 600; }
.bio { max-width: 470px; margin: 0 auto; color: var(--muted); font-size: 0.99rem; }

.socials { display: flex; justify-content: center; gap: 10px; margin-top: 23px; }
#social-links { display: none; }
.social-link {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.social-link:hover { box-shadow: 0 8px 16px rgba(81,55,65,.12); transform: translateY(-3px); }
.social-link svg { width: 19px; height: 19px; fill: currentColor; }

.featured, .links-section { margin-top: 18px; padding: 28px; }
.featured { display: none; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.section-heading h2 { margin: 2px 0 0; font-size: 1.75rem; line-height: 1.2; }
.sparkle { color: #bd8895; font-size: 2rem; }

.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.feature-card { position: relative; overflow: hidden; min-width: 0; border-radius: 22px; background: white; text-decoration: none; box-shadow: 0 8px 20px rgba(86,60,70,.09); transition: transform 200ms ease, box-shadow 200ms ease; }
.feature-card:first-child { grid-column: 1 / -1; }
.feature-card:hover { box-shadow: 0 14px 28px rgba(86,60,70,.15); transform: translateY(-4px); }
.card-image { display: block; width: 100%; height: 160px; object-fit: cover; }
.feature-card:first-child .card-image { height: 225px; }
.card-copy { padding: 15px 16px 17px; }
.card-label { margin: 0 0 4px; color: #aa7481; font-size: .67rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.card-title { margin: 0; font-family: "Playfair Display", serif; font-size: 1.08rem; line-height: 1.25; }
.card-arrow { position: absolute; right: 13px; bottom: 13px; display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: #f8e4e8; font-size: .92rem; }
.card-copy:has(.card-arrow) { padding-right: 52px; }

.link-list { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr); gap: 11px; }
.main-link {
  display: flex;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 74px;
  padding: 12px 14px;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 20px;
  background: var(--link-color, #f6dfdc);
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease;
}
.main-link:hover { filter: saturate(1.08); transform: translateX(4px); }
.link-icon { display: grid; flex: 0 0 auto; width: 44px; height: 44px; place-items: center; border-radius: 15px; background: rgba(255,255,255,.64); font-size: 1.2rem; }
.link-icon img { width: 22px; height: 22px; opacity: .82; }
.link-icon img[src$="redgifs.svg"] { filter: brightness(0); opacity: 1; }
.link-copy { min-width: 0; flex: 1; }
.link-title { display: block; font-weight: 700; }
.link-description { display: block; margin-top: 2px; color: rgba(52,44,48,.68); font-size: .78rem; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; }
.link-chevron { flex: 0 0 auto; margin-right: 5px; font-size: 1.2rem; }

footer { padding: 33px 0 5px; color: var(--muted); text-align: center; }
.footer-flower { color: #b97a8b; font-size: 1.4rem; }
footer p { margin: 4px 0; font-size: .78rem; }
footer p span { color: #b26a7b; }
footer a { font-size: .72rem; text-underline-offset: 3px; }

.toast { position: fixed; bottom: 24px; left: 50%; z-index: 10; padding: 10px 17px; border-radius: 999px; color: white; background: var(--ink); box-shadow: 0 10px 25px rgba(0,0,0,.16); font-size: .83rem; opacity: 0; pointer-events: none; transform: translate(-50%, 15px); transition: opacity 180ms ease, transform 180ms ease; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 520px) {
  .page-shell { width: min(calc(100% - 20px), 680px); padding-top: 10px; }
  .profile, .featured, .links-section { border-radius: 27px; }
  .profile { padding: 42px 20px 27px; }
  .featured, .links-section { padding: 23px 17px; }
  .card-grid { gap: 10px; }
  .card-image { height: 125px; }
  .feature-card:first-child .card-image { height: 190px; }
  .card-copy { padding: 12px 12px 14px; }
  .card-title { font-size: .92rem; }
  .card-arrow { display: none; }
  .card-copy:has(.card-arrow) { padding-right: 12px; }
  .main-link:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
