/* =====================================================================
   RISS — link-in-bio profile
   Sections:
   01 Tokens + reset            07 Stats
   02 Base + utilities          08 CTA
   03 Buttons                   09 Tabs + locked grid
   04 Background scene          10 Features
   05 Age gate                  11 Social proof
   06 Hero + profile card       12 Instagram / FAQ / footer / sticky
                                13 Modals
                                14 Reveal + responsive + motion
   ===================================================================== */

/* ---------------------------------------------------------------
   01. TOKENS + RESET
--------------------------------------------------------------- */
:root {
  --bg: #0a0a0f;
  --bg-soft: #120d19;
  --ink: #f7f1f8;
  --ink-dim: #c6b8d1;
  --ink-mute: #9c8fa9;

  --rose: #f7c6a3;
  --gold: #e9b07a;
  --pink: #ff4d8d;
  --pink-deep: #d4186a;
  --violet: #8b5cf6;
  --blue: #38bdf8;
  --green: #4ade80;

  --glass-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025));
  --glass-stroke: rgba(255, 255, 255, 0.11);
  --glass-blur: 18px;

  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --font-display: "Sora", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --shadow-card: 0 28px 60px -24px rgba(0, 0, 0, 0.85);
  --shadow-glow-pink: 0 18px 50px -14px rgba(255, 77, 141, 0.55);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shell: 680px;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg { display: block; max-width: 100%; }

img { height: auto; }

h1, h2, h3, p, blockquote, figure { margin: 0; }

button,
a { -webkit-tap-highlight-color: transparent; }

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

a { color: inherit; }

[hidden] { display: none !important; }

::selection {
  background: rgba(255, 77, 141, 0.4);
  color: #fff;
}

:focus-visible {
  outline: 2px solid #ffd3e3;
  outline-offset: 3px;
  border-radius: 6px;
}

html.no-scroll { overflow: hidden; }

main:focus { outline: none; }

/* ---------------------------------------------------------------
   02. BASE + UTILITIES
--------------------------------------------------------------- */
/* Keep page content above the fixed background scene */
.hero,
main,
.footer {
  position: relative;
  z-index: 1;
}

.shell {
  width: min(100% - 32px, var(--shell));
  margin-inline: auto;
}

@media (min-width: 520px) {
  .shell { width: min(100% - 48px, var(--shell)); }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: #12000a;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}

.skip-link:focus-visible { transform: translateY(0); }

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 6vw, 2.3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.section-title--sm { font-size: clamp(1.35rem, 4.6vw, 1.7rem); }

.section-sub {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--ink-dim);
  max-width: 46ch;
}

.section-head {
  margin-bottom: 22px;
}

.section-head .section-title { margin-top: 8px; }

/* ---------------------------------------------------------------
   03. BUTTONS
--------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 15px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out), filter 0.18s;
  touch-action: manipulation;
  user-select: none;
}

.btn__icon,
.btn__chevron {
  flex: none;
  width: 21px;
  height: 21px;
}

.btn__label { position: relative; z-index: 2; }

.btn__icon { position: relative; z-index: 2; }

.btn__chevron {
  width: 17px;
  height: 17px;
  opacity: 0.6;
  transition: transform 0.25s var(--ease-out);
}

/* Primary 3D CTA ------------------------------------------------ */
.btn--cta {
  color: #fff;
  padding-bottom: 16px;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #ff6ba6 0%, #f52b7d 52%, #cf1363 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 0 rgba(0, 0, 0, 0.18),
    0 6px 0 #8a0a41,
    0 14px 34px -8px rgba(255, 43, 125, 0.6);
  text-shadow: 0 1px 0 rgba(90, 0, 35, 0.35);
}

.btn--cta::before {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: 0;
  background: radial-gradient(circle at 50% 40%, rgba(255, 174, 208, 0.65), transparent 62%);
  opacity: 0;
  animation: ctaPulse 3.4s ease-in-out infinite;
  pointer-events: none;
}

.btn--cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -2px 0 rgba(0, 0, 0, 0.18),
    0 7px 0 #8a0a41,
    0 20px 44px -8px rgba(255, 43, 125, 0.7);
}

