/* =====================================================================
   Link-in-bio profile template  |  THEME: POP HOT PINK + WHITE (LIGHT)
   Colours: change the tokens in section 01 (:root). See GUIDE.md.
   Sections:
   01 Tokens + reset            07 Stats
   02 Base + utilities          08 CTA
   03 Buttons                   09 Tabs + locked grid
   04 Background media        10 Features
   05 Hero + profile card      11 Social proof
                                12 Instagram / FAQ / footer / join bar
                                14 Glass upgrade (cards, buttons, hover)
                                13 Modals
                                14 Reveal + responsive + motion
   ===================================================================== */

/* ---------------------------------------------------------------
   01. TOKENS + RESET
--------------------------------------------------------------- */
:root {
  /* Palette — every colour on the page comes from these */
  --bg: #FFFFFF;
  --rib-dark: #FFF5FA;
  --rib-mid: #FFE8F2;
  --rib-lit: #FFC7DE;
  --edge-indigo: #E01A7C;
  --edge-violet: #FF2E93;
  --edge-pink: #FF5FA8;
  --glass-bg: rgba(255, 255, 255, 0.30);          /* light frosted tint */
  --glass-smoke: rgba(255, 255, 255, 0.42);           /* dark base keeps text readable */
  --glass-border: rgba(255, 46, 147, 0.30);
  --glass-border-hi: rgba(255, 255, 255, 0.9);   /* border on hover */
  --glass-edge: rgba(255, 255, 255, 0.95);        /* top specular line */
  --text: #1F1A1D;
  --text-dim: #5A4A52;

  /* Derived tints — mixed only from the palette above */
  --text-mute: #7A6A72;
  --text-accent: #E01A7C;
  --edge-indigo-soft: rgba(224, 26, 124, 0.35);
  --edge-violet-soft: rgba(255, 46, 147, 0.35);
  --edge-pink-soft: rgba(255, 95, 168, 0.35);
  --bg-soft: rgba(255, 255, 255, 0.72);
  --cta-shadow: #A3125E;
  --glass-blur: 22px;
  --ink: var(--text);
  --ink-dim: var(--text-dim);
  --ink-mute: var(--text-mute);
  --rose: var(--text-accent);
  --green: #1E9E5A;

  --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 24px 50px -26px rgba(0, 0, 0, 0.85);
  --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;
  background: var(--bg);
  scrollbar-color: var(--edge-violet) var(--bg);
}

body {
  margin: 0;
  min-height: 100%;
  background: transparent;
  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; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  border: 2px solid var(--bg);
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--edge-indigo), var(--edge-violet));
}

::selection {
  background: rgba(255, 46, 147, 0.4);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--edge-violet);
  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: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}

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

/* Frosted glass: translucent light gradient over a smoky base, blurred
   backdrop, bright top edge. Layer 1 is a light sheen that sweeps across
   on hover (see section 14); layer 2 is the glass gloss. */
.glass {
  background:
    linear-gradient(115deg, transparent 41%, rgba(255, 150, 200, 0.24) 50%, transparent 59%) 100% 0 / 300% 100% no-repeat,
    linear-gradient(155deg, rgba(240, 100, 170, 0.20) 0%, rgba(240, 100, 170, 0.06) 36%, rgba(255, 46, 147, 0.05) 68%, rgba(240, 100, 170, 0.11) 100%),
    var(--glass-smoke);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(165%);
  backdrop-filter: blur(var(--glass-blur)) saturate(165%);
  box-shadow:
    var(--shadow-card),
    inset 0 1px 0 var(--glass-edge),
    inset 0 -1px 0 rgba(0, 0, 0, 0.32),
    inset 0 0 24px -10px rgba(224, 26, 124, 0.16);
}

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

.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; }

/* 1px gradient rules between sections ---------------------------- */
.cta-block,
.content-section,
.features,
.social-proof,
.secondary,
.faq {
  position: relative;
}

.cta-block::before,
.content-section::before,
.features::before,
.social-proof::before,
.secondary::before,
.faq::before {
  content: "";
  position: absolute;
  top: -24px;
  left: 50%;
  width: min(100% - 40px, var(--shell));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    var(--edge-violet-soft) 22%,
    var(--edge-indigo-soft) 78%,
    transparent
  );
  pointer-events: none;
}

/* ---------------------------------------------------------------
   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: #FFFFFF;
  padding-bottom: 16px;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, var(--edge-pink) 0%, var(--edge-violet) 55%, var(--edge-indigo) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 0 rgba(255, 46, 147, 0.064),
    0 6px 0 var(--cta-shadow),
    0 14px 34px -8px rgba(255, 46, 147, 0.6);
  text-shadow: 0 1px 0 rgba(255, 46, 147, 0.35);
}

.btn--cta::before {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: 0;
  background: radial-gradient(circle at 50% 40%, rgba(128, 45, 27, 0.5), 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.55),
    inset 0 -2px 0 rgba(255, 46, 147, 0.064),
    0 7px 0 var(--cta-shadow),
    0 20px 44px -8px rgba(255, 46, 147, 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(255, 46, 147, 0.064),
    0 1px 0 var(--cta-shadow),
    0 6px 18px -6px rgba(255, 46, 147, 0.55);
}

.btn--cta .btn__icon { filter: none; }

.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 var(--glass-border);
  background: var(--glass-bg);
  font-weight: 600;
  font-size: 0.95rem;
}

.btn--ghost:hover {
  color: var(--ink);
  border-color: rgba(255, 46, 147, 0.45);
  background: rgba(255, 255, 255, 0.55);
}

.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(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)) padding-box,
    linear-gradient(115deg, var(--edge-pink), var(--edge-violet) 58%, var(--edge-indigo)) border-box;
  font-weight: 600;
  font-size: 0.98rem;
  box-shadow: 0 18px 40px -24px rgba(255, 46, 147, 0.65);
}

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

.btn--instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px -24px rgba(255, 46, 147, 0.8);
}

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

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

.btn--instagram .btn__icon { color: var(--edge-pink); }

.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 MEDIA — profile picture image + optional video
   Sits behind everything (z-index -1) on the flat black page colour.
   Files: assets/avatar.jpg (image) · assets/background.mp4 (optional video)
--------------------------------------------------------------- */
:root {
  --bg-media-img-opacity: 0.55;   /* profile picture strength 0–1 */
  --bg-media-video-opacity: 0.55; /* video strength 0–1 */
}

.bg-media {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg);
}

.bg-media__img,
.bg-media__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

