/* ============================================================
   Kimberly Glass — Links  ·  v2 "Neon Glass"
   A modern, dark, premium link-in-bio. No paper, no scrapbook —
   glass cards, neon glow, clean document flow (no hit-zone hacks).
   ============================================================ */

:root {
  /* Surface */
  --bg:        #0a0710;
  --bg-2:      #150c1c;
  --card:      rgba(255, 255, 255, 0.045);
  --card-hi:   rgba(255, 255, 255, 0.085);
  --stroke:    rgba(255, 255, 255, 0.10);
  --stroke-hi: rgba(255, 255, 255, 0.22);

  /* Ink */
  --text:      #f6eef6;
  --muted:     #b7a4c4;
  --faint:     #7e6f8e;

  /* Brand neon */
  --pink:      #ff2ba5;
  --pink-deep: #e5097f;
  --violet:    #a855f7;
  --cyan:      #1fd4e6;

  /* Brand glyph colors */
  --c-fet:     #ff3163;
  --onlyfans:  #00aff0;

  --radius:    20px;
  --radius-sm: 15px;
  --shadow:    0 18px 40px -22px rgba(0,0,0,0.85);
  --maxw:      460px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ---------- Ambient neon backdrop ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, var(--bg-2), var(--bg) 60%);
}
.aurora__blob {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  will-change: transform;
}
.aurora__blob--pink   { background: var(--pink);   top: -28vmax; left: -22vmax; animation: drift1 26s var(--ease) infinite alternate; }
.aurora__blob--violet { background: var(--violet); bottom: -34vmax; right: -24vmax; opacity: .38; animation: drift2 32s var(--ease) infinite alternate; }
.aurora__blob--cyan   { background: var(--cyan);   top: 38%; right: -30vmax; opacity: .20; animation: drift3 38s var(--ease) infinite alternate; }
.aurora__grain {
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

@keyframes drift1 { to { transform: translate(14vmax, 10vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-12vmax, -8vmax) scale(1.1); } }
@keyframes drift3 { to { transform: translate(-10vmax, 12vmax) scale(1.2); } }

/* ---------- Layout ---------- */
.wrap {
  width: min(100% - 36px, var(--maxw));
  margin-inline: auto;
  padding: clamp(40px, 9vh, 84px) 0 48px;
}

.section { margin-top: 30px; }

.section__label {
  margin: 0 0 12px;
  padding-left: 4px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
}
.section__note {
  margin: -4px 4px 14px;
  font-size: .84rem;
  line-height: 1.45;
  color: var(--muted);
}
.section__note em { font-style: normal; font-weight: 600; color: var(--pink); }

/* ---------- Profile ---------- */
.profile { text-align: center; }

.avatar {
  position: relative;
  width: 118px;
  height: 118px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
}
.avatar__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 210deg, var(--pink), var(--violet), var(--cyan), var(--pink));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  box-shadow: 0 0 38px -6px rgba(255,43,165,.55);
}
.avatar__photo {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  background: #120a18;
}
.avatar__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile__name {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.85rem, 7vw, 2.4rem);
  letter-spacing: -0.01em;
  line-height: 1.05;
  background: linear-gradient(92deg, #fff 30%, #ffd9ef 70%, #d9b8ff);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.profile__handle {
  margin: 8px 0 0;
  font-size: .94rem;
  font-weight: 500;
  color: var(--pink);
}
.profile__bio {
  margin: 14px auto 0;
  max-width: 21em;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text);
}
.profile__bio em { font-style: normal; font-weight: 700; color: var(--pink); }
.profile__collective {
  margin: 9px auto 0;
  max-width: 24em;
  font-size: .9rem;
  line-height: 1.45;
  color: var(--muted);
}
/* Featured brand creed — normalization / de-stigmatization tagline. */
.profile__creed {
  margin: 15px 0 0;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.12rem;
  letter-spacing: .01em;
  color: var(--pink);
}
.profile__meta {
  margin: 14px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: var(--card);
  font-size: .8rem;
  color: var(--muted);
}
.pin { width: 14px; height: 14px; fill: none; stroke: var(--cyan); stroke-width: 1.7; }
.dot { color: var(--faint); }

/* ---------- Featured: the two OnlyFans membership cards ---------- */
.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 18px;
  margin-bottom: 13px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.feature__head { display: flex; align-items: center; gap: 14px; }