.btn--cta:active {
  transform: translateY(5px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 1px 0 #8a0a41,
    0 6px 18px -6px rgba(255, 43, 125, 0.55);
}

.btn--cta .btn__icon { filter: drop-shadow(0 2px 4px rgba(90, 0, 35, 0.35)); }

.btn--xl {
  width: 100%;
  min-height: 64px;
  padding: 19px 22px 22px;
  font-size: clamp(1.02rem, 3.9vw, 1.18rem);
  gap: 12px;
}

.btn--sm {
  min-height: 44px;
  padding: 11px 20px 13px;
  font-size: 0.92rem;
}

/* Shine sweep --------------------------------------------------- */
.btn__shine {
  position: absolute;
  top: -60%;
  bottom: -60%;
  left: -40%;
  width: 34%;
  z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg) translateX(-220%);
  animation: shine 4.6s ease-in-out infinite;
  pointer-events: none;
}

/* Ghost --------------------------------------------------------- */
.btn--ghost {
  min-height: 48px;
  color: var(--ink-dim);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
  font-size: 0.95rem;
}

.btn--ghost:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.btn--ghost:active { transform: translateY(2px); }

/* Instagram gradient border ------------------------------------- */
.btn--instagram {
  width: 100%;
  justify-content: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  color: var(--ink);
  background:
    linear-gradient(150deg, rgba(24, 18, 32, 0.94), rgba(15, 11, 22, 0.94)) padding-box,
    linear-gradient(115deg, #ff9ec4, #ff4d8d 28%, #8b5cf6 62%, #38bdf8) border-box;
  font-weight: 600;
  font-size: 0.98rem;
  box-shadow: 0 18px 40px -24px rgba(255, 77, 141, 0.65);
}

.btn--instagram .btn__chevron { margin-left: auto; }

.btn--instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px -24px rgba(139, 92, 246, 0.8);
}

.btn--instagram:hover .btn__chevron { transform: translateX(3px); }

.btn--instagram:active { transform: translateY(1px) scale(0.995); }

.btn--instagram .btn__icon { color: #ffb1cd; }

.ripple {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  opacity: 0.9;
  animation: ripple 0.62s ease-out forwards;
  pointer-events: none;
}

/* ---------------------------------------------------------------
   04. BACKGROUND SCENE
--------------------------------------------------------------- */
.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, #171020 0%, transparent 60%),
    radial-gradient(90% 60% at 90% 110%, #150a18 0%, transparent 65%),
    var(--bg);
}

.aurora {
  position: absolute;
  inset: -20%;
  filter: blur(70px) saturate(135%);
  opacity: 0.72;
}

.aurora__blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  will-change: transform;
}

.aurora__blob--rose {
  width: 62vmax;
  height: 62vmax;
  left: -18vmax;
  top: -20vmax;
  background: radial-gradient(circle at 50% 50%, rgba(255, 128, 158, 0.55), rgba(255, 128, 158, 0) 62%);
  animation: driftA 26s ease-in-out infinite alternate;
}

.aurora__blob--violet {
  width: 58vmax;
  height: 58vmax;
  right: -22vmax;
  top: -6vmax;
  background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.5), rgba(139, 92, 246, 0) 64%);
  animation: driftB 32s ease-in-out infinite alternate;
}

.aurora__blob--blue {
  width: 48vmax;
  height: 48vmax;
  left: 8vmax;
  bottom: -26vmax;
  background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.34), rgba(56, 189, 248, 0) 62%);
  animation: driftC 29s ease-in-out infinite alternate;
}

.aurora__blob--pink {
  width: 46vmax;
  height: 46vmax;
  right: -10vmax;
  bottom: -14vmax;
  background: radial-gradient(circle at 50% 50%, rgba(255, 77, 141, 0.42), rgba(255, 77, 141, 0) 60%);
  animation: driftA 34s ease-in-out infinite alternate-reverse;
}

.decor {
  position: absolute;
  inset: 0;
}

.decor > * {
  position: absolute;
  translate: calc(var(--px, 0px) * var(--depth, 1)) calc(var(--py, 0px) * var(--depth, 1));
  transition: translate 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.orb {
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.08) 26%, transparent 42%),
    radial-gradient(circle at 68% 76%, rgba(255, 120, 170, 0.55), transparent 58%),
    linear-gradient(150deg, #ff9ec4 0%, #b0407e 40%, #3a1030 78%, #160a18 100%);
  box-shadow:
    inset -10px -14px 30px rgba(20, 0, 18, 0.75),
    inset 8px 8px 22px rgba(255, 220, 235, 0.18),
    0 30px 60px -24px rgba(255, 77, 141, 0.35);
  opacity: 0.75;
}

.orb--a {
  width: 190px;
  height: 190px;
  right: -46px;
  top: 8%;
  animation: floatY 11s ease-in-out infinite;
}