/* profile picture: enlarged, softened, warmed toward gold */
.bg-media__img {
  opacity: var(--bg-media-img-opacity);
  transform: scale(1.14);
  filter: blur(20px) saturate(1.05) brightness(0.8);
}

/* video fades in only once it can actually play.
   COLOUR MATCHING: the clip is flattened to a luminance-only (grayscale)
   image, then re-coloured with the page's own gold palette, so any video
   — whatever its original colours — ends up matching the front page. */
.bg-media__video {
  z-index: 1;
  opacity: 0;
  filter: grayscale(1) contrast(1.08) brightness(0.8);
  transition: opacity 1.2s ease;
}
.bg-media__video.is-ready { opacity: var(--bg-media-video-opacity); }

/* gold colour-grade: "color" blend keeps the video's light/dark detail but
   takes hue + saturation from the theme colour. Uses --edge-violet, so if
   you change the palette in section 01 the video re-tints itself. */
.bg-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, var(--edge-pink) 0%, var(--edge-violet) 45%, var(--edge-indigo) 100%);
  mix-blend-mode: color;
  opacity: var(--bg-media-tint, 0.9);   /* 0 = original colours, 1 = full theme tint */
  pointer-events: none;
}

/* ORIENTATION: script.js sets data-video="landscape|portrait" on the video
   once its real size is known. A landscape clip on a phone-width screen, or
   a portrait clip on a desktop-width screen, is turned 90° and its box is
   swapped (width <-> height) so it still fills the screen edge to edge. */
@media (max-width: 768px) {
  .bg-media__video[data-video="landscape"] {
    inset: auto;
    top: 50%;
    left: 50%;
    width: 100vh;
    width: 100dvh;
    height: 100vw;
    transform: translate(-50%, -50%) rotate(90deg);
    object-position: center center;
  }
}
@media (min-width: 769px) {
  .bg-media__video[data-video="portrait"] {
    inset: auto;
    top: 50%;
    left: 50%;
    width: 100vh;
    height: 100vw;
    transform: translate(-50%, -50%) rotate(90deg);
    object-position: center center;
  }
}

/* black + gold shade keeps text readable and frames the page */
.bg-media__shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(255, 46, 147, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.72) 55%, rgba(255, 255, 255, 0.92) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .bg-media__video { display: none; }
}
@media print { .bg-media { display: none !important; } }

/* ---------------------------------------------------------------
   05. 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 var(--glass-border);
  box-shadow: 0 30px 60px -30px rgba(255, 46, 147, 0.288);
  transform: translate3d(0, 0, 0);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.4s;
}

.hero__banner-fallback {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(38% 52% at 22% 30%, rgba(255, 46, 147, 0.8), transparent 62%),
    radial-gradient(42% 58% at 74% 22%, rgba(255, 46, 147, 0.85), transparent 64%),
    radial-gradient(48% 60% at 62% 88%, rgba(255, 46, 147, 0.6), transparent 66%),
    radial-gradient(40% 50% at 18% 82%, rgba(224, 26, 124, 0.85), transparent 62%),
    linear-gradient(140deg, var(--rib-mid), var(--rib-dark) 55%, var(--bg));
  background-size: 180% 180%;
  animation: auroraShift 18s ease-in-out infinite alternate;
}

.hero__banner-img {
  position: absolute;
  inset: -14%;
  width: 128%;
  height: 128%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.6s var(--ease-out);
  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(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.32) 62%, var(--bg) 100%),
    radial-gradient(80% 60% at 50% 110%, var(--bg), transparent 60%);
}

.hero__spark {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px 3px rgba(0, 0, 0, 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(90deg, var(--edge-indigo), var(--edge-violet), var(--edge-pink), var(--edge-violet), var(--edge-indigo));
  background-size: 300% 100%;
  animation: borderFlow 9s linear infinite;
  -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;
}

.profile-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 16%;
  z-index: 3;
  width: 96px;
  height: 2px;
  border-radius: 0 0 var(--radius-pill) var(--radius-pill);
  background: linear-gradient(90deg, transparent, var(--edge-pink), transparent);
  opacity: 0.9;
  pointer-events: none;
}

.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,
    var(--edge-indigo),
    var(--edge-violet),
    var(--edge-pink),
    var(--rib-lit),
    var(--edge-violet),
    var(--edge-indigo)
  );
  -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, 46, 147, 0.55));
}

.avatar {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(150deg, var(--edge-violet), var(--rib-lit) 58%, var(--rib-dark));
  border: 3px solid var(--bg);
  box-shadow: inset 0 -14px 26px rgba(255, 46, 147, 0.55), 0 16px 30px -14px rgba(255, 46, 147, 0.272);
}

.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: #FFFFFF;
  text-shadow: 0 2px 18px rgba(255, 46, 147, 0.5);
  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 var(--bg);
  box-shadow: 0 0 0 0 rgba(255, 46, 147, 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, 46, 147, 0.6));
  transform: translateY(1px);
}

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

.profile-card__tagline {
  margin: 12px auto 0;
  max-width: 34ch;
  font-size: 1rem;
  color: var(--ink-dim);
  white-space: pre-line;   /* lets \n in CONFIG.tagline make a line break */
  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(--edge-violet); }

/* Compact premium CTA inside the profile card ------------------- */
.profile-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  max-width: 360px;
  margin: 18px auto 0;
  padding: 11px 13px 12px;
  border: 1px solid transparent;
  border-radius: calc(var(--radius-lg) + 2px);
  overflow: hidden;
  isolation: isolate;
  color: var(--text);
  text-align: left;
  text-decoration: none;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.96)) padding-box,
    linear-gradient(135deg, rgba(255, 205, 228, 0.62), rgba(255, 46, 147, 0.3) 40%, rgba(255, 46, 147, 0.06) 82%) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 14px 30px -22px rgba(255, 46, 147, 0.288),
    0 0 36px -26px var(--edge-violet-soft);
  transform: translateZ(18px);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  touch-action: manipulation;
}

.profile-cta__wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 140% at 12% 0%, var(--edge-pink-soft), transparent 58%),
    linear-gradient(115deg, transparent 42%, var(--edge-indigo-soft));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.profile-cta__shine {
  position: absolute;
  top: -70%;
  bottom: -70%;
  left: -45%;
  width: 32%;
  z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: skewX(-18deg) translateX(-240%);
  transition: transform 0.8s var(--ease-out);
  pointer-events: none;
}

.profile-cta__icon,
.profile-cta__copy,
.profile-cta__arrow { position: relative; z-index: 2; }

