.sphere-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.mode-sphere{
    width: 60px;
    height: 60px;
    background-color: var(--background-sphere);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4x 15px rgba(0, 0, 0, 0.2);
    border: 3px solid #282A36;
    transition: all 0.4s cubic-bezier(0.175, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.mode-sphere:hover{
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.mode-sphere:action{
    transform: scale(0.95);
}

.mode-sphere i{
    font-size: 1.5rem;
    color: #282A36;
    transition: transform 0.5s ease;
}

.dark-mode .mode-sphere i{
    transform: rotate(180deg);
}

.mode-sphere::before{
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 30px;
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mode-sphere:hover::before{
    opacity: 1;
}

.wave{
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    animation: waveEffect 0.6s ease-out;
}

@keyframes waveEffect{
    0%{
        transform: scale(0.8);
        opacity: 1;
    }
    100%{
        transform: scale(2);
        opacity: 0;
    }
}