.orb--b {
  width: 96px;
  height: 96px;
  left: -28px;
  top: 34%;
  opacity: 0.55;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.85), transparent 40%),
    radial-gradient(circle at 70% 78%, rgba(56, 189, 248, 0.5), transparent 62%),
    linear-gradient(150deg, #a5b4fc 0%, #4c1d95 55%, #100720 100%);
  animation: floatY 14s ease-in-out infinite reverse;
}

.orb--c {
  width: 58px;
  height: 58px;
  right: 12%;
  top: 62%;
  opacity: 0.5;
  animation: floatY 9s ease-in-out infinite 1s;
}

.ring {
  border-radius: 50%;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  opacity: 0.55;
}

.ring--a {
  width: 240px;
  height: 240px;
  left: -80px;
  top: 6%;
  background: conic-gradient(from 20deg, #ffd9c0, #ff4d8d, #8b5cf6, #38bdf8, #ffd9c0);
  transform: rotate3d(1, -0.6, 0, 62deg);
  animation: ringSpin 30s linear infinite;
}

.ring--b {
  width: 150px;
  height: 150px;
  right: -30px;
  top: 40%;
  background: conic-gradient(from 120deg, #ff9ec4, #ffd9c0, #8b5cf6, #ff9ec4);
  transform: rotate3d(1, 1, 0, 58deg);
  animation: ringSpin 22s linear infinite reverse;
}

.ring--c {
  width: 110px;
  height: 110px;
  left: 16%;
  bottom: 8%;
  background: conic-gradient(from 260deg, #38bdf8, #8b5cf6, #ff4d8d, #38bdf8);
  transform: rotate3d(1, -0.4, 0, 64deg);
  opacity: 0.4;
  animation: ringSpin 26s linear infinite;
}

.glow-blob {
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.5;
}

.glow-blob--a {
  width: 280px;
  height: 280px;
  left: 50%;
  top: 44%;
  margin-left: -140px;
  background: radial-gradient(circle, rgba(255, 96, 152, 0.28), transparent 68%);
}

.glow-blob--b {
  width: 220px;
  height: 220px;
  right: -40px;
  bottom: 18%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent 68%);
}

/* Film grain — inline SVG turbulence, no external request */
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

/* ---------------------------------------------------------------
   05. AGE GATE
--------------------------------------------------------------- */
.gate {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
}

.gate.is-closing { animation: gateOut 0.4s var(--ease-out) forwards; }

.gate__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 30% 30%, rgba(255, 94, 148, 0.22), transparent 60%),
    radial-gradient(60% 60% at 80% 70%, rgba(139, 92, 246, 0.24), transparent 62%),
    rgba(6, 5, 10, 0.78);
  -webkit-backdrop-filter: blur(26px) saturate(120%);
  backdrop-filter: blur(26px) saturate(120%);
}

.gate__card {
  position: relative;
  width: min(100%, 400px);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 30px 24px 22px;
  text-align: center;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, rgba(34, 24, 42, 0.92), rgba(14, 11, 20, 0.94));
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  animation: cardIn 0.45s var(--ease-out) both;
}

.gate__badge {
  width: 66px;
  height: 66px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.22rem;
  color: #2a0717;
  background: linear-gradient(150deg, #ffe0ec, #ffb3cd 40%, #f7c6a3);
  box-shadow: 0 0 0 6px rgba(255, 179, 205, 0.12), 0 16px 30px -12px rgba(255, 120, 170, 0.65);
}

.gate__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--rose);
  margin-bottom: 6px;
}

.gate__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 6vw, 1.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.gate__text {
  margin: 12px auto 22px;
  max-width: 32ch;
  font-size: 0.94rem;
  color: var(--ink-dim);
}

.gate__yes { width: 100%; }

.gate__no { width: 100%; margin-top: 10px; }

.gate__note {
  margin-top: 16px;
  font-size: 0.72rem;
  color: var(--ink-mute);
}

