@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --text: #fff;
  --text-soft: rgba(255, 255, 255, 0.8);
  --glass: rgba(18, 6, 34, 0.42);
  --glass-border: rgba(255, 255, 255, 0.16);
  --accent: #5be8ff;   /* collar cyan */
  --accent-2: #ff4fd8; /* neon pink */
  --accent-3: #9b5cff; /* violet */
  --radius: 18px;
  color-scheme: dark;
}
.theme-den {
  --accent: #ff4f8b;
  --accent-2: #ff2fd0;
  --accent-3: #ff7a59;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }

body {
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: #1c0933;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* ---------- Background: blurred photo + drifting neon aurora ---------- */
.bg {
  position: fixed;
  inset: -40px;
  z-index: -3;
  background: #1c0933 center 20% / cover no-repeat;
  filter: blur(10px) saturate(1.2);
  transform: scale(1.05);
}
.bg-main { background-image: url("/assets/img/bg-main.webp"); }
.unlocked .bg-den { background-image: url("/assets/img/bg-den.webp"); }

.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.aurora span {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  opacity: 0.35;
  filter: blur(60px);
  mix-blend-mode: screen;
  will-change: transform;
}
.aurora span:nth-child(1) { background: var(--accent-2); top: -35vmax; left: -25vmax; animation: drift1 18s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { background: var(--accent);   bottom: -40vmax; right: -30vmax; opacity: 0.22; animation: drift2 22s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { background: var(--accent-3); top: 30%; left: 40%; width: 45vmax; height: 45vmax; opacity: 0.25; animation: drift3 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(18vw, 22vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-20vw, -18vh) scale(1.1); } }
@keyframes drift3 { to { transform: translate(-30vw, 10vh) scale(0.85); } }

.bg-shade {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 6, 38, 0.2) 0%, rgba(20, 6, 38, 0.5) 50%, rgba(10, 3, 20, 0.88) 100%);
}

/* Floating paw prints drifting up the background */
.paws { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.paws i {
  position: absolute;
  bottom: -40px;
  width: 22px;
  height: 22px;
  background: currentColor;
  color: rgba(255, 255, 255, 0.14);
  -webkit-mask: url("/assets/img/paw.svg") center / contain no-repeat;
  mask: url("/assets/img/paw.svg") center / contain no-repeat;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  from { transform: translateY(0) rotate(var(--r, 0deg)); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  to   { transform: translateY(-110vh) rotate(calc(var(--r, 0deg) + 40deg)); opacity: 0; }
}

/* Paw that pops where you tap */
.tap-paw {
  position: fixed;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  background: var(--accent);
  -webkit-mask: url("/assets/img/paw.svg") center / contain no-repeat;
  mask: url("/assets/img/paw.svg") center / contain no-repeat;
  pointer-events: none;
  z-index: 20;
  animation: tapPaw 0.9s ease-out forwards;
}
@keyframes tapPaw {
  0%   { transform: scale(0.3) rotate(var(--r, 0deg)); opacity: 0.95; }
  40%  { transform: scale(1.1) rotate(var(--r, 0deg)); opacity: 0.9; }
  100% { transform: scale(1) translateY(-24px) rotate(var(--r, 0deg)); opacity: 0; }
}

/* ---------- Layout ---------- */
.page {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.topbar { display: flex; justify-content: space-between; align-items: center; }
.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text);
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.icon-btn:hover { border-color: rgba(255, 255, 255, 0.4); }
.icon-btn:active { transform: scale(0.92); }
.icon-btn img { width: 24px; height: auto; }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Profile ---------- */
.profile { text-align: center; margin: 6px 0 24px; }

.avatar-wrap {
  position: relative;
  width: 128px;
  height: 128px;
  margin: 0 auto;
  animation: bob 4s ease-in-out infinite;
}
.avatar-wrap::before {           /* spinning neon ring */
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  animation: spin 6s linear infinite;
}
.avatar-wrap::after {            /* soft glow */
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-2) 45%, transparent), transparent 70%);
  z-index: -1;
}
.avatar {
  position: relative;
  display: block;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 4px solid #1c0933;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-6px); } }

.handle {
  margin: 18px 0 4px;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, #fff 0%, #fff 35%, var(--accent) 50%, #fff 65%, #fff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s ease-in-out infinite;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}
@keyframes shimmer { 0%, 55% { background-position: 100% 0; } 100% { background-position: -50% 0; } }

.bio {
  margin: 0 auto;
  max-width: 30ch;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.45;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4dff9b;
  box-shadow: 0 0 0 0 rgba(77, 255, 155, 0.7);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(77, 255, 155, 0); } 100% { box-shadow: 0 0 0 0 rgba(77, 255, 155, 0); } }

/* Neon "After Dark" sign */
.neon {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffe3f1;
  border: 2px solid var(--accent);
  text-shadow: 0 0 6px var(--accent), 0 0 16px var(--accent-2);
  box-shadow: 0 0 10px var(--accent), inset 0 0 10px color-mix(in srgb, var(--accent) 50%, transparent);
  animation: flicker 6s infinite;
}
@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0.45; }
}

