/* Alyna — shared styles. Mobile-first, system fonts only (no web font requests). */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --bg-1: #1a1024;
  --bg-2: #2b1836;
  --bg-3: #3a1f2e;
  --text: #f7f1f5;
  --muted: #cbbccb;
  --card: rgba(255, 255, 255, 0.08);
  --card-hover: rgba(255, 255, 255, 0.14);
  --border: rgba(255, 255, 255, 0.16);
  --accent-1: #f472b6;
  --accent-2: #a855f7;
  --focus: #fde68a;
  --radius: 16px;
}

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--bg-1);
  background-image:
    radial-gradient(120% 60% at 50% 0%, rgba(244, 114, 182, 0.22) 0%, rgba(244, 114, 182, 0) 60%),
    linear-gradient(170deg, var(--bg-2) 0%, var(--bg-1) 55%, var(--bg-3) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.page {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ---------- Profile header ---------- */
.profile { text-align: center; margin-bottom: 28px; }

.avatar {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 0 6px rgba(244, 114, 182, 0.18);
  background: #555;
}

.name {
  margin: 0 0 6px;
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.bio {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

/* ---------- Link buttons ---------- */
.links {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 14px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.btn:hover { background: var(--card-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  min-height: 64px;
  border: 0;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%);
  box-shadow: 0 10px 28px rgba(168, 85, 247, 0.38);
  text-shadow: 0 1px 2px rgba(60, 10, 60, 0.35);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #f78bc4 0%, #b671f8 100%);
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.5);
}

.btn--ghost { background: transparent; }

.btn__icon { width: 20px; height: 20px; flex: none; }

/* ---------- Socials ---------- */
.socials {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  transition: transform 0.15s ease, background-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.social:hover { background: var(--card-hover); transform: translateY(-2px); }
.social:active { transform: scale(0.95); }
.social svg { width: 22px; height: 22px; }

/* ---------- Content pages (privacy, age gate) ---------- */
.card {
  width: 100%;
  padding: 28px 22px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
}

.card h1 { margin: 0 0 8px; font-size: 1.625rem; line-height: 1.2; }
.card h2 { margin: 24px 0 6px; font-size: 1.125rem; }
.card p, .card li { color: var(--muted); }
.card p { margin: 0 0 12px; }
.card ul { margin: 0 0 12px; padding-left: 1.2em; }
.card a { color: var(--text); text-underline-offset: 3px; }
.card .updated { font-size: 0.875rem; }

.gate { text-align: center; }
.gate__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
}
.gate .links { margin-top: 24px; }
.gate .small { font-size: 0.875rem; margin-top: 18px; margin-bottom: 0; }

.back {
  align-self: flex-start;
  margin-bottom: 16px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
  padding: 8px 0;
}
.back:hover { color: var(--text); }

/* ---------- Footer ---------- */
.footer {
  margin-top: auto;
  padding-top: 40px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
}
.footer a { color: var(--muted); text-underline-offset: 3px; padding: 6px 2px; }
.footer a:hover { color: var(--text); }

@media (min-width: 600px) {
  .page { padding-top: 72px; }
  .avatar { width: 128px; height: 128px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .btn:hover, .btn:active, .social:hover, .social:active { transform: none; }
}

.nav { width: 100%; }

/* large photo header option */
.page:has(.profile--big){padding-top:0}
.profile--big{position:relative;width:calc(100% + 40px);margin:0 -20px 24px}
.profile--big .avatar{width:100%;height:auto;aspect-ratio:1/1;max-height:62vh;border-radius:0;border:0;box-shadow:none;margin:0;
 -webkit-mask-image:linear-gradient(#000 60%,transparent);mask-image:linear-gradient(#000 60%,transparent)}
.profile--big .name{margin-top:-44px;position:relative;font-size:2rem}
