/* RBXCursor — soft pink · gray · white · beige */

:root {
  --pink-50: #1a1218;
  --pink-100: #261a24;
  --pink-200: #3f2a3a;
  --pink-300: #ff9ec8;
  --pink-400: #ff7eb3;
  --pink-500: #ff5c9d;

  --beige-50: #0a090c;
  --beige-100: #141118;
  --beige-200: #2a2430;
  --beige-300: #3f3848;

  --gray-50: #121016;
  --gray-100: #1a171e;
  --gray-200: #2e2834;
  --gray-300: #6b6270;
  --gray-400: #9a919f;
  --gray-500: #b8b0bb;
  --gray-600: #d5ced6;
  --gray-700: #f0ebf2;
  --gray-800: #faf7fb;

  --white: #1c1922;
  --ink: #f2edf4;
  --ink-soft: #9f95a3;
  --accent: var(--pink-400);
  --accent-strong: var(--pink-500);

  --neon: #ff7eb3;
  --neon-dim: rgba(255, 126, 179, 0.22);
  --neon-line: rgba(255, 140, 190, 0.45);
  --neon-glow: 0 0 18px rgba(255, 110, 175, 0.28), 0 0 42px rgba(255, 110, 175, 0.1);

  --font-display: "Funnel Display", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.55);
  --shadow-glow: var(--neon-glow);

  --header-h: 72px;
  --container: min(1140px, calc(100% - 2.5rem));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 45% at 15% -5%, rgba(255, 100, 160, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 35% at 95% 5%, rgba(255, 80, 140, 0.08), transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 100%, rgba(255, 126, 179, 0.06), transparent 50%),
    linear-gradient(180deg, #0c0a0f 0%, #100e14 35%, #0a090c 100%);
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--pink-300);
  color: var(--white);
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ── Header ── */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s;
}

.site-header.is-scrolled {
  background: rgba(253, 252, 251, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--beige-200);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 12px;
  background: linear-gradient(145deg, #ff9ec8 0%, #ff7eb3 52%, #ff5c9d 100%);
  border: none;
  display: grid;
  place-items: center;
  box-shadow: 0 0 16px rgba(255, 126, 179, 0.35);
}

.brand-mark__svg {
  width: 22px;
  height: 22px;
  color: #0c0a0f;
  display: block;
}

.brand-word span { color: var(--pink-400); }

.desktop-nav {
  display: flex;
  gap: 2rem;
}

.desktop-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-500);
  transition: color 0.2s;
}
.desktop-nav a:hover { color: var(--pink-400); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--beige-100);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gray-600);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  background: rgba(253, 252, 251, 0.97);
  backdrop-filter: blur(20px);
  padding: 2rem;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 99;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-600);
}

.site-header.menu-open .mobile-menu {
  display: flex;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.site-header.menu-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.menu-open .mobile-menu-toggle span:nth-child(2) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--pink-300), var(--pink-400));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(217, 122, 150, 0.35);
}
.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(217, 122, 150, 0.45);
}

.btn-ghost {
  background: var(--white);
  color: var(--gray-600);
  border: 1px solid var(--beige-200);
}
.btn-ghost:hover { border-color: var(--pink-200); color: var(--pink-400); }

.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }

.btn i {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
  opacity: 0.7;
}
.btn i::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  right: 2px;
  top: 3px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--pink-400);
}
.text-link i {
  width: 17px;
  height: 17px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

/* ── Hero ── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--header-h) 0 2rem;
  overflow: hidden;
  transition: border-color 0.5s ease, box-shadow 0.5s ease, transform 0.5s var(--ease);
}

.hero .hero-grid {
  display: grid;
  width: var(--container);
  margin-inline: auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: blob-float 14s ease-in-out infinite;
}
.hero-bg__blob--pink {
  width: 500px;
  height: 500px;
  background: var(--pink-200);
  top: -120px;
  right: -80px;
}
.hero-bg__blob--beige {
  width: 400px;
  height: 400px;
  background: var(--beige-200);
  bottom: -100px;
  left: -60px;
  animation-delay: -5s;
}
@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-18px, 14px) scale(1.06); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero-copy h1 span { display: block; }
.hero-copy h1 em {
  font-style: normal;
  color: var(--pink-400);
}

.hero-copy > p {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 28rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Stats panel */
.stats-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--beige-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.stat-card {
  padding: 1rem 1.1rem;
  background: var(--beige-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--beige-100);
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-700);
  line-height: 1.2;
}
.stat-card span {
  font-size: 0.78rem;
  color: var(--gray-400);
  font-weight: 500;
}

/* Photo booth mirror */
.hero-visual { position: relative; }