.profile-cta__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--edge-pink), var(--edge-violet) 55%, var(--edge-indigo));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 8px 18px -10px rgba(255, 46, 147, 0.8);
  transition: transform 0.3s var(--ease-out);
}

.profile-cta__icon svg { width: 16px; height: 16px; margin-left: 1px; }

.profile-cta__copy { display: flex; flex-direction: column; min-width: 0; }

.profile-cta__label {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--text);
}

.profile-cta__note {
  margin-top: 3px;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--text-accent);
}

.profile-cta__arrow {
  flex: none;
  width: 15px;
  height: 15px;
  margin-left: auto;
  color: var(--text-mute);
  transition: transform 0.3s var(--ease-out);
}

.profile-cta:active { transform: translateZ(18px) translateY(0) scale(0.995); }

@media (hover: hover) and (pointer: fine) {
  .profile-cta:hover {
    transform: translateZ(18px) translateY(-3px) scale(1.012);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 20px 40px -22px rgba(255, 46, 147, 0.294),
      0 0 44px -20px rgba(255, 46, 147, 0.55);
  }

  .profile-cta:hover .profile-cta__wash { opacity: 0.9; }
  .profile-cta:hover .profile-cta__shine { transform: skewX(-18deg) translateX(270%); }
  .profile-cta:hover .profile-cta__icon { transform: scale(1.08) rotate(-4deg); }
  .profile-cta:hover .profile-cta__arrow { transform: translateX(3px); }
}

/* ---------------------------------------------------------------
   07. 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(--text-accent);
  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, var(--edge-pink), var(--text-accent) 55%, var(--edge-indigo));
  -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, 46, 147, 0.45);
}

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

/* ---------------------------------------------------------------
   08. 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: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -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, var(--edge-violet), var(--edge-indigo));
  box-shadow: 0 8px 20px -8px rgba(255, 46, 147, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  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: #FFFFFF; }

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

/* Locked grid: 4 equal columns on every screen size.
   Change --grid-cols if you ever want a different number. */
.grid {
  --grid-cols: 4;
  display: grid;
  grid-template-columns: repeat(var(--grid-cols), minmax(0, 1fr));
  gap: 10px;
}

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

/* Tile ---------------------------------------------------------- */
.tile {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid var(--glass-border);
  box-shadow: 0 22px 40px -26px rgba(255, 46, 147, 0.304), inset 0 0 0 1px rgba(255, 46, 147, 0.08);
  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:hover,
.tile:focus-visible {
  border-color: rgba(255, 46, 147, 0.45);
  box-shadow: 0 30px 50px -26px rgba(255, 46, 147, 0.304), 0 0 30px -12px rgba(255, 46, 147, 0.6);
}

.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(224, 26, 124, 0.12) 0%, rgba(224, 26, 124, 0.35) 45%, rgba(224, 26, 124, 0.82) 100%),
    radial-gradient(70% 55% at 50% 40%, rgba(224, 26, 124, 0.1), rgba(224, 26, 124, 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, 205, 228, 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: var(--text);
  background: rgba(224, 26, 124, 0.55);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

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

.pill--locked {
  color: #E8559A;
  border-color: rgba(255, 46, 147, 0.5);
  background: rgba(224, 26, 124, 0.45);
}

.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: #FFFFFF;
  background: linear-gradient(160deg, rgba(255, 46, 147, 0.28), rgba(224, 26, 124, 0.35));
  border: 1px solid rgba(255, 46, 147, 0.5);
  box-shadow:
    0 12px 26px -10px rgba(255, 46, 147, 0.288),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 30px -6px rgba(255, 46, 147, 0.65);
  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, 205, 228, 0.35);
  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(31, 26, 29, 0.92);
  text-shadow:  0 1px 6px rgba(0, 0, 0, 0.8);
  transform: translateZ(18px);
  pointer-events: none;
}

.tile__meta svg { width: 12px; height: 12px; color: var(--edge-pink); }

/* 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, 46, 147, 0.7); }

/* Ribbon-style art palettes (CSS only, no photos) ---------------- */
.art-1  { background: linear-gradient(145deg, var(--edge-pink) 0%, var(--edge-violet) 55%, var(--rib-dark) 100%); }
.art-2  { background: linear-gradient(145deg, var(--edge-indigo) 0%, var(--rib-lit) 48%, var(--rib-dark) 100%); }
.art-3  { background: linear-gradient(145deg, var(--edge-violet) 0%, var(--edge-indigo) 52%, var(--rib-mid) 100%); }
.art-4  { background: linear-gradient(145deg, #E8559A 0%, var(--edge-pink) 46%, var(--rib-mid) 100%); }
.art-5  { background: linear-gradient(145deg, #F28BBB 0%, var(--edge-violet) 45%, var(--rib-mid) 100%); }
.art-6  { background: linear-gradient(145deg, var(--rib-lit) 0%, var(--edge-indigo) 50%, var(--rib-dark) 100%); }
.art-7  { background: linear-gradient(145deg, #F28BBB 0%, #E01A7C 48%, var(--rib-mid) 100%); }
.art-8  { background: linear-gradient(145deg, #E01A7C 0%, var(--edge-violet) 45%, var(--rib-mid) 100%); }
.art-9  { background: linear-gradient(145deg, var(--edge-pink) 0%, var(--edge-indigo) 60%, var(--rib-dark) 100%); }
.art-10 { background: linear-gradient(145deg, #E8559A 0%, var(--edge-indigo) 50%, var(--rib-mid) 100%); }
.art-11 { background: linear-gradient(145deg, #E8559A 0%, var(--edge-violet) 52%, var(--rib-dark) 100%); }
.art-12 { background: linear-gradient(145deg, #E01A7C 0%, var(--rib-lit) 46%, var(--rib-dark) 100%); }

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

/* ---------------------------------------------------------------
   09. 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__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(255, 46, 147, 0.288), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  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: var(--rib-dark); }

.feature__icon--rose   { background: linear-gradient(150deg, #FFC2DC, #E01A7C 55%, #E01A7C); }
.feature__icon--violet { background: linear-gradient(150deg, #FFB8D6, #E01A7C 55%, var(--edge-indigo)); }
.feature__icon--pink   { background: linear-gradient(150deg, #FFC2DC, #E01A7C 55%, var(--edge-pink)); }
.feature__icon--blue   { background: linear-gradient(150deg, #FFC2DC, #E01A7C 55%, #E01A7C); }

.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. INSTAGRAM / FAQ / FOOTER / STICKY / JOIN BAR
--------------------------------------------------------------- */
.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, 46, 147, 0.45); }

.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: var(--text-accent); }

.accordion__icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 46, 147, 0.12);
  border: 1px solid var(--glass-border);
  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: var(--text-accent);
  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, var(--edge-violet), var(--edge-indigo));
}

.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: 0;
  background: transparent;
  text-align: center;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--edge-violet-soft), var(--edge-indigo-soft), transparent);
  pointer-events: none;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--text-dim);
}

.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: var(--text);
  border-color: rgba(255, 46, 147, 0.5);
}

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

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

/* Join bar — glass CTA shown after the hero ---------------------- */
.join-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 65;
  width: min(calc(100% - 24px), 520px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.95));
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 22px 44px -18px rgba(255, 46, 147, 0.304), inset 0 1px 0 rgba(255, 46, 147, 0.14);
  transform: translateY(140%);
  visibility: hidden;
  transition: transform 0.45s var(--ease-out), visibility 0.45s;
}

.join-bar.is-visible {
  transform: translateY(0);
  visibility: visible;
}

.join-bar__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--edge-pink);
  box-shadow: 0 0 0 0 rgba(255, 46, 147, 0.5);
  animation: joinPulse 2.4s ease-out infinite;
}