.feature__icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(150deg, #2ec2ff, var(--onlyfans));
  box-shadow: 0 8px 22px -8px rgba(0,175,240,.85);
}
.feature__icon svg { width: 33px; height: 33px; fill: #fff; overflow: visible; }
.feature__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.feature__brand {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--onlyfans);
}
.feature__title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
}
.feature__benefits {
  margin: 0;
  font-size: .84rem;
  line-height: 1.4;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feature__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.feature__price { display: flex; align-items: baseline; gap: 8px; }
.feature__was { color: var(--faint); text-decoration: line-through; font-size: .92rem; }
.feature__now { font-size: 1.28rem; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.feature__per { font-size: .8rem; font-weight: 600; color: var(--muted); }
.feature__deal { font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--pink); }
.feature__cta {
  flex: none;
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700; font-size: .9rem; color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  box-shadow: 0 12px 28px -12px rgba(255,43,165,.85);
  transition: transform .2s var(--ease), filter .2s var(--ease);
}

/* The flagship money card — the page's one elevated moment.
   (When a second tier returns, it takes --primary and the other gets --quiet.) */
.feature--primary {
  padding: 22px 20px;
  border-color: var(--pink);
  box-shadow: var(--shadow), 0 0 55px -20px rgba(255,43,165,.6), inset 0 1px 0 rgba(255,255,255,.08);
}
.feature--primary .feature__title { font-size: 1.28rem; }

/* Quiet secondary card — ghost CTA keeps the emphasis on the primary. */
.feature--quiet { background: var(--card); }
.feature--quiet .feature__cta {
  color: var(--text);
  background: transparent;
  border-color: var(--stroke-hi);
  box-shadow: none;
}

/* ---------- Teaser peek (tasteful, links to the OF feed) ---------- */
.teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 13px;
}
.teaser__tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: #14101a;
  transition: border-color .22s var(--ease), transform .22s var(--ease);
}
.teaser__tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.teaser__lock {
  position: absolute; inset: 0;
  display: grid; place-items: end center;
  padding-bottom: 10px;
  background: linear-gradient(180deg, transparent 45%, rgba(6,3,10,.6));
}
.teaser__lock svg { width: 20px; height: 20px; fill: #fff; opacity: .95; filter: drop-shadow(0 2px 6px rgba(0,0,0,.7)); }
@media (hover: hover) {
  .teaser:hover .teaser__tile { border-color: var(--pink); }
  .teaser:hover .teaser__tile { transform: translateY(-2px); }
}
.teaser:active .teaser__tile { transform: scale(.99); }

/* ---------- Socials ---------- */
.links { display: flex; flex-direction: column; gap: 10px; }
.link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  background: var(--card);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}
.link__chip {
  flex: none; width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  color: #fff;
  background: #2a2030;
}
.link__chip svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.link__chip--ig     { background: linear-gradient(135deg,#feda75,#fa7e1e 28%,#d62976 58%,#962fbf 78%,#4f5bd5); }
.link__chip--fet    { background: linear-gradient(135deg,#ff3163,#b6005a); }
.link__chip--fet svg { fill: #fff; stroke: none; }
.link__chip--kick   { background: #53fc18; }
.link__chip--kick svg { fill: #0e0e10; stroke: none; }
/* Tip lives here now (demoted from a featured card) — deliberately quiet: the
   default dark chip, no loud green. */
.link__chip--cash svg { fill: #fff; stroke: none; }

/* ---------- "More places" expander ---------- */
.more { margin-top: 10px; }
.more > summary {
  list-style: none;
  cursor: pointer;
  padding: 11px 15px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--muted);
  font-size: .82rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .22s var(--ease);
}
.more[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.more[open] > summary { color: var(--text); border-color: var(--stroke-hi); margin-bottom: 10px; }
@media (hover: hover) { .more > summary:hover { color: var(--text); border-color: var(--stroke-hi); } }
.link__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; flex: 1; }
.link__text strong { font-size: .95rem; font-weight: 600; }
.link__text small { font-size: .78rem; color: var(--faint); }
.link__go { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--faint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .22s var(--ease), transform .22s var(--ease); }

/* ---------- Hover / press (pointer devices) ---------- */
@media (hover: hover) {
  .feature:hover { transform: translateY(-3px); border-color: var(--pink); box-shadow: 0 26px 50px -26px rgba(255,43,165,.7), inset 0 1px 0 rgba(255,255,255,.08); }
  .feature:hover .feature__cta { filter: brightness(1.08); transform: translateX(2px); }
  .link:hover { transform: translateY(-2px); border-color: var(--stroke-hi); background: var(--card-hi); }
  .link:hover .link__go { stroke: var(--pink); transform: translate(2px,-2px); }
}
.feature:active, .link:active { transform: scale(.985); }
:where(a, button):focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: var(--radius-sm); }

/* ---------- Footer ---------- */
.footer { margin-top: 38px; text-align: center; color: var(--faint); }
.footer__consent {
  margin: 0 auto 16px;
  max-width: 26em;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--faint);
}
.footer__line { margin: 0; font-size: .82rem; letter-spacing: .02em; }
.footer__legal { margin: 8px 0 0; font-size: .76rem; display: flex; gap: 8px; justify-content: center; }
.footer__legal a { color: var(--faint); transition: color .2s; }
.footer__legal a:hover { color: var(--muted); }

/* ---------- 18+ gate ---------- */
/* Gate is open-by-default in HTML; CSS hides it for verified visitors
   and guarantees content is hidden while it shows (fail closed, no JS needed). */
.age-ok #age-gate { display: none; }
html:not(.age-ok) body > .wrap,
html:not(.age-ok) body > .aurora { visibility: hidden; }
.age-ok body > .wrap, .age-ok body > .aurora { visibility: visible; }

/* The dialog paints from the first frame, over hidden content. Because a non-modal
   open dialog has no ::backdrop, the scrim lives on .gate itself. */
.gate {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  border: none; margin: 0; padding: 0;
  max-width: none; width: 100%; height: 100%;
  color: var(--text);
  background: rgba(6,3,10,.96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.gate__card {
  position: relative;
  width: calc(100% - 36px); max-width: 380px;
  text-align: center;
  padding: 34px 26px 26px;
  border: 1px solid var(--stroke-hi);
  border-radius: 24px;
  background: linear-gradient(180deg, #1b1022, #120a17);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 60px -20px rgba(255,43,165,.4);
}
.gate__badge {
  display: inline-grid; place-items: center;
  width: 58px; height: 58px; margin-bottom: 14px;
  border-radius: 50%;
  font-family: "Fraunces", serif; font-weight: 700; font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(150deg, var(--pink), var(--violet));
  box-shadow: 0 10px 30px -8px rgba(255,43,165,.7);
}
.gate__title { margin: 0; font-family: "Fraunces", serif; font-size: 1.5rem; font-weight: 600; }
.gate__desc { margin: 10px 0 22px; font-size: .9rem; color: var(--muted); }
.gate__desc a { color: var(--pink); text-decoration: underline; text-underline-offset: 2px; }
.gate__actions { display: flex; flex-direction: column; gap: 10px; }

/* In-app browser escape hatch (IG/Reddit/etc. webviews) */
.inapp-tip {
  margin: 0 0 14px;
  padding: 10px 14px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.4;
}

.btn {
  width: 100%;
  padding: 13px 18px;
  border-radius: 13px;
  border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: .95rem;
  cursor: pointer;
  transition: transform .18s var(--ease), filter .18s var(--ease), background .18s;
}
.btn--primary { color: #fff; background: linear-gradient(135deg, var(--pink), var(--violet)); box-shadow: 0 12px 30px -10px rgba(255,43,165,.8); }
.btn--ghost { color: var(--muted); background: transparent; border-color: var(--stroke-hi); }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(.97); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: calc(26px + env(safe-area-inset-bottom));
  transform: translate(-50%, 18px);
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(20,12,26,.92);
  border: 1px solid var(--stroke-hi);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--text);
  font-size: .85rem; font-weight: 500;
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease);
  z-index: 50;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Skip link ---------- */
.skip {
  position: fixed; top: 8px; left: 50%;
  transform: translate(-50%, -150%);
  padding: 9px 16px; border-radius: 999px;
  background: var(--pink); color: #fff; font-size: .85rem; font-weight: 600;
  z-index: 60; transition: transform .2s var(--ease);
}
.skip:focus { transform: translate(-50%, 0); }

/* ---------- Entrance reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); animation: reveal .7s var(--ease) forwards; }
.wrap > .reveal:nth-child(1) { animation-delay: .05s; }  /* profile */
.wrap > .reveal:nth-child(2) { animation-delay: .13s; }  /* offers */
.wrap > .reveal:nth-child(3) { animation-delay: .21s; }  /* socials */
.wrap > .reveal:nth-child(4) { animation-delay: .29s; }  /* tip */
.wrap > .reveal:nth-child(5) { animation-delay: .37s; }  /* footer */

@keyframes reveal { to { opacity: 1; transform: none; } }

/* ---------- Motion / contrast preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .aurora__blob { animation: none; }
  .reveal { animation: none; opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
