/* ============================
   FEATURED PAGE — 3 MODE SAFE
   Base: BLACK
   Spotlight: via --spot-rgb
   Accent: via --accent-rgb
   ============================ */

.featured,
.featured-page,
.featured-root,
.featured-wrap,
.featured-shell {
  background: transparent !important;
}

/* ----------------------------
   Spotlight layer (NOT background)
----------------------------- */
.featured::before,
.featured-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background:
    radial-gradient(
      600px 420px at 50% 28%,
      rgba(var(--spot-rgb), 0.30),
      rgba(0,0,0,0.75) 55%,
      rgba(0,0,0,0.98) 100%
    );
}

/* Content above spotlight */
.featured > *,
.featured-page > * {
  position: relative;
  z-index: 1;
}

/* ----------------------------
   Featured cards (glass)
----------------------------- */
.featured-card,
.featured-item,
.featured-carousel-card {
  background: rgba(10,10,12,0.55) !important;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;

  box-shadow:
    0 12px 40px rgba(0,0,0,0.60),
    0 0 28px rgba(var(--accent-rgb), 0.25);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* Side / inactive cards */
.featured-card.is-side {
  background: rgba(10,10,12,0.40) !important;
  opacity: 0.75;
}

/* ----------------------------
   Buttons
----------------------------- */
.featured button,
.featured .btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
}

.featured button:hover,
.featured .btn:hover {
  border-color: rgba(var(--accent-rgb), 0.6);
  box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.6);
}

/* ----------------------------
   Text
----------------------------- */
.featured h1,
.featured h2,
.featured h3 {
  color: rgba(255,255,255,0.92);
}

.featured .subtitle,
.featured .muted {
  color: rgba(255,255,255,0.65);
}

/* ----------------------------
   Kill light / legacy styles
----------------------------- */
.featured .bg-light,
.featured .light,
.featured [data-light],
.featured [style*="background"] {
  background: transparent !important;
}

/* =========================================
   FEATURED — KILL HARDCODED TEAL CARD GRADIENT
   (forces card to use black glass in ALL modes)
   Paste at VERY END of featured.css
========================================= */

.featured :is(
  .featured-card,
  .featured-item,
  .featured-carousel-card,
  .featured-hero,
  .featured-main,
  .featured-main-card,
  .featured-track-card,
  .carousel-card,
  .hero-card,
  .track-card,
  [class*="featured"][class*="card"],
  [class*="featured"][class*="panel"],
  [class*="carousel"][class*="card"]
) {
  background: rgba(10,10,12,0.55) !important;
  background-image: none !important;
}

.featured :is(
  .featured-card,
  .featured-item,
  .featured-carousel-card,
  .featured-hero,
  .featured-main-card,
  .featured-track-card,
  .carousel-card,
  .hero-card,
  .track-card,
  [class*="featured"][class*="card"],
  [class*="featured"][class*="panel"],
  [class*="carousel"][class*="card"]
)::before,
.featured :is(
  .featured-card,
  .featured-item,
  .featured-carousel-card,
  .featured-hero,
  .featured-main-card,
  .featured-track-card,
  .carousel-card,
  .hero-card,
  .track-card,
  [class*="featured"][class*="card"],
  [class*="featured"][class*="panel"],
  [class*="carousel"][class*="card"]
)::after {
  background: transparent !important;
  background-image: none !important;
}

/* Buttons */
.featured-flow-wrap .btn,
.featured-flow-wrap button {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

.featured-flow-wrap .btn.primary {
  background: var(--accent) !important;
  color: #000 !important;
}

/* =========================================================
   OUTLXW — FLOW CONTROLS (Featured page)
   Boxed Prev / Play / Next + mode-aware hover glow
   ========================================================= */

.featured-flow-wrap .ff-controls{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 18px;
  margin-top: 18px;
}

.featured-flow-wrap .ff-btn,
.featured-flow-wrap .ff-play-btn{
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(245,247,250,0.14) !important;
  background: rgba(0,0,0,0.18) !important;
  color: rgba(245,247,250,0.86) !important;
  border-radius: 999px;
  padding: 10px 18px;
  min-width: 96px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 11px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.featured-flow-wrap .ff-btn:hover,
.featured-flow-wrap .ff-play-btn:hover{
  border-color: rgba(var(--accent-rgb), .60) !important;
  box-shadow: 0 0 18px var(--glow) !important;
  transform: translateY(-1px);
}

.featured-flow-wrap .ff-btn:active,
.featured-flow-wrap .ff-play-btn:active{
  transform: translateY(0px) scale(.98);
}

.featured-flow-wrap .ff-play-btn{
  min-width: 140px;
  padding: 12px 28px;
  border-color: rgba(var(--accent-rgb), .38) !important;
  background: radial-gradient(circle at 50% 35%, rgba(var(--accent-rgb), .16), rgba(0,0,0,.18) 70%) !important;
  box-shadow: 0 0 22px rgba(var(--accent-rgb), .20) !important;
}

.featured-flow-wrap .ff-btn:focus-visible,
.featured-flow-wrap .ff-play-btn:focus-visible{
  outline: none;
  border-color: rgba(var(--accent-rgb), .75) !important;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .15), 0 0 18px var(--glow) !important;
}

@media (max-width: 900px){
  .featured-flow-wrap .ff-controls{ gap: 12px; }
  .featured-flow-wrap .ff-btn{ min-width: 84px; padding: 10px 14px; }
  .featured-flow-wrap .ff-play-btn{ min-width: 120px; padding: 12px 22px; }
}

/* Buttons */
.featured-flow-wrap .btn,
.featured-flow-wrap button {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

.featured-flow-wrap .btn.primary {
  background: var(--accent) !important;
  color: #000 !important;
}

/* Buttons */
.featured-flow-wrap .btn,
.featured-flow-wrap button {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

.featured-flow-wrap .btn.primary {
  background: var(--accent) !important;
  color: #000 !important;
}