﻿video::-webkit-media-controls {
    display: none;
}


.video-container {
    position: relative;
    width: 100%;
}

.video-container.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 1920px;
    height: 1080px;
    border-radius: 0;
    z-index: 10999;
}

.hgVideo {
    position: fixed;
    object-fit: contain;
    top: 0px;
    left: 0px;
    padding-left: 0px;
    padding-right: 0px;
    width: 1920px;
    height: 1080px;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hgVideo.Online {
    position: fixed;
    object-fit: contain;
    top: 0px;
    left: 0px;
    padding-left: 0px;
    padding-right: 0px;
    width: 1920px;
    height: 1080px;
    z-index: 1;
}

.hgVideo.active {
    opacity: 1;
}


.hgVideo.hiddenOFF {
    /*visibility: hidden;*/
    opacity: 0;
}

.wipe {
    position: absolute;
    top: 0;
    left: 0;
    width: 1920px;
    height: 1080px;
    pointer-events: none;
    z-index: 11000;
    opacity: 0;
    color: var(--line-color); /* This passes the color to the SVG */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M28.4,0h-13.1l-1.8,3-6.6,10.8L0,24.9l6.6,10.7,8.2,13.3.6.9h12.3l.7-1.1,7.1-11.5-7.1-11.1-6.8,11.5-8-13.1,6.8-11L28.4,0Z" fill="none" stroke="currentColor" stroke-width="40" stroke-linecap="square" stroke-linejoin="miter"/></svg>');
    background-repeat: no-repeat;
    background-position: center; /* Or adjust for your wipe */
    background-size: 30% 100%; /* Scale the > to your desired width/height */
    background-color: transparent;
    transform: translateX(-100%);
}

/*
.video-container.fullscreen .hgVideo {
    height: 100vh;
    object-fit: contain;
}
    */

/* Large play button for mobile when not autoplay */
.large-play-btn {
    position: absolute;
    top: 300px;
    left: 720px;
    width: 480px;
    height: 480px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid pink;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 380px;
    padding-left: 50px;
    color: #333;    
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.large-play-btn.show {
    opacity: 1;
    visibility: visible;
}

.large-play-btn:hover {
    background: rgba(91, 24, 6, 1);
}

/* Simple controls */
.custom-controls {
    position: absolute;
    font-family: Helvetica, Arial, sans-serif;
    top: 640px;
    left: 0px;
    height: 280px;
    width: 1920px;
    display: block;
    opacity: 0;
    visibility: visible;
    transition: all 0.3s ease;
    z-index: 2;
    text-wrap: nowrap;
    align-content: center;
    text-align: center;
    padding: 0;
}

.custom-controls.show {
    opacity: 1;
    visibility: visible;
}

.control-btn {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    margin-left: 20px;
    margin-right: 20px;
    padding-left: 0px;
    padding-top: 0px;
    padding-right: 0px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    font-size: 70px;
    font-family: Helvetica, Arial, sans-serif;
}

.control-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* Mobile specific styles */
@media (max-width: 768px) {
    /*
    .large-play-btn {
        width: 100px;
        height: 100px;
        font-size: 36px;
    }

    .control-btn {
        width: 55px;
        height: 55px;
        font-size: 20px;
    }

    .custom-controls {
        gap: 25px;
    }
    */
}

/* Touch device detection */
.is-touch .video-container:not(.controls-visible):hover .custom-controls {
    opacity: 0;
    visibility: hidden;
}

.is-touch .video-container.controls-visible .custom-controls {
    opacity: 1;
    visibility: visible;
}

/* Desktop hover behavior */
.no-touch .video-container:hover .custom-controls {
    opacity: 1;
    visibility: visible;
}

/* Animation classes for your video element */
.pos_league {
    left: 0;
    top: 0;
    width: 1660px !important;
    height: 934px !important;
}

.pos_full {
    left: 0;
    top: 0;
    width: 1920px !important;
    height: 1080px !important;
}

.animate_animated {
    /* Add your animation base styles here */
}