  .overlay-page { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    z-index: 1000;
    opacity: 100%;
    pointer-events: none;
  }

  .site-content {
    position: relative;
    z-index: 1;
  }
  
/* Top Icon Container */
.top-icon-container {
  position: relative;
  width: calc(100% - 10px);
  aspect-ratio: 16 / 17;
  background-color: #FFFFFF;
  overflow: hidden;
  margin: 20px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-icon-wrapper {
  width: 90%; /* inset space of top icon container */
  height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
}

.top-icon {
  width: 170px;
  height: 170px;
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/f/fd/Arrows_down_animated.gif');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Video Block Container */
.vid-container { 
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    cursor: pointer;
    margin: 3px 0;
    pointer-events: auto;
}

.video { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 1px;
} 

/* Image Blocks Container */
.img-container {
    position: relative;
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 1px;
}

.img-block {
    position: relative;
    width: 150px;
    aspect-ratio: 2 / 2.3;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
    pointer-events: auto;
}

.img-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/e/ec/YouTube_play_button_circular_%282013-2017%29.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.progress {
    position: absolute;
    bottom: 10px;
    left: 5%;
    width: 90%;
    height: 5px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%; /* Start from 0% */
    background-color: #007BFF;
    transition: width 0.15s linear;
}

.connecting {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #bcffec;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: bold;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Responsive styles for larger screens */
@media (min-width: 600px) {
    .img-block {
        flex: 1 0 45%;
    }
}

/* Responsive styles for smaller screens */
@media (max-width: 599px) {
    .img-block {
        flex: 1 0 45%;
    }
}

.linkbtn-container {
    text-align: center;
    margin-top: 24px;
    cursor: pointer;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1px;
}

.linkbtn {
    position: relative;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #007BFF;
    border-radius: 5px;
    width: 100%;
    border: none;
    overflow: hidden;
    cursor: pointer;
    pointer-events: auto;
}

.linkbtn-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #28a745;
    transition: width 3s ease;
}

/* Popup GO BUTTON Styles */
#popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.popup-container {
    background: white;
    padding: 25px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
}

.popup-container p {
    margin-bottom: 20px;
    font-size: 18px;
}

#popup-go-button {
    padding: 10px 20px;
    font-size: 16px;
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}