:root {
  --bg: #0d0510;
  --surface: #1a0b20;
  --surface-2: #231029;
  --field: #12071a;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #fcf2f9;
  --muted: #c6aec3;
  --accent: #ff2d95;
  --accent-hi: #ff4aa8;
  --accent-soft: rgba(255, 45, 149, 0.15);
  --neon-border: rgba(255, 45, 149, 0.6);
  --glow: 0 0 0 1px rgba(255, 45, 149, 0.55), 0 0 22px -2px rgba(255, 45, 149, 0.5);
  --danger: #ff3b4e;
  --ok: #3ddc84;
  --font: "Segoe UI", ui-sans-serif, system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --top-safe: max(14px, env(safe-area-inset-top));
  --topbar-h: 64px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(1100px 700px at 85% -10%, rgba(255, 45, 149, 0.14), transparent 60%),
    radial-gradient(900px 700px at -15% 35%, rgba(150, 40, 210, 0.12), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
svg { width: 24px; height: 24px; flex: none; }
.screen { min-height: 100dvh; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.015em; }
h1 { font-size: 2rem; }
.lede { margin: 0; color: var(--muted); line-height: 1.5; }
.fine { margin: 0; font-size: 0.82rem; color: var(--muted); }
.error { margin: 0; min-height: 1.3em; color: #ff8fbf; font-size: 0.9rem; }
.glow-text { color: var(--accent); text-shadow: 0 0 24px rgba(255, 45, 149, 0.45); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  border: 0; border-radius: 12px; padding: 0.8rem 1.3rem;
  font-weight: 700; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 0.15s, opacity 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 0 22px -2px rgba(255, 45, 149, 0.7); }
.btn.primary:hover { background: var(--accent-hi); box-shadow: 0 0 30px 0 rgba(255, 45, 149, 0.75); }
.btn.primary:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.btn.outline { background: rgba(255, 255, 255, 0.02); color: var(--text); border: 1.5px solid rgba(255, 255, 255, 0.75); }
.btn.outline:hover { border-color: var(--accent); box-shadow: var(--glow); }
.btn.secondary { background: rgba(255, 255, 255, 0.1); color: var(--text); }
.btn.secondary:hover { background: rgba(255, 255, 255, 0.16); }
.btn.ghost { background: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--text); }
.btn.big { padding: 0.95rem 1.7rem; font-size: 1.05rem; }
.btn.small { padding: 0.55rem 1rem; font-size: 0.92rem; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; }
.brand-heart { width: 30px; height: 30px; color: var(--accent); filter: drop-shadow(0 0 8px rgba(255, 45, 149, 0.6)); }
.brand .brand-accent { color: var(--accent); }

/* Age gate */
.gate { display: grid; place-items: center; padding: 24px 16px; }
.card {
  width: 100%; max-width: 420px;
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--neon-border);
  border-radius: 20px;
  box-shadow: 0 0 40px -10px rgba(255, 45, 149, 0.45);
}
.field { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; color: var(--muted); }
.field input[type="text"], .field input[type="date"] {
  padding: 0.8rem 0.9rem;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
}
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.92rem; line-height: 1.45; cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }

