/* Velvet Rope · neon marquee sign
   Creator platform names in crimson neon, inside a frame of small bulbs, hung along the bottom of the hero.
   It runs left to right. Typographic names only: no logos, no partnership or integration claim.
   neon.js adds the looping copy and the pause switch; without it (or under reduced motion) the sign is still. */

.neon {
  --neon-core: #FFE1E5;
  --neon-glow: #FF2A47;
  --bulb-step: 18px;
  position: relative;
  margin-top: clamp(36px, 5vw, 64px);
  padding: 14px;
  border-radius: var(--radius, 2px);
  /* the bulbs: a row of small lamps every 18px, spaced so a whole lamp sits in each corner */
  background:
    radial-gradient(circle, #FFF8E8 0 1.5px, #FFCB7C 2.4px, rgba(255, 178, 96, .34) 3.5px, transparent 5px) 0 0 / var(--bulb-step) var(--bulb-step) space,
    #1D0B0F;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 24px 40px -22px rgba(40, 0, 8, .9);
}
.neon__body {
  min-width: 0;
  border-radius: 1px;
  background: #0C0405;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.neon__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 6px 6px 0 16px;
}
.neon__label { font: 600 11px/1.4 var(--body); letter-spacing: .2em; text-transform: uppercase; color: #C9A0A6; }

/* The switch: a dark plate with a lamp that is lit while the sign runs. */
.neon__switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  padding: 3px 14px 0;
  border: 1px solid rgba(255, 107, 107, .4);
  border-radius: var(--radius, 2px);
  background: #150709;
  color: var(--neon-core);
  font: 400 1.15rem/1 var(--display);
  letter-spacing: .14em;
  text-shadow: 0 0 6px rgba(255, 42, 71, .95);
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  transition: transform 160ms var(--ease-out, ease-out);
}
.neon__switch:active { transform: scale(.97); }
.neon__switch:focus-visible { outline: 2px solid var(--neon-core); outline-offset: 3px; }
.neon__lamp {
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: -3px;
  border-radius: 50%;
  background: #FFCB7C;
  box-shadow: 0 0 7px 1px rgba(255, 186, 96, .9);
}
.neon[data-held="true"] .neon__lamp { background: #4A2A2E; box-shadow: none; }

/* The face: still by default (names wrap and sit centred). */
.neon__face {
  container-type: inline-size;
  overflow: hidden;
  padding: clamp(10px, 1.4vw, 18px) 0 clamp(16px, 2vw, 26px);
}
.neon__reel { display: flex; }
.neon__run {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 0;
  flex: 1 1 auto;
  margin: 0;
  padding: 0 12px;
  list-style: none;
}
.neon__run li {
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding-top: .08em;
  font: 400 clamp(32px, 4.6vw, 62px)/1 var(--display);
  letter-spacing: .07em;
  color: var(--neon-core);
  text-shadow: 0 0 2px #FFF, 0 0 7px var(--neon-glow), 0 0 16px var(--neon-glow), 0 0 34px rgba(224, 38, 63, .8);
}
/* a small neon ring between names */
.neon__run li::after {
  content: "";
  flex: none;
  width: .2em;
  height: .2em;
  margin: -.08em clamp(18px, 2.4vw, 38px) 0;
  border: 2px solid #FF5A6E;
  border-radius: 50%;
  box-shadow: 0 0 6px var(--neon-glow), inset 0 0 4px var(--neon-glow);
}
/* Still sign (reduced motion or no script): names wrap, so the rings give way to plain spacing. */
.neon:not([data-motion="on"]) .neon__run { gap: 4px clamp(22px, 3.2vw, 48px); }
.neon:not([data-motion="on"]) .neon__run li::after { display: none; }

/* Running: two copies side by side, moving left to right, faded at both ends. */
.neon[data-motion="on"] .neon__face {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.neon[data-motion="on"] .neon__reel {
  width: max-content;
  animation: neon-run var(--neon-duration, 34s) linear infinite;
  animation-play-state: paused;
  will-change: transform;
}
.neon[data-motion="on"] .neon__run {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  justify-content: space-around;
  min-width: 100cqw;
  padding: 0;
}
.neon[data-state="running"] .neon__reel { animation-play-state: running; }
@keyframes neon-run { from { transform: translateX(-50%); } to { transform: translateX(0); } }

@media (hover: hover) and (pointer: fine) {
  .neon__switch:hover { border-color: rgba(255, 107, 107, .75); }
}
@media (min-width: 1024px) {
  .neon { padding: 15px; --bulb-step: 20px; }
  .neon__bar { padding: 8px 8px 0 20px; }
}
@media (max-width: 479px) {
  .neon:not([data-motion="on"]) .neon__run li { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .neon .neon__reel { animation: none !important; transform: none !important; }
  .neon__run[aria-hidden="true"], .neon__switch { display: none !important; }
  .neon__switch { transition: none; }
}
