#volume-control {
    position: fixed;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.75rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(175, 28, 28, 0.5);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

#volume-label {
    display: none;
}

#volume-slider {
    width: 100px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--title-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

#volume-slider::-webkit-slider-thumb:hover {
    background: rgb(200, 35, 35);
    transform: scale(1.2);
}

#volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--title-color);
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

#volume-slider::-moz-range-thumb:hover {
    background: rgb(200, 35, 35);
    transform: scale(1.2);
}

#mute-button {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

#mute-button:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

#mute-button:active {
    transform: scale(0.95);
}

/* Mobile adjustments */
@media screen and (max-width: 600px),
screen and (max-width: 1000px) and (max-height: 500px) and (orientation: landscape) {
    #volume-slider {
        display: none;
    }

    #mute-button {
        font-size: 1.5rem;
    }
}

@media screen and (min-width: 1920px) {
    #volume-control {
        right: 2rem;
        top: 2rem;
    }
}