/* Announcement Banner Styles */
.announcement-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06), 0 0 0 0 rgba(102, 126, 234, 0.4);
    margin-bottom: 20px;
    animation: slideIn 0.5s ease-out, glow 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.announcement-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06), 0 0 20px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06), 0 0 30px rgba(102, 126, 234, 0.6), 0 0 40px rgba(118, 75, 162, 0.4);
    }
}

.announcement-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    position: relative;
    z-index: 1;
    animation: iconGlow 3s ease-in-out infinite;
}

@keyframes iconGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.2);
        transform: scale(1.05);
    }
}

.announcement-icon svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
    fill: #ffd700;
}

.announcement-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.announcement-highlight {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.announcement-text {
    font-weight: 400;
    opacity: 0.95;
}

.bestseller-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #764ba2;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
    text-transform: uppercase;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 2px 12px rgba(255, 215, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.3);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .announcement-banner {
        padding: 14px 18px;
        gap: 12px;
    }
    
    .announcement-icon {
        width: 36px;
        height: 36px;
    }
    
    .announcement-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .announcement-content {
        font-size: 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .announcement-highlight {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .announcement-banner {
        padding: 12px 16px;
    }
    
    .announcement-content {
        font-size: 13px;
    }
    
    .announcement-highlight {
        font-size: 14px;
    }
    
    .bestseller-badge {
        font-size: 9px;
        padding: 2px 6px;
    }
}
