:root {
  --bg: #0b0709;
  --panel: #150e12;
  --panel-2: #1d1319;
  --line: #3a2430;
  --pink: #ff2d95;
  --pink-2: #ff7ab8;
  --blush: #ffd3e6;
  --text: #fbeff5;
  --muted: #c7aab9;
  --radius: 22px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }

em { font-style: italic; }

/* Background glows + grain */
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.glow-a { width: 520px; height: 520px; background: #ff2d9555; top: -180px; left: -160px; }
.glow-b { width: 460px; height: 460px; background: #9b1d5c55; bottom: -200px; right: -160px; }
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  z-index: 1;
}

.wrap {
  position: relative;
  z-index: 2;
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 20px 40px;
}

/* Hero */
.hero { text-align: center; margin-bottom: 30px; }
.avatar-ring {
  width: 172px; height: 172px;
  margin: 0 auto 22px;
  padding: 5px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--pink), var(--pink-2), #ffb36b, var(--pink));
  box-shadow: 0 0 60px #ff2d9566;
  animation: pulse 4s ease-in-out infinite;
}
.avatar {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
  border: 4px solid var(--bg);
  display: block;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 40px #ff2d9555; }
  50% { box-shadow: 0 0 80px #ff2d9599; }
}

h1, h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 10vw, 3.4rem); line-height: 1; margin-bottom: 12px; }
h1 em, h2 em {
  background: linear-gradient(90deg, var(--pink), var(--pink-2));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: .06em;
}
.tagline { font-weight: 700; color: var(--blush); margin-bottom: 6px; }
.bio { color: var(--muted); max-width: 34ch; margin: 0 auto; }

/* Links */
.links { display: flex; flex-direction: column; gap: 12px; margin-bottom: 56px; }
.link-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.link {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 22px;
  border-radius: 999px;
  background: var(--panel);
  border: 1.5px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.link .arrow { margin-left: auto; color: var(--pink-2); transition: transform .18s ease; }
.link-sub { font-weight: 400; font-size: .85rem; color: var(--muted); }
.link:hover, .link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--pink);
  box-shadow: 0 10px 30px -12px #ff2d95aa;
  outline: none;
}
.link:hover .arrow { transform: translateX(4px); }
.link.featured {
  background: linear-gradient(90deg, var(--pink), var(--pink-2));
  border-color: transparent;
  color: #1a0410;
  padding: 22px 24px;
  font-size: 1.1rem;
}
.link.featured .link-sub, .link.featured .arrow { color: #3d0a24; }
.link.small { padding: 15px 18px; font-size: .95rem; }
.link.subtle { background: transparent; border-style: dashed; }

/* Signup */
.signup {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px 22px 26px;
  box-shadow: 0 30px 80px -40px #ff2d9566;
}
.signup-head { text-align: center; margin-bottom: 24px; }
.eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--pink-2);
  border: 1px solid #ff2d9555;
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 14px;
}
.signup h2 { font-size: clamp(2rem, 8vw, 2.5rem); line-height: 1.05; margin-bottom: 10px; }
.signup-head p { color: var(--muted); font-size: .95rem; }

.field { margin-bottom: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .grid-2 { grid-template-columns: 1fr; gap: 0; } }

label { display: block; font-size: .85rem; font-weight: 500; color: var(--blush); margin-bottom: 6px; }
input[type="text"], input[type="email"], select, textarea {
  width: 100%;
  padding: 13px 14px;
  background: #0d080b;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input::placeholder, textarea::placeholder { color: #7d6170; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 4px #ff2d9522;
}
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--pink-2) 50%), linear-gradient(135deg, var(--pink-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
textarea { min-height: 110px; resize: vertical; }
small { display: block; color: var(--muted); font-size: .78rem; margin-top: 6px; }

.check {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: .88rem; color: var(--text); font-weight: 400;
  margin-bottom: 14px;
  cursor: pointer;
}
.check input {
  flex: none;
  width: 20px; height: 20px;
  margin-top: 1px;
  accent-color: var(--pink);
}

.hidden { position: absolute; left: -9999px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 22px;
  border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: linear-gradient(90deg, var(--pink), var(--pink-2)); color: #1a0410; }
.btn-solid:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }
.btn-block { width: 100%; margin-top: 8px; font-size: 1.08rem; padding: 17px; }

.fineprint { text-align: center; color: var(--muted); font-size: .78rem; margin-top: 12px; }

.foot { text-align: center; color: #8a6c7b; font-size: .78rem; margin-top: 36px; }

/* Age gate */
.gate {
  position: fixed; inset: 0;
  z-index: 50;
  display: grid; place-items: center;
  padding: 20px;
  background: #0b0709ee;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: opacity .35s ease;
}
.gate.out { opacity: 0; pointer-events: none; }
.gate-card {
  max-width: 380px; width: 100%;
  text-align: center;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 34px 26px 26px;
  box-shadow: 0 30px 90px -30px #ff2d9588;
}
.badge {
  display: inline-grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid var(--pink);
  color: var(--pink-2);
  font-weight: 700; font-size: 1.2rem;
  margin-bottom: 14px;
}
.gate-card h2 { font-size: 2.2rem; margin-bottom: 8px; }
.gate-card p { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.gate-actions { display: flex; flex-direction: column; gap: 10px; }

/* Thank-you page */
.thanks { min-height: 80vh; display: grid; place-items: center; text-align: center; }
.thanks h1 { margin-bottom: 14px; }
.thanks p { color: var(--muted); margin-bottom: 26px; max-width: 32ch; margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Photo uploads */
.label { display: block; font-size: .85rem; font-weight: 500; color: var(--blush); margin-bottom: 6px; }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-drop {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 1.5px dashed var(--line);
  border-radius: 16px;
  background: #0d080b;
  overflow: hidden;
  cursor: pointer;
  margin: 0;
  display: flex; align-items: flex-end;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.photo-drop:hover, .photo-drop:focus-within { border-color: var(--pink); box-shadow: 0 0 0 4px #ff2d9522; }
.photo-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.photo-preview { position: absolute; inset: 0; background-size: cover; background-position: center; pointer-events: none; }
.photo-drop::before {
  content: "+";
  position: absolute; top: 42%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid #ff2d9577;
  color: var(--pink-2);
  font-size: 1.6rem; line-height: 1;
  pointer-events: none;
}
.photo-drop.has-photo { border-style: solid; border-color: var(--pink); }
.photo-drop.has-photo::before { content: "✓"; top: 14px; left: auto; right: 14px; transform: none; width: 30px; height: 30px; font-size: 1rem; background: var(--pink); color: #1a0410; border: none; }
.photo-text {
  position: relative;
  width: 100%;
  padding: 12px;
  display: flex; flex-direction: column;
  font-size: .8rem; color: var(--muted);
  pointer-events: none;
}
.photo-text strong { color: var(--text); font-size: .95rem; }
.photo-drop.has-photo .photo-text { background: linear-gradient(transparent, #000c); }
.photo-note { margin-top: 10px; }
.photo-note strong { color: var(--pink-2); }

.form-error {
  background: #ff2d9518;
  border: 1px solid #ff2d9566;
  color: var(--blush);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: .88rem;
  margin-bottom: 8px;
}
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
