/* ========================================
   FIERY CARAMEL 2026 V3 — AR / Neon / Lighter
   ======================================== */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

/* --- @property for animated gradient borders --- */
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@property --glow-opacity {
  syntax: '<number>';
  initial-value: 0.4;
  inherits: false;
}

@property --neon-flicker {
  syntax: '<number>';
  initial-value: 1;
  inherits: false;
}

/* --- DESIGN TOKENS (V3 — Lighter) --- */
:root {
  /* Background & Surfaces — LIGHTER palette */
  --color-bg: #0e0e1a;
  --color-surface: #151525;
  --color-surface-2: #1a1a2e;
  --color-surface-3: #20203a;
  --color-divider: rgba(255,255,255,0.08);

  /* Text */
  --color-text: #f0ede8;
  --color-text-muted: #9d99a8;
  --color-text-faint: #6b6678;

  /* Accents */
  --accent-warm-1: #ff6b4a;
  --accent-warm-2: #ffb347;
  --accent-cool: #00AFF0;
  --accent-neon-pink: #ff3c8e;
  --accent-neon-cyan: #00e5ff;

  /* Fansly brand blue */
  --fansly-blue: #1FA7F8;
  /* OnlyFans brand blue */
  --onlyfans-blue: #00AFF0;

  /* Fonts */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;

  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  /* Subtle gradient to lighten the feel */
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(30, 30, 60, 0.8) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(25, 20, 50, 0.5) 0%, transparent 50%);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }

::selection {
  background: rgba(255, 107, 74, 0.3);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--accent-warm-1);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- SCROLL PROGRESS BAR --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-warm-1), var(--accent-cool), var(--accent-warm-2));
  z-index: 10000;
  transition: none;
}

/* --- AGE GATE --- */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
}

.age-gate-content {
  text-align: center;
  max-width: 420px;
  padding: var(--space-8);
}

.age-gate-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  margin-bottom: var(--space-4);
  letter-spacing: 0.04em;
}

.age-gate-content p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-8);
  line-height: 1.7;
  max-width: none;
}

.age-gate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  position: relative;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.age-gate-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: linear-gradient(var(--border-angle), var(--accent-warm-1), var(--accent-warm-2), var(--accent-warm-1));
  z-index: -1;
  animation: rotate-border 3s linear infinite;
}

.age-gate-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  z-index: -1;
}

.age-gate-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 107, 74, 0.3);
}

/* Gate halves for split animation */
.gate-half {
  position: fixed;
  top: 0;
  width: 50%;
  height: 100%;
  background: var(--color-bg);
  z-index: 9998;
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.gate-half--left { left: 0; }
.gate-half--right { right: 0; }

.gate-half--left.gate-open { transform: translateX(-100%); }
.gate-half--right.gate-open { transform: translateX(100%); }

/* Decorative line on gate halves */
.gate-half--left::after,
.gate-half--right::after {
  content: '';
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--accent-warm-1), var(--accent-warm-2), transparent);
}

.gate-half--left::after { right: 0; }
.gate-half--right::after { left: 0; }

/* --- MAIN CONTENT (hidden until age gate passes) --- */
.main-content {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s var(--ease-out);
}

.main-content.visible {
  opacity: 1;
  visibility: visible;
}

/* ==========================================
   NEON "SUBSCRIBE" SIGN
   ========================================== */
.neon-sign-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-16) var(--space-4);
  margin: var(--space-8) 0;
  overflow: hidden;
}

.neon-text {
  font-family: var(--font-display);
  font-size: clamp(3rem, 1rem + 8vw, 7rem);
  font-weight: 700;
  font-style: italic;
  color: #fff;
  text-shadow:
    0 0 7px #fff,
    0 0 10px #fff,
    0 0 21px #fff,
    0 0 42px var(--accent-neon-pink),
    0 0 82px var(--accent-neon-pink),
    0 0 92px var(--accent-neon-pink),
    0 0 102px var(--accent-neon-pink),
    0 0 151px var(--accent-neon-pink);
  animation: neon-flicker 3s infinite alternate;
  letter-spacing: 0.06em;
  user-select: none;
  opacity: 0;
}

