.single-video {
    position: relative;
}

#videoPlayer {
    width: 100%;
    cursor: pointer;
    transition: filter 0.3s ease;
    filter: blur(5px);
}

#commentField {
    position: absolute;
    bottom: 10px;
    left: 612px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 5px;
    border-radius: 5px;
    width: 378px;
    transition: background-color 0.3s ease;
}

#commentField:focus {
    background-color: rgba(255, 255, 255, 0.9);
}

#commentContainer {
    position: absolute;
    bottom: 80px;
    left: 0px;
    width: 600px;
    height: 277px;
    background-color: transparent;
    max-height: 280px;
    overflow-y: hidden;
    pointer-events: none; /* Allow clicks to pass through the comment container to the video */
}
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 48VH;
    overflow-y: auto;
    width: 450px;
    display: flex;
    flex-direction: column-reverse; /* Reverse direction to show latest comments at the bottom */
}

.comment {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 5px;
    margin-bottom: 40px;
    border-radius: 5px;
    transition: transform 0.5s ease;
}

/* Popup container */
.popup-container {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #121212;
padding: 20px;
border: 1px solid #ccc;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
z-index: 1000;
text-align: center; /* Center text and button */

}

/* Close button */
.popup-close {
position: absolute;
top: 10px;
right: 10px;
cursor: pointer;
}

/* Overlay background */
.overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 999;
}

.centered-button {
margin-top: 20px;
padding: 10px 20px;
background-color: #FF0000;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
}

.single-video {
    position: relative;
}

#videoPlayer {
    width: 120%;
    cursor: pointer; /* Add cursor style to indicate it's clickable */
    transition: filter 0.2s ease; /* Smooth transition for the blur effect */
    filter: blur(8px); /* Initial blur */

}

#liveInfo {
    position: absolute;
    top: 0px;
    left: -707px;
    background-color: rgba(249, 0, 0, 0.8);
    padding: 5px;
    color: white;
}


#customControls {
    position: absolute;
    top: 0%;
    left: -14%;
    background-color: rgba(235, 16, 16, 0.8);
    padding: 9px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    color: #ccc;
    width: 95px;
    height: 35px;
}

#playButton {
    font-size: 7px;
}

#commentField {
    position: absolute;
    bottom: 30px;

    left: 0px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 5px;
    border-radius: 5px;
    width: 540px;
    transition: background-color 0.3s ease;
}

#commentField:focus {
    background-color: rgba(255, 255, 255, 0.9);
}

#sendButton {
    position: absolute;
    bottom: 30px;
    left: 525px;
    background-color: #ef0505;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#sendButton:hover {
    background-color: #0056b3;
}







.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.popup-content {
    background-color: rgba(28, 33, 39, 0.8); /* Corrected RGBA value */
    position: absolute;
    top: 50%;
    border-radius: 15px;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 40px;
  }

.close {
    color: #aaa;
    position: absolute;
    top: 0px; /* Adjust the distance from the top */
    left: 97%; /* Adjust the distance from the left */
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

.popup-paragraph {
    text-align: center;
    margin-bottom: 20px;
}

.animated-button {
    margin-left: 315px;
    margin-right: auto;
    padding: 10px 20px;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: #FF4D67;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.animated-button:hover {
    background-color: #fffeff;
}

/* Additional styles for login popup */
#loginPopup.popup-content {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
}

#loginPopup .popup-paragraph {
    margin-bottom: 30px;
}

#loginPopup .login-link {
    display: block;
    margin: 0 auto;
    padding: 6px 23px;
    font-size: 24px;
    color: #fff;
    background-color: #FF4D67;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    width: 171px;
    transition: background-color 0.3s ease;
}


#loginPopup .login-link:hover {
    background-color: #FF4D67;
}









/* Unique classes for individual buttons */

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
  }
  
  .modal-content {
    background-color: rgba(28, 33, 39, 0.8); /* Corrected RGBA value */
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
    text-align: center;
    border-radius: 10px;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
  }
  
  .modal-heading {
    color: white;
  }
  

  
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }
  
  /* Style for the "Yes" button */
  #ageYesButton {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 10px 20px;
    margin-right: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  #ageYesButton:hover {
    background-color: #ff3333; /* Red color */
  }
  
  /* Style for the "No" button */
  #ageNoButton {
    background-color: #ff3333; /* Red color */
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  #ageNoButton:hover {
    background-color: #cc0000; /* Darker red color */
  }
  
  