/* Premium Announcement Strip */
.announcement-strip {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #FF69B4 0%, #4ECDC4 100%);
    padding: 0.75rem 0;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.announcement-strip::before,
.announcement-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.announcement-strip::before {
    left: 0;
    background: linear-gradient(to right, 
        rgba(255, 105, 180, 1) 0%, 
        rgba(255, 105, 180, 0) 100%);
}

.announcement-strip::after {
    right: 0;
    background: linear-gradient(to left, 
        rgba(78, 205, 196, 1) 0%, 
        rgba(78, 205, 196, 0) 100%);
}

.announcement-track {
    display: flex;
    width: fit-content;
    animation: scroll-left 30s linear infinite;
    will-change: transform;
}

.announcement-content {
    display: flex;
    white-space: nowrap;
    padding-right: 0;
}

.announcement-item {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0 2rem;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.announcement-item::after {
    content: '•';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
}

.announcement-item:last-child::after {
    content: '';
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause on hover for better UX */
.announcement-strip:hover .announcement-track {
    animation-play-state: paused;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .announcement-strip {
        padding: 0.65rem 0;
    }
    
    .announcement-item {
        font-size: 0.85rem;
        padding: 0 1.5rem;
    }
    
    .announcement-strip::before,
    .announcement-strip::after {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .announcement-strip {
        padding: 0.6rem 0;
    }
    
    .announcement-item {
        font-size: 0.8rem;
        padding: 0 1.25rem;
    }
    
    .announcement-strip::before,
    .announcement-strip::after {
        width: 40px;
    }
}

/* Performance optimization */
@media (prefers-reduced-motion: reduce) {
    .announcement-track {
        animation: scroll-left 60s linear infinite;
    }
}
