:root {
  --bg: #0a0008;
  --bg-2: #14060f;
  --pink: #ff2d8e;
  --pink-soft: #ff7ac0;
  --magenta: #d40e7d;
  --text: #f3e9f1;
  --muted: #b89ab0;
  --card: rgba(28, 10, 24, 0.85);
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body { height: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(120% 80% at 50% -10%, #2a0820 0%, var(--bg-2) 45%, var(--bg) 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- Age gate ---------- */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 2, 6, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.age-gate.hidden { display: none; }

.age-card {
  width: 100%;
  max-width: 360px;
  background: var(--card);
  border: 1px solid rgba(255, 45, 142, 0.35);
  border-radius: var(--radius);
  padding: 32px 24px 26px;
  text-align: center;
  box-shadow: 0 0 60px rgba(212, 14, 125, 0.35);
}

.age-badge {
  display: inline-block;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--magenta));
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: 0 0 24px rgba(255, 45, 142, 0.6);
}

.age-title {
  font-size: 22px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.age-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 24px;
}
.age-text strong { color: var(--pink-soft); }

.age-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, filter 0.2s ease;
}
.age-btn:active { transform: scale(0.97); }

.age-btn--yes {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--magenta));
  box-shadow: 0 8px 24px rgba(212, 14, 125, 0.45);
  margin-bottom: 10px;
}
.age-btn--no {
  color: var(--muted);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ---------- Content ---------- */
.content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 24px 16px;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.content.show { opacity: 1; }

/* ---------- Card (photo + links in one block) ---------- */
.card {
  width: 100%;
  max-width: 400px;
  background: var(--card);
  border: 1px solid rgba(255, 45, 142, 0.3);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 50px rgba(212, 14, 125, 0.28);
}

.hero { position: relative; width: 100%; aspect-ratio: 4 / 5; }
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

/* Frosted blur band at the bottom — strongest at the base, fading upward,
   so the photo dissolves smoothly into the card instead of a hard edge. */
.hero-blur {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  z-index: 1;
  pointer-events: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(to top, #000 22%, transparent 75%);
  mask-image: linear-gradient(to top, #000 22%, transparent 75%);
}

/* Colour fade that blends the blurred photo into the card background. */
.hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom,
    transparent 40%,
    rgba(28, 10, 24, 0.45) 68%,
    rgba(28, 10, 24, 0.9) 88%,
    var(--card) 100%);
}

.hero-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 80px;
  text-align: center;
  z-index: 3;
}
.hero-name h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-shadow: 0 0 20px rgba(255, 45, 142, 0.7), 0 2px 8px rgba(0, 0, 0, 0.6);
}
.hero-tag {
  margin-top: 4px;
  color: var(--pink-soft);
  font-size: 14px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* round social icons under the nickname */
.socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}
.social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.12s ease, background 0.2s ease;
}
.social:active { transform: scale(0.92); }
.social:hover { background: rgba(255, 45, 142, 0.45); }
.social svg { width: 20px; height: 20px; }
.social .icon-mask { width: 20px; height: 20px; }

/* ---------- Links ---------- */
.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 18px 4px;
  margin-top: -44px;          /* lift buttons up onto the photo */
  position: relative;
  z-index: 3;
}
.links-row { display: flex; gap: 12px; }
.links-row .link { flex: 1; min-width: 0; }

.link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 16px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 45, 142, 0.25);
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.link:active { transform: scale(0.98); }
.link:hover { background: rgba(255, 45, 142, 0.12); }

/* Feature button: full width (= 2x the half buttons), blurred photo bg */
.link--feature {
  min-height: 116px;
  overflow: hidden;
  border: none;
  color: #fff;
  font-size: 18px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  box-shadow: 0 10px 30px rgba(212, 14, 125, 0.4);
}
.link--feature::before {       /* blurred background photo */
  content: "";
  position: absolute;
  inset: -24px;
  background: url(/assets/free-bg.jpg) center 30% / cover no-repeat;
  filter: blur(4px) brightness(0.9);
  transform: scale(1.06);
  z-index: 0;
}
.link--feature::after {        /* monochrome highlight tint */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 45, 142, 0.42), rgba(212, 14, 125, 0.42));
  z-index: 0;
}
.link--feature .link-icon,
.link--feature .link-label { position: relative; z-index: 1; }
.link--feature .link-icon { color: #fff; }

/* icons — monochrome, follow the highlight color */
.link-icon { display: inline-flex; align-items: center; color: var(--pink-soft); }
.link-icon svg { display: block; }

/* Fansly logo as a recolourable mask */
.icon-mask {
  display: inline-block;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.icon-fansly {
  -webkit-mask-image: url(/assets/fansly.svg);
  mask-image: url(/assets/fansly.svg);
}
.link .icon-fansly { width: 22px; height: 22px; }
.link--feature .icon-fansly { width: 26px; height: 26px; }

/* ---------- Footer ---------- */
.foot {
  text-align: center;
  padding: 16px 0 18px;
  color: var(--muted);
  font-size: 12px;
  opacity: 0.6;
}
