:root {
  /* Deep-space base */
  --bg-0: #0a0a12;
  --bg-1: #12101c;
  --bg-2: #191426;

  /* Text */
  --ink: #f4f2f8;
  --ink-soft: #a8a3b8;
  --ink-faint: #726d82;

  /* Glass surfaces */
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);

  /* Brand gradient — violet → magenta → amber */
  --grad-1: #7c5cff;
  --grad-2: #e94fb0;
  --grad-3: #ffb454;

  /* Per-platform accents (used only as hover glow tints) */
  --acc-instagram: #e1306c;
  --acc-tiktok: #25f4ee;
  --acc-x: #ffffff;
  --acc-reddit: #ff4500;
  --acc-fanvue: #ffb454;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-soft: 0 20px 60px -24px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 20px 50px -20px rgba(124, 92, 255, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 55%, var(--bg-2) 100%);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
}

/* Looping video backdrop */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}

/* Darkens + tints the footage so the glass card and text stay legible */
.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(36, 26, 58, 0.55) 0%, transparent 60%),
    linear-gradient(180deg, rgba(10, 10, 18, 0.35) 0%, rgba(12, 10, 20, 0.55) 55%, rgba(10, 10, 18, 0.8) 100%);
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 48px 16px 60px;
  display: flex;
  justify-content: center;
}

.card {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
  padding: 40px 28px 32px;
  animation: rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.avatar-wrap {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 180deg, var(--grad-1), var(--grad-2), var(--grad-3), var(--grad-1));
  margin-bottom: 20px;
  box-shadow: 0 0 30px -6px rgba(233, 79, 176, 0.45);
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid var(--bg-1);
}

.avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--bg-1);
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  color: #fff;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-weight: 600;
}

.name {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 32px;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #ffffff 20%, #cdbfff 60%, #ffd4a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-size: 15px;
}

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--glass-2);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  font-family: inherit;
  position: relative;
}

.link-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-strong);
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.5);
}

.link-btn:active { transform: translateY(0); }

.link-btn .icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.link-btn .icon svg {
  width: 100%;
  height: 100%;
  fill: var(--ink);
  transition: fill 0.18s ease;
}

/* Per-platform hover glow on the icon only, subtle and tasteful */
.link-btn.instagram:hover .icon svg { fill: #ff5f9e; }
.link-btn.instagram:hover { box-shadow: 0 12px 28px -14px rgba(225, 48, 108, 0.4); }

.link-btn.tiktok:hover .icon svg { fill: var(--acc-tiktok); }
.link-btn.tiktok:hover { box-shadow: 0 12px 28px -14px rgba(37, 244, 238, 0.35); }

.link-btn.x:hover { box-shadow: 0 12px 28px -14px rgba(255, 255, 255, 0.2); }

.link-btn.reddit:hover .icon svg { fill: var(--acc-reddit); }
.link-btn.reddit:hover { box-shadow: 0 12px 28px -14px rgba(255, 69, 0, 0.35); }

.link-btn.fanvue {
  background: linear-gradient(135deg, var(--grad-2), var(--grad-3));
  color: #17111f;
  border-color: transparent;
  box-shadow: 0 14px 32px -14px rgba(255, 180, 84, 0.5);
}
.link-btn.fanvue .icon svg { fill: #17111f; }
.link-btn.fanvue:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 40px -14px rgba(255, 180, 84, 0.65);
}

.footer {
  margin-top: 32px;
  color: var(--ink-faint);
  font-size: 11.5px;
  line-height: 1.6;
}
.footer p { margin: 0 0 4px; }
.copyright { opacity: 0.8; }

/* Age gate modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 5, 12, 0.7);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  max-width: 380px;
  width: 100%;
  padding: 30px 26px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), var(--shadow-glow);
  text-align: center;
  animation: rise 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.modal h2 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  margin: 0 0 12px;
  background: linear-gradient(135deg, #ffffff, #ffd4a8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.modal p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 24px;
}
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-btn {
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.modal-btn:hover { transform: translateY(-1px); }
.modal-btn.confirm {
  background: linear-gradient(135deg, var(--grad-2), var(--grad-3));
  color: #17111f;
}
.modal-btn.cancel {
  background: var(--glass-2);
  color: var(--ink-soft);
  border: 1px solid var(--border);
}

@media (prefers-reduced-motion: reduce) {
  .card, .modal { animation: none; }
  .link-btn, .modal-btn { transition: none; }
}

@media (max-width: 380px) {
  .card { padding: 32px 20px 26px; }
  .name { font-size: 27px; }
  .link-btn { font-size: 14px; padding: 15px 16px; }
}
