:root {
  --cream: #fffaf7;
  --blush: #f7eee9;
  --rose: #c97b84;
  --rose-dark: #a75965;
  --cocoa: #503d3b;
  --muted: #846f6b;
  --terracotta: #b86f57;
  --white: #ffffff;
  --line: rgba(80, 61, 59, 0.1);
  --shadow: 0 22px 60px rgba(93, 62, 58, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--blush);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--cocoa);
  font-family: ui-rounded, "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.95) 0 9%, transparent 32%),
    radial-gradient(circle at 89% 20%, rgba(201, 123, 132, 0.16) 0 8%, transparent 28%),
    linear-gradient(145deg, #fff9f6 0%, #f5e6e1 55%, #efddd7 100%);
}

body::before,
body::after {
  position: fixed;
  z-index: 0;
  color: rgba(167, 89, 101, 0.08);
  font-size: clamp(4rem, 14vw, 9rem);
  pointer-events: none;
  content: "🐾";
  filter: grayscale(1);
}

body::before {
  top: -1.5rem;
  left: -1.5rem;
  transform: rotate(-22deg);
}

body::after {
  right: -1.5rem;
  bottom: -2.5rem;
  transform: rotate(18deg);
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 22px 14px;
}

.profile-card {
  width: min(100%, 510px);
  padding: 26px 18px 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 30px;
  background: rgba(255, 250, 247, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.adult-badge {
  display: flex;
  width: max-content;
  margin: 0 0 22px auto;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(167, 89, 101, 0.14);
  border-radius: 999px;
  color: var(--rose-dark);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 3px rgba(201, 123, 132, 0.14);
}

.avatar {
  position: relative;
  width: 92px;
  height: 92px;
  margin: -8px auto 17px;
  border: 5px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  box-shadow: 0 12px 25px rgba(167, 89, 101, 0.24);
}

.avatar-photo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: 54% 55%;
}

.hero-copy {
  text-align: center;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--rose-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--cocoa);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.12rem, 9vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.handle {
  margin: 9px 0 0;
  color: var(--rose-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.tagline {
  margin: 17px auto 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.details {
  margin: 6px 0 22px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.details span {
  margin: 0 4px;
  color: var(--rose);
}

.link-list {
  display: grid;
  gap: 10px;
}

.link-button {
  display: grid;
  min-height: 68px;
  grid-template-columns: 40px 1fr 24px;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 5px 15px rgba(80, 61, 59, 0.05);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.link-button:hover {
  border-color: rgba(201, 123, 132, 0.38);
  box-shadow: 0 10px 23px rgba(80, 61, 59, 0.1);
  transform: translateY(-2px);
}

.link-button:active {
  transform: scale(0.985);
}

.link-button:focus-visible {
  outline: 3px solid rgba(201, 123, 132, 0.35);
  outline-offset: 3px;
}

.link-button--featured {
  border-color: transparent;
  color: var(--white);
  background: linear-gradient(120deg, var(--rose-dark), var(--terracotta));
  box-shadow: 0 10px 24px rgba(167, 89, 101, 0.25);
}

.link-button--featured:hover {
  border-color: transparent;
  box-shadow: 0 13px 28px rgba(167, 89, 101, 0.31);
}

.link-button--gift {
  border-color: rgba(184, 111, 87, 0.2);
  background: #fbf0e9;
}

.link-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  background: rgba(247, 238, 233, 0.86);
  font-size: 1.05rem;
}

.link-button--featured .link-icon {
  background: rgba(255, 255, 255, 0.16);
}

.platform-icon {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.platform-icon--fansly {
  background: url("icons/fansly.svg") left center / auto 20px no-repeat;
}

.link-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.link-copy strong {
  font-size: 0.94rem;
  line-height: 1.2;
}

.link-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-button--featured .link-copy small {
  color: rgba(255, 255, 255, 0.78);
}

.link-arrow {
  color: var(--rose-dark);
  font-size: 1rem;
  text-align: right;
}

.link-button--featured .link-arrow {
  color: rgba(255, 255, 255, 0.82);
}

footer {
  margin-top: 24px;
  color: var(--muted);
  text-align: center;
}

footer p {
  margin: 0;
}

footer > p:first-child {
  color: var(--cocoa);
  font-size: 0.78rem;
  font-weight: 700;
}

.fine-print {
  max-width: 370px;
  margin: 9px auto 0;
  font-size: 0.64rem;
  line-height: 1.5;
}

.copyright {
  margin-top: 8px;
  font-size: 0.62rem;
}

@media (min-width: 520px) {
  .page-shell {
    padding: 38px 20px;
  }

  .profile-card {
    padding: 30px 30px 28px;
  }
}

@media (max-width: 370px) {
  .profile-card {
    padding-inline: 13px;
    border-radius: 24px;
  }

  .link-button {
    padding-inline: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .link-button {
    transition: none;
  }
}
