/* ============================================================
   PAGE-VIDEO.CSS — SceneFour Art Video Page
   ============================================================ */

/* ── Page Header ─────────────────────────────────────────── */
.video-page-header {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 2rem;
  padding-left: 2rem;
  padding-right: 2rem;
  text-align: center;
}

.video-page-header p {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.video-page-header h1 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
  color: var(--white);
}

/* ── Main Embed ──────────────────────────────────────────── */
.video-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 1.5rem;
}

.video-main-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(184,248,194,0.1);
}

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

.video-main-meta {
  padding: 1.8rem 0 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.video-main-label {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.5rem;
}

.video-main-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: 0.8rem;
}

.video-main-desc {
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(240,237,232,0.6);
  max-width: 640px;
  margin-bottom: 1.4rem;
}

.video-main-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.2s, gap 0.2s;
}

.video-main-link::after { content: '→'; }
.video-main-link:hover { color: var(--gold-light); gap: 0.8rem; }

/* ── Card Grid ───────────────────────────────────────────── */
.video-grid-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 2rem 6rem;
}

.video-grid-heading {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.04);
}

.video-card {
  background: var(--mid);
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}

.video-card:hover { background: var(--mid2); }

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

.video-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}

.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s;
  opacity: 0.8;
}

.video-card:hover .video-card-thumb img {
  transform: scale(1.04);
  opacity: 1;
}

.video-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  transition: background 0.2s;
}

.video-card:hover .video-card-play { background: rgba(0,0,0,0.1); }

.video-card-play svg {
  width: 28px;
  height: 28px;
  fill: rgba(255,255,255,0.85);
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.6));
  transition: fill 0.2s, transform 0.2s;
}

.video-card:hover .video-card-play svg {
  fill: var(--gold);
  transform: scale(1.1);
}

.video-card-info {
  padding: 0.9rem 1rem 1rem;
}

.video-card-artist {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.25rem;
}

.video-card-title {
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-main, .video-grid-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