.photo-booth {
  background: linear-gradient(165deg, rgba(255, 126, 179, 0.07) 0%, rgba(12, 10, 15, 0.98) 42%, #0c0a0f 100%);
  border: 1px solid rgba(255, 126, 179, 0.2);
  border-radius: var(--radius-xl);
  box-shadow: 0 0 32px rgba(255, 126, 179, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.photo-booth__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.1rem;
  background: rgba(12, 10, 15, 0.92);
  border-bottom: 1px solid rgba(255, 126, 179, 0.14);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--gray-400);
}

.photo-booth__live {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--pink-300);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.photo-booth__live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink-400);
  box-shadow: 0 0 10px rgba(255, 126, 179, 0.65);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.photo-booth__body {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
}

.photo-booth__mirror {
  position: relative;
  min-height: 220px;
  aspect-ratio: 4/3;
  background: #0a080d;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.photo-booth__grid {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 126, 179, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 126, 179, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.mirror-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 28% 18%, rgba(255, 126, 179, 0.12), transparent 55%);
  pointer-events: none;
}

.mirror-halo {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 126, 179, 0.22), transparent 70%);
  pointer-events: none;
}

.mirror-preset {
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 126, 179, 0.35));
  z-index: 1;
  transition: opacity 0.55s ease, transform 0.55s var(--ease), filter 0.55s ease;
}

.mirror-preset.is-fading {
  opacity: 0;
  transform: scale(0.88);
  filter: drop-shadow(0 0 4px rgba(255, 126, 179, 0.08));
}

.mirror-preset.is-pop { animation: pop 0.45s var(--ease); }

@keyframes pop {
  0% { transform: scale(0.85); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.mirror-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  font-size: 0.72rem;
  color: var(--gray-400);
}

.mirror-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--pink-300);
  text-transform: lowercase;
  transition: opacity 0.45s ease;
}

.mirror-caption strong.is-fading {
  opacity: 0.25;
}

.mirror-setting {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 2;
  text-align: right;
  font-size: 0.72rem;
  color: var(--gray-400);
}

.mirror-setting strong {
  display: block;
  font-size: 0.88rem;
  color: var(--pink-400);
}

.hero-preset-rail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 0.55rem;
  border-left: 1px solid rgba(255, 126, 179, 0.12);
  background: rgba(0, 0, 0, 0.22);
}

.hero-preset-chip {
  width: 54px;
  margin: 0;
  display: grid;
  gap: 0.28rem;
  justify-items: center;
  opacity: 0.68;
  cursor: pointer;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.hero-preset-chip:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.hero-preset-chip.is-active {
  opacity: 1;
}

.hero-preset-chip__img {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid rgba(255, 126, 179, 0.14);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.28s var(--ease), box-shadow 0.28s var(--ease), transform 0.28s var(--ease);
}

.hero-preset-chip:hover .hero-preset-chip__img {
  border-color: rgba(255, 126, 179, 0.38);
  box-shadow: 0 0 16px rgba(255, 126, 179, 0.24);
  transform: scale(1.06);
}

.hero-preset-chip__img img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.hero-preset-chip span:last-child {
  font-size: 0.58rem;
  font-weight: 600;
  text-align: center;
  color: var(--gray-400);
  text-transform: lowercase;
}

.hero-preset-chip.is-active .hero-preset-chip__img {
  border-color: rgba(255, 126, 179, 0.45);
  box-shadow: 0 0 14px rgba(255, 126, 179, 0.28);
  transform: translateY(-1px);
}

.hero-preset-chip.is-active span:last-child {
  color: var(--pink-300);
}

.hero-preset-chip:hover span:last-child {
  color: var(--pink-300);
}

.photo-booth__controls {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0.8rem 1.1rem;
  border-top: 1px solid rgba(255, 126, 179, 0.12);
  background: rgba(12, 10, 15, 0.75);
  cursor: pointer;
}

.photo-booth__controls span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.66rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.photo-booth__controls span:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.photo-booth__controls i {
  display: block;
  width: 52px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.photo-booth__controls i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--fill, 50%);
  background: linear-gradient(90deg, var(--pink-400), var(--pink-300));
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(255, 126, 179, 0.35);
}
/* ── Section shared ── */

.section {
  padding: 3.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.section-header p {
  color: var(--gray-400);
  font-size: 1.02rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pink-400);
  margin-bottom: 0.6rem;
}

/* ── Features ── */

.features { background: var(--white); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem 1.75rem;
  background: var(--beige-50);
  border: 1px solid var(--beige-100);
  border-radius: var(--radius-lg);
  transition: transform 0.55s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.55s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink-100), var(--pink-200));
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--gray-400);
}

/* ── Interactive Preview ── */

.preview-section {
  background: linear-gradient(180deg, var(--beige-50) 0%, var(--beige-100) 100%);
}

.preview-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}