/* ---------------------------------------------------------------
   06. HERO + PROFILE CARD
--------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: max(14px, env(safe-area-inset-top));
}

.hero__frame {
  width: min(100% - 24px, 760px);
  margin-inline: auto;
}

.hero__banner {
  position: relative;
  height: clamp(158px, 32vw, 236px);
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  transform: translate3d(0, 0, 0);
}

.hero__banner-fallback {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(38% 52% at 22% 30%, rgba(255, 150, 186, 0.85), transparent 62%),
    radial-gradient(42% 58% at 74% 22%, rgba(139, 92, 246, 0.85), transparent 64%),
    radial-gradient(48% 60% at 62% 88%, rgba(56, 189, 248, 0.55), transparent 66%),
    radial-gradient(40% 50% at 18% 82%, rgba(255, 77, 141, 0.75), transparent 62%),
    linear-gradient(140deg, #2a1030, #150b22 55%, #0a0a12);
  background-size: 180% 180%;
  animation: auroraShift 18s ease-in-out infinite alternate;
  filter: saturate(125%);
}

.hero__banner-img {
  position: absolute;
  inset: -14%;
  width: 128%;
  height: 128%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
  transform: translate3d(0, var(--sy, 0px), 0) scale(1.04);
  will-change: transform;
}

.hero__banner-img.is-loaded { opacity: 1; }

.hero__banner-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 15, 0.05) 0%, rgba(10, 10, 15, 0.32) 62%, rgba(10, 10, 15, 0.92) 100%),
    radial-gradient(80% 60% at 50% 110%, rgba(10, 10, 15, 0.9), transparent 60%);
}

.hero__spark {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px 3px rgba(255, 214, 231, 0.85);
  opacity: 0.8;
  animation: twinkle 4s ease-in-out infinite;
}

.hero__spark--a { left: 18%; top: 28%; }
.hero__spark--b { right: 22%; top: 46%; animation-delay: 1.4s; width: 5px; height: 5px; }
.hero__spark--c { left: 64%; top: 18%; animation-delay: 2.6s; width: 4px; height: 4px; }

.profile-card {
  position: relative;
  margin-top: -54px;
  padding: 20px 20px 26px;
  border-radius: var(--radius-xl);
  text-align: center;
  transform-style: preserve-3d;
  will-change: transform;
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(247, 198, 163, 0.75), rgba(255, 77, 141, 0.3) 38%, rgba(139, 92, 246, 0.55) 68%, rgba(56, 189, 248, 0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}

.glare {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.22), transparent 58%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  mix-blend-mode: screen;
}

.is-tilting .glare { opacity: 1; }

.profile-card__avatar {
  position: relative;
  width: 118px;
  height: 118px;
  margin: -58px auto 14px;
  transform: translateZ(34px);
}

.avatar-ring {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #ffb3c7, #f7c6a3, #ff4d8d, #8b5cf6, #38bdf8, #ffb3c7);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spin 7s linear infinite;
  filter: drop-shadow(0 0 12px rgba(255, 77, 141, 0.55));
}

.avatar {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(150deg, #ff9ec4, #8b5cf6 58%, #2b1050);
  border: 3px solid #0b0910;
  box-shadow: inset 0 -14px 26px rgba(20, 0, 20, 0.55), 0 16px 30px -14px rgba(0, 0, 0, 0.85);
}

.avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.avatar img.is-loaded { opacity: 1; }

.avatar__initials {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  color: #fff;
  text-shadow: 0 2px 18px rgba(70, 0, 40, 0.45);
  letter-spacing: 0.02em;
}

.avatar--initials .avatar__initials { display: block; }

.online-dot {
  position: absolute;
  right: 4px;
  bottom: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid #0b0910;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
  animation: onlinePulse 2.6s ease-out infinite;
}

.profile-card__name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  transform: translateZ(22px);
}

.verified {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 8px rgba(255, 143, 190, 0.55));
  transform: translateY(1px);
}

.profile-card__handle {
  margin-top: 4px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--rose);
  letter-spacing: 0.04em;
  transform: translateZ(16px);
}

.profile-card__tagline {
  margin: 12px auto 0;
  max-width: 34ch;
  font-size: 1rem;
  color: var(--ink-dim);
  transform: translateZ(12px);
}

.profile-card__location {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  transform: translateZ(10px);
}

.profile-card__location svg { width: 14px; height: 14px; color: var(--rose); }

/* ---------------------------------------------------------------
   07. STATS
--------------------------------------------------------------- */
.stats-section {
  margin-top: 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.stat {
  position: relative;
  padding: 12px 4px 11px;
  border-radius: var(--radius-md);
  text-align: center;
  overflow: hidden;
}

.stat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% 0%, rgba(255, 255, 255, 0.09), transparent 70%);
  pointer-events: none;
}

.stat__icon {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0 auto 6px;
  color: var(--rose);
  opacity: 0.9;
}