.join-bar__text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.join-bar__cta { flex: none; }

.join-bar__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--ink-dim);
  background: rgba(255, 46, 147, 0.12);
  transition: background 0.2s, color 0.2s;
}

.join-bar__close svg { width: 12px; height: 12px; }

.join-bar__close:hover,
.join-bar__close:focus-visible {
  background: rgba(255, 46, 147, 0.24);
  color: var(--text);
}

/* Keep the footer clear of the join bar */
body.has-joinbar .footer {
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}

@media (max-width: 759px) {
  body.has-joinbar .footer {
    padding-bottom: calc(150px + env(safe-area-inset-bottom));
  }
}

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

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.82);
  -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 var(--glass-border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.97));
  box-shadow: 0 40px 90px -30px rgba(255, 46, 147, 0.304), inset 0 1px 0 rgba(255, 46, 147, 0.15);
  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, 46, 147, 0.1);
  border: 1px solid var(--glass-border);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.modal__close:hover { background: rgba(255, 46, 147, 0.22); color: var(--text); }
.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: #E01A7C;
  background: radial-gradient(circle at 35% 30%, rgba(255, 205, 228, 0.3), rgba(255, 46, 147, 0.18) 55%, transparent 75%);
  border: 1px solid rgba(255, 46, 147, 0.4);
  box-shadow: 0 0 40px -8px rgba(255, 46, 147, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.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);
}

/* ---------------------------------------------------------------
   13. 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, 46, 147, 0.18) 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.15; transform: scale(0.94); }
  50% { opacity: 0.35; transform: scale(1.03); }
}

@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(255, 46, 147, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(255, 46, 147, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 46, 147, 0); }
}

@keyframes joinPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 46, 147, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(255, 46, 147, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 46, 147, 0); }
}

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

@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; }
}

/* 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; }

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

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

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

/* Banner hover (lift, glow, zoom, one-shot sweep) + button/icon pop.
   Desktop pointers only, so phones never get sticky hover states. */
.hero__banner::before {
  content: "";
  position: absolute;
  inset: -35% -60%;
  z-index: 5;
  background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
  transform: translate3d(-130%, 0, 0) rotate(6deg);
  opacity: 0;
  pointer-events: none;
}

.btn__icon,
.btn__chevron,
.stat__icon,
.feature__icon {
  transition: transform 0.28s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .hero__banner:hover {
    z-index: 30;
    transform: translateY(-8px) scale(1.04);
    border-color: rgba(255, 46, 147, 0.45);
    box-shadow:
      0 40px 80px -34px rgba(255, 46, 147, 0.5),
      0 24px 50px -30px rgba(255, 46, 147, 0.45);
  }

  .hero__banner:hover .hero__banner-img {
    transform: translate3d(0, var(--sy, 0px), 0) scale(1.1);
  }

  .hero__banner:hover::before {
    opacity: 1;
    animation: hoverSweep 1.1s var(--ease-out);
  }

  .btn:hover .btn__icon { transform: scale(1.16) rotate(-6deg); }
  .btn:hover .btn__chevron { transform: translateX(5px) scale(1.08); }
  .btn:hover .btn__shine { animation-duration: 1.5s; }

  .btn--cta:hover { transform: translateY(-2px) scale(1.02); }
  .btn--instagram:hover { transform: translateY(-3px) scale(1.015); }

  .stat:hover .stat__icon { transform: translateY(-3px) scale(1.18) rotate(-5deg); }

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

/* Touch screens have no hover: tap replays the same motion --------- */
@media (hover: none), (pointer: coarse) {
  .hero__banner.is-touch-hover {
    z-index: 30;
    transform: translateY(-6px) scale(1.03);
    border-color: rgba(255, 46, 147, 0.45);
    box-shadow:
      0 34px 70px -34px rgba(255, 46, 147, 0.5),
      0 20px 44px -28px rgba(255, 46, 147, 0.45);
  }

  .hero__banner.is-touch-hover .hero__banner-img {
    transform: translate3d(0, var(--sy, 0px), 0) scale(1.09);
  }

  .hero__banner.is-touch-hover::before {
    opacity: 1;
    animation: hoverSweep 1.1s var(--ease-out);
  }

  .btn.is-touch-hover .btn__icon { transform: scale(1.16) rotate(-6deg); }
  .btn.is-touch-hover .btn__chevron { transform: translateX(5px) scale(1.08); }
  .btn.is-touch-hover .btn__shine { animation-duration: 1.5s; }

  .btn--cta.is-touch-hover {
    filter: brightness(1.04);
    transform: translateY(-2px) scale(1.02);
  }

  .btn--instagram.is-touch-hover {
    transform: translateY(-3px) scale(1.015);
    box-shadow: 0 24px 50px -24px rgba(255, 46, 147, 0.8);
  }

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

  .stat.is-touch-hover .stat__icon { transform: translateY(-3px) scale(1.18) rotate(-5deg); }

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

  .tile.is-touch-hover {
    border-color: rgba(255, 46, 147, 0.45);
    box-shadow: 0 30px 50px -26px rgba(255, 46, 147, 0.304), 0 0 30px -12px rgba(255, 46, 147, 0.6);
  }

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

  .accordion__trigger.is-touch-hover { color: var(--text-accent); }

  .profile-cta.is-touch-hover {
    transform: translateZ(18px) translateY(-3px) scale(1.012);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 20px 40px -22px rgba(255, 46, 147, 0.294),
      0 0 44px -20px rgba(255, 46, 147, 0.55);
  }

  .profile-cta.is-touch-hover .profile-cta__wash { opacity: 0.9; }
  .profile-cta.is-touch-hover .profile-cta__shine { transform: skewX(-18deg) translateX(270%); }
  .profile-cta.is-touch-hover .profile-cta__icon { transform: scale(1.08) rotate(-4deg); }
  .profile-cta.is-touch-hover .profile-cta__arrow { transform: translateX(3px); }
}

@keyframes hoverSweep {
  from { transform: translate3d(-130%, 0, 0) rotate(6deg); }
  to   { transform: translate3d(160%, 0, 0) rotate(6deg); }
}

/* Contrast fix: light CTA fill needs dark label text */
.btn--cta,
.tab[aria-selected="true"] { color: #FFFFFF; }

@keyframes borderFlow { from { background-position: 0% 0; } to { background-position: 150% 0; } }

/* =====================================================================
   WATCH NOW CARD — rotating avatar + attention animations
   (moved here from the inline <style> in index.html)
   ===================================================================== */
.profile-cta {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-sizing: border-box; width: 100%; max-width: 100%;
  margin-inline: auto; gap: 14px;
  animation:
    ctaIn 0.9s cubic-bezier(.2, .9, .3, 1.2) 0.4s both,
    ctaBreath 2.6s ease-in-out 1.6s 8;
}
.profile-cta__copy { flex: 0 1 auto; text-align: left; }

/* Avatar badge (replaces the old video icon) */
.profile-cta__icon.has-avatar {
  width: 48px; height: 48px; flex: 0 0 48px; padding: 0;
  box-sizing: border-box; display: grid; place-items: center;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, .9);
  background: linear-gradient(135deg, #E01A7C, #E8559A);
}
.profile-cta__icon.has-avatar::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .7); opacity: 0; pointer-events: none;
  animation: avatarRing 2.2s ease-out 1.2s 8;
}
.profile-cta__avatar {
  display: block; width: 100%; height: 100%;
  border-radius: 50%; object-fit: cover;
  animation: avatarSpin 7s linear infinite; /* clockwise */
  will-change: transform;
}