.preview-stage {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--beige-200);
  box-shadow: var(--shadow-card);
}

.preview-scene {
  position: relative;
  aspect-ratio: 16/10;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.4s;
}
.preview-scene.is-active { display: flex; }

.preview-scene--light {
  background: linear-gradient(135deg, #e8f0f8 0%, #d4e4f0 50%, #c8d8e8 100%);
}
.preview-scene--dark {
  background: linear-gradient(135deg, #2a2830 0%, #1e1c24 50%, #16141a 100%);
}
.preview-scene--contrast {
  background: linear-gradient(135deg, #1a1a1a 0%, #333 30%, #f5f5f5 70%, #fff 100%);
}

.preview-scene__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(128,128,128,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128,128,128,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.preview-crosshair {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
  z-index: 1;
  transition: transform 0.3s var(--ease);
}
.preview-crosshair.is-pop { animation: pop 0.4s var(--ease); }

.preview-scene__label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.75rem;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.preview-scene--dark .preview-scene__label,
.preview-scene--contrast .preview-scene__label {
  background: rgba(0,0,0,0.5);
  color: var(--gray-200);
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.scene-switcher {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.scene-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--beige-200);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--gray-500);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  text-align: left;
}
.scene-btn:hover { border-color: var(--pink-200); }
.scene-btn.is-active {
  border-color: var(--pink-300);
  background: var(--pink-50);
  color: var(--pink-500);
}

.scene-btn i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
}
.scene-btn[data-scene="light"] i { background: linear-gradient(135deg, #d4e4f0, #e8f0f8); }
.scene-btn[data-scene="dark"] i { background: linear-gradient(135deg, #2a2830, #16141a); }
.scene-btn[data-scene="contrast"] i { background: linear-gradient(135deg, #1a1a1a 50%, #f5f5f5 50%); }

.preview-info {
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--beige-200);
  border-radius: var(--radius-md);
}
.preview-info h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}
.preview-info p {
  font-size: 0.82rem;
  color: var(--gray-400);
}
.preview-info strong {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-display);
  color: var(--pink-400);
}

/* ── Crosshair Library ── */

.library { background: var(--white); }

.showcase-stage {
  position: relative;
  max-width: 420px;
  margin: 0 auto 1.25rem;
  padding: 1.5rem 1.25rem;
  background: var(--beige-50);
  border: 1px solid var(--beige-200);
  border-radius: var(--radius-xl);
  text-align: center;
}

.stage-carousel {
  position: relative;
  height: 140px;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.stage-slot {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.55s var(--ease), opacity 0.55s var(--ease);
}
.stage-slot img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.stage-slot span {
  font-size: 0.78rem;
  color: var(--gray-400);
}

.stage-slot--previous { transform: translateX(-120%) scale(0.7); opacity: 0; }
.stage-slot--current { transform: translateX(0) scale(1); opacity: 1; }
.stage-slot--next { transform: translateX(120%) scale(0.7); opacity: 0; }
.stage-slot--incoming { transform: translateX(200%) scale(0.5); opacity: 0; }

.stage-carousel.is-moving[data-direction="next"] .stage-slot--previous { transform: translateX(-200%) scale(0.5); opacity: 0; }
.stage-carousel.is-moving[data-direction="next"] .stage-slot--current { transform: translateX(-120%) scale(0.7); opacity: 0; }
.stage-carousel.is-moving[data-direction="next"] .stage-slot--next { transform: translateX(0) scale(1); opacity: 1; }
.stage-carousel.is-moving[data-direction="next"] .stage-slot--incoming { transform: translateX(120%) scale(0.7); opacity: 0; }

.stage-carousel.is-moving[data-direction="previous"] .stage-slot--previous { transform: translateX(0) scale(1); opacity: 1; }
.stage-carousel.is-moving[data-direction="previous"] .stage-slot--current { transform: translateX(120%) scale(0.7); opacity: 0; }
.stage-carousel.is-moving[data-direction="previous"] .stage-slot--next { transform: translateX(200%) scale(0.5); opacity: 0; }
.stage-carousel.is-moving[data-direction="previous"] .stage-slot--incoming { transform: translateX(-120%) scale(0.7); opacity: 0; }

.stage-carousel.is-resetting .stage-slot { transition: none !important; }

.stage-caption {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}
.stage-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gray-700);
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}
.carousel-nav button {
  padding: 0.6rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--beige-200);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-500);
  transition: border-color 0.2s, color 0.2s;
}
.carousel-nav button:hover { border-color: var(--pink-300); color: var(--pink-400); }

/* Preset strip */
.preset-strip {
  margin-top: 0.5rem;
}
.preset-strip__label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
  padding: 0 0.15rem;
}
.preset-strip__viewport {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--beige-200);
  background: var(--beige-50);
  padding: 0.45rem 0;
}
.preset-strip__track {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.preset-strip__group {
  display: flex;
  flex-shrink: 0;
  gap: 0.45rem;
  padding: 0 0.45rem;
}
.preset-strip.is-ready:hover .preset-strip__track { animation-play-state: paused; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.preset-cell {
  flex: 0 0 auto;
}

.preset-cell button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 72px;
  min-height: 0;
  padding: 0.4rem 0.35rem 0.45rem;
  background: var(--white);
  border: 1px solid var(--beige-200);
  border-radius: 10px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.preset-cell button:hover,
.preset-cell button.is-active {
  border-color: var(--pink-300);
  box-shadow: 0 4px 14px rgba(217, 122, 150, 0.15);
  transform: translateY(-1px);
}
.preset-cell img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.preset-cell strong {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--gray-600);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 64px;
  line-height: 1.2;
}
.preset-cell small {
  font-size: 0.55rem;
  color: var(--gray-300);
  line-height: 1.1;
}

/* ── Install ── */

.install { background: var(--beige-50); }

.install-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.install-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.install-intro p {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.install-steps { display: flex; flex-direction: column; gap: 1rem; }

.install-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--beige-200);
  border-radius: var(--radius-lg);
  align-items: start;
}
.install-step .step-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink-100), var(--pink-200));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--pink-500);
}
.install-step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.install-step p {
  font-size: 0.88rem;
  color: var(--gray-400);
}
.install-step code {
  font-size: 0.82rem;
  padding: 0.15rem 0.4rem;
  background: var(--beige-100);
  border-radius: 4px;
  color: var(--pink-500);
}

