:root {
  --pink-950: #65152f;
  --pink-800: #9f2450;
  --pink-650: #c92f68;
  --pink-500: #e65387;
  --pink-200: #fac4d7;
  --pink-100: #ffe3ec;
  --cream: #fff9f7;
  --white: #ffffff;
  --ink: #3f1d2a;
  --muted: #805766;
  --shadow: 0 15px 40px rgba(101, 21, 47, .14);
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--cream); }

body {
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  font-family: "Trebuchet MS", Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 3%, rgba(255,255,255,.9) 0 4%, transparent 26%),
    radial-gradient(circle at 90% 28%, rgba(255,255,255,.45) 0 3%, transparent 22%),
    linear-gradient(160deg, #ffd9e6 0%, #fff5f2 50%, #fbc3d7 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

body::before { width: 190px; height: 190px; top: -85px; right: -65px; background: rgba(201,47,104,.16); }
body::after { width: 140px; height: 140px; bottom: -70px; left: -50px; background: rgba(230,83,135,.14); }

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  min-height: 100svh;
  margin: 0 auto;
  padding: max(30px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

.profile { text-align: center; animation: rise .65s ease both; }

.brand-logo {
  display: block;
  width: min(64vw, 230px);
  height: auto;
  margin: -14px auto 5px;
  filter: drop-shadow(0 10px 18px rgba(101, 21, 47, .13));
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.eyebrow { margin: 0 0 5px; color: var(--pink-800); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.tagline { max-width: 360px; margin: 8px auto 24px; color: var(--muted); font-size: 14px; line-height: 1.5; }

.links { display: grid; gap: 12px; }

.link-card {
  min-height: 70px;
  padding: 11px 14px;
  border: 1px solid rgba(201,47,104,.12);
  border-radius: 19px;
  display: grid;
  grid-template-columns: 45px 1fr 24px;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255,255,255,.82);
  box-shadow: 0 7px 24px rgba(101,21,47,.07);
  backdrop-filter: blur(10px);
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  animation: rise .55s ease both;
}

.link-card:nth-child(2) { animation-delay: .06s; }
.link-card:nth-child(3) { animation-delay: .12s; }
.link-card:nth-child(4) { animation-delay: .18s; }
.link-card:nth-child(5) { animation-delay: .24s; }
.link-card:hover { transform: translateY(-2px); border-color: rgba(201,47,104,.32); box-shadow: var(--shadow); }
.link-card:active { transform: scale(.985); }
.link-card:focus-visible { outline: 3px solid var(--pink-200); outline-offset: 3px; }

.link-card.featured {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(120deg, var(--pink-800), var(--pink-500));
  box-shadow: 0 12px 30px rgba(159,36,80,.25);
}

.link-icon { width: 45px; height: 45px; border-radius: 14px; display: grid; place-items: center; color: var(--pink-800); background: var(--pink-100); font-size: 21px; font-family: Arial, sans-serif; }
.featured .link-icon { color: var(--white); background: rgba(255,255,255,.18); }
.link-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.link-copy strong { font-size: 14px; line-height: 1.2; }
.link-copy small { color: var(--muted); font-size: 11px; }
.featured .link-copy small { color: rgba(255,255,255,.78); }
.link-arrow { font-size: 27px; line-height: 1; text-align: center; opacity: .75; }
.link-card.disabled { opacity: .58; cursor: default; box-shadow: none; }
.link-card.disabled .link-icon { filter: grayscale(.3); }

.trust-note { margin: 22px 0 12px; color: var(--pink-800); text-align: center; font: italic 13px Georgia, serif; }
.trust-note span { color: var(--pink-500); }

footer { margin-top: auto; padding-top: 10px; display: flex; justify-content: center; gap: 7px; color: var(--muted); font-size: 10px; }
footer p { margin: 0; }
footer a { color: var(--pink-800); text-decoration: none; }

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

@media (min-width: 700px) {
  body { padding: 32px 0; }
  .page-shell { min-height: calc(100svh - 64px); padding: 34px 34px 24px; border: 1px solid rgba(255,255,255,.75); border-radius: 32px; background: rgba(255,250,249,.42); box-shadow: 0 24px 80px rgba(101,21,47,.14); }
}

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