/* Light glint that sweeps across the card */
.profile-cta__glint {
  position: absolute; top: 0; bottom: 0; left: 0; width: 38%;
  z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .4) 50%, transparent 100%);
  transform: skewX(-18deg); translate: -140% 0;
  animation: ctaGlint 3.2s ease-in-out 1.4s 6;
}

/* Arrow nudges forward to invite the tap */
.profile-cta__arrow { margin-left: 0; flex: 0 0 auto; animation: ctaArrow 1.4s ease-in-out 1.6s 14; }

/* Uses the individual scale/translate properties so the card's hover transform still works */
@keyframes ctaIn {
  0%   { opacity: 0; scale: .82; translate: 0 22px; }
  60%  { opacity: 1; scale: 1.05; translate: 0 -3px; }
  100% { opacity: 1; scale: 1; translate: 0 0; }
}
@keyframes ctaBreath { 0%, 100% { scale: 1; } 50% { scale: 1.035; } }
@keyframes ctaGlint { 0% { translate: -140% 0; } 45%, 100% { translate: 380% 0; } }
@keyframes ctaArrow { 0%, 100% { translate: 0 0; } 50% { translate: 5px 0; } }
@keyframes avatarSpin { to { transform: rotate(360deg); } }
@keyframes avatarRing {
  0%   { transform: scale(1);   opacity: .7; }
  100% { transform: scale(1.5); opacity: 0; }
}


/* Social buttons stack: Instagram, Facebook, YouTube */
.social-links { display: grid; gap: 12px; justify-items: center; }
.social-links .btn { width: 100%; max-width: 440px; }
.btn--facebook .btn__icon { color: #E01A7C; }
.btn--youtube .btn__icon { color: #E01A7C; }

@media (prefers-reduced-motion: reduce) {
  .profile-cta, .profile-cta__icon.has-avatar::after, .profile-cta__avatar,
  .profile-cta__arrow { animation: none; }
  .profile-cta__glint { display: none; }
}
  

/* =====================================================================
   ADVERTISEMENT PLACEHOLDERS
   ===================================================================== */
.ad-section {
  position: relative;
  z-index: 1;
  margin-top: 34px;
}

.ad-section--top { margin-top: 26px; }

.ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.ad__label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: center;
  color: var(--quiet);
  opacity: 0.78;
}

/* dummy display banners ------------------------------------------------ */
.ad__unit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line-strong);
  background:
    radial-gradient(130% 160% at 0% 0%, var(--accent-soft), transparent 62%),
    var(--surface-glass);
  color: var(--muted);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.ad__unit:hover,
.ad__unit:focus-visible {
  border-color: var(--accent-line);
  color: var(--text);
}

.ad__dummy-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: center;
}

.ad__dummy-sub {
  font-size: 0.7rem;
  line-height: 1.35;
  color: var(--quiet);
  text-align: center;
}

.ad__unit--320x50 {
  width: 320px;
  max-width: 100%;
  height: 50px;
}