.install-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--pink-50);
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--gray-500);
  transition: color 0.5s ease;
}
.install-note strong { color: var(--pink-500); }

/* ── FAQ ── */

.faq { background: var(--white); }

.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--beige-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--beige-50);
  transition: border-color 0.2s;
}
.faq-item.is-open { border-color: var(--pink-200); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-600);
  text-align: left;
}
.faq-question i {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}
.faq-question i::before,
.faq-question i::after {
  content: "";
  position: absolute;
  background: var(--pink-400);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.faq-question i::before { width: 12px; height: 2px; top: 9px; left: 4px; }
.faq-question i::after { width: 2px; height: 12px; top: 4px; left: 9px; }
.faq-item.is-open .faq-question i::after { transform: rotate(90deg); opacity: 0; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-answer p {
  padding: 0 1.35rem 1.15rem;
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ── Reviews ── */

.reviews { background: linear-gradient(180deg, var(--beige-50), var(--beige-100)); }

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.review-card {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--beige-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.review-card blockquote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
}
.review-card .reviewer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.review-card .reviewer img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pink-100);
}
.review-card .reviewer strong {
  display: block;
  font-size: 0.88rem;
}
.review-card .reviewer span {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* ── CTA ── */

.cta {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--pink-100) 0%, var(--beige-100) 50%, var(--pink-50) 100%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1rem;
}
.cta-inner p {
  color: var(--gray-400);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ── Footer ── */

.site-footer {
  padding: 3rem 0 2rem;
  background: var(--gray-700);
  color: var(--gray-200);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .brand { color: var(--white); margin-bottom: 0.75rem; }
.footer-brand p {
  font-size: 0.88rem;
  color: var(--gray-300);
  max-width: 22rem;
}

.footer-links h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-300);
  margin-bottom: 0.85rem;
}
.footer-links a {
  display: block;
  font-size: 0.88rem;
  color: var(--gray-300);
  padding: 0.25rem 0;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--pink-200); }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* ── Toast ── */

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--gray-700);
  color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s;
  pointer-events: none;
}
.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.toast > span {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--pink-400);
  flex-shrink: 0;
}
.toast strong { display: block; font-size: 0.9rem; }
.toast small { font-size: 0.78rem; color: var(--gray-300); }

body.modal-open { overflow: hidden; }

.ext-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s var(--ease), visibility 0.32s var(--ease);
}
.ext-modal[hidden] { display: none; }
.ext-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.ext-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 12, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.32s var(--ease);
}
.ext-modal.is-open .ext-modal__backdrop {
  opacity: 1;
}
.ext-modal__panel {
  position: relative;
  width: min(420px, 100%);
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, #15111a 0%, #0e0c12 100%);
  border: 1px solid var(--neon-dim);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(255, 126, 179, 0.08);
  text-align: center;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}
