/* Animationen für den Audio Stream Player */

/* Pulse-Animation für den Broadcasting-Icon */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

/* Spin-Animation für Lader */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fade-In-Animation für Elemente */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scale-In-Animation für Karten */
@keyframes scaleIn {
    from { 
        transform: scale(0.9);
        opacity: 0;
    }
    to { 
        transform: scale(1);
        opacity: 1;
    }
}

/* Slide-In-Animation von unten */
@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animations-Klassen für mehrfache Verwendung */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

.scale-in {
    animation: scaleIn 0.3s ease-in-out;
}

.slide-in-up {
    animation: slideInUp 0.3s ease-in-out;
}

/* Animationen für Stream-Karten */
.stream-card {
    animation: scaleIn 0.3s ease-out;
}

/* Tab-Wechsel Animationen */
.tab-content.active {
    animation: fadeIn 0.3s ease-out;
}

/* Animation für das Hinzufügen neuer Elemente */
.new-element {
    animation: slideInUp 0.4s ease-out;
}

/* Hover-Effekte und Übergänge */
.stream-button:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Animation für Erfolgs-Feedback */
@keyframes successPulse {
    0% { box-shadow: 0 0 0 0 rgba(67, 206, 162, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(67, 206, 162, 0); }
    100% { box-shadow: 0 0 0 0 rgba(67, 206, 162, 0); }
}

.success-pulse {
    animation: successPulse 1.5s ease-out;
}

/* Animation für das Icon-Generieren */
@keyframes iconGenerating {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.icon-generating {
    animation: iconGenerating 1.5s infinite;
}