/* ---------- Link buttons ---------- */
.links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.links li { animation: rise 0.55s cubic-bezier(.2,.8,.2,1) both; }
.links li:nth-child(1) { animation-delay: 0.05s; }
.links li:nth-child(2) { animation-delay: 0.12s; }
.links li:nth-child(3) { animation-delay: 0.19s; }
.links li:nth-child(4) { animation-delay: 0.26s; }
.links li:nth-child(5) { animation-delay: 0.33s; }
.links li:nth-child(6) { animation-delay: 0.40s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.link {
  --brand: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 10px 14px 10px 10px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.link::after {                   /* shine sweep */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.link:hover, .link:focus-visible {
  border-color: color-mix(in srgb, var(--brand) 70%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 35%, transparent), 0 8px 28px color-mix(in srgb, var(--brand) 30%, transparent);
}
.link:hover::after { left: 120%; }
.link:active { transform: scale(0.975); }
.link:focus-visible, .icon-btn:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.tile {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--tile, var(--brand));
  color: var(--tile-fg, #fff);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--brand) 40%, transparent);
}
.tile svg { width: 24px; height: 24px; }

.text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.name { font-weight: 700; font-size: 1.05rem; }
.sub { font-size: 0.82rem; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.chev { flex: none; width: 18px; height: 18px; opacity: 0.6; transition: transform 0.2s ease, opacity 0.2s ease; }
.link:hover .chev { transform: translateX(3px); opacity: 1; }

/* Brand colors */
.b-tiktok    { --brand: #25f4ee; --tile: linear-gradient(135deg, #25f4ee, #111 45%, #111 55%, #fe2c55); }
.b-twitch    { --brand: #9146ff; }
.b-instagram { --brand: #dd2a7b; --tile: radial-gradient(circle at 30% 110%, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%); }
.b-x         { --brand: #ffffff; --tile: #000; }
.b-bluesky   { --brand: #1185fe; }
.b-telegram  { --brand: #26a5e4; }

/* ---------- Footer ---------- */
.footer { margin-top: auto; padding-top: 36px; text-align: center; }
.footer img { width: 96px; height: auto; opacity: 0.5; }

/* ---------- Age gate ---------- */
.gate {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(10, 3, 20, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.unlocked .gate { display: none; }
.gate-card {
  width: 100%;
  max-width: 380px;
  text-align: center;
  padding: 30px 22px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 25%, transparent);
  animation: rise 0.5s cubic-bezier(.2,.8,.2,1) both;
}
.gate-card img { width: 60px; height: auto; margin-bottom: 6px; }
.gate-card h1 { margin: 8px 0; font-size: 1.5rem; }
.gate-card p { margin: 0 0 22px; color: var(--text-soft); line-height: 1.45; }
.gate-actions { display: grid; gap: 10px; }
.btn {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  text-decoration: none;
  display: grid;
  place-items: center;
  transition: transform 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  border: none;
  color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 24px color-mix(in srgb, var(--accent) 40%, transparent);
}
.locked-content { visibility: hidden; }
.unlocked .locked-content { visibility: visible; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  transform: translate(-50%, 20px);
  opacity: 0;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(10, 3, 20, 0.92);
  border: 1px solid var(--glass-border);
  font-size: 0.9rem;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 700px) { .page { padding-top: 40px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .paws { display: none; }
}

/* Section heading between link groups */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 2px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.section-label::before, .section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* 18+ links: pink-tinted glass + 🔞 badge so they stand out at a glance */
.link.adult {
  background: linear-gradient(90deg, rgba(255, 47, 120, 0.28), rgba(40, 6, 30, 0.45) 70%);
  border-color: rgba(255, 79, 139, 0.55);
  box-shadow: inset 3px 0 0 #ff2f78;
}
.link.adult .sub { color: rgba(255, 214, 230, 0.85); }
.r18 { font-size: 0.95em; margin-right: 2px; }
.section-18 { color: #ffd0e2; margin-top: 18px; }
.section-18::before, .section-18::after { background: linear-gradient(90deg, transparent, rgba(255, 79, 139, 0.7), transparent); }