.ext-modal.is-open .ext-modal__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.ext-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  color: var(--gray-400);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s var(--ease);
}
.ext-modal__close:hover {
  color: var(--pink-300);
  transform: scale(1.08);
}
.ext-modal__icon {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: rgba(255, 126, 179, 0.12);
  color: var(--pink-400);
  font-size: 1.1rem;
}
.ext-modal__panel h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}
.ext-modal__panel p {
  color: var(--gray-400);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.ext-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.ext-modal__actions .btn-ghost {
  background: transparent;
  border: 1px solid var(--beige-200);
  color: var(--gray-300);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ── Reveal on scroll ── */

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .hero-grid,
  .preview-layout,
  .install-grid,
  .feature-grid { grid-template-columns: 1fr; }

  .hero-preset-rail { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .desktop-nav,
  .desktop-download { display: none; }
  .mobile-menu-toggle { display: flex; }

  .review-grid { grid-template-columns: 1fr; }
  .stats-panel { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .preset-strip__track { animation: none; }
  .mirror-preset.is-pop,
  .preview-crosshair.is-pop { animation: none; }
  .photo-booth__live i { animation: none; }
  .ext-modal,
  .ext-modal__backdrop,
  .ext-modal__panel { transition: none !important; }
}

/* === NEON DARK THEME === */
.site-header.is-scrolled {
  background: rgba(12, 10, 15, 0.82);
  border-bottom: 1px solid var(--neon-dim);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.brand-mark {
  background: linear-gradient(145deg, #ff9ec8 0%, #ff7eb3 52%, #ff5c9d 100%);
  border: none;
  box-shadow: 0 0 16px rgba(255, 126, 179, 0.35);
}

.brand-word span {
  color: var(--pink-400);
  text-shadow: 0 0 20px rgba(255, 126, 179, 0.35);
}

.desktop-nav a { color: var(--gray-400); }
.desktop-nav a:hover { color: var(--pink-400); text-shadow: 0 0 12px rgba(255, 126, 179, 0.3); }

.mobile-menu {
  background: rgba(12, 10, 15, 0.96);
  border-top: 1px solid var(--neon-dim);
}

.mobile-menu a { color: var(--gray-500); }

.btn-primary {
  background: linear-gradient(135deg, #ff8fbe, #ff5c9d);
  color: #fff;
  border: 1px solid rgba(255, 160, 200, 0.35);
  box-shadow: var(--neon-glow), 0 4px 16px rgba(0, 0, 0, 0.35);
}
.btn-primary:hover {
  box-shadow: 0 0 24px rgba(255, 110, 175, 0.45), 0 0 48px rgba(255, 110, 175, 0.15), 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-ghost {
  background: var(--beige-100);
  color: var(--gray-600);
  border-color: var(--beige-200);
}
.btn-ghost:hover {
  border-color: var(--neon-line);
  color: var(--pink-400);
  box-shadow: 0 0 16px rgba(255, 126, 179, 0.12);
}

.text-link { color: var(--pink-400); }

.hero-bg__blob--pink {
  background: rgba(255, 100, 160, 0.22);
  opacity: 0.7;
}
.hero-bg__blob--beige {
  background: rgba(80, 60, 90, 0.35);
  opacity: 0.6;
}

.hero-copy h1 { color: var(--ink); }
.hero-copy h1 em {
  color: var(--pink-400);
  text-shadow: 0 0 30px rgba(255, 126, 179, 0.35);
}

.stats-panel {
  background: var(--beige-100);
  border-color: var(--neon-dim);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 140, 190, 0.06);
}

.stat-card {
  background: var(--gray-50);
  border-color: var(--beige-200);
}
.stat-card strong { color: var(--ink); }

.mirror-halo {
  background: radial-gradient(circle, rgba(255, 126, 179, 0.25), transparent 70%);
}


.section-eyebrow {
  color: var(--pink-400);
  text-shadow: 0 0 14px rgba(255, 126, 179, 0.25);
}

.section-header h2 { color: var(--ink); }

.features { background: transparent; }

.feature-card {
  background: var(--beige-100);
  border-color: var(--beige-200);
}
.feature-card:hover {
  border-color: var(--neon-line);
  box-shadow: var(--neon-glow);
}
.feature-icon {
  background: linear-gradient(135deg, rgba(255, 126, 179, 0.2), rgba(255, 92, 157, 0.12));
  color: var(--pink-400);
  box-shadow: inset 0 0 20px rgba(255, 126, 179, 0.08);
}

.preview-section {
  background: linear-gradient(180deg, transparent, rgba(255, 100, 160, 0.03), transparent);
}

.preview-stage {
  border-color: var(--neon-dim);
  box-shadow: var(--shadow-card);
}

.scene-btn {
  background: var(--beige-100);
  border-color: var(--beige-200);
  color: var(--gray-400);
}
.scene-btn.is-active {
  border-color: var(--neon-line);
  background: rgba(255, 126, 179, 0.1);
  color: var(--pink-400);
  box-shadow: 0 0 16px rgba(255, 126, 179, 0.12);
}

.preview-info {
  background: var(--beige-100);
  border-color: var(--beige-200);
}

.library { background: transparent; }

.showcase-stage {
  background: var(--beige-100);
  border: 1px solid var(--neon-dim);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 140, 190, 0.05);
}

.carousel-nav button {
  background: var(--white);
  border-color: var(--beige-200);
  color: var(--gray-400);
}
.carousel-nav button:hover {
  border-color: var(--neon-line);
  color: var(--pink-400);
}

.preset-strip__viewport {
  background: var(--beige-100);
  border-color: var(--neon-dim);
}

.preset-cell button {
  background: var(--gray-50);
  border-color: var(--beige-200);
}
.preset-cell button:hover,
.preset-cell button.is-active {
  border-color: var(--neon-line);
  box-shadow: 0 0 14px rgba(255, 126, 179, 0.2);
}

.install { background: transparent; }

.install-step {
  background: var(--beige-100);
  border: 1px solid var(--beige-200);
}
.install-step .step-num {
  box-shadow: 0 0 16px rgba(255, 126, 179, 0.2);
}

.faq { background: transparent; }

.faq-item {
  background: var(--beige-100);
  border-color: var(--beige-200);
}
.faq-item.is-open {
  border-color: var(--neon-line);
  box-shadow: 0 0 20px rgba(255, 126, 179, 0.1);
}

.reviews { background: transparent; }

.review-card {
  background: var(--beige-100);
  border-color: var(--beige-200);
}
.review-card:hover {
  border-color: var(--neon-dim);
  box-shadow: var(--neon-glow);
}

.cta-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255, 100, 160, 0.12), transparent 60%),
    linear-gradient(135deg, #1a1218 0%, #141018 50%, #1a1218 100%);
}
.cta-inner h2 { color: var(--ink); }

.site-footer {
  background: #060508;
  border-top: 1px solid var(--neon-dim);
  color: var(--gray-400);
}
.footer-brand .brand { color: var(--ink); }
.footer-links a:hover { color: var(--pink-400); text-shadow: 0 0 10px rgba(255, 126, 179, 0.25); }

.toast {
  background: var(--beige-100);
  border: 1px solid var(--neon-dim);
  box-shadow: var(--neon-glow), 0 12px 40px rgba(0, 0, 0, 0.5);
  color: var(--ink);
}
.toast > span { box-shadow: 0 0 12px rgba(255, 126, 179, 0.4); }
.toast small { color: var(--gray-400); }

code {
  background: rgba(255, 126, 179, 0.1);
  color: var(--pink-300);
  border: 1px solid var(--neon-dim);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* === Hero action tiles + mini editor === */
.hero-actions--tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.action-tile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.action-tile:active { transform: scale(0.98); }

.action-tile__icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.action-tile__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
}
.action-tile__text small {
  display: block;
  font-size: 0.68rem;
  opacity: 0.75;
  margin-top: 0.15rem;
}

.action-tile--primary {
  background: linear-gradient(145deg, rgba(255, 143, 190, 0.18), rgba(255, 92, 157, 0.08));
  border: 1px solid var(--neon-line);
  box-shadow: var(--neon-glow);
  color: var(--ink);
}
.action-tile--primary .action-tile__icon {
  background: linear-gradient(135deg, #ff8fbe, #ff5c9d);
  color: #fff;
  box-shadow: 0 0 14px rgba(255, 110, 175, 0.35);
}
.action-tile--primary:hover {
  border-color: rgba(255, 160, 200, 0.65);
  box-shadow: 0 0 22px rgba(255, 110, 175, 0.35);
}

.action-tile--ghost {
  background: var(--beige-100);
  border: 1px solid var(--beige-200);
  color: var(--ink);
}
.action-tile--ghost .action-tile__icon {
  background: var(--gray-50);
  border: 1px solid var(--beige-200);
  color: var(--pink-400);
}
.action-tile--ghost:hover {
  border-color: var(--neon-dim);
  box-shadow: 0 0 16px rgba(255, 126, 179, 0.1);
}

.hero-editor {
  margin-bottom: 1.5rem;
}
.hero-editor__intro {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}
.hero-editor__tag {
  flex-shrink: 0;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pink-400);
  background: rgba(255, 126, 179, 0.12);
  border: 1px solid var(--neon-dim);
}
.hero-editor__intro p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.mini-editor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--beige-100);
  border: 1px solid var(--neon-dim);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 0 rgba(255, 140, 190, 0.04);
}

.mini-editor__stage {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  background: #0e0c12;
  border: 1px solid var(--beige-200);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.mini-editor__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 126, 179, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 126, 179, 0.06) 1px, transparent 1px);
  background-size: 14px 14px;
  pointer-events: none;
}
.mini-editor__crosshair {
  width: 76px;
  height: 76px;
  object-fit: contain;
  z-index: 1;
  transform-origin: center center;
  transition: filter 0.2s ease, transform 0.2s var(--ease);
}
.mini-editor__badge {
  position: absolute;
  bottom: 0.35rem;
  left: 0.35rem;
  padding: 0.15rem 0.4rem;
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pink-300);
  background: rgba(0, 0, 0, 0.55);
  border-radius: 4px;
  z-index: 2;
}
.mini-editor__panel {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}
.mini-editor__tabs {
  display: flex;
  gap: 0.35rem;
}
.mini-editor__tab {
  flex: 1;
  padding: 0.35rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 7px;
  border: 1px solid var(--beige-200);
  background: var(--gray-50);
  color: var(--gray-400);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.mini-editor__tab:hover {
  border-color: var(--neon-dim);
  color: var(--pink-300);
  transform: translateY(-1px);
}
.mini-editor__tab.is-active {
  border-color: var(--neon-line);
  background: rgba(255, 126, 179, 0.1);
  color: var(--pink-400);
}

.mini-editor__row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 0.45rem;
}
.mini-editor__label {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
}
.mini-editor__val {
  font-size: 0.62rem;
  color: var(--gray-400);
  min-width: 2rem;
  text-align: right;
}