/* App shell */
.app { min-height: 100dvh; }
.topbar {
  position: sticky; top: 0; z-index: 10;
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 24px;
  background: rgba(13, 5, 16, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 45, 149, 0.16);
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { position: relative; padding: 0.4rem 0; text-decoration: none; font-weight: 700; font-size: 0.98rem; color: rgba(252, 242, 249, 0.88); }
.nav-links a:hover { color: #fff; }
.nav-links a.active::after {
  content: ""; position: absolute; left: -6px; right: -6px; bottom: -8px; height: 3px; border-radius: 3px;
  background: var(--accent); box-shadow: 0 0 12px rgba(255, 45, 149, 0.9);
}
@media (max-width: 820px) { .nav-links { display: none; } .topbar { padding: 0 16px; } }
.header-actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 480px) { #getStartedBtn svg { display: none; } .header-actions .btn.small { padding: 0.5rem 0.8rem; } }
/* Keep the logo on one line on phones; signed-in visitors don't need "Get Started" there (it just scrolls to the girls). */
.topbar .brand { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 480px) {
  .topbar .brand { font-size: 1.2rem; gap: 0.35rem; }
  .topbar .brand-heart { width: 24px; height: 24px; }
  .header-actions { gap: 8px; }
  .app.signed-in #getStartedBtn { display: none; }
}

/* Account menu */
.account { position: relative; }
.account-btn { display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.account-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.avatar {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  font-weight: 800; font-size: 1rem; text-transform: uppercase;
  background: var(--accent-soft); border: 1.5px solid var(--accent); box-shadow: 0 0 14px -4px rgba(255, 45, 149, 0.8);
}
.account-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 20; min-width: 230px;
  display: flex; flex-direction: column; gap: 6px; padding: 14px;
  background: var(--surface); border: 1px solid var(--neon-border); border-radius: 14px;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.7), 0 0 24px -10px rgba(255, 45, 149, 0.5);
}
.account-email { margin: 0 0 8px; font-weight: 700; word-break: break-all; }

/* Sign-in window */
.modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 16px; background: rgba(8, 2, 10, 0.78); }
.modal-card { position: relative; max-width: 400px; }
.modal-card h2 { font-size: 1.6rem; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.06); color: var(--muted); cursor: pointer; }
.modal-close:hover { color: var(--text); background: rgba(255, 255, 255, 0.12); }
.modal-close svg { width: 20px; height: 20px; }
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.google-area { display: flex; flex-direction: column; gap: 14px; }
/* color-scheme: light matches Google's button frame; with the page's dark scheme the browser paints a white
   box behind it (visible as white corners around the pill). */
.google-btn { display: flex; justify-content: center; min-height: 44px; max-width: 100%; overflow: hidden; color-scheme: light; }
.modal-card { width: 100%; min-width: 0; }
.notice-card { display: flex; flex-direction: column; gap: 16px; }
.notice-icon {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); box-shadow: 0 0 18px -4px rgba(255, 45, 149, 0.6);
}
.notice-icon svg { width: 28px; height: 28px; }
.notice-text { display: grid; gap: 10px; }
.notice-text p { margin: 0; color: var(--muted); line-height: 1.55; }
.notice-text strong { color: var(--text); font-weight: 700; }
.or-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.82rem; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.field input[type="email"], .field input[type="password"] {
  padding: 0.8rem 0.9rem; background: var(--field); border: 1px solid var(--line); border-radius: 12px; color: var(--text);
}
.field small { color: var(--muted); font-weight: 400; }
.auth-switch { margin: 0; text-align: center; color: var(--muted); font-size: 0.92rem; }
.link-btn { padding: 0; border: 0; background: none; color: var(--accent); font-weight: 700; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.view { width: 100%; }

/* Home */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.block { margin-top: 44px; scroll-margin-top: calc(var(--topbar-h) + 16px); }
#companions { margin-top: 36px; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; padding-top: 28px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 28px; } }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.38rem 0.95rem; border-radius: 999px;
  border: 1.5px solid var(--accent); box-shadow: 0 0 16px -4px rgba(255, 45, 149, 0.7);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase;
}
.badge-pill svg { width: 16px; height: 16px; }
.hero h1 { margin: 16px 0 14px; font-size: clamp(2.2rem, 4.3vw, 3.5rem); line-height: 1.06; }
.hero h1 .glow-text { display: inline; }
.hero-sub { margin: 0; max-width: 31em; font-size: 1.12rem; line-height: 1.5; color: rgba(252, 242, 249, 0.86); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0 18px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-weight: 600; font-size: 0.95rem; }
.hero-checks li { display: inline-flex; align-items: center; gap: 6px; }
.hero-checks svg { width: 18px; height: 18px; color: var(--accent); }

