/*
VIDEOTEKA PLAYER CSS
VERSION: 1
*/

.video-container {
    width: 100%;
    margin: 50px 0;
}

.video-container video {
    width: 100%;
    display: block;
    background: black;
    border-radius: 0;
}

.player-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 14px;
}

.cast-button {
    border: 0;
    background: #1f1f1f;
    color: white;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cast-button:hover {
    background: #333;
}

video::cue {
    color: #ffffff;
    font-size: 24px;
    line-height: 1.08;
    font-family: Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 0.2px;

    text-shadow:
        0 2px 8px rgba(0,0,0,0.95),
        0 0 2px rgba(0,0,0,1);

    background: rgba(0,0,0,0.15);
}

video::-webkit-media-text-track-display {
    transform: translateY(18px);
}

@media (max-width: 768px) {

    .video-container {
        width: 100%;
        margin: 40px 0;
    }

    .video-container video {
        width: 100%;
        height: auto;
        display: block;
    }

    video::cue {
        font-size: 20px;
    }

    .player-toolbar {
        justify-content: center;
    }

    .cast-button {
        width: 100%;
        font-size: 16px;
        padding: 14px 18px;
    }

}