.ad__unit--300x250 {
  width: 300px;
  max-width: 100%;
  height: 250px;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

.ad__dummy-art {
  width: 100%;
  height: 150px;
  flex: none;
  border-radius: 9px;
  background:
    radial-gradient(120% 120% at 15% 10%, var(--grad-1), transparent 62%),
    radial-gradient(110% 120% at 90% 90%, var(--primary), transparent 60%),
    linear-gradient(140deg, var(--primary-deep), var(--surface));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.ad-section--wide { display: none; margin-top: 44px; }

@media (min-width: 560px) {
  .ad-section--wide { display: block; }
}

.ad__unit--468x60 {
  width: 468px;
  max-width: 100%;
  height: 60px;
  flex-direction: column;
  gap: 1px;
  padding: 0 16px;
}

/* native banner -------------------------------------------------------- */
.ad--native {
  align-items: stretch;
  gap: 8px;
}

.ad__native {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--card-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 40px -30px rgba(0, 0, 0, 0.9);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s var(--ease-out);
}

.ad__native:hover,
.ad__native:focus-visible {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.ad__native-art {
  position: relative;
  flex: none;
  width: 84px;
  height: 84px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background:
    radial-gradient(120% 120% at 18% 12%, var(--grad-1), transparent 62%),
    radial-gradient(110% 120% at 88% 92%, var(--grad-3), transparent 58%),
    linear-gradient(140deg, var(--primary-deep), var(--surface));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.ad__native-art::after {
  content: "";
  position: absolute;
  inset: -30% -60% auto;
  height: 120%;
  transform: rotate(24deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.ad__native-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  text-align: left;
}

.ad__native-kicker {
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.ad__native-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
}

.ad__native-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--muted);
}

.ad__native-cta {
  margin-top: 2px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
}

/* motion preferences --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .ad__native:hover,
  .ad__native:focus-visible { transform: none; }
}

/* =====================================================================
   14. GLASS UPGRADE  (kept last on purpose: it overrides earlier rules)
   - frosted-glass cards, tiles, tabs, buttons, bars, modal
   - hover animation on PC (mouse) + the same animation replayed on tap
     for phones (script.js adds .is-touch-hover after a tap)
   Tune the look with the --glass-* tokens in section 01.
   ===================================================================== */

:root {
  --glass-lift-shadow:
    0 36px 64px -28px rgba(0, 0, 0, 0.85),
    0 0 46px -10px rgba(255, 46, 147, 0.42),
    inset 0 1px 0 rgba(255, 150, 200, 0.7),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    inset 0 0 34px -8px rgba(224, 26, 124, 0.28);
}

/* --- 14.1  Glass cards: base transitions ---------------------------- */
/* (opacity/transform stay in the list so the scroll-reveal still fades in) */
.stat,
.feature,
.proof-card,
.accordion__item {
  position: relative;
  transition:
    translate 0.5s var(--ease-out),
    scale 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out),
    border-color 0.35s ease,
    background-position 0s,
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.profile-card {
  transition:
    transform 0.5s var(--ease-out),
    translate 0.5s var(--ease-out),
    scale 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out),
    border-color 0.35s ease,
    background-position 0s;
}

/* while the mouse tilts the profile card, keep the glow transitions alive */
.profile-card.tilt.is-tilting {
  transition:
    transform 0.08s linear,
    translate 0.5s var(--ease-out),
    scale 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out),
    border-color 0.35s ease,
    background-position 0.95s var(--ease-out);
}

/* --- 14.2  Glass cards: hover / tap state --------------------------- */
/* tap (phones): script.js adds .is-touch-hover for ~1.2s */
.stat.is-touch-hover,
.feature.is-touch-hover,
.proof-card.is-touch-hover,
.accordion__item.is-touch-hover,
.profile-card.is-touch-hover {
  translate: 0 -6px;
  scale: 1.03;
  z-index: 2;
  border-color: var(--glass-border-hi);
  box-shadow: var(--glass-lift-shadow);
  background-position: 0% 0, 0% 0;
  transition:
    translate 0.5s var(--ease-out),
    scale 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out),
    border-color 0.35s ease,
    background-position 0.95s var(--ease-out),
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

/* mouse (PC) */
@media (hover: hover) and (pointer: fine) {
  .stat:hover,
  .feature:hover,
  .proof-card:hover,
  .accordion__item:hover,
  .profile-card:hover {
    translate: 0 -6px;
    scale: 1.03;
    z-index: 2;
    border-color: var(--glass-border-hi);
    box-shadow: var(--glass-lift-shadow);
    background-position: 0% 0, 0% 0;
    transition:
      translate 0.5s var(--ease-out),
      scale 0.5s var(--ease-out),
      box-shadow 0.5s var(--ease-out),
      border-color 0.35s ease,
      background-position 0.95s var(--ease-out),
      opacity 0.7s var(--ease-out),
      transform 0.7s var(--ease-out);
  }
}

/* per-card strength: small cards pop more, wide cards stay calm */
.stat.is-touch-hover { scale: 1.07; }
.accordion__item.is-touch-hover,
.proof-card.is-touch-hover { scale: 1.015; translate: 0 -4px; }
.profile-card.is-touch-hover { scale: 1.012; translate: 0 -4px; }

@media (hover: hover) and (pointer: fine) {
  .stat:hover { scale: 1.07; }
  .accordion__item:hover,
  .proof-card:hover { scale: 1.015; translate: 0 -4px; }
  .profile-card:hover { scale: 1.012; translate: 0 -4px; }
}

/* stat numbers glow while the card is lifted */
.stat__value { transition: filter 0.4s ease; }

.stat.is-touch-hover .stat__value {
  filter: drop-shadow(0 0 10px rgba(255, 46, 147, 0.6)) brightness(1.12);
}

@media (hover: hover) and (pointer: fine) {
  .stat:hover .stat__value {
    filter: drop-shadow(0 0 10px rgba(255, 46, 147, 0.6)) brightness(1.12);
  }
}

/* --- 14.3  Cover picture (hero banner): glass frame + hover --------- */
.hero__banner { border-color: var(--glass-border); }

.hero__banner-shade {
  background:
    linear-gradient(155deg, rgba(255, 150, 200, 0.26) 0%, rgba(255, 150, 200, 0.06) 26%, rgba(255, 150, 200, 0) 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.32) 62%, var(--bg) 100%),
    radial-gradient(80% 60% at 50% 110%, var(--bg), transparent 60%);
  box-shadow:
    inset 0 0 0 1px rgba(250, 125, 185, 0.14),
    inset 0 1px 0 rgba(250, 125, 185, 0.5);
}

.hero__banner.is-touch-hover {
  border-color: var(--glass-border-hi);
  box-shadow:
    0 40px 80px -34px rgba(255, 46, 147, 0.5),
    0 0 54px -10px rgba(255, 46, 147, 0.42);
}

@media (hover: hover) and (pointer: fine) {
  .hero__banner:hover {
    border-color: var(--glass-border-hi);
    box-shadow:
      0 40px 80px -34px rgba(255, 46, 147, 0.5),
      0 0 54px -10px rgba(255, 46, 147, 0.42);
  }
}

/* --- 14.4  Tabs ----------------------------------------------------- */
.tabs {
  background:
    linear-gradient(160deg, rgba(240, 100, 170, 0.16), rgba(240, 100, 170, 0.04) 55%, rgba(255, 46, 147, 0.06)),
    var(--glass-smoke);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  backdrop-filter: blur(18px) saturate(165%);
  box-shadow:
    0 14px 30px -20px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 var(--glass-edge),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.4s ease, border-color 0.3s ease;
}

