/* PSX NewsPulse Custom Styles */

@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.ticker-wrap {
  position: relative;
  overflow: hidden;
}

/* Calm, comfortable reading pace (120s duration) */
.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 120s linear infinite;
  will-change: transform;
}

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

/* Custom Scrollbars */
.custom-scrollbar::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(17, 24, 39, 0.6);
  border-radius: 9999px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(75, 85, 99, 0.6);
  border-radius: 9999px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 185, 129, 0.8);
}

/* Glassmorphism & Highlights */
.glass-card {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.glass-card:hover {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px -2px rgba(16, 185, 129, 0.15);
}

.tweet-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.15);
}

.tweet-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px -2px rgba(56, 189, 248, 0.2);
}

/* Slot & Sector Button Active States */
.slot-btn.active {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.5);
  color: #34d399;
}

.sector-pill.active {
  background: rgba(16, 185, 129, 0.25) !important;
  border-color: rgba(16, 185, 129, 0.6) !important;
  color: #ecfdf5 !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

/* Transitions */
.card-hover-effect {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-effect:hover {
  transform: translateY(-2px);
}