.hero-call {
  position: relative; aspect-ratio: 16 / 10.5; overflow: hidden;
  border-radius: 22px; border: 1.5px solid rgba(255, 45, 149, 0.8);
  box-shadow: 0 0 34px -4px rgba(255, 45, 149, 0.55), 0 0 90px -30px rgba(255, 45, 149, 0.6);
}
.hero-call img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hc-live, .hc-name {
  position: absolute; top: 14px; z-index: 1;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 0.32rem 0.7rem; border-radius: 999px;
  font-size: 0.82rem; font-weight: 700; background: rgba(10, 4, 14, 0.62);
}
.hc-live { left: 14px; }
.hc-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.hc-name { right: 14px; }
.hc-name b { padding: 0 0.3rem; font-size: 0.68rem; border: 1.5px solid currentColor; border-radius: 4px; }
.hc-bubble {
  position: absolute; z-index: 1; left: 7%; top: 24%;
  max-width: 170px; padding: 0.6rem 0.9rem;
  font-size: 0.9rem; font-weight: 600; line-height: 1.35;
  background: rgba(70, 25, 85, 0.78); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 14px;
}
.hc-bubble::after {
  content: ""; position: absolute; right: -7px; bottom: 14px; width: 12px; height: 12px;
  background: rgba(70, 25, 85, 0.78); border-right: 1px solid rgba(255, 255, 255, 0.16); border-top: 1px solid rgba(255, 255, 255, 0.16);
  transform: rotate(45deg);
}
.hc-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent);
}
.hc-side { display: inline-flex; gap: 10px; }
.hc-side svg { width: 22px; height: 22px; }
.hc-controls { display: inline-flex; gap: 12px; }
.hc-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(18, 10, 20, 0.78); }
.hc-btn svg { width: 20px; height: 20px; }
.hc-btn.end { width: 48px; height: 48px; background: var(--danger); box-shadow: 0 0 16px rgba(255, 59, 78, 0.6); }
@media (max-width: 520px) { .hc-btn { width: 34px; height: 34px; } .hc-btn.end { width: 40px; height: 40px; } .hc-bubble { font-size: 0.8rem; } }

.section-head { margin-bottom: 18px; }
.section-head h2, .why-head h2, .how h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p, .why-head p { margin: 8px 0 0; font-size: 1.02rem; color: rgba(252, 242, 249, 0.86); }

.grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 600px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

.char-card {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 5 / 6; border-radius: 14px;
  background: var(--surface); text-decoration: none;
  border: 1px solid rgba(255, 45, 149, 0.5);
  box-shadow: 0 0 18px -6px rgba(255, 45, 149, 0.45);
  transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}
