/* Modal background */
.psst-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
}

/* Popup content container */
.psst-content {
  background: #111;
  border: 1px solid #444;
  border-radius: 10px;
  width: 80%;
  max-width: 550px;
  padding: 20px;
  position: relative;
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.2);
}

/* Close button */
.psst-close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #aaa;
  font-size: 1.8rem;
  cursor: pointer;
}
.psst-close:hover { color: #fff; }

/* Main video area */
.psst-main-video {
  height: 400px;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin: 10px auto 0 auto;
}

/* Thumbnail strip */
.psst-thumbnails {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  scroll-snap-type: x mandatory;
  padding-top: 0px;
}
.psst-thumbnails img {
  width: 120px;
  object-fit: cover;
  border-radius: 6px;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.3s;
}
.psst-thumbnails img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px #00f0ff;
}

.psst-modal {
  touch-action: none;
}
.psst-content {
  pointer-events: auto;
}
.psst-close {
  pointer-events: auto;
}

/* Tablets and large phones */
@media (max-width: 767px) {
  .psst-content { max-width: 400px; }
  .psst-main-video { width: 300px; height: 300px; }
}

@media (max-width: 480px) {
  .psst-content { max-width: 280px; }
  .psst-main-video { width: 280px; height: 280px; }
}
