/* Top Moving Line Marquee Styles */
.top-moving-line {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 8px;
    padding: 8px 15px;
    margin: 5px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.moving-line-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.moving-line-content i {
    color: #fbbf24;
    font-size: 14px;
    animation: pulse 2s infinite;
}

.marquee-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.marquee-text {
    display: flex;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
    gap: 20px;
}

.moving-line-item {
    color: white;
    font-size: 13px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.marquee-separator {
    color: #fbbf24;
    font-weight: bold;
    font-size: 16px;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Mobile responsive marquee */
@media (max-width: 768px) {
    .top-moving-line {
        padding: 6px 10px;
        margin: 3px 0;
    }
    
    .moving-line-content {
        gap: 8px;
    }
    
    .moving-line-content i {
        font-size: 12px;
    }
    
    .moving-line-item {
        font-size: 12px;
    }
    
    .marquee-text {
        gap: 15px;
    }
}

/* Pause marquee on hover */
.marquee-wrapper:hover .marquee-text {
    animation-play-state: paused;
}
