:root {
  --bg: #0d1220;
  --pink: #ff2d7a;
  --text: #f4f6fb;
  --muted: #9aa3b8;
  --pad: clamp(12px, 4vw, 28px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html, body {
  background: var(--bg); color: var(--text);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  overflow-x: hidden; max-width: 100%;
}
body { min-height: 100dvh; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; max-width: 100%; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(10px + var(--safe-t)) var(--pad) 10px;
  background: #0b1020ee; backdrop-filter: blur(10px);
}
.logo, .logo a {
  font-weight: 800; letter-spacing: .3px; font-size: clamp(14px, 4vw, 18px);
  color: #fff; display: flex; align-items: center; min-width: 0;
}
.logo span { color: var(--pink); }
.logo img { height: clamp(24px, 7vw, 36px); width: auto; }
.connect { color: #d7dceb; font-size: 14px; flex-shrink: 0; padding: 8px 4px; }

.hero {
  position: relative; height: clamp(160px, 32vw, 280px);
  overflow: hidden; background: #1a1230;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,18,32,.15), var(--bg) 92%);
}
.hero img { width: 100%; height: 100%; object-fit: cover; filter: blur(1px) brightness(.7); }

.profile { text-align: center; margin-top: -72px; position: relative; z-index: 2; padding: 0 var(--pad) 16px; }
.avatar {
  width: clamp(84px, 22vw, 118px); height: clamp(84px, 22vw, 118px);
  border-radius: 50%; margin: 0 auto 12px;
  border: 3px solid var(--pink); box-shadow: 0 0 0 6px rgba(255,45,122,.18);
  overflow: hidden; background: #222;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.name { font-size: clamp(18px, 5vw, 22px); font-weight: 700; }
.name .check {
  display: inline-flex; width: 16px; height: 16px; border-radius: 50%;
  background: var(--pink); color: #fff; font-size: 10px;
  align-items: center; justify-content: center; margin-left: 4px; vertical-align: middle;
}
.bio { color: var(--muted); margin-top: 8px; font-size: clamp(13px, 3.6vw, 15px); line-height: 1.45; }

.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  max-width: 420px; margin: 18px auto 14px; text-align: center;
}
.stat .icon { color: var(--pink); font-size: 18px; }
.stat b { display: block; font-size: clamp(16px, 4.5vw, 20px); margin-top: 4px; }
.stat span { color: var(--muted); font-size: 13px; }

.cta-bar { max-width: 560px; margin: 0 auto 14px; padding: 0 var(--pad); }
.cta-wide, .btn {
  display: block; width: 100%; border: 0; cursor: pointer; text-align: center;
  border-radius: 12px; padding: 14px 16px; font-weight: 700; color: #fff;
}
.cta-wide { background: var(--pink); }
.btn-pink { background: var(--pink); max-width: 420px; margin: 8px auto; border-radius: 40px; }
.btn-blue { background: #24356e; max-width: 420px; margin: 8px auto; border-radius: 40px; }

.tabs {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(10px, 3vw, 24px);
  color: var(--muted); font-size: clamp(12px, 3.3vw, 14px);
  margin: 8px var(--pad) 14px; flex-wrap: wrap; text-align: center;
}
.tabs .on { color: #fff; border-bottom: 2px solid var(--pink); padding-bottom: 4px; }
.tab-link { cursor: pointer; padding: 6px 2px; }
.notice {
  text-align: center; color: var(--muted);
  font-size: clamp(12px, 3.3vw, 14px);
  margin: 4px auto 16px; padding: 0 var(--pad); max-width: 560px; line-height: 1.45;
}

.grid {
  width: min(520px, calc(100% - 2 * var(--pad)));
  margin: 0 auto; padding: 0 0 24px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
}
.card { position: relative; border-radius: 12px; overflow: hidden; background: #0a0f1c; aspect-ratio: 4/5; cursor: pointer; }
.card img { width: 100%; height: 100%; object-fit: cover; }
.card.locked img { filter: blur(5px) brightness(.88); transform: scale(1.03); }
.lock { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.lock span {
  width: clamp(34px, 10vw, 42px); height: clamp(34px, 10vw, 42px);
  border-radius: 50%; background: #12182acc;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  border: 1px solid #ff2d7a55; color: var(--pink);
}
.likes {
  position: absolute; left: 8px; bottom: 8px; background: #1118; color: #fff;
  font-size: 11px; padding: 3px 7px; border-radius: 20px;
}

.sticky-cta {
  position: fixed; left: 50%; bottom: calc(10px + var(--safe-b));
  transform: translateX(-50%);
  z-index: 30; width: min(420px, calc(100% - 20px)); text-align: center;
}
.home .sticky-cta .btn { padding: 12px 14px; font-size: 14px; }
.brand-mini { margin-top: 6px; font-size: 11px; color: var(--muted); letter-spacing: .6px; }

footer {
  padding: 28px var(--pad) calc(132px + var(--safe-b));
  text-align: center; color: var(--muted); font-size: 12px;
}
footer .links {
  margin: 12px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px;
}
footer .links a { margin: 0; padding: 4px 2px; }

.overlay {
  position: fixed; inset: 0; background: #0009; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  padding: max(12px, var(--safe-t)) 12px calc(12px + var(--safe-b));
}
.modal {
  position: relative;
  width: min(380px, 100%);
  max-height: min(92dvh, 720px);
  overflow: auto;
  background: #1a1528;
  border-radius: 22px;
  padding: 26px 18px 22px;
  box-shadow: 0 20px 60px #0008;
  text-align: center;
  -webkit-overflow-scrolling: touch;
}
.modal-x {
  position: absolute; top: 10px; right: 10px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: #2a2438; color: #cfc6d8;
  font-size: 22px; line-height: 1; cursor: pointer;
}
.modal-pill {
  display: inline-block; background: #3a2048; color: #e8b4ff;
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 12px;
}
.modal h2 { font-size: clamp(20px, 6vw, 26px); font-weight: 800; margin: 0 0 6px; }
.modal-sub { color: #ddd4e8; font-size: clamp(14px, 4vw, 16px); margin: 0 0 16px; }
.step-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.step-row {
  background: #2a2438; color: #d8d0e4; border-radius: 14px;
  padding: 12px 14px; font-size: 14px; font-weight: 500;
}
.modal-cta {
  display: inline-block; border: 0; cursor: pointer;
  background: #ff4da6; color: #fff; font-weight: 800; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; max-width: 100%;
}
.hidden { display: none !important; }

.legal {
  max-width: 760px; margin: 0 auto;
  padding: 24px var(--pad) 80px;
  color: #d7dceb; line-height: 1.65; font-size: 15px;
}
.legal h1 { font-size: clamp(26px, 8vw, 36px); margin-bottom: 8px; color: #fff; word-break: break-word; }
.legal .meta { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.legal h2 { font-size: 18px; margin: 22px 0 8px; color: #fff; }
.legal p, .legal li { margin-bottom: 10px; }
.legal ul { padding-left: 18px; }
.legal a { color: var(--pink); }
.page footer, .page-template footer { padding-bottom: calc(40px + var(--safe-b)); }

.contact-page .lead { color: #c5cde0; margin-bottom: 22px; }
.back-link { color: #5ff0d0; font-size: 14px; display: inline-block; margin-bottom: 16px; }
.contact-page h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.contact-page h2 { color: #5ff0d0; font-size: 17px; }
.form-card {
  margin-top: 22px; border: 1px solid #2a4a55; border-radius: 18px;
  padding: clamp(16px, 4vw, 22px); background: #141824;
}
.form-card h2 { margin-top: 0; }
.form-card label { display: block; text-align: left; font-size: 13px; color: #c5cde0; margin: 12px 0 6px; }
.form-card input, .form-card textarea {
  width: 100%; background: #0d111c; border: 1px solid #2a3348; color: #fff;
  border-radius: 12px; padding: 12px 14px; font-size: 16px;
}
.form-submit {
  width: 100%; margin-top: 16px; border: 0; cursor: pointer;
  border-radius: 999px; padding: 13px 16px; font-weight: 700; font-size: 15px; color: #102018;
  background: linear-gradient(90deg, #5ff0d0, #8aa4ff);
}
.form-note { color: var(--muted); font-size: 12px; margin-top: 10px; }
.form-ok { color: #5ff0d0; }
.form-err { color: #ff7aa8; }

@media (max-width: 420px) {
  .cta-bar { display: none; }
  .tabs { gap: 8px; }
}
@media (min-width: 900px) {
  .grid { width: 560px; gap: 12px; }
  .hero { height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
