/* NUBE — Spotlight: anuncio de artista nuevo, esquina superior derecha.
   Deliberadamente distinto al resto del sitio (color sólido, pulso) para
   cortar el patrón visual habitual sin salirse de la paleta de marca. */

.spotlight {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 800;
}

.spotlight__badge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: var(--primary-dark);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.22) inset;
}

.spotlight__badge::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 2px solid var(--accent);
  opacity: 0.6;
  animation: spotlight-ring 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes spotlight-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0; }
}

.spotlight__label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
  white-space: nowrap;
}

.spotlight__artist {
  font-family: "Marcellus", "Cormorant Garamond", serif;
  font-size: 0.92rem;
  font-weight: 400;
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotlight__panel {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  width: min(560px, 92vw);
  padding: 22px;
  display: flex;
  gap: 22px;
  border-radius: 20px;
  background: rgba(6, 10, 18, 0.94);
  border: 1px solid var(--panel-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.spotlight.is-open .spotlight__panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.spotlight.is-open .spotlight__badge::before {
  animation-play-state: paused;
  opacity: 0;
}

.spotlight__cover-frame {
  position: relative;
  flex-shrink: 0;
  width: 168px;
}

.spotlight__cover-frame::before {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  bottom: 10px;
  left: 10px;
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  opacity: 0.55;
  border-radius: 2px;
  pointer-events: none;
}

.spotlight__cover {
  position: relative;
  display: block;
  width: 168px;
  height: 224px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--panel-border);
}

.spotlight__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spotlight__eyebrow {
  margin: 0 0 6px;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.spotlight__name {
  margin: 0 0 6px;
  font-family: "Marcellus", "Cormorant Garamond", serif;
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.1;
}

.spotlight__location {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 12px;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.spotlight__location svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.spotlight__bio {
  margin: 0 0 16px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.spotlight__links {
  display: flex;
  gap: 10px;
}

.spotlight__link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--text-main);
  color: #14161f;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.spotlight__link:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.spotlight__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
  display: grid;
  place-items: center;
}

.spotlight__close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--text-main);
}

@media (max-width: 900px) {
  .spotlight {
    top: 70px;
    right: 12px;
  }
  .spotlight__artist {
    max-width: 110px;
  }
  .spotlight__panel {
    flex-direction: column;
    width: min(320px, 88vw);
  }
  .spotlight__cover-frame,
  .spotlight__cover {
    width: 100%;
    height: 180px;
  }
  .spotlight__cover-frame::before {
    display: none;
  }
}

@media (max-width: 460px) {
  .spotlight__badge {
    padding: 9px 12px;
    gap: 6px;
  }
  .spotlight__label {
    font-size: 0.52rem;
    letter-spacing: 0.14em;
  }
  .spotlight__artist {
    max-width: 140px;
    font-size: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spotlight__badge::before {
    animation: none;
    opacity: 0.35;
  }
}
