/* ============================================
   RADYO İKONU ANİMASYONLARI
   ============================================ */

/* Radyo butonu - animasyon kaldırıldı */
.radio-pulse-button {
    position: relative;
}

/* Ana buton pulse animasyonu */
@keyframes radioPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 8px rgba(139, 92, 246, 0.2);
    }
}

/* Music ikonu - köşede titreyen */
.radio-music-pulse {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 16px;
    color: #8B5CF6;
    background: #FFFFFF;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
    animation: musicShake 1.5s ease-in-out infinite;
    z-index: 10;
}

/* Music icon shake ve fade animasyonu */
@keyframes musicShake {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
    10%, 30%, 50% {
        transform: rotate(-10deg) scale(1.1);
    }
    20%, 40% {
        transform: rotate(10deg) scale(1.1);
    }
    60% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
    75% {
        opacity: 0.3;
    }
    85% {
        opacity: 1;
    }
}

/* Hover durumunda animasyonu durdur */
.radio-pulse-button:hover {
    animation: none;
    transform: scale(1.05);
}

.radio-pulse-button:hover .radio-music-pulse {
    animation: musicShakeHover 0.5s ease-in-out infinite;
}

/* Hover'da daha hızlı titreşim */
@keyframes musicShakeHover {
    0%, 100% {
        transform: rotate(0deg) scale(1.15);
    }
    25% {
        transform: rotate(-15deg) scale(1.15);
    }
    75% {
        transform: rotate(15deg) scale(1.15);
    }
}

/* Mobil için optimizasyon */
@media (max-width: 768px) {
    .radio-music-pulse {
        width: 24px;
        height: 24px;
        font-size: 14px;
        top: -16px;
        right: 5px;
    }
}

/* Radyo butonuna ekstra görsel efekt */
.radio-pulse-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: inherit;
    transform: translate(-50%, -50%) scale(0);
    animation: radioPing 2s ease-out infinite;
    pointer-events: none;
}

@keyframes radioPing {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Music icon için parlama efekti */
.radio-music-pulse::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    border-radius: 50%;
    animation: musicGlow 1.5s ease-in-out infinite;
}

@keyframes musicGlow {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}
