/* Announcement Bar Styles */

.announcement-bar {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 120px;
    white-space: nowrap;
    /* No animation for desktop - static */
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.announcement-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Hide duplicates on desktop */
.mobile-duplicate {
    display: none;
}

.announcement-item svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* Responsive - Mobile with animation */
@media (max-width: 768px) {
    .announcement-content {
        display: inline-flex;
        justify-content: flex-start;
        gap: 80px;
        animation: scroll 20s linear infinite;
        will-change: transform;
    }
    
    /* Show duplicates on mobile */
    .mobile-duplicate {
        display: inline-flex;
    }
    
    .announcement-item {
        font-size: 12px;
        gap: 6px;
    }
    
    .announcement-item svg {
        width: 16px;
        height: 16px;
    }
}
