/* ===================================
   FAKE XVIDEOS PLAYER - DYNAMIC ANIMATIONS
   =================================== */

/* Big play button pulse animation */
#html5video #hlsplayer .big-button.play {
    animation: pulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

/* Big play button hover effect - nagyobb és látványosabb */
#html5video #hlsplayer .big-button.play:hover {
    animation: none !important;
    transform: translate(-50%, -50%) scale(1.15) !important;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

#html5video #hlsplayer .big-button.play:hover .player-icon-f {
    filter: brightness(1.2);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8),
                 0 0 30px rgba(255, 255, 255, 0.4);
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.95;
    }
}

/* Play button fade out */
#html5video #hlsplayer .big-button.play[style*="opacity: 0"] {
    transition: opacity 0.5s ease, transform 0.3s ease !important;
}

/* Thumbnail fade effect */
#html5video #hlsplayer .video-bg-pic {
    transition: opacity 0.5s ease !important;
}

/* Controls fade animation */
#html5video #hlsplayer .buttons-bar,
#html5video #hlsplayer .progress-bar-bg {
    transition: opacity 0.3s ease !important;
}

/* Progress cursor smooth animation */
#html5video #hlsplayer .progress-bar .cursor {
    transition: left 0.1s linear !important;
}

/* Buffer bar smooth growth */
#html5video #hlsplayer .progress-bar .buffer-elt {
    transition: width 0.3s ease !important;
}

/* Volume bar animation */
#html5video #hlsplayer .buttons-bar .volume-bar-fill {
    transition: width 0.2s ease !important;
}

/* Settings button rotation */
#html5video #hlsplayer .buttons-bar .settings-btn {
    transition: transform 0.2s ease !important;
}

/* Autoplay toggle circle animation */
#html5video #hlsplayer .buttons-bar .autoplay-btn .toggle-circle {
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

/* Hover state enhancements */
#html5video #hlsplayer .has-clickable-effect:hover {
    opacity: 0.9;
}

/* Active/Click state */
#html5video #hlsplayer .has-clickable-effect:active {
    transform: scale(0.95) !important;
}

/* Big button click effect */
#html5video #hlsplayer .big-button:active {
    transform: translate(-50%, -50%) scale(0.9) !important;
}

/* Progress bar hover effect */
#html5video #hlsplayer .progress-bar:hover {
    height: 6px !important;
    transition: height 0.2s ease;
}

/* Cursor visibility on hover */
#html5video #hlsplayer .progress-bar:hover .cursor {
    background-color: rgba(222, 38, 0, 1) !important;
}

/* Volume bar hover expansion */
#html5video #hlsplayer .buttons-bar .volume-bar:hover .volume-bar-fill:after {
    font-size: 1em !important;
}

/* Smooth icon transitions */
.player-icon-f {
    transition: all 0.2s ease !important;
}

/* Pause/Play icon switch animation */
.player-icon-f.pif-pause:before,
.player-icon-f.pif-play:before {
    transition: content 0.1s ease;
}

/* Loading shimmer effect (optional) */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* Pointer cursor for interactive elements */
#html5video #hlsplayer .has-clickable-effect,
#html5video #hlsplayer .big-button,
#html5video #hlsplayer .progress-bar,
#html5video #hlsplayer .volume-bar,
#html5video #hlsplayer .autoplay-btn,
#html5video #hlsplayer .settings-btn {
    cursor: pointer !important;
}

/* Disable text selection on player controls */
#html5video #hlsplayer * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
