/* ══════════════════════════════════════
   VIDEO PAGE
   ══════════════════════════════════════ */

.video-page {
  padding-bottom: 120px;
}

.video-header {
  padding: 160px var(--section-padding) 40px;
  max-width: 700px;
}

.video-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.15;
  margin-bottom: 12px;
}

.video-count {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 20px;
}

/* ── Featured / Main Player ── */
.video-featured {
  padding: 0 var(--section-padding) 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.video-featured-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: rgba(255,255,255,0.03);
  border: var(--glass-border);
  overflow: hidden;
}

.video-featured-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-featured-info {
  margin-top: 16px;
}

.video-featured-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 6px;
}

.video-featured-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--mid);
  letter-spacing: 0.02em;
}

/* ── Thumbnail Strip ── */
.video-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 0 var(--section-padding);
  max-width: 1100px;
  margin: 0 auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.video-grid::-webkit-scrollbar { height: 4px; }
.video-grid::-webkit-scrollbar-track { background: transparent; }
.video-grid::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

.video-card {
  position: relative;
  flex: 0 0 220px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.video-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.video-card.active {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.video-thumb-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: var(--glass-border);
  overflow: hidden;
}

.video-thumb-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.video-card:hover .video-thumb-wrap img {
  transform: scale(1.03);
}

/* Play button overlay */
.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
  pointer-events: none;
}

.video-card.active .video-play-icon {
  background: rgba(0,0,0,0.6);
}

.video-card.active .video-play-icon::after {
  /* Replace triangle with "bars" (pause/now-playing) */
  border: none;
  width: 8px;
  height: 10px;
  border-left: 2.5px solid rgba(255,255,255,0.85);
  border-right: 2.5px solid rgba(255,255,255,0.85);
  margin-left: 0;
}

.video-card:hover .video-play-icon {
  background: rgba(0,0,0,0.7);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-play-icon::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent rgba(255,255,255,0.85);
  margin-left: 2px;
}

.video-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: var(--ink);
  margin-top: 8px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-card-desc {
  font-size: 11px;
  color: var(--mid);
  margin-top: 2px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Empty State ── */
.video-empty {
  text-align: center;
  padding: 80px var(--section-padding);
  width: 100%;
}

.video-empty p {
  font-size: 13px;
  color: var(--mid);
  letter-spacing: 0.08em;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .video-header {
    padding: 120px var(--section-padding) 32px;
  }

  .video-card {
    flex: 0 0 160px;
  }

  .video-featured {
    padding: 0 var(--section-padding) 32px;
  }
}
