/* ===================== Promo Ticker ===================== */
.ticker{
  position: sticky;
  top: 0;
  z-index: 1100; /* above header */
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  background:
    linear-gradient(135deg, rgba(255, 59, 59, .18), rgba(255, 59, 59, .08)),
    rgba(10,16,34,.72);
  backdrop-filter: blur(14px);
}

.ticker .container{
  padding-top: 8px;
  padding-bottom: 8px;
}

.ticker-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.ticker-left{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0; /* allow marquee to shrink */
}

.ticker-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 59, 59, .95);
  box-shadow: 0 0 0 4px rgba(255, 59, 59, .18);
  flex: 0 0 auto;
}

.ticker-label{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 59, 59, .28);
  background: rgba(255, 59, 59, .10);
  color: rgba(255, 235, 235, .95);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.ticker-marquee{
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(18,26,54,.18);
  min-width: 0;
  flex: 1 1 auto;
}

.ticker-track{
  display:inline-flex;
  align-items:center;
  gap: 18px;
  padding: 8px 14px;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-move 18s linear infinite;
}

.ticker:hover .ticker-track{ animation-play-state: paused; }

.ticker-msg{
  color: rgba(231,236,255,.96);
  font-weight: 750;
  font-size: 13px;
}

.ticker-msg b{
  color: rgba(255, 235, 235, .98);
  font-weight: 900;
}

.ticker-actions{
  display:flex;
  align-items:center;
  gap: 10px;
  flex: 0 0 auto;
}

.ticker-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 59, 59, .22);
  background: rgba(255, 59, 59, .10);
  color: rgba(255, 235, 235, .96);
  font-weight: 850;
  font-size: 13px;
  transition: transform .18s ease, filter .18s ease, background .18s ease, border-color .18s ease;
}

.ticker-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
  background: rgba(255, 59, 59, .14);
  border-color: rgba(255, 59, 59, .30);
}

.ticker-close{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(18,26,54,.18);
  color: rgba(231,236,255,.85);
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}

.ticker-close:hover{
  transform: translateY(-1px);
  filter: brightness(1.06);
}

/* Make header sit below the ticker */
.topbar{
  top: 50px; /* approx ticker height */
}

/* Responsive */
@media (max-width: 980px){
  .ticker-actions{ display:none; } /* keep it clean */
  .topbar{ top: 48px; }
}

@media (max-width: 520px){
  .ticker-label{ display:none; } /* more space */
}

/* Motion */
@keyframes ticker-move{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Optional: remove ticker if closed */
.ticker.is-hidden{ display:none; }
