/* ========================================================= */
/* WG PLAYER 2026 - PLAYLIST (FULL FIX MOBILE + DESKTOP) */
/* Upgrade 2026 by Wolf Carls D´ (NO USE !) */
/* ========================================================= */

/* ===== CONTAINER ===== */
#wg-player2026-playlist {
  width: 100%;
  max-width: 420px;
  margin: 14px auto 0;
  padding: 10px;

  list-style: none;
  box-sizing: border-box;
  overflow: hidden;

  background: linear-gradient(180deg, #0f0f12, #1a1a1f);
  border-radius: 20px;
  border: 1px solid rgba(212,175,55,0.1);
  box-shadow: 0 25px 60px rgba(0,0,0,0.8);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ===== ITEM ===== */
#wg-player2026-playlist li {
  width: calc(100% + 20px);
  margin-left: -10px;
  margin-bottom: 6px;

  list-style: none;
  box-sizing: border-box;
  overflow: hidden;

  border-radius: 10px;
  transition: all 0.3s ease;

  color: #ffffff; /* 🔒 garante base branca */
}

/* ===== HOVER (SÓ DESKTOP) ===== */
@media (hover: hover) and (pointer: fine) {
  #wg-player2026-playlist li:hover {
    background: rgba(255,255,255,0.02);
  }

  #wg-player2026-playlist li:hover .wg-player2026-logo::after {
    opacity: 1;
  }

  #wg-player2026-playlist li:hover .wg-player2026-logo::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ===== ATIVO ==VERMELHO===
#wg-player2026-playlist li.active {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.08),
    rgba(255, 0, 0, 0.35)
  );
}
*/

/* ===== ATIVO PREMIUM GOLD ===== */
#wg-player2026-playlist li.active {
  background: linear-gradient(
    to bottom,
    rgba(212, 175, 55, 0.18),   /* gold suave topo */
    rgba(255, 215, 120, 0.12),  /* brilho quente */
    rgba(0, 0, 0, 0.25)         /* profundidade */
  );

  border: 1px solid rgba(212, 175, 55, 0.25);

  box-shadow:
    0 0 8px rgba(212, 175, 55, 0.25),
    0 0 25px rgba(255, 200, 100, 0.15);
}


/* ==================    rgba(255, 150, 0, 0.35),
    rgba(255, 255, 255, 0.08)======================================= */
/* LINHA INTERNA */
/* ========================================================= */

.wg-player2026-item {
  width: 100%;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 12px;

  padding: 10px 12px;
  box-sizing: border-box;
}

.wg-player2026-div-unidas {
  display: flex;
  justify-content: space-between;
}

/* ========================================================= */
/* LOGO + PLAY */
/* ========================================================= */

.wg-player2026-logo {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  overflow: hidden;
  background: #222;
  position: relative;
  transition: all 0.3s ease;
}

/* ATIVO */
#wg-player2026-playlist li.active .wg-player2026-logo {
  transform: scale(1.10);
  margin: 5px;
  border: 2px solid rgba(255, 180, 0, 0.7);
  box-shadow:
    0 0 8px rgba(255, 180, 0, 0.4),
    0 0 18px rgba(255, 160, 0, 0.5);

  animation: wgLogoPulseBalanced 1.8s ease-in-out infinite;
}

/* PULSO */
@keyframes wgLogoPulseBalanced {
  0% {
    box-shadow:
      0 0 6px rgba(255, 180, 0, 0.35),
      0 0 14px rgba(255, 160, 0, 0.4);
  }
  50% {
    box-shadow:
      0 0 12px rgba(255, 200, 0, 0.6),
      0 0 26px rgba(255, 170, 0, 0.7);
  }
  100% {
    box-shadow:
      0 0 6px rgba(255, 180, 0, 0.35),
      0 0 14px rgba(255, 160, 0, 0.4);
  }
}

/* OVERLAY */
.wg-player2026-logo::after {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(6px);

  opacity: 0;
  transition: all 0.2s ease;
  border-radius: 10px;
  z-index: 1;
}

/* PLAY ICON */
.wg-player2026-logo::before {
  content: "▶";
  font-size: 24px;

  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%) scale(0.9);

  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);

  opacity: 0;
  transition: all 0.2s ease;
  z-index: 2;
}

/* 🔥 ATIVO FUNCIONA EM MOBILE */
#wg-player2026-playlist li.active .wg-player2026-logo::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

#wg-player2026-playlist li.active .wg-player2026-logo::after {
  opacity: 1;
}

/* ========================================================= */
/* TEXTO */
/* ========================================================= */

.wg-player2026-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
  color: #ffffff;
}

/* TITULO */
.wg-player2026-title {
  font-size: 0.95rem;
  font-weight: 600;

  color: #ffffff;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  transition: all 0.2s ease;
}

/* DESCRIÇÃO */
.wg-player2026-desc {
  font-size: 0.78rem;
  color: #ffffff;

  transition: all 0.2s ease;
}

/* ===== ATIVO ===== */
#wg-player2026-playlist li.active .wg-player2026-title,
#wg-player2026-playlist li.active .wg-player2026-desc {
  transform: translate(6px, 10px);
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #ffffff;
}