.stat__icon svg {
  width: 100%;
  height: 100%;
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 4.2vw, 1.32rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(180deg, #fff, #ffc9dc 70%, #e8a9c4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  display: block;
  margin-top: 4px;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------------------------------------------------------------
   08. CTA BLOCK
--------------------------------------------------------------- */
.cta-block {
  margin-top: 40px;
}

.cta-block .shell { text-align: center; }

.cta-block__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--rose);
  margin-bottom: 10px;
}

.cta-block__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 6.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin: 0 auto 22px;
}

.cta-block__title span {
  background: linear-gradient(100deg, #ffb3cd, #f7c6a3 40%, #c4b5fd 75%, #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-block__button {
  max-width: 460px;
  margin-inline: auto;
}

.trust-line {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ink-dim);
}

.trust-line i {
  font-style: normal;
  color: rgba(255, 255, 255, 0.28);
}

.cta-block__micro {
  margin-top: 8px;
  font-size: 0.7rem;
  color: var(--ink-mute);
}

/* ---------------------------------------------------------------
   09. TABS + LOCKED GRID
--------------------------------------------------------------- */
.content-section {
  margin-top: 54px;
}

.content-section__head { margin-bottom: 20px; }

.tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  margin-bottom: 16px;
  border-radius: var(--radius-pill);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.tabs__pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: var(--radius-pill);
  background: linear-gradient(160deg, rgba(255, 143, 190, 0.95), rgba(212, 24, 106, 0.92));
  box-shadow: 0 8px 20px -8px rgba(255, 77, 141, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.4s var(--ease-out);
}

.tabs[data-active="media"] .tabs__pill { transform: translateX(100%); }

.tab {
  position: relative;
  z-index: 1;
  padding: 11px 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-dim);
  transition: color 0.25s ease, transform 0.2s var(--ease-out);
}

.tab[aria-selected="true"] { color: #fff; }

.tab:active { transform: scale(0.98); }

.grid {
  columns: 2;
  column-gap: 10px;
}

@media (min-width: 560px) { .grid { columns: 3; } }
@media (min-width: 900px) { .grid { columns: 4; } }

.grid:focus-visible { outline-offset: 6px; }

/* Tile ---------------------------------------------------------- */
.tile {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 40px -26px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s;
  will-change: transform;
  text-align: left;
  cursor: pointer;
}

.tile--wide { aspect-ratio: 1 / 1; }
.tile--tall { aspect-ratio: 3 / 4.6; }

.tile:hover,
.tile:focus-visible {
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 30px 50px -26px rgba(0, 0, 0, 0.95), 0 0 30px -12px rgba(255, 77, 141, 0.5);
}

.tile:active { transform: scale(0.985); }

.tile__art {
  position: absolute;
  inset: -14%;
  filter: blur(18px) saturate(135%);
  opacity: 0.88;
  transform: scale(1.06) translateZ(0);
}

.tile__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 15, 0.12) 0%, rgba(10, 10, 15, 0.35) 45%, rgba(10, 10, 15, 0.82) 100%),
    radial-gradient(70% 55% at 50% 40%, rgba(10, 10, 15, 0.1), rgba(10, 10, 15, 0.55));
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.tile__glare {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.28), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
  pointer-events: none;
}

.tile.is-tilting .tile__glare,
.tile:hover .tile__glare { opacity: 0.75; }

