/* ============================================================
   STRAFOR PREMIUM TICKER — ticker.css
   High-Performance Marquee Animation
   ============================================================ */

.spt-ticker-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    height: 40px;
    display: flex;
    align-items: center;
    z-index: 999999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.spt-ticker-wrapper {
    display: flex;
    width: 100%;
}

.spt-ticker-track {
    display: flex;
    white-space: nowrap;
    will-change: transform;
    animation: spt-marquee var(--spt-speed, 20s) linear infinite;
}

.spt-ticker-track:hover {
    animation-play-state: paused;
}

.spt-ticker-item {
    display: flex;
    align-items: center;
    padding: 0 40px;
    font-size: 14px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    letter-spacing: 0.02em;
}

.spt-ticker-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 12px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

@keyframes spt-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Move half the track (since we rendered items twice for seamless loop) */
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .spt-ticker-container {
        height: 38px;
    }

    .spt-ticker-item {
        font-size: 13px;
        padding: 0 25px;
    }

    .spt-ticker-icon {
        width: 16px;
        height: 16px;
        margin-right: 8px;
    }
}