/* =========================================
   WATCH PAGE STYLES
   Compatible with Abheek’s Gallery Theme
   ========================================= */



/* ----- General Layout ----- */
body {
  background: var(--bg-color);
  color: var(--white-color);
  font-family: "Plain", sans-serif;
  overflow-x: hidden;
}

.watch-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  padding: 80px 20px 40px 20px;
  max-width: 100vw;
  margin: auto;
}

/* ----- Main Video Section ----- */
.video-main {
  flex: 4;
  min-width: 60%;
  max-width: 75vw;
}

.video-main video {
  width: 100%;
  height: auto;
  border-radius: 14px;
  outline: none;
  border: none;
  box-shadow: 0 6px 20px rgba(0, 255, 255, 0.15);
  background: black;
}


.video-title {
  margin-top: 25px;
  font-size: 1.9em;
  color: var(--white-color);
  font-weight: var(--font-weight-light);
  letter-spacing: 0.5px;
}

.video-description {
  color: var(--p-color);
  font-size: 1em;
  line-height: 1.8em;
  margin-top: 10px;
  font-weight: var(--font-weight-light);
}

/* ----- Related Gallery Sidebar ----- */
.related-gallery {
  flex: 1;
  max-width: 25vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/*.related-gallery h3 {
  font-weight: var(--font-weight-bold);
  color: var(--white-color);
  margin-bottom: 5px;
  text-align: center;
  letter-spacing: 0.6px;
}*/

/* ----- Album Tile Grid (used for related videos/albums) ----- */
.album-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 14.0625vw;
  gap: 20px;
}

.album-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, o, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  background: rgba(255, 255, 255, 0.03);
}

.album-item:hover {
  transform: scale(1.04);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.25), 0 8px 16px rgba(255, 255, 255, 0.1);
}

.album-item img {
  width: 25vw;
  height: 14.0625vw;
  object-fit: fill;
  filter: brightness(0.75);
  transition: filter 0.3s ease;
}

.album-item:hover img {
  filter: brightness(0.9);
}

.album-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  color: var(--white-color);
}

.album-overlay strong {
  margin: 0;
  font-size: 1em;
  font-weight: var(--font-weight-bold);
}

.album-overlay p {
  margin: 4px 0 0;
  font-size: 0.85em;
  color: var(--p-color);
}

/* ----- Responsive Adjustments ----- */
@media (max-width: 1200px) {
  .watch-container {
    padding: 70px 15px 40px 15px;
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .watch-container {
    flex-direction: column;
    align-items: center;
  }

  .video-main {
    max-width: 100%;
  }

  .related-gallery {
    width: 100%;
    max-width: 100%;
    margin-top: 30px;
  }

  .album-grid {
    grid-template-columns: repeat(auto-fit, 1fr);
  }
}

@media (max-width: 600px) {
  .video-title {
    font-size: 1.4em;
  }

  .album-overlay strong {
    font-size: 0.9em;
  }

  .album-overlay p {
    font-size: 0.8em;
  }
}

/* ----- Scrollbar for Smaller Screens (Sidebar scrolls horizontally if needed) ----- */
@media (max-width: 800px) {
  .related-gallery {
    overflow-x: auto;
  }

  .album-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
  }
}