.tile__badges {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  transform: translateZ(24px);
  pointer-events: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border-radius: 8px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(12, 10, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.pill svg { width: 11px; height: 11px; }

.pill--locked {
  color: #ffd6e4;
  border-color: rgba(255, 143, 190, 0.35);
  background: rgba(120, 10, 52, 0.5);
}

.tile__lock {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 12px 26px -10px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 0 30px -6px rgba(255, 120, 170, 0.55);
  transform: translateZ(40px);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.tile__lock::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 190, 215, 0.28);
  opacity: 0;
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
}

.tile:hover .tile__lock::before,
.tile:focus-visible .tile__lock::before { opacity: 1; transform: scale(1.12); }

.tile__lock svg {
  width: 24px;
  height: 24px;
}

.tile__meta {
  position: absolute;
  right: 9px;
  bottom: 9px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  transform: translateZ(18px);
  pointer-events: none;
}

.tile__meta svg { width: 12px; height: 12px; color: #ff9ec4; }

/* Lock shake feedback */
.tile.is-shaking .tile__lock { animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both; }
.tile.is-shaking { border-color: rgba(255, 143, 190, 0.65); }

/* Gradient art palettes (CSS only, no photos) ------------------- */
.art-1  { background: linear-gradient(145deg, #ffc2d4 0%, #ff4d8d 42%, #7c1d4b 100%); }
.art-2  { background: linear-gradient(145deg, #c4b5fd 0%, #7c3aed 45%, #1e1b4b 100%); }
.art-3  { background: linear-gradient(145deg, #bae6fd 0%, #2563eb 48%, #0b1220 100%); }
.art-4  { background: linear-gradient(145deg, #ffe0b2 0%, #ff8fab 46%, #a0124f 100%); }
.art-5  { background: linear-gradient(145deg, #f5d0fe 0%, #c026d3 44%, #3b0640 100%); }
.art-6  { background: linear-gradient(145deg, #99f6e4 0%, #0ea5e9 46%, #16255c 100%); }
.art-7  { background: linear-gradient(145deg, #fde68a 0%, #f59e0b 44%, #6b2410 100%); }
.art-8  { background: linear-gradient(145deg, #fbcfe8 0%, #8b5cf6 48%, #1b0f3d 100%); }
.art-9  { background: linear-gradient(145deg, #fecaca 0%, #f43f5e 46%, #450a19 100%); }
.art-10 { background: linear-gradient(145deg, #e0f2fe 0%, #6366f1 48%, #111827 100%); }
.art-11 { background: linear-gradient(145deg, #fecdd3 0%, #fb7185 46%, #6b1030 100%); }
.art-12 { background: linear-gradient(145deg, #fed7aa 0%, #f97316 46%, #3b1508 100%); }

.grid__hint {
  margin-top: 14px;
  text-align: center;
  font-size: 0.76rem;
  color: var(--ink-mute);
}

/* ---------------------------------------------------------------
   10. FEATURES
--------------------------------------------------------------- */
.features {
  margin-top: 58px;
}

.features__grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 560px) {
  .features__grid { grid-template-columns: 1fr 1fr; }
}

.feature {
  position: relative;
  padding: 20px 18px 20px;
  border-radius: var(--radius-lg);
  perspective: 600px;
  transition: transform 0.35s var(--ease-out), border-color 0.3s;
}

.feature:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.2); }

.feature__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
  transform: rotateX(14deg) rotateY(-14deg);
  transform-style: preserve-3d;
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.4s var(--ease-out);
}

.feature:hover .feature__icon { transform: rotateX(6deg) rotateY(-6deg) translateZ(8px); }

.feature__icon svg { width: 21px; height: 21px; color: #1a0712; }

.feature__icon--rose   { background: linear-gradient(150deg, #ffe4ee, #ff9ec4 55%, #e2558a); }
.feature__icon--violet { background: linear-gradient(150deg, #e9e0ff, #b69cf7 55%, #7c3aed); }
.feature__icon--pink   { background: linear-gradient(150deg, #ffd9e6, #ff6ba6 55%, #c2185b); }
.feature__icon--blue   { background: linear-gradient(150deg, #dcf2ff, #7dd3fc 55%, #2563eb); }

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature p {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--ink-dim);
}

/* ---------------------------------------------------------------
   11. SOCIAL PROOF
--------------------------------------------------------------- */
.social-proof { margin-top: 58px; }

.proof-card {
  position: relative;
  padding: 26px 20px 22px;
  border-radius: var(--radius-xl);
  text-align: center;
  overflow: hidden;
}

.proof-card::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 70%;
  background: radial-gradient(60% 60% at 50% 0%, rgba(255, 120, 170, 0.22), transparent 70%);
  pointer-events: none;
}

.proof-count {
  background: linear-gradient(100deg, #ffd0e0, #f7c6a3 50%, #d8c8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.proof-avatars {
  display: flex;
  justify-content: center;
  margin: 18px 0 8px;
}

.mini-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: -9px;
  border-radius: 50%;
  border: 2px solid #100c15;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: #24040f;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.8);
}

.mini-avatar:first-child { margin-left: 0; }

.mini-avatar--1 { background: linear-gradient(150deg, #ffd6a5, #ff8fab); }
.mini-avatar--2 { background: linear-gradient(150deg, #c4b5fd, #7c3aed); color: #f5f0ff; }
.mini-avatar--3 { background: linear-gradient(150deg, #bae6fd, #38bdf8); }
.mini-avatar--4 { background: linear-gradient(150deg, #fbcfe8, #f472b6); }
.mini-avatar--more {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-dim);
  border-color: rgba(255, 255, 255, 0.18);
  font-size: 0.9rem;
}

.testimonials {
  position: relative;
  min-height: 142px;
  margin-top: 12px;
}

.testimonial {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s ease, transform 0.55s var(--ease-out);
  pointer-events: none;
}

.testimonial.is-active {
  opacity: 1;
  transform: none;
}

.testimonial p {
  font-size: 0.94rem;
  color: var(--ink);
  line-height: 1.6;
  max-width: 40ch;
  margin-inline: auto;
}

.testimonial footer {
  margin-top: 12px;
  font-size: 0.74rem;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

.testimonial__todo {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffd2a8;
  background: rgba(233, 176, 122, 0.14);
  border: 1px solid rgba(233, 176, 122, 0.28);
}

.proof-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}

.proof-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  transition: background 0.3s, width 0.3s;
}

.proof-dots span.is-active {
  width: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff9ec4, #8b5cf6);
}

/* ---------------------------------------------------------------
   12. INSTAGRAM / FAQ / FOOTER / STICKY
--------------------------------------------------------------- */
.secondary { margin-top: 46px; }

.secondary .section-eyebrow {
  display: block;
  margin-bottom: 12px;
}

.faq { margin-top: 54px; }

.accordion {
  display: grid;
  gap: 10px;
}

.accordion__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}

.accordion__item.is-open { border-color: rgba(255, 143, 190, 0.35); }

.accordion__item h3 { margin: 0; }

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 17px 17px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s;
}

.accordion__trigger:hover { color: #ffd7e5; }

.accordion__icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.35s var(--ease-out), background 0.3s;
}

.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1.5px;
  margin: -0.75px 0 0 -4px;
  border-radius: 2px;
  background: #ffd7e5;
  transition: transform 0.3s ease;
}

.accordion__icon::after { transform: rotate(90deg); }

.accordion__trigger[aria-expanded="true"] .accordion__icon {
  transform: rotate(180deg);
  background: linear-gradient(150deg, rgba(255, 143, 190, 0.8), rgba(139, 92, 246, 0.8));
}

.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: rotate(0deg); }

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s var(--ease-out);
}

.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }

.accordion__inner {
  overflow: hidden;
}

.accordion__inner p {
  padding: 0 17px 18px;
  font-size: 0.9rem;
  color: var(--ink-dim);
  max-width: 52ch;
}

.footer {
  position: relative;
  margin-top: 60px;
  padding: 30px 0 calc(30px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(10, 10, 15, 0), rgba(10, 10, 15, 0.6));
  text-align: center;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.85);
}

.footer__disclaimer {
  margin: 10px auto 0;
  max-width: 40ch;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--ink-mute);
}

.footer__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.74rem;
  color: var(--ink-dim);
}

.footer__links a {
  text-decoration: none;
  color: var(--ink-dim);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.footer__links a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.footer__copy {
  margin-top: 12px;
  font-size: 0.68rem;
  color: var(--ink-mute);
}

@media (max-width: 759px) {
  /* Keep the footer clear of the floating CTA */
  .footer { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
}

/* Sticky mobile CTA --------------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(150deg, rgba(30, 20, 38, 0.92), rgba(14, 10, 20, 0.94));
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 22px 44px -18px rgba(0, 0, 0, 0.95);
  transform: translateY(140%);
  visibility: hidden;
  transition: transform 0.4s var(--ease-out), visibility 0.4s;
}

.sticky-cta.is-visible {
  transform: translateY(0);
  visibility: visible;
}

.sticky-cta__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.sticky-cta__text strong {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.sticky-cta__text span {
  font-size: 0.68rem;
  color: var(--ink-mute);
}

.sticky-cta .btn--sm { flex: none; }

@media (min-width: 760px) {
  .sticky-cta { display: none; }
}

/* ---------------------------------------------------------------
   13. MODALS
--------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 9, 0.7);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
  animation: fadeIn 0.3s ease both;
}

.modal__card {
  position: relative;
  width: min(100%, 400px);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 32px 22px 24px;
  text-align: center;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(160deg, rgba(34, 24, 42, 0.96), rgba(13, 10, 19, 0.97));
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  animation: cardIn 0.35s var(--ease-out) both;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--ink-dim);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.modal__close:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.modal__close:active { transform: scale(0.94); }
.modal__close svg { width: 17px; height: 17px; }

.modal__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border-radius: 50%;
  color: #ffe0ec;
  background: radial-gradient(circle at 35% 30%, rgba(255, 220, 235, 0.3), rgba(255, 77, 141, 0.15) 55%, transparent 75%);
  border: 1px solid rgba(255, 143, 190, 0.4);
  box-shadow: 0 0 40px -8px rgba(255, 77, 141, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.modal__icon svg { width: 27px; height: 27px; }

.modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 4.8vw, 1.42rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.modal__text {
  margin: 12px auto 22px;
  max-width: 34ch;
  font-size: 0.88rem;
  color: var(--ink-dim);
}

.modal__cta { width: 100%; }

.modal__trust {
  margin-top: 14px;
  font-size: 0.7rem;
  color: var(--ink-mute);
}

/* ---------------------------------------------------------------
   14. REVEAL, SKELETON, RESPONSIVE, MOTION
--------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Skeleton shimmer while fonts / images boot */
.booting .avatar,
.booting .hero__banner {
  position: relative;
}

.booting .avatar::after,
.booting .hero__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.12) 50%, transparent 80%);
  background-size: 220% 100%;
  animation: shimmer 1.4s linear infinite;
  pointer-events: none;
}

.booting .avatar::after { border-radius: 50%; }

@keyframes shimmer { from { background-position: 140% 0; } to { background-position: -80% 0; } }

@keyframes ctaPulse {
  0%, 100% { opacity: 0.25; transform: scale(0.92); }
  50% { opacity: 0.7; transform: scale(1.04); }
}

@keyframes shine {
  0%, 62% { transform: skewX(-18deg) translateX(-220%); }
  82%, 100% { transform: skewX(-18deg) translateX(680%); }
}

@keyframes ripple {
  0% { transform: scale(0); opacity: 0.55; }
  100% { transform: scale(1); opacity: 0; }
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes onlinePulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(6deg); }
}

@keyframes ringSpin {
  from { transform: rotate3d(1, -0.6, 0, 62deg) rotate(0deg); }
  to   { transform: rotate3d(1, -0.6, 0, 62deg) rotate(360deg); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50% { opacity: 0.95; transform: scale(1.15); }
}

@keyframes driftA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(8vmax, 6vmax, 0) scale(1.12); }
}

@keyframes driftB {
  from { transform: translate3d(0, 0, 0) scale(1.05); }
  to   { transform: translate3d(-7vmax, 8vmax, 0) scale(0.94); }
}

@keyframes driftC {
  from { transform: translate3d(0, 0, 0) scale(0.96); }
  to   { transform: translate3d(6vmax, -7vmax, 0) scale(1.1); }
}

@keyframes auroraShift {
  from { background-position: 0% 20%; }
  to   { background-position: 100% 80%; }
}

@keyframes shake {
  10%, 90% { transform: translate3d(-2px, 0, 40px) rotate(-3deg); }
  20%, 80% { transform: translate3d(4px, 0, 40px) rotate(3deg); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 40px) rotate(-5deg); }
  40%, 60% { transform: translate3d(6px, 0, 40px) rotate(5deg); }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@keyframes gateOut {
  to { opacity: 0; visibility: hidden; }
}

/* Tilt base ----------------------------------------------------- */
.tilt {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform 0.5s var(--ease-out);
}

.tilt.is-tilting {
  transition: transform 0.08s linear;
}

/* Responsive ---------------------------------------------------- */
@media (min-width: 520px) {
  .profile-card { padding: 22px 26px 30px; }
  .stats { gap: 10px; }
  .stat { padding: 15px 6px 13px; }
  .stat__value { font-size: 1.34rem; }
  .stat__label { font-size: 0.68rem; }
}

@media (min-width: 760px) {
  .hero__frame { width: min(100% - 40px, 760px); }
  .profile-card { margin-top: -64px; padding: 26px 34px 34px; }
  .profile-card__avatar { width: 128px; height: 128px; margin-top: -64px; }
  .content-section { margin-top: 64px; }
  .features__grid { gap: 14px; }
  .feature { padding: 24px 22px; }
  .modal__card { padding: 36px 28px 28px; }
}

@media (max-width: 359px) {
  .stat__label { font-size: 0.6rem; letter-spacing: 0.06em; }
  .avatar { border-width: 2px; }
}

/* Reduced motion ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; transform: none; }

  .decor > * { translate: none !important; }

  .tilt,
  .tile { transform: none !important; }

  .btn__shine,
  .btn--cta::before { display: none; }
}

/* Print --------------------------------------------------------- */
@media print {
  .scene,
  .gate,
  .sticky-cta,
  .modal,
  .btn__shine { display: none !important; }
  body { background: #fff; color: #000; }
}