.neon-reflection {
  width: clamp(200px, 50vw, 500px);
  height: 40px;
  background: radial-gradient(ellipse, rgba(255, 60, 142, 0.15) 0%, transparent 70%);
  filter: blur(10px);
  margin-top: var(--space-2);
}

@keyframes neon-flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    text-shadow:
      0 0 7px #fff,
      0 0 10px #fff,
      0 0 21px #fff,
      0 0 42px var(--accent-neon-pink),
      0 0 82px var(--accent-neon-pink),
      0 0 92px var(--accent-neon-pink),
      0 0 102px var(--accent-neon-pink),
      0 0 151px var(--accent-neon-pink);
  }
  20%, 24%, 55% {
    text-shadow:
      0 0 4px #fff,
      0 0 7px #fff,
      0 0 12px #fff,
      0 0 22px var(--accent-neon-pink),
      0 0 42px var(--accent-neon-pink);
  }
}


/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-4);
  overflow: hidden;
  text-align: center;
}

.hero-photo-wrapper {
  position: relative;
  width: clamp(260px, 50vw, 480px);
  height: clamp(340px, 65vw, 620px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-8);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.5),
    0 0 80px rgba(255, 107, 74, 0.08),
    0 0 0 1px rgba(255,255,255,0.05);
}

.hero-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  color: var(--accent-warm-1);
  line-height: 1.05;
  margin-bottom: var(--space-3);
}

/* Gradient text */
.hero-title:not(.splitting) {
  background: linear-gradient(135deg, var(--accent-warm-1), var(--accent-warm-2), var(--accent-warm-1));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

.hero-title.splitting .char {
  background: linear-gradient(135deg, var(--accent-warm-1), var(--accent-warm-2), var(--accent-warm-1));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite, char-reveal 0.6s var(--ease-out) forwards;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Splitting.js character animation */
.hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes char-reveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-tagline {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-10);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ==========================================
   AR-STYLE PLATFORM BUTTONS
   ========================================== */
.platform-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
  max-width: 560px;
  padding: 0 var(--space-4);
}

@media (min-width: 640px) {
  .platform-buttons {
    flex-direction: row;
    gap: var(--space-6);
  }
}

.btn-platform {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex: 1;
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-lg);
  overflow: visible;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  z-index: 1;
  /* AR holographic glassmorphism base */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-platform span {
  position: relative;
  z-index: 2;
}

/* AR holographic border — glowing outer ring */
.btn-platform::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  z-index: -1;
  animation: rotate-border 3s linear infinite;
}

/* Inner fill — semi-transparent for AR glass effect */
.btn-platform::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: calc(var(--radius-lg) - 1px);
  z-index: 0;
}

/* --- Fansly Button --- */
.btn-fansly::before {
  background: linear-gradient(var(--border-angle), #1FA7F8, #64c8ff, #1FA7F8, #3db8ff);
}
.btn-fansly::after {
  background: linear-gradient(135deg, rgba(31, 167, 248, 0.15), rgba(10, 20, 40, 0.85));
  border: 1px solid rgba(31, 167, 248, 0.2);
}
.btn-fansly {
  box-shadow:
    0 0 20px rgba(31, 167, 248, 0.3),
    0 0 60px rgba(31, 167, 248, 0.1),
    inset 0 1px 0 rgba(255,255,255,0.1);
  animation: glow-fansly 2.5s ease-in-out infinite alternate;
}

/* --- OnlyFans Button --- */
.btn-onlyfans::before {
  background: linear-gradient(var(--border-angle), #00AFF0, #00d4ff, #00AFF0, #0090cc);
}
.btn-onlyfans::after {
  background: linear-gradient(135deg, rgba(0, 175, 240, 0.15), rgba(5, 15, 30, 0.85));
  border: 1px solid rgba(0, 175, 240, 0.2);
}
.btn-onlyfans {
  box-shadow:
    0 0 20px rgba(0, 175, 240, 0.3),
    0 0 60px rgba(0, 175, 240, 0.1),
    inset 0 1px 0 rgba(255,255,255,0.1);
  animation: glow-cool 2.5s ease-in-out infinite alternate;
}

/* AR holographic shimmer overlay on buttons */
.btn-platform::before {
  background-size: 100% 100%;
}

/* AR scan line on button hover */
.btn-platform:hover::after {
  background-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255,255,255,0.03) 40%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.03) 60%,
    transparent 100%
  );
  background-size: 100% 200%;
  animation: ar-scan-btn 1.5s ease-in-out infinite;
}

