/* ticker-banner.css */

/* Tipografía manuscrita elegante */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

.ticker-banner {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 10px 0;
}

/* Layout */
.ticker-banner .tb-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Marquee */
.ticker-banner .tb-marquee {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
}

.ticker-banner .tb-marquee-track {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  animation: tb-marquee-ltr 12s linear infinite;
}

/* TEXTO PRINCIPAL — 3× + manuscrito (DORADO) */
.ticker-banner .tb-marquee-text {
  font-family: 'Great Vibes', cursive;
  font-size: 42px;              /* ⬅ 3× */
  font-weight: 400;
  letter-spacing: 0.8px;
  line-height: 1.1;
  color: #d4af37; /* ⬅ dorado */
  text-shadow:
    0 2px 10px rgba(0,0,0,0.45),
    0 0 18px rgba(212,175,55,0.28); /* glow dorado */
}

/* Animación */
@keyframes tb-marquee-ltr {
  0%   { transform: translateX(-110%); }
  100% { transform: translateX(110%); }
}

/* CTA */
.ticker-banner .tb-cta {
  flex: 0 0 auto;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.96);
  transition: transform 160ms ease, background 160ms ease;
  white-space: nowrap;
  align-self: center;
}

.ticker-banner .tb-cta:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.18);
}

/* Canvas */
.ticker-banner .tb-fx {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
}

/* Tema Año Nuevo */
.theme-banner.newyear-season {
  background: linear-gradient(90deg, rgba(25,25,25,0.92), rgba(60,50,30,0.85));
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.96);
}

/* Responsive */
@media (max-width: 1024px) {
  .ticker-banner .tb-marquee-text {
    font-size: 34px;
  }
}

@media (max-width: 680px) {
  .ticker-banner .tb-marquee-text {
    font-size: 26px;
  }

  .ticker-banner .tb-cta {
    padding: 9px 10px;
    font-size: 12.5px;
  }
}