.tabs.is-touch-hover {
  border-color: var(--glass-border-hi);
  box-shadow:
    0 14px 30px -20px rgba(0, 0, 0, 0.8),
    0 0 30px -8px rgba(255, 46, 147, 0.4),
    inset 0 1px 0 rgba(255, 150, 200, 0.6);
}

@media (hover: hover) and (pointer: fine) {
  .tabs:hover {
    border-color: var(--glass-border-hi);
    box-shadow:
      0 14px 30px -20px rgba(0, 0, 0, 0.8),
      0 0 30px -8px rgba(255, 46, 147, 0.4),
      inset 0 1px 0 rgba(255, 150, 200, 0.6);
  }

  .tab:hover:not([aria-selected="true"]) { color: var(--text); }
}

.tabs__pill {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.1) 48%, rgba(255, 255, 255, 0) 50%),
    linear-gradient(160deg, rgba(255, 46, 147, 0.92), rgba(255, 46, 147, 0.84) 55%, rgba(40, 30, 36, 0.88));
  border: 1px solid rgba(250, 125, 185, 0.55);
  box-shadow:
    0 8px 20px -8px rgba(255, 46, 147, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(31, 26, 29, 0.35);
}

/* --- 14.5  Locked tiles --------------------------------------------- */
.tile {
  will-change: auto;
  border-color: var(--glass-border);
  box-shadow:
    0 18px 34px -22px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 var(--glass-edge),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  transition:
    translate 0.5s var(--ease-out),
    scale 0.5s var(--ease-out),
    transform 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out),
    border-color 0.35s ease;
}

.tile.tilt.is-tilting {
  transition:
    transform 0.08s linear,
    translate 0.5s var(--ease-out),
    scale 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out),
    border-color 0.35s ease;
}

/* blurred "photo" behind the glass: soft light + shadow blobs per tile */
.tile__art {
  transition: transform 0.7s var(--ease-out), filter 0.7s var(--ease-out);
}

.tile__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(38% 30% at var(--ax, 30%) var(--ay, 28%), rgba(224, 26, 124, 0.55), transparent 70%),
    radial-gradient(42% 36% at calc(100% - var(--ax, 30%)) calc(100% - var(--ay, 28%)), rgba(255, 255, 255, 0.55), transparent 72%);
}

/* glass pane over the art: gloss corner, light sweep, inner edge */
.tile__veil {
  background:
    linear-gradient(115deg, transparent 41%, rgba(255, 150, 200, 0.30) 50%, transparent 59%) 100% 0 / 300% 100% no-repeat,
    linear-gradient(140deg, rgba(255, 150, 200, 0.30) 0%, rgba(255, 150, 200, 0.07) 28%, rgba(255, 150, 200, 0) 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.30) 52%, rgba(255, 255, 255, 0.78) 100%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow:
    inset 0 0 0 1px rgba(250, 125, 185, 0.14),
    inset 0 1px 0 rgba(250, 125, 185, 0.5),
    inset 0 -26px 34px -28px rgba(0, 0, 0, 0.65);
  transition: background-position 0s;
}

