/* ===============================
   MARQUEE WRAPPER
================================ */
.marquee-ticker-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 6px 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
}

/* ===============================
   MARQUEE CONTENT
================================ */
.marquee-ticker-content {
  display: flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  transform: translateZ(0);
  animation: marquee-scroll-desktop 30s linear infinite;
}

/* Pausar en hover (solo desktop real) */
@media (hover: hover) {
  .marquee-ticker-wrapper:hover .marquee-ticker-content {
    animation-play-state: paused;
  }
}

/* ===============================
   MARQUEE ITEMS
================================ */
.marquee-ticker-item {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 30px;
  font-size: 18px;
  font-weight: bold;
  color: #1a1a1a;
}

/* Links */
.marquee-ticker-item a {
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.3s ease;
}

.marquee-ticker-item a:hover {
  color: #0066cc;
}

/* Emoji */
.marquee-emoji {
  margin: 0 10px;
  font-size: 24px;
}

/* ===============================
   VARIANTE DARK BLUE
================================ */
.option-dark-blue {
  background: linear-gradient(90deg, #2C3E50 0%, #1a252f 100%);
}

.option-dark-blue .marquee-ticker-item {
  color: #ffffff;
}

.option-dark-blue .marquee-ticker-item a {
  color: #ffffff;
  font-weight: bold;
}

.option-dark-blue .marquee-ticker-item a:hover {
  color: #00D4FF;
}

/* ===============================
   ANIMACIONES
================================ */
@keyframes marquee-scroll-desktop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes marquee-scroll-mobile {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* ===============================
   RESPONSIVE (MÓVILES)
================================ */
@media (max-width: 768px) {
  .marquee-ticker-content {
    animation: marquee-scroll-mobile 40s linear infinite;
  }

  .marquee-ticker-item {
    padding: 0 20px;
    font-size: 16px;
  }

  .marquee-emoji {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .marquee-ticker-content {
    animation-duration: 40s;
  }

  .marquee-ticker-item {
    padding: 0 16px;
    font-size: 15px;
  }
}

@media (max-width: 320px) {
  .marquee-ticker-content {
    animation-duration: 40s;
  }

  .marquee-ticker-item {
    padding: 0 14px;
    font-size: 14px;
  }
}