.mini-editor__swatches {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.mini-editor__swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--beige-200);
  background: var(--swatch);
  cursor: pointer;
  padding: 0;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.mini-editor__swatch:hover {
  transform: scale(1.12);
  box-shadow: 0 0 10px rgba(255, 126, 179, 0.35);
  border-color: rgba(255, 126, 179, 0.45);
}
.mini-editor__swatch.is-active {
  border-color: var(--pink-400);
  box-shadow: 0 0 8px rgba(255, 126, 179, 0.45);
  transform: scale(1.1);
}

.mini-editor__track {
  height: 4px;
  background: var(--beige-200);
  border-radius: 2px;
  overflow: hidden;
}

.mini-editor__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: transparent;
  outline: none;
  cursor: pointer;
}
.mini-editor__slider::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--pink-400) 0%, var(--pink-400) var(--slider-fill, 50%), var(--beige-200) var(--slider-fill, 50%), var(--beige-200) 100%);
}
.mini-editor__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--pink-400);
  box-shadow: 0 0 10px rgba(255, 126, 179, 0.45);
  border: none;
}
.mini-editor__slider::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: var(--beige-200);
}
.mini-editor__slider::-moz-range-progress {
  height: 4px;
  border-radius: 2px;
  background: var(--pink-400);
}
.mini-editor__slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--pink-400);
  box-shadow: 0 0 10px rgba(255, 126, 179, 0.45);
}

