
/* Image container with play button */
.image-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    cursor: pointer;
}

.image-container img {
    width: 100%;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button::before {
    content: "";
    position: absolute;
    left: 32px;
    top: 22px;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-left: 30px solid #333;
    transform: translateX(-50%);
}

.play-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}



/* Video container (initially hidden) */
#video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.video-wrapper {
    position: relative;
    width: 90%;
    max-width: 1200px;
}

#video-player {
    width: 100%;
    max-height: 90vh;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.close-button:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.close-button::before, .close-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 25%;
    width: 50%;
    height: 2px;
    background: white;
}

.close-button::before {
    transform: rotate(45deg);
}

.close-button::after {
    transform: rotate(-45deg);
}

/* Animation for showing/hiding video */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/*.show-video {*/
/*    display: flex;*/
/*    animation: fadeIn 0.3s ease-out;*/
/*    z-index: 1001;*/
/*}*/

/* Fixed show-video class */
#video-container.show-video {
    display: flex;
    opacity: 1;
}

/*#video-container {*/
/*    position: relative;*/
/*    width: 50vw;*/
/*    height: 50vh;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*}*/

/*#video-player {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: contain;*/
/*    background-color: #000;*/
/*}*/

#overlay-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

#status-message {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 20;
}




















/*.video-container {*/
/*    position: relative;*/
/*    display: inline-block;*/
/*}*/

.live-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.red-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: red;
    border-radius: 50%;
    margin-right: 5px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}