/* Enhanced ring animation for hotline buttons */
.sf_hotline .simage {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sf_hotline .phonering-alo-ph-circle {
    width: 80px;
    height: 80px;
    position: absolute;
    background-color: transparent;
    border-radius: 100% !important;
    border: 3px solid rgba(255, 69, 0, 0.8);
    opacity: 0.9;
    -webkit-animation: hotline-circle-anim 1.2s infinite ease-in-out;
    animation: hotline-circle-anim 1.2s infinite ease-in-out;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.4);
}

.sf_hotline .phonering-alo-ph-circle-fill {
    width: 70px;
    height: 70px;
    position: absolute;
    background-color: rgba(255, 69, 0, 0.15);
    border-radius: 100% !important;
    border: 2px solid rgba(255, 69, 0, 0.5);
    opacity: 0.7;
    -webkit-animation: hotline-circle-fill-anim 1.8s infinite ease-in-out;
    animation: hotline-circle-fill-anim 1.8s infinite ease-in-out;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.3);
}

.sf_hotline .phonering-alo-ph-img-circle {
    width: 55px;
    height: 55px;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-animation: hotline-pulse 2s infinite;
    animation: hotline-pulse 2s infinite;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 69, 0, 0.1), rgba(255, 140, 0, 0.1));
}

.sf_hotline .phonering-alo-ph-img-circle img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 8px rgba(255, 69, 0, 0.6));
}

/* Enhanced keyframe animations */
@-webkit-keyframes hotline-circle-anim {
    0% {
        -webkit-transform: translate(-50%, -50%) rotate(0deg) scale(0.5);
        transform: translate(-50%, -50%) rotate(0deg) scale(0.5);
        opacity: 1;
    }
    100% {
        -webkit-transform: translate(-50%, -50%) rotate(0deg) scale(1.2);
        transform: translate(-50%, -50%) rotate(0deg) scale(1.2);
        opacity: 0;
    }
}

@keyframes hotline-circle-anim {
    0% {
        -webkit-transform: translate(-50%, -50%) rotate(0deg) scale(0.5);
        transform: translate(-50%, -50%) rotate(0deg) scale(0.5);
        opacity: 1;
    }
    100% {
        -webkit-transform: translate(-50%, -50%) rotate(0deg) scale(1.2);
        transform: translate(-50%, -50%) rotate(0deg) scale(1.2);
        opacity: 0;
    }
}

@-webkit-keyframes hotline-circle-fill-anim {
    0% {
        -webkit-transform: translate(-50%, -50%) rotate(0deg) scale(0.7);
        transform: translate(-50%, -50%) rotate(0deg) scale(0.7);
        opacity: 0.8;
    }
    50% {
        -webkit-transform: translate(-50%, -50%) rotate(0deg) scale(1);
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
        opacity: 0.4;
    }
    100% {
        -webkit-transform: translate(-50%, -50%) rotate(0deg) scale(1.3);
        transform: translate(-50%, -50%) rotate(0deg) scale(1.3);
        opacity: 0;
    }
}

@keyframes hotline-circle-fill-anim {
    0% {
        -webkit-transform: translate(-50%, -50%) rotate(0deg) scale(0.7);
        transform: translate(-50%, -50%) rotate(0deg) scale(0.7);
        opacity: 0.8;
    }
    50% {
        -webkit-transform: translate(-50%, -50%) rotate(0deg) scale(1);
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
        opacity: 0.4;
    }
    100% {
        -webkit-transform: translate(-50%, -50%) rotate(0deg) scale(1.3);
        transform: translate(-50%, -50%) rotate(0deg) scale(1.3);
        opacity: 0;
    }
}

@-webkit-keyframes hotline-pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes hotline-pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

/* Hover effects for enhanced interaction */
.sf_hotline:hover .phonering-alo-ph-circle {
    -webkit-animation-duration: 0.8s;
    animation-duration: 0.8s;
    border-color: rgba(255, 0, 0, 1);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.8);
}

.sf_hotline:hover .phonering-alo-ph-circle-fill {
    -webkit-animation-duration: 1.2s;
    animation-duration: 1.2s;
    background-color: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.7);
}

.sf_hotline:hover .phonering-alo-ph-img-circle {
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.2), rgba(255, 69, 0, 0.2));
}

.sf_hotline .phonering-alo-ph-img-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Keyframes for ring animations */
@-webkit-keyframes hotline-circle-anim {
    0% {
        -webkit-transform: translate(-50%, -50%) scale(0.8);
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    50% {
        -webkit-transform: translate(-50%, -50%) scale(1.2);
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
    100% {
        -webkit-transform: translate(-50%, -50%) scale(1.5);
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@keyframes hotline-circle-anim {
    0% {
        -webkit-transform: translate(-50%, -50%) scale(0.8);
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    50% {
        -webkit-transform: translate(-50%, -50%) scale(1.2);
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
    100% {
        -webkit-transform: translate(-50%, -50%) scale(1.5);
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@-webkit-keyframes hotline-circle-fill-anim {
    0% {
        -webkit-transform: translate(-50%, -50%) scale(0.7);
        transform: translate(-50%, -50%) scale(0.7);
        opacity: 0.8;
    }
    50% {
        -webkit-transform: translate(-50%, -50%) scale(1.1);
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.4;
    }
    100% {
        -webkit-transform: translate(-50%, -50%) scale(1.4);
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

@keyframes hotline-circle-fill-anim {
    0% {
        -webkit-transform: translate(-50%, -50%) scale(0.7);
        transform: translate(-50%, -50%) scale(0.7);
        opacity: 0.8;
    }
    50% {
        -webkit-transform: translate(-50%, -50%) scale(1.1);
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.4;
    }
    100% {
        -webkit-transform: translate(-50%, -50%) scale(1.4);
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

/* Hover effects */
.sf_hotline li:hover .phonering-alo-ph-circle {
    -webkit-animation: hotline-circle-anim 0.8s infinite ease-in-out;
    animation: hotline-circle-anim 0.8s infinite ease-in-out;
    border-color: rgba(255, 0, 0, 0.8);
}

.sf_hotline li:hover .phonering-alo-ph-circle-fill {
    -webkit-animation: hotline-circle-fill-anim 1.2s infinite ease-in-out;
    animation: hotline-circle-fill-anim 1.2s infinite ease-in-out;
    background-color: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.5);
}