.mini-editor__track i {
  display: block;
  height: 100%;
  width: var(--fill, 50%);
  background: linear-gradient(90deg, var(--pink-400), var(--pink-300));
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255, 126, 179, 0.35);
}


@media (max-width: 780px) {
  .hero-actions--tiles { grid-template-columns: 1fr; }
  .mini-editor { grid-template-columns: 1fr; }
  .mini-editor__stage { max-width: 140px; }
}

.custom-section {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}
.library + .custom-section {
  padding-top: 0.5rem;
  margin-top: -0.5rem;
}
.custom-section__inner {
  max-width: 640px;
  margin-inline: auto;
}
.custom-section__head {
  text-align: center;
  margin-bottom: 1.25rem;
}
.custom-section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0.4rem 0 0.5rem;
  color: var(--ink);
}
.custom-section__head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 28rem;
  margin-inline: auto;
}

.mini-editor--wide {
  grid-template-columns: 140px 1fr;
  max-width: 100%;
}
.mini-editor--wide .mini-editor__stage {
  aspect-ratio: 1;
}
.mini-editor--wide .mini-editor__crosshair {
  width: 66px;
  height: 66px;
}

@media (max-width: 780px) {
  .mini-editor--wide { grid-template-columns: 1fr; }
  .mini-editor--wide .mini-editor__stage { max-width: 160px; margin-inline: auto; }
}