.tile__lock {
  background: radial-gradient(circle at 30% 22%, rgba(255, 150, 200, 0.55), rgba(255, 150, 200, 0.14) 42%, rgba(255, 46, 147, 0.22) 100%);
  border: 1px solid rgba(250, 125, 185, 0.5);
  box-shadow:
    0 10px 22px -10px rgba(0, 0, 0, 0.6),
    0 0 26px -6px rgba(255, 46, 147, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -6px 10px -6px rgba(224, 26, 124, 0.5);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: scale 0.4s var(--ease-out);
}

.pill {
  background:
    linear-gradient(180deg, rgba(255, 150, 200, 0.26), rgba(255, 150, 200, 0.06)),
    rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(250, 125, 185, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.pill--locked {
  background:
    linear-gradient(180deg, rgba(255, 150, 200, 0.30), rgba(255, 46, 147, 0.12)),
    rgba(224, 26, 124, 0.45);
}

/* hover (PC) + tap (phones) + keyboard focus */
.tile.is-touch-hover,
.tile:focus-visible {
  translate: 0 -6px;
  scale: 1.05;
  z-index: 3;
  border-color: var(--glass-border-hi);
  box-shadow:
    0 30px 50px -24px rgba(0, 0, 0, 0.85),
    0 0 36px -8px rgba(255, 46, 147, 0.5),
    inset 0 1px 0 rgba(255, 150, 200, 0.7),
    inset 0 0 0 1px rgba(250, 125, 185, 0.12);
}

.tile.is-touch-hover .tile__veil,
.tile:focus-visible .tile__veil {
  background-position: 0% 0, 0% 0, 0% 0;
  transition: background-position 0.95s var(--ease-out);
}

.tile.is-touch-hover .tile__art,
.tile:focus-visible .tile__art {
  transform: scale(1.16) translateZ(0);
  filter: blur(13px) saturate(165%);
}

.tile.is-touch-hover .tile__lock,
.tile:focus-visible .tile__lock { scale: 1.14; }

@media (hover: hover) and (pointer: fine) {
  .tile:hover {
    translate: 0 -6px;
    scale: 1.05;
    z-index: 3;
    border-color: var(--glass-border-hi);
    box-shadow:
      0 30px 50px -24px rgba(0, 0, 0, 0.85),
      0 0 36px -8px rgba(255, 46, 147, 0.5),
      inset 0 1px 0 rgba(255, 150, 200, 0.7),
      inset 0 0 0 1px rgba(250, 125, 185, 0.12);
  }

  .tile:hover .tile__veil {
    background-position: 0% 0, 0% 0, 0% 0;
    transition: background-position 0.95s var(--ease-out);
  }

  .tile:hover .tile__art {
    transform: scale(1.16) translateZ(0);
    filter: blur(13px) saturate(165%);
  }

  .tile:hover .tile__lock { scale: 1.14; }
}

/* --- 14.6  Buttons --------------------------------------------------- */
/* Gold glass: see-through gold, glossy top half, bright rim, soft glow */
.btn--cta {
  color: #FFFFFF;
  border: 1px solid rgba(255, 191, 220, 0.6);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.16) 48%, rgba(255, 255, 255, 0) 50%),
    linear-gradient(180deg, rgba(255, 95, 168, 0.92) 0%, rgba(255, 46, 147, 0.84) 55%, rgba(255, 90, 54, 0.88) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  backdrop-filter: blur(14px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(147, 16, 85, 0.4),
    inset 0 0 20px rgba(255, 191, 220, 0.22),
    0 5px 0 rgba(163, 18, 94, 0.78),
    0 14px 34px -8px rgba(255, 46, 147, 0.55);
  text-shadow: 0 1px 0 rgba(255, 191, 220, 0.45);
}

.btn--cta:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(147, 16, 85, 0.4),
    inset 0 0 24px rgba(255, 191, 220, 0.3),
    0 6px 0 rgba(163, 18, 94, 0.78),
    0 20px 44px -8px rgba(255, 46, 147, 0.65),
    0 0 34px -4px rgba(255, 95, 168, 0.5);
}

.btn--cta:active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(147, 16, 85, 0.4),
    0 1px 0 rgba(163, 18, 94, 0.78),
    0 6px 18px -6px rgba(255, 46, 147, 0.5);
}

/* Clear glass: Instagram / Facebook / YouTube buttons */
.btn--instagram {
  border: 0;
  background:
    linear-gradient(115deg, transparent 41%, rgba(255, 150, 200, 0.24) 50%, transparent 59%) 100% 0 / 300% 100% no-repeat,
    linear-gradient(160deg, rgba(240, 100, 170, 0.20), rgba(240, 100, 170, 0.05) 45%, rgba(255, 46, 147, 0.08)),
    var(--glass-smoke);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  backdrop-filter: blur(18px) saturate(165%);
  box-shadow:
    0 18px 40px -24px rgba(255, 46, 147, 0.65),
    inset 0 1px 0 var(--glass-edge),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    inset 0 0 22px -10px rgba(224, 26, 124, 0.18);
  transition:
    transform 0.18s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    filter 0.18s,
    background-position 0s;
}

/* gradient rim (replaces the old padding-box/border-box trick, which can't be see-through) */
.btn--instagram::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(115deg, var(--edge-pink), var(--edge-violet) 58%, var(--edge-indigo));
  -webkit-mask: linear-gradient(#000000 0 0) content-box, linear-gradient(#000000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000000 0 0) content-box, linear-gradient(#000000 0 0);
  mask-composite: exclude;
  opacity: 0.85;
  pointer-events: none;
}

.btn--instagram:hover {
  background-position: 0% 0, 0% 0;
  transition:
    transform 0.18s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    filter 0.18s,
    background-position 0.95s var(--ease-out);
  box-shadow:
    0 24px 50px -24px rgba(255, 46, 147, 0.8),
    0 0 34px -8px rgba(255, 46, 147, 0.45),
    inset 0 1px 0 rgba(255, 150, 200, 0.65),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    inset 0 0 26px -8px rgba(224, 26, 124, 0.3);
}

.btn--instagram.is-touch-hover {
  background-position: 0% 0, 0% 0;
  transition:
    transform 0.18s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    filter 0.18s,
    background-position 0.95s var(--ease-out);
  box-shadow:
    0 24px 50px -24px rgba(255, 46, 147, 0.8),
    0 0 34px -8px rgba(255, 46, 147, 0.45),
    inset 0 1px 0 rgba(255, 150, 200, 0.65),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    inset 0 0 26px -8px rgba(224, 26, 124, 0.3);
}

.btn--ghost {
  background:
    linear-gradient(160deg, rgba(240, 100, 170, 0.16), rgba(240, 100, 170, 0.04)),
    var(--glass-smoke);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 0 var(--glass-edge), inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

/* Watch Now card in the profile: glass fill + gradient rim */
.profile-cta {
  border: 0;
  background:
    linear-gradient(155deg, rgba(240, 100, 170, 0.20), rgba(240, 100, 170, 0.05) 50%, rgba(255, 46, 147, 0.10)),
    rgba(255, 255, 255, 0.30);
  box-shadow:
    inset 0 1px 0 var(--glass-edge),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    inset 0 0 22px -10px rgba(224, 26, 124, 0.2),
    0 14px 30px -22px rgba(255, 46, 147, 0.5),
    0 0 36px -26px var(--edge-violet-soft);
}

.profile-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--edge-pink), rgba(255, 46, 147, 0.55) 45%, rgba(255, 46, 147, 0.15) 85%);
  -webkit-mask: linear-gradient(#000000 0 0) content-box, linear-gradient(#000000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000000 0 0) content-box, linear-gradient(#000000 0 0);
  mask-composite: exclude;
  opacity: 0.8;
  pointer-events: none;
}

/* --- 14.7  Floating join bar + modal -------------------------------- */
.join-bar {
  background:
    linear-gradient(150deg, rgba(240, 100, 170, 0.20), rgba(240, 100, 170, 0.05) 55%, rgba(255, 46, 147, 0.08)),
    rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow:
    0 22px 44px -18px rgba(0, 0, 0, 0.8),
    0 0 40px -16px rgba(255, 46, 147, 0.35),
    inset 0 1px 0 var(--glass-edge),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.join-bar__close,
.modal__close {
  background: rgba(240, 100, 170, 0.12);
  border: 1px solid rgba(250, 125, 185, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.modal__card {
  background:
    linear-gradient(160deg, rgba(240, 100, 170, 0.18), rgba(240, 100, 170, 0.04) 50%, rgba(255, 46, 147, 0.07)),
    rgba(255, 255, 255, 0.58);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  backdrop-filter: blur(26px) saturate(170%);
  border-color: var(--glass-border);
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.85),
    0 0 60px -24px rgba(255, 46, 147, 0.35),
    inset 0 1px 0 var(--glass-edge),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

/* --- 14.8  Locked grid on small screens (4 columns stay, tiles shrink) */
@media (max-width: 559px) {
  .grid { gap: 6px; }

  .tile { border-radius: 12px; }

  .tile__badges { top: 5px; left: 5px; right: 5px; }

  .pill--locked { display: none; }

  .pill {
    padding: 3px 5px;
    border-radius: 6px;
    font-size: 0.52rem;
    letter-spacing: 0.04em;
  }

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

  .tile__lock {
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
  }

  .tile__lock::before { inset: -6px; }
  .tile__lock svg { width: 15px; height: 15px; }

  .tile__meta {
    right: 5px;
    bottom: 5px;
    gap: 2px;
    font-size: 0.56rem;
  }

  .tile__meta svg { width: 9px; height: 9px; }
}

/* --- 14.9  Reduced motion: no lifting, glow only --------------------- */
@media (prefers-reduced-motion: reduce) {
  .stat, .feature, .proof-card, .accordion__item,
  .profile-card, .tile, .tile__lock {
    translate: none !important;
    scale: none !important;
  }
}
