/* ──────────────────────────────────────────────
   Announcement Ticker — Frontend
   Brand: #81bb26 (green)  #09162a (navy)
   ────────────────────────────────────────────── */

.announcement-ticker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #09162a 0%, #0d1f3c 100%);
    border-bottom: 3px solid #81bb26;
    z-index: 99999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    box-shadow: 0 2px 12px rgba(9, 22, 42, 0.4);
}

.ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    padding: 0;
    height: 44px;
}

.ticker-set {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 40px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #ffffff;
    text-transform: uppercase;
    position: relative;
    flex-shrink: 0;
}

.ticker-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #81bb26;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(129, 187, 38, 0.6);
}

.ticker-icon {
    font-size: 16px;
    line-height: 1;
}

.ticker-text {
    background: linear-gradient(90deg, #ffffff 0%, #c8e6a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pause on hover is handled by JS */

/* Subtle glow edges */
.announcement-ticker::before,
.announcement-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.announcement-ticker::before {
    left: 0;
    background: linear-gradient(to right, #09162a 0%, transparent 100%);
}

.announcement-ticker::after {
    right: 0;
    background: linear-gradient(to left, #09162a 0%, transparent 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .ticker-track {
        height: 38px;
    }
    .ticker-item {
        font-size: 12px;
        padding: 0 28px;
    }
}