.btn-download {
  background: rgba(255, 126, 179, 0.1);
  border: 1px solid var(--neon-line);
  color: var(--pink-400);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.btn-download:hover {
  background: rgba(255, 126, 179, 0.18);
  border-color: var(--pink-400);
  box-shadow: 0 0 22px rgba(255, 126, 179, 0.28);
  color: #ffb8d4;
}
.btn-download__icon {
  flex-shrink: 0;
  opacity: 0.95;
}

.works-with { background: transparent; }

.game-float {
  position: relative;
  padding: 2rem 0 0.5rem;
  min-height: 260px;
}
.game-float__glow {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(92%, 640px);
  height: 140px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(255, 126, 179, 0.16) 0%, transparent 72%);
  pointer-events: none;
}
.game-float__arc {
  position: absolute;
  left: 50%;
  top: 38%;
  width: min(88%, 700px);
  height: 110px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 126, 179, 0.18);
  border-radius: 50%;
  border-top-color: transparent;
  border-left-color: rgba(255, 126, 179, 0.08);
  border-right-color: rgba(255, 126, 179, 0.08);
  pointer-events: none;
}
.game-float__list {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(1.25rem, 4vw, 3.25rem);
  list-style: none;
  padding: 0;
  margin: 0;
}
.game-float__item {
  flex: 0 1 130px;
  --float-offset: 0px;
  animation: game-float-bob 7s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  will-change: transform;
}
.game-float__item:nth-child(1) { --float-offset: 16px; animation-delay: 0s; }
.game-float__item:nth-child(2) { --float-offset: -12px; animation-delay: -1.75s; }
.game-float__item:nth-child(3) { --float-offset: 20px; animation-delay: -3.5s; }
.game-float__item:nth-child(4) { --float-offset: -6px; animation-delay: -5.25s; }

@keyframes game-float-bob {
  0%, 100% { transform: translateY(var(--float-offset)); }
  50% { transform: translateY(calc(var(--float-offset) - 9px)); }
}

.game-float__orb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  text-align: center;
}
.game-float__orb img {
  width: clamp(68px, 10vw, 84px);
  height: clamp(68px, 10vw, 84px);
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 2px rgba(255, 126, 179, 0.2),
    0 0 24px rgba(255, 126, 179, 0.22),
    0 12px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.55s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.55s ease;
}
.game-float__orb:hover img,
.game-float__orb:focus-within img {
  transform: scale(1.1) translateY(-6px);
  box-shadow:
    0 0 0 3px rgba(255, 126, 179, 0.45),
    0 0 36px rgba(255, 126, 179, 0.42),
    0 16px 32px rgba(0, 0, 0, 0.4);
}
.game-float__orb figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

@media (max-width: 640px) {
  .game-float { min-height: auto; padding-top: 1rem; }
  .game-float__arc { display: none; }
  .game-float__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1.25rem;
    align-items: start;
  }
  .game-float__item,
  .game-float__item:nth-child(n) {
    transform: none;
    animation: none;
    flex: auto;
  }
}

/* Site user pointer */
html.has-site-pointer,
html.has-site-pointer * {
  cursor: none !important;
}

html.has-site-pointer input,
html.has-site-pointer textarea,
html.has-site-pointer select,
html.has-site-pointer [contenteditable="true"] {
  cursor: text !important;
}

.site-pointer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10050;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity 0.2s var(--ease);
  will-change: transform;
}

.site-pointer.is-visible {
  opacity: 1;
}

.site-pointer__ring,
.site-pointer__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.site-pointer__ring {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255, 170, 205, 0.82);
  background: rgba(255, 126, 179, 0.22);
  box-shadow:
    0 0 0 2px rgba(8, 6, 10, 0.92),
    0 0 0 4px rgba(255, 255, 255, 0.14),
    0 0 26px rgba(255, 126, 179, 0.52),
    0 0 12px rgba(255, 255, 255, 0.14),
    inset 0 0 18px rgba(255, 255, 255, 0.16);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.site-pointer__dot {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f3edf6 42%, #d4cad8 100%);
  border: 2px solid rgba(255, 255, 255, 0.98);
  box-shadow:
    0 0 0 2px rgba(8, 6, 10, 0.94),
    0 0 0 4px rgba(255, 126, 179, 0.42),
    0 0 20px rgba(255, 126, 179, 0.68),
    0 0 10px rgba(255, 255, 255, 0.48);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.site-pointer.is-pressed .site-pointer__dot {
  transform: translate(-50%, -50%) scale(0.88);
}

.site-pointer.is-hover .site-pointer__ring {
  transform: translate(-50%, -50%) scale(1.14);
  border-color: rgba(255, 160, 200, 0.92);
  box-shadow:
    0 0 0 1px rgba(12, 10, 15, 0.72),
    0 0 34px rgba(255, 126, 179, 0.58),
    inset 0 0 16px rgba(255, 255, 255, 0.14);
}

.site-pointer.is-hover .site-pointer__dot {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow:
    0 0 0 1px rgba(12, 10, 15, 0.82),
    0 0 30px rgba(255, 126, 179, 0.82),
    0 0 14px rgba(255, 255, 255, 0.52);
}

@media (pointer: coarse) {
  html.has-site-pointer,
  html.has-site-pointer * {
    cursor: auto !important;
  }

  .site-pointer {
    display: none !important;
  }
}

