/* Player Controls Container */
.player-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap:15px;
    z-index: 1000;
}

/* Player Buttons */
.player-button {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 8px rgba(0,0,0,0.8));
    opacity: 0.9;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    padding: 12px;
    box-sizing: border-box;
    background-color: rgba(0,0,0,0.3);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
}

.player-button:hover {
    transform: scale(1.1);
    opacity: 1;
}

.player-button svg {
    width: 100%;
    height: 100%;
    fill: white;
    pointer-events: none;
}

/* Fullscreen Button - initially hidden */
.fullscreen-button {
    display: none;
}

/* Stop Button */
.stop-button {
    position: relative;
}

.stop-icon {
    position: relative;
    width: 100%;
    height: 100%;
}

.stop-icon::before,
.stop-icon::after {
    content: '';
    position: absolute;
    background-color: white;
    transition: all 0.3s ease;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.stop-icon::before {
    width: 2px;
    height: 24px;
}

.stop-icon::after {
    width: 24px;
    height: 2px;
}

.stop-button.active .stop-icon::before,
.stop-button.active .stop-icon::after {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: transparent;
    box-shadow: 
        0 0 0 2px white,
        0 0 0 6px transparent;
}

.stop-button.active .stop-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.stop-button.active .stop-icon::after {
    transform: translate(-50%, -50%) rotate(45deg);
}

/* Fullscreen Styles */
:fullscreen .player-controls {
    bottom: 30px;
    right: 30px;
}

:-webkit-full-screen .player-controls {
    bottom: 30px;
    right: 30px;
}

:-moz-full-screen .player-controls {
    bottom: 30px;
    right: 30px;
}

:-ms-fullscreen .player-controls {
    bottom: 30px;
    right: 30px;
}
