/* Site search, featured Artistes nav accent, neon homepage CTA */

/* ---------- Artistes in the main nav: subtle red dot ---------- */
.site-nav a.nav-artistes {
  position: relative;
}
.site-nav a.nav-artistes::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
  background: var(--red-glow, #ff2a36);
  box-shadow: 0 0 8px var(--red-glow, #ff2a36);
  margin-right: .45rem;
}
.site-nav .footer__nav a.nav-artistes::before,
.footer__nav a.nav-artistes::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-glow, #ff2a36);
  box-shadow: 0 0 8px var(--red-glow, #ff2a36);
  margin-right: .4rem;
  vertical-align: middle;
}

/* ---------- Neon white "Nos artistes" hero button ---------- */
.hero-artistes-cta {
  margin: .75rem 0 0;
  width: 100%;
}
.hero-artistes-cta .btn--neon {
  width: 100%;
  max-width: 100%;
  justify-content: center;
  box-sizing: border-box;
}
.hero-artistes-cta .btn--neon {
  position: relative;
  isolation: isolate;
  overflow: visible;
  color: #fff;
  background: rgba(8, 6, 8, .55);
  border: 1px solid rgba(255, 255, 255, .88);
  box-shadow:
    0 0 8px rgba(255, 255, 255, .45),
    0 0 22px rgba(255, 255, 255, .18),
    inset 0 0 10px rgba(255, 255, 255, .1);
  text-shadow: 0 0 8px rgba(255, 255, 255, .75), 0 0 16px rgba(255, 255, 255, .35);
}
.hero-artistes-cta .btn--neon::after {
  background-color: rgba(255, 255, 255, .16);
  box-shadow: 0 0 8px rgba(255, 255, 255, .35);
}
.hero-artistes-cta .btn--neon:hover,
.hero-artistes-cta .btn--neon:focus-visible {
  color: #fff;
  border-color: #fff;
  background: rgba(16, 14, 16, .62);
  box-shadow:
    0 0 10px rgba(255, 255, 255, .6),
    0 0 28px rgba(255, 255, 255, .28),
    inset 0 0 12px rgba(255, 255, 255, .14);
  text-shadow: 0 0 10px rgba(255, 255, 255, .9), 0 0 20px rgba(255, 255, 255, .45);
}
.btn-neon__sparks {
  position: absolute;
  inset: -8px;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.btn-neon__sparks i {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 5px 1px #fff, 0 0 9px rgba(255, 255, 255, .7);
  opacity: 0;
  animation: rnf-neon-spark 7.5s ease-in-out infinite;
}
.btn-neon__sparks i:nth-child(1) { top: 0; left: 16%; animation-duration: 8.2s; animation-delay: 0s; }
.btn-neon__sparks i:nth-child(2) { top: 0; left: 72%; animation-duration: 9s; animation-delay: 1.6s; }
.btn-neon__sparks i:nth-child(3) { top: 42%; right: 0; animation-duration: 7.4s; animation-delay: 3.1s; }
.btn-neon__sparks i:nth-child(4) { bottom: 0; left: 58%; animation-duration: 8.6s; animation-delay: 0.8s; }
.btn-neon__sparks i:nth-child(5) { bottom: 0; left: 22%; animation-duration: 7.8s; animation-delay: 4.2s; }
.btn-neon__sparks i:nth-child(6) { top: 38%; left: 0; animation-duration: 9.4s; animation-delay: 2.4s; }
@keyframes rnf-neon-spark {
  0%, 100% { opacity: 0; transform: scale(.35); }
  18% { opacity: .85; transform: scale(1); }
  42% { opacity: .15; transform: scale(.5); }
  64% { opacity: .7; transform: scale(1); }
  82% { opacity: 0; transform: scale(.3); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-neon__sparks { display: none; }
  .hero-artistes-cta .btn--neon,
  .hero-artistes-cta .btn--neon:hover {
    transition: none;
  }
}

/* ---------- Header / Records search trigger ---------- */
.btn-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 999px;
  color: #ff3a44;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(10,8,9,.50) 46%, rgba(8,6,7,.55));
  border: 1px solid rgba(255,255,255,.32);
  box-shadow:
    0 10px 28px -14px rgba(0,0,0,.75),
    inset 0 1px 0 rgba(255,255,255,.42),
    0 0 10px -6px rgba(255,42,54,.28);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.btn-search svg { width: 20px; height: 20px; display: block; }
.btn-search:hover,
.btn-search:focus-visible {
  color: #ff4d56;
  border-color: rgba(255,255,255,.48);
  box-shadow:
    0 12px 32px -12px rgba(0,0,0,.7),
    inset 0 1px 0 rgba(255,255,255,.55),
    0 0 28px -6px rgba(255,42,54,.55);
}
.site-header .btn-search { width: 42px; height: 42px; }
.hero-records__row {
  display: flex;
  align-items: stretch;
  gap: .55rem;
}
.hero-records__row .btn-records {
  flex: 1 1 auto;
  width: auto;
}
.hero-records__row .btn-search {
  width: 52px;
  min-width: 52px;
  height: auto;
  min-height: 52px;
}

/* ---------- Search overlay ---------- */
.rnf-search {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--header-h, 64px) + 28px) 1.1rem 1.5rem;
  background: rgba(4, 3, 4, .72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.rnf-search[hidden] { display: none; }
.rnf-search__panel {
  width: min(36rem, 100%);
  max-height: min(78svh, 40rem);
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(28, 20, 22, .96), rgba(10, 8, 9, .98));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,42,54,.12);
  overflow: hidden;
}
.rnf-search__bar {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.rnf-search__bar svg { flex: none; width: 20px; height: 20px; color: var(--silver, #cfcfcf); }
.rnf-search__input {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
  border: 0;
  color: #fff;
  font-family: var(--font-display, inherit);
  font-size: 1.05rem;
  letter-spacing: .02em;
  outline: none;
}
.rnf-search__input::placeholder { color: rgba(255,255,255,.38); }
.rnf-search__close {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}
.rnf-search__close:hover,
.rnf-search__close:focus-visible {
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.08);
}
.rnf-search__results {
  overflow-y: auto;
  padding: .4rem 0 .7rem;
  margin: 0;
  list-style: none;
}
.rnf-search__empty,
.rnf-search__hint {
  margin: 0;
  padding: 1.1rem 1.15rem;
  color: var(--muted, #9a9a9a);
  font-size: .92rem;
}
.rnf-search__item a {
  display: block;
  padding: .75rem 1.15rem;
  color: #fff;
  text-decoration: none;
  border-left: 2px solid transparent;
}
.rnf-search__item a:hover,
.rnf-search__item.is-active a,
.rnf-search__item a:focus-visible {
  background: rgba(255,255,255,.05);
  border-left-color: var(--red-glow, #ff2a36);
}
.rnf-search__type {
  display: inline-block;
  margin: 0 0 .2rem;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red-text, #ff4d56);
}
.rnf-search__title {
  display: block;
  font-family: var(--font-display, inherit);
  font-size: 1.05rem;
  font-weight: 600;
}
.rnf-search__desc {
  display: block;
  margin-top: .15rem;
  color: var(--silver, #cfcfcf);
  font-size: .88rem;
}
