/* WordPress Floating Radio Button Style */

.bibliorus-floating-radio {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #dc2626;
    color: #ffffff !important;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    outline: none;
}

.bibliorus-floating-radio:hover {
    background: #b91c1c;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 30px rgba(220, 38, 38, 0.5);
    color: #ffffff !important;
}

.bibliorus-floating-radio i {
    font-size: 16px;
}

/* Pulsing dot animation */
.bibliorus-radio-pulse {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.bibliorus-radio-pulse::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    animation: bibliorus-pulse-anim 1.5s infinite ease-out;
    opacity: 0;
}

@keyframes bibliorus-pulse-anim {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Premium Equalizer Animation */
.bibliorus-equalizer {
    display: inline-flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 12px;
    width: 12px;
    margin-right: 2px;
}

.bibliorus-eq-bar {
    width: 2.5px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 1px;
    animation: bibliorus-eq-bounce 0.8s ease-in-out infinite alternate;
}

.bibliorus-eq-bar:nth-child(1) { animation-duration: 0.6s; }
.bibliorus-eq-bar:nth-child(2) { animation-duration: 0.9s; animation-delay: 0.15s; }
.bibliorus-eq-bar:nth-child(3) { animation-duration: 0.7s; animation-delay: 0.3s; }

@keyframes bibliorus-eq-bounce {
    0% { height: 3px; }
    100% { height: 12px; }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .bibliorus-floating-radio {
        bottom: 85px; /* Mobilde alt menü/tab bar çakışmasını önlemek için yukarı kaldırıldı */
        right: 16px;  /* Küçük ekranlar için kenar boşluğunu daralttık */
        padding: 10px 16px; /* Mobil parmak dostu ama kompakt boyut */
        font-size: 13px;
        box-shadow: 0 8px 20px rgba(220, 38, 38, 0.35);
    }
}