@keyframes ar-scan-btn {
  0% { background-position: 0% 0%; }
  100% { background-position: 0% 200%; }
}

@keyframes rotate-border {
  to { --border-angle: 360deg; }
}

@keyframes glow-fansly {
  0% { box-shadow: 0 0 20px rgba(31, 167, 248, 0.2), 0 0 60px rgba(31, 167, 248, 0.08), inset 0 1px 0 rgba(255,255,255,0.1); }
  100% { box-shadow: 0 0 35px rgba(31, 167, 248, 0.45), 0 0 90px rgba(100, 200, 255, 0.15), inset 0 1px 0 rgba(255,255,255,0.1); }
}

@keyframes glow-cool {
  0% { box-shadow: 0 0 20px rgba(0, 175, 240, 0.2), 0 0 60px rgba(0, 175, 240, 0.08), inset 0 1px 0 rgba(255,255,255,0.1); }
  100% { box-shadow: 0 0 35px rgba(0, 175, 240, 0.45), 0 0 90px rgba(0, 212, 255, 0.15), inset 0 1px 0 rgba(255,255,255,0.1); }
}

.btn-platform:hover {
  transform: scale(1.04) translateY(-2px);
}

.btn-fansly:hover {
  box-shadow: 0 0 40px rgba(31, 167, 248, 0.5), 0 0 100px rgba(100, 200, 255, 0.25);
}

.btn-onlyfans:hover {
  box-shadow: 0 0 40px rgba(0, 175, 240, 0.5), 0 0 100px rgba(0, 212, 255, 0.25);
}

.btn-platform:active {
  transform: scale(0.98);
}

/* Platform logos inside buttons */
.btn-platform svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 4px currentColor);
}

.logo-fansly {
  filter: drop-shadow(0 0 6px rgba(31, 167, 248, 0.6));
}

.logo-onlyfans {
  filter: drop-shadow(0 0 6px rgba(0, 175, 240, 0.6));
}


/* ==========================================
   AR FRAMES ON PHOTOS
   ========================================== */
.ar-frame {
  position: relative;
}

/* AR corner brackets */
.ar-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  z-index: 3;
  pointer-events: none;
}

.ar-corner--tl {
  top: 8px; left: 8px;
  border-top: 2px solid var(--accent-neon-cyan);
  border-left: 2px solid var(--accent-neon-cyan);
  filter: drop-shadow(0 0 4px var(--accent-neon-cyan));
}

.ar-corner--tr {
  top: 8px; right: 8px;
  border-top: 2px solid var(--accent-neon-cyan);
  border-right: 2px solid var(--accent-neon-cyan);
  filter: drop-shadow(0 0 4px var(--accent-neon-cyan));
}

.ar-corner--bl {
  bottom: 8px; left: 8px;
  border-bottom: 2px solid var(--accent-neon-cyan);
  border-left: 2px solid var(--accent-neon-cyan);
  filter: drop-shadow(0 0 4px var(--accent-neon-cyan));
}

