/* ============================================================
   RIYIVZLA GLOBAL FEATURES — Publicidad, Popups & Variedad de Temporadas
   ============================================================ */

.top-ad-banner {
  display: none;
  background: linear-gradient(90deg, #050505 0%, #1e1b4b 50%, #050505 100%);
  border-bottom: 1px solid rgba(0, 255, 136, 0.3);
  padding: 8px 16px;
  text-align: center;
  position: relative;
  z-index: 1001;
}

.top-ad-banner.is-active {
  display: block;
}

.top-ad-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.top-ad-content img {
  max-height: 40px;
  max-width: 120px;
  object-fit: contain;
  border-radius: 6px;
}

.top-ad-text {
  font-size: 0.85rem;
  color: #fff;
}

.top-ad-btn {
  background: #00FF88;
  color: #000;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.76rem;
  padding: 6px 14px;
  border-radius: 50px;
}

.top-ad-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  cursor: pointer;
}

/* POPUP CADA 30 MIN */
.popup-ad-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
}

.popup-ad-overlay.is-active {
  display: flex;
}

.popup-ad-card {
  position: relative;
  background: #0f172a;
  border: 1px solid rgba(0, 255, 136, 0.4);
  border-radius: 20px;
  padding: 24px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 255, 136, 0.2);
}

.popup-ad-card img {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 12px;
}

.popup-ad-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
}

/* WIDGET DE FEEDBACK */
.feedback-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9992;
}

@media (max-width: 768px) {
  .feedback-widget {
    bottom: 20px;
    left: 14px;
  }
}

.feedback-toggle-btn {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: #00FF88;
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

.feedback-card {
  display: none;
  position: absolute;
  bottom: 46px;
  left: 0;
  width: 290px;
  background: #0f172a;
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 16px;
  padding: 16px;
}

.feedback-card.is-active {
  display: block;
}

.feedback-card textarea {
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.82rem;
  box-sizing: border-box;
  resize: none;
  margin-bottom: 8px;
}

/* CONTENEDORES DE EFECTOS DE TEMPORADA */
.seasonal-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.seasonal-item {
  position: absolute;
  top: -30px;
  user-select: none;
  animation: fall-seasonal linear infinite;
}

@keyframes fall-seasonal {
  to {
    transform: translateY(105vh) rotate(360deg);
  }
}
