.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: #1e2427;
    position: absolute;
    top: 58%;
    border-radius: 15px;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 24px;
    max-width: 654px;
}
.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: 5px 10px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: #1e2427;
    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: 2px 27px;
    font-size: 16px;
    color: #fff;
    border: none;
    background-color: #E35D8F;
    border-radius: 4px;
    cursor: pointer;
    width: 110px;
    transition: background-color 0.3s ease;
}


#loginPopup .login-link:hover {
    background-color: #E35D8F;
}









/* Modal background */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
}

/* Modal content */
.modal-content {
    background-color: #21262A;
    color: white;
    width: 432px;
    padding: 20px;
    margin: 10% auto;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

/* Modal heading */
.modal-heading {
  color: white;
  font-size: 1.5em;
  margin-bottom: 20px;
}

/* Button container (buttons in one line) */
.button-container {
  display: flex;
  justify-content: space-between; /* Space buttons apart */
  align-items: center;
  margin-top: 20px;
}

/* Style for the "Yes" button */
#ageYesButton {
  background-color: transparent;
  color: #E4608F; /* Light pink */
  border: 2px solid #E4608F;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 5px;
}

#ageYesButton:hover {
  background-color: #E4608F; /* Light pink */
  color: white;
}

/* Style for the "No" button */
#ageNoButton {
  background-color: #E4608F; /* Light pink */
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 5px;
}

#ageNoButton:hover {
  background-color: #cc3576; /* Darker pink */
}

/* Icon Animation (optional for button) */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