.ar-corner--br {
  bottom: 8px; right: 8px;
  border-bottom: 2px solid var(--accent-neon-cyan);
  border-right: 2px solid var(--accent-neon-cyan);
  filter: drop-shadow(0 0 4px var(--accent-neon-cyan));
}

/* AR scan line on images */
.ar-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-neon-cyan), transparent);
  z-index: 4;
  opacity: 0.6;
  animation: ar-scanline 4s ease-in-out infinite;
  pointer-events: none;
  filter: drop-shadow(0 0 6px var(--accent-neon-cyan));
}

@keyframes ar-scanline {
  0% { top: 0%; opacity: 0; }
  5% { opacity: 0.6; }
  95% { opacity: 0.6; }
  100% { top: 100%; opacity: 0; }
}

/* Holographic tint overlay on AR frames */
.ar-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.04) 0%, transparent 50%, rgba(255, 60, 142, 0.03) 100%);
  z-index: 2;
  pointer-events: none;
}


/* --- CHAPTER TRANSITION / CINEMATIC BREAK --- */
.chapter-break {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-16) var(--space-4);
  overflow: hidden;
}

.chapter-break-text {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-style: italic;
  color: var(--color-text-muted);
  opacity: 0;
  letter-spacing: 0.06em;
}

/* --- CHAPTER SECTIONS --- */
.chapter {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: clamp(var(--space-12), 8vw, var(--space-24)) var(--space-4);
  overflow: hidden;
}

/* Subtle lighter panel behind each chapter */
.chapter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.015) 30%, rgba(255,255,255,0.015) 70%, transparent 100%);
  pointer-events: none;
}

.chapter-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 768px) {
  .chapter-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }

  .chapter--reverse .chapter-inner {
    direction: rtl;
  }

  .chapter--reverse .chapter-inner > * {
    direction: ltr;
  }
}

.chapter-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.05);
}

.chapter-image img {
  width: 100%;
  height: clamp(300px, 50vw, 500px);
  object-fit: cover;
  will-change: transform;
}

.chapter-text {
  padding: var(--space-4) 0;
}

.chapter-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-neon-cyan);
  margin-bottom: var(--space-3);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
}

.chapter-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.chapter-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* GSAP-driven visibility states */
.chapter-image,
.chapter-text {
  opacity: 0;
}

.chapter-image.is-visible,
.chapter-text.is-visible {
  opacity: 1;
}

/* --- FINAL CTA / INVITATION --- */
.invitation {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-16) var(--space-4);
  overflow: hidden;
}

.invitation::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(255,60,142,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at center, rgba(0,229,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.invitation-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-warm-1), var(--accent-warm-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-3);
  opacity: 0;
}

.invitation-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-10);
  opacity: 0;
}

.invitation .platform-buttons {
  opacity: 0;
}

/* --- FOOTER --- */
.site-footer {
  padding: var(--space-12) var(--space-4) var(--space-8);
  text-align: center;
  border-top: 1px solid var(--color-divider);
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.01));
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.footer-social a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive), border-color var(--transition-interactive);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-divider);
}

.footer-social a:hover {
  color: var(--accent-neon-cyan);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.15);
}

.footer-social a svg {
  width: 20px;
  height: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- COOKIE CONSENT --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-divider);
  padding: var(--space-4) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
  backdrop-filter: blur(12px);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner.hidden {
  transform: translateY(100%);
}

@media (min-width: 640px) {
  .cookie-banner {
    flex-direction: row;
    justify-content: center;
  }
}

.cookie-banner p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: none;
  text-align: center;
}

.cookie-banner a {
  color: var(--accent-neon-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-btn {
  padding: var(--space-2) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-bg);
  background: var(--color-text);
  border-radius: var(--radius-full);
  transition: opacity var(--transition-interactive);
  white-space: nowrap;
}

.cookie-btn:hover {
  opacity: 0.85;
}

/* --- ATMOSPHERIC PARTICLES (decorative) --- */
.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.atmosphere .particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(0, 229, 255, 0.12);
  border-radius: 50%;
  animation: float-up linear infinite;
}

/* Mix warm + cool particles */
.atmosphere .particle:nth-child(odd) {
  background: rgba(255, 179, 71, 0.12);
}

@keyframes float-up {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% {
    transform: translateY(-10vh) translateX(30px);
    opacity: 0;
  }
}

/* --- DECORATIVE GRADIENT ORBS --- */
.hero-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.06), rgba(255, 179, 71, 0.03), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Second ambient orb for lighter feel */
.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.04), transparent 70%);
  filter: blur(60px);
  top: 20%;
  right: 10%;
  pointer-events: none;
}

/* --- MOBILE RESPONSIVE — CLEAN & CRISP --- */
@media (max-width: 767px) {
  .hero-photo-wrapper {
    width: clamp(240px, 75vw, 340px);
    height: clamp(310px, 95vw, 440px);
  }

  .chapter-image img {
    height: clamp(250px, 70vw, 380px);
  }

  /* Buttons: remove backdrop blur on mobile, use solid bg */
  .btn-platform {
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .btn-fansly::after {
    background: linear-gradient(135deg, #0a1428, #060d18);
    border: 1px solid rgba(31, 167, 248, 0.3);
  }

  .btn-onlyfans::after {
    background: linear-gradient(135deg, #051018, #040a10);
    border: 1px solid rgba(0, 175, 240, 0.3);
  }

  /* Reduce button glow on mobile — less blur, more solid */
  .btn-fansly {
    box-shadow: 0 0 12px rgba(31, 167, 248, 0.25), inset 0 1px 0 rgba(255,255,255,0.08);
    animation: none;
  }
  .btn-onlyfans {
    box-shadow: 0 0 12px rgba(0, 175, 240, 0.25), inset 0 1px 0 rgba(255,255,255,0.08);
    animation: none;
  }

  /* AR corners — smaller & crisper */
  .ar-corner {
    width: 14px;
    height: 14px;
    filter: none;
  }
  .ar-corner--tl, .ar-corner--tr, .ar-corner--bl, .ar-corner--br {
    filter: none;
  }

  /* AR scanline — thinner, less glow on mobile */
  .ar-scanline {
    height: 1px;
    filter: none;
    opacity: 0.5;
  }

  /* Remove holographic tint on mobile — causes muddiness */
  .ar-frame::after {
    display: none;
  }

  /* Neon sign — SHARP on mobile, reduced blur glow */
  .neon-sign-wrapper {
    padding: var(--space-10) var(--space-4);
    margin: var(--space-4) 0;
  }

  .neon-text {
    font-size: clamp(2.2rem, 1rem + 8vw, 3.5rem);
    text-shadow:
      0 0 4px #fff,
      0 0 8px #fff,
      0 0 16px var(--accent-neon-pink),
      0 0 32px var(--accent-neon-pink);
    animation: none;
  }

  .neon-reflection {
    height: 20px;
    filter: blur(6px);
  }

  /* Reduce ambient orb blur on mobile */
  .hero-orb {
    width: 300px;
    height: 300px;
    filter: blur(50px);
  }

  .hero::after {
    display: none;
  }

  /* Chapter: reduce before overlay */
  .chapter::before {
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.01) 40%, rgba(255,255,255,0.01) 60%, transparent 100%);
  }

  /* Invitation: no heavy radial on mobile */
  .invitation::before {
    background: radial-gradient(ellipse at center, rgba(255,60,142,0.02) 0%, transparent 50%);
  }

  /* Particles — fewer on mobile, already handled in JS */
  .atmosphere .particle {
    width: 1.5px;
    height: 1.5px;
  }
}

/* --- SPLITTING.JS BASE STYLES --- */
.splitting .char {
  display: inline-block;
}

/* Ensure spaces in splitting get width */
.splitting .whitespace {
  width: 0.3em;
  display: inline-block;
}