.char-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.char-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
  transition: transform 0.5s ease, filter 0.3s;
}
@media (hover: hover) {
  .char-card:hover { transform: translateY(-4px); border-color: rgba(255, 45, 149, 0.95); box-shadow: 0 0 30px -2px rgba(255, 45, 149, 0.65); }
  .char-card:hover img { transform: scale(1.04); filter: brightness(1.06); }
}
.char-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(22, 6, 26, 0.92) 100%);
}
.char-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 12px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
}
.char-name { font-size: 1.08rem; font-weight: 800; }
.char-trait {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 6px;
  padding: 0.2rem 0.55rem; border-radius: 999px;
  font-size: 0.74rem; font-weight: 700;
  background: rgba(255, 45, 149, 0.2); border: 1px solid rgba(255, 45, 149, 0.5);
}
.char-trait svg { width: 12px; height: 12px; color: var(--accent); }
.char-callbtn {
  flex: none; width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer;
  border-radius: 10px; background: var(--accent); color: #fff;
  box-shadow: 0 0 16px -2px rgba(255, 45, 149, 0.8);
  transition: background 0.2s, box-shadow 0.2s;
}
.char-callbtn:hover { background: var(--accent-hi); box-shadow: 0 0 22px 0 rgba(255, 45, 149, 0.9); }
.char-callbtn svg { width: 19px; height: 19px; }
.char-badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0.25rem 0.6rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700;
  background: rgba(0, 0, 0, 0.6);
}
.char-badge .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.char-badge.checking .live-dot { background: #ffb347; animation: pulse 1.2s ease-in-out infinite; }
.char-badge.rejected { color: #ffb4c8; }
.char-badge.rejected .live-dot { background: var(--danger); }

/* Create-your-own banner */
.create-banner {
  display: grid; grid-template-columns: 210px minmax(0, 1fr); margin-top: 40px; overflow: hidden;
  border-radius: 20px; border: 1.5px solid rgba(255, 45, 149, 0.75);
  background: linear-gradient(100deg, rgba(48, 12, 54, 0.92), rgba(26, 9, 32, 0.92));
  box-shadow: 0 0 34px -8px rgba(255, 45, 149, 0.55);
}
.cb-image { position: relative; min-height: 180px; }
.cb-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.cb-body { display: flex; flex-direction: column; gap: 18px; padding: 22px 26px; }
.cb-top { display: flex; align-items: center; gap: 18px; }
.cb-icon { width: 56px; height: 56px; color: var(--accent); filter: drop-shadow(0 0 10px rgba(255, 45, 149, 0.6)); }
.cb-text h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cb-text p { margin: 6px 0 0; color: rgba(252, 242, 249, 0.86); }
.cb-cta { margin-left: auto; }
.cb-features { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cb-feature {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0.75rem 0.6rem; border-radius: 12px; text-decoration: none;
  font-weight: 700; font-size: 0.86rem; text-align: center; white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cb-feature:hover { border-color: var(--accent); box-shadow: var(--glow); }
.cb-feature svg { width: 26px; height: 26px; color: var(--accent); }
@media (max-width: 1000px) {
  .cb-top { flex-wrap: wrap; }
  .cb-cta { margin-left: 0; }
  .cb-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .create-banner { grid-template-columns: 1fr; }
  .cb-image { min-height: 220px; }
  .cb-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Why it feels so real */
.why { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); gap: 32px; align-items: center; }
.why-head h2 { font-size: clamp(1.6rem, 2.4vw, 2.05rem); }
.why-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.why-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 16px; text-align: center; }
.why-item + .why-item { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.why-item svg { width: 40px; height: 40px; color: var(--accent); filter: drop-shadow(0 0 8px rgba(255, 45, 149, 0.5)); margin-bottom: 4px; }
.why-item h3 { font-size: 0.98rem; }
.why-item p { margin: 0; font-size: 0.86rem; line-height: 1.4; color: rgba(252, 242, 249, 0.8); }
@media (max-width: 1000px) {
  .why { grid-template-columns: 1fr; }
  .why-features { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .why-item:nth-child(3) { border-left: 0; }
}

/* How it works */
.how { text-align: center; }
.steps { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 24px; text-align: left; }
.step { display: flex; align-items: center; gap: 18px; flex: 1; max-width: 330px; }
.step-num {
  flex: none; width: 62px; height: 62px; display: grid; place-items: center;
  border-radius: 50%; border: 2px solid var(--accent);
  font-size: 1.7rem; font-weight: 800;
  box-shadow: 0 0 18px -2px rgba(255, 45, 149, 0.7), inset 0 0 14px -4px rgba(255, 45, 149, 0.6);
}
.step h3 { font-size: 1.02rem; }
.step p { margin: 4px 0 0; font-size: 0.9rem; line-height: 1.4; color: rgba(252, 242, 249, 0.8); }
.step-arrow { width: 28px; height: 28px; color: var(--accent); }
@media (max-width: 900px) {
  .steps { flex-direction: column; align-items: stretch; }
  .step { max-width: none; }
  .step-arrow { align-self: center; transform: rotate(90deg); }
}

/* Trust bar */
.trust {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 48px; padding: 30px 0 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.trust-item { display: flex; align-items: center; gap: 18px; padding: 0 24px; }
.trust-item + .trust-item { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.trust-item > svg { width: 46px; height: 46px; color: var(--accent); filter: drop-shadow(0 0 8px rgba(255, 45, 149, 0.5)); }
.trust-18 {
  flex: none; width: 50px; height: 50px; display: grid; place-items: center;
  border-radius: 50%; border: 2px solid var(--accent); color: var(--accent);
  font-weight: 800; font-size: 1rem; box-shadow: 0 0 14px -2px rgba(255, 45, 149, 0.6);
}
.trust-item h3 { font-size: 1rem; }
.trust-item p { margin: 4px 0 0; font-size: 0.86rem; line-height: 1.4; color: rgba(252, 242, 249, 0.8); }
@media (max-width: 900px) {
  .trust { grid-template-columns: 1fr; gap: 20px; }
  .trust-item { padding: 0; }
  .trust-item + .trust-item { border-left: 0; }
}

/* Footer links (home page and legal pages) */
.site-footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 22px;
  padding: 18px 16px 30px; border-top: 1px solid var(--line);
  font-size: 0.86rem; color: var(--muted);
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.legal-note { text-align: center; line-height: 1.45; }
.legal-note a, .legal a { color: var(--accent-hi); text-underline-offset: 2px; }

/* Terms and privacy pages */
.legal-page { min-height: 100dvh; display: flex; flex-direction: column; }
.legal-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: var(--top-safe) 24px 14px; border-bottom: 1px solid var(--line);
}
.legal { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 44px 16px 64px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-top: 8px; }
.legal > .lede { margin-top: 14px; font-size: 1.05rem; }
.legal section { margin-top: 36px; }
.legal h2 { font-size: 1.3rem; }
.legal p, .legal li { color: rgba(252, 242, 249, 0.82); line-height: 1.65; font-size: 0.97rem; }
.legal section p { margin: 10px 0 0; }
.legal ul { margin: 10px 0 0; padding-left: 1.25rem; display: grid; gap: 8px; }
.legal li::marker { color: var(--accent); }
.legal strong { color: var(--text); }
.legal-date { margin: 0; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.legal-contact { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (max-width: 600px) {
  .legal-top { padding-left: 16px; padding-right: 16px; }
  .legal-top .brand { font-size: 1.3rem; }
  .legal-top .brand-heart { width: 26px; height: 26px; }
}

/* Pricing page */
.pricing { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: 48px 16px 64px; }
.pricing-hero { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pricing-hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.08; }
.pricing-hero .lede { max-width: 34em; font-size: 1.08rem; }
.rate-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.rate-card {
  display: flex; flex-direction: column; gap: 8px; padding: 24px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
}
.rate-card.featured { border-color: var(--neon-border); box-shadow: var(--glow); }
.rate-label { margin: 0; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.rate-value { margin: 0; font-size: 2.3rem; font-weight: 800; letter-spacing: -0.02em; }
.rate-value small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.rate-note { margin: 0; color: rgba(252, 242, 249, 0.8); line-height: 1.5; font-size: 0.95rem; }
.topup-table-wrap { margin-top: 52px; }
.topup-table-wrap h2, .pricing-faq h2 { font-size: 1.6rem; text-align: center; }
.topup-table { width: 100%; max-width: 640px; margin: 20px auto 0; border-collapse: collapse; font-size: 1rem; }
.topup-table th, .topup-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.topup-table th { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.topup-table td:first-child { font-weight: 800; }
.topup-table tbody tr:hover { background: rgba(255, 45, 149, 0.06); }
.pricing-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 26px; }
.pricing-faq { margin-top: 56px; }
.faq { max-width: 720px; margin: 18px auto 0; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details[open] summary { color: var(--accent-hi); }
.faq p { margin: 10px 0 0; color: rgba(252, 242, 249, 0.82); line-height: 1.6; }
.faq a { color: var(--accent-hi); }
@media (max-width: 820px) { .rate-cards { grid-template-columns: 1fr; } }

/* Credits balance (header) */
.credits-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 0.42rem 0.8rem; border-radius: 999px;
  border: 1px solid var(--neon-border); background: var(--accent-soft); color: var(--text);
  font-weight: 800; font-size: 0.9rem; cursor: pointer;
}
.credits-btn:hover { background: rgba(255, 45, 149, 0.25); }
.credits-btn svg { width: 18px; height: 18px; color: var(--accent); }
.credits-btn.low { border-color: #ffb020; }
@media (max-width: 480px) { .credits-btn .credits-unit { display: none; } }
.account-credits { margin: 0 0 4px; font-size: 0.9rem; color: var(--muted); }
.account-credits b { color: var(--text); }

/* Buy credits window and the pricing page's amount dropdown */
.topup-card { max-width: 420px; }
.amount-field { display: flex; flex-direction: column; gap: 6px; width: 100%; font-size: 0.9rem; color: var(--muted); }
.amount-select {
  width: 100%; padding: 0.85rem 2.6rem 0.85rem 1rem; border-radius: 12px;
  border: 1px solid var(--neon-border); background-color: var(--field); color: var(--text);
  font: inherit; font-size: 1.05rem; font-weight: 700; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff2d95' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 18px;
}
.amount-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.amount-select option { background: var(--surface); color: var(--text); font-weight: 600; }
.pricing-cta .amount-field { max-width: 340px; }
.amount-summary { margin: 0; color: var(--muted); }
.topup-summary { margin: 0; text-align: center; color: var(--muted); }
.topup-summary b { color: var(--text); }
.topup-foot { display: flex; justify-content: center; gap: 6px; align-items: center; }
.topup-foot svg { width: 16px; height: 16px; }

/* Credits left during a call */
.timer-wrap { display: inline-flex; align-items: center; gap: 8px; }
.call-credits { padding: 0.3rem 0.7rem; border-radius: 999px; background: rgba(0, 0, 0, 0.35); font-size: 0.8rem; font-weight: 700; color: rgba(252, 242, 249, 0.85); }
.call-credits.low { color: #ffb020; }

/* Profile (also the pre-call lobby) */
.profile { position: relative; min-height: calc(100dvh - var(--topbar-h)); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.profile-media { position: absolute; inset: 0; }
.backdrop, .poster {
  position: absolute; inset: -60px;
  background:
    var(--avatar-url, none) center / cover no-repeat,
    radial-gradient(900px 500px at 50% 0%, rgba(255, 45, 149, 0.25), transparent 70%),
    var(--bg);
  filter: blur(40px) brightness(0.4) saturate(1.15);
}
.portrait {
  position: absolute; top: 0; left: 50%;
  height: 100%; width: auto; max-width: 100%;
  object-fit: cover; object-position: center 20%;
  transform: translateX(-50%);
}
@media (min-aspect-ratio: 1/1) {
  .portrait {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  }
}
.shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 5, 16, 0) 0%, rgba(13, 5, 16, 0.3) 45%, rgba(13, 5, 16, 0.96) 88%); }
.profile-info {
  position: relative; width: 100%; max-width: 480px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 24px 16px max(28px, env(safe-area-inset-bottom));
  text-align: center;
}
.tag {
  padding: 0.35rem 0.8rem;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1.5px solid var(--accent); border-radius: 999px; box-shadow: 0 0 14px -4px rgba(255, 45, 149, 0.7);
  background: rgba(13, 5, 16, 0.4);
}
.name { font-size: clamp(2.6rem, 10vw, 4rem); line-height: 1; }
.name-age { font-size: 0.45em; font-weight: 600; color: var(--muted); vertical-align: middle; }
.meta-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.meta-chip { padding: 0.3rem 0.7rem; border-radius: 999px; font-size: 0.8rem; background: rgba(255, 45, 149, 0.14); border: 1px solid rgba(255, 45, 149, 0.4); }
.meta-chip b { font-weight: 700; color: var(--muted); margin-right: 4px; }
.notice {
  margin: 0; padding: 0.75rem 1rem; text-align: left; width: 100%;
  font-size: 0.9rem; line-height: 1.45; color: #ffd6ea;
  background: rgba(255, 45, 149, 0.12); border: 1px solid rgba(255, 45, 149, 0.4); border-radius: 12px;
  display: flex; align-items: center; gap: 10px;
}
.notice.bad { color: #ffc2cb; background: rgba(255, 59, 78, 0.12); border-color: rgba(255, 59, 78, 0.4); }
.switch { position: relative; display: flex; align-items: center; gap: 0.75rem; cursor: pointer; font-size: 0.95rem; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch small { color: var(--muted); }
.track { position: relative; width: 44px; height: 26px; flex: none; border-radius: 999px; background: rgba(255, 255, 255, 0.15); transition: background 0.2s; }
.track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Creator */
.create { padding: 28px 16px 48px; }
.create-layout { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
@media (max-width: 900px) { .create-layout { grid-template-columns: 1fr; } }
.create-form { display: flex; flex-direction: column; gap: 10px; }
.create-form > h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.create-section { margin-top: 18px; padding: 18px; border: 1px solid rgba(255, 45, 149, 0.35); border-radius: 18px; background: rgba(26, 11, 32, 0.85); display: flex; flex-direction: column; gap: 18px; }
.create-section > h2 { margin: 0; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.opt-group { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.opt-group > legend, .opt-label { padding: 0; font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 0.5rem 0.9rem; border-radius: 12px;
  background: var(--field); border: 1px solid var(--line);
  font-size: 0.9rem; cursor: pointer; transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.chip span small { color: var(--muted); font-size: 0.75rem; }
.chip span:hover { border-color: var(--line-strong); }
.chip input:checked + span { background: var(--accent-soft); border-color: var(--accent); box-shadow: 0 0 14px -4px rgba(255, 45, 149, 0.7); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip .swatch { flex-direction: row; align-items: center; gap: 8px; }
.chip .swatch i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); }
.range-row { display: flex; align-items: center; gap: 14px; }
.range-row input[type="range"] { flex: 1; accent-color: var(--accent); }
.range-row output { min-width: 2.5ch; font-weight: 800; font-size: 1.1rem; }
.create-preview { position: sticky; top: calc(var(--topbar-h) + 20px); display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 900px) { .create-preview { position: static; } }
.preview-frame {
  position: relative; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden;
  background: var(--surface); border: 1.5px solid rgba(255, 45, 149, 0.6); box-shadow: 0 0 30px -10px rgba(255, 45, 149, 0.55);
}
.preview-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.preview-empty, .preview-loading {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--muted); text-align: center; font-size: 0.95rem;
}
.preview-empty svg { width: 72px; height: 72px; opacity: 0.5; }
.preview-loading { background: rgba(13, 5, 16, 0.72); color: var(--text); }
.preview-loading small { color: var(--muted); }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.15); border-top-color: var(--accent); animation: spin 0.9s linear infinite; }
.notice .spinner { width: 18px; height: 18px; border-width: 2px; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Call */
.call { position: relative; height: 100dvh; overflow: hidden; background: #000; }
.stage { position: absolute; inset: 0; }
/* Show her whole video (never crop); the blurred poster fills any space around it. */
.stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.stage-portrait { filter: brightness(0.6); transition: opacity 0.6s; }
.call.has-video .stage-portrait { opacity: 0; }
.call-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--top-safe) 16px 14px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent);
}
.who { display: flex; align-items: center; gap: 0.5rem; font-size: 1.05rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.call.live .dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.2); }
.ai-badge { padding: 0.15rem 0.45rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; border-radius: 6px; background: rgba(255, 255, 255, 0.14); }
.timer { padding: 0.3rem 0.7rem; font-size: 0.95rem; font-variant-numeric: tabular-nums; border-radius: 999px; background: rgba(0, 0, 0, 0.35); }
.timer.low { color: #ffb4c8; }
.self-view {
  position: absolute; z-index: 2; top: calc(var(--top-safe) + 50px); right: 16px;
  width: 96px; aspect-ratio: 3 / 4; object-fit: cover;
  border: 1px solid var(--line); border-radius: 14px; background: #111;
  transform: scaleX(-1);
}
.status {
  position: absolute; z-index: 2; top: 45%; left: 50%; transform: translate(-50%, -50%);
  max-width: calc(100% - 32px); padding: 0.7rem 1.1rem;
  font-size: 0.95rem; text-align: center;
  background: rgba(0, 0, 0, 0.6); border-radius: 999px;
}
.status:empty { display: none; }
.status::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 0.6rem; vertical-align: middle;
  border-radius: 50%; background: var(--accent); animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.3; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.2); } }
.call-bottom {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  /* Controls sit in the bottom-left corner so the middle of her video stays clear. */
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 16px 20px max(20px, env(safe-area-inset-bottom));
  pointer-events: none;
}
.call-bottom .controls { pointer-events: auto; }
/* No backdrop-filter on anything over the live video: re-blurring every frame makes it stutter. */
.round { display: grid; place-items: center; border: 0; cursor: pointer; }
.round:disabled { opacity: 0.4; cursor: not-allowed; }
.round:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.controls { display: flex; gap: 14px; }
.round { width: 60px; height: 60px; border-radius: 50%; background: rgba(30, 30, 30, 0.7); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); transition: background 0.15s, transform 0.15s; }
.round:active { transform: scale(0.95); }
.round[aria-pressed="false"] { background: #fff; color: #111; }
.round.danger { background: var(--danger); }
.ended {
  position: absolute; inset: 0; z-index: 5;
  display: grid; place-items: center; padding: 16px;
  background: rgba(13, 5, 16, 0.82);
}
.ended .card { text-align: center; }
#endedMsg { margin: 0 0 6px; font-size: 1.1rem; line-height: 1.45; }
.toast {
  position: fixed; z-index: 50; left: 50%; top: calc(var(--top-safe) + 56px);
  max-width: calc(100% - 32px); padding: 0.6rem 1rem;
  font-size: 0.9rem;
  background: var(--surface); border: 1px solid var(--neon-border); border-radius: 12px;
  opacity: 0; pointer-events: none;
  transform: translateX(-50%) translateY(-10px);
  transition: opacity 0.2s, transform 0.2s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (min-width: 900px) {
  .self-view { width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
