/* videos.css */
#videos { background: var(--bg); }

.video-header {
  display: flex; align-items: flex-end;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  margin-bottom: 2.5rem;
}

/* YouTube channel button */
.yt-channel-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border: 1px solid rgba(255,0,0,0.3);
  color: #ff4444; text-decoration: none;
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  border-radius: 2px; cursor: none; white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
}
.yt-channel-btn:hover {
  background: rgba(255,0,0,0.08);
  border-color: #ff4444; color: #ff6666;
}

/* 4-video grid: 1 large featured + 4 small */
.video-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 260px 200px;
  gap: 3px;
  background: #070b14;
}
.vid-item.vid-featured { grid-row: span 2; }

/* Featured video spans 2 rows on left */
.vid-item.vid-featured {
  grid-row: span 2;
}

.vid-item {
  background: var(--surface);
  position: relative; overflow: hidden; cursor: none;
}
.vid-thumb {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.vid-item:hover .vid-thumb { transform: scale(1.04); }

.vid-real-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.75;
  transition: opacity 0.3s;
}
.vid-item:hover .vid-real-thumb { opacity: 0.95; }

.vid-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,6,8,0.88) 0%, rgba(6,6,8,0.15) 55%, transparent 100%);
}
.vid-hover {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
  background: rgba(0,0,0,0.2);
}
.vid-item:hover .vid-hover { opacity: 1; }
.play-ring {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, background 0.2s;
  backdrop-filter: blur(6px);
}
.vid-item:hover .play-ring { transform: scale(1.1); background: rgba(201,168,76,0.12); }
.play-ring svg { width: 20px; height: 20px; fill: var(--gold); margin-left: 3px; }

.vid-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.2rem; z-index: 2;
}
.vid-label {
  font-size: 0.58rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem;
}
.vid-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 400; line-height: 1.3;
  color: var(--cream);
}
.vid-item.vid-featured .vid-title { font-size: 1.4rem; }
.vid-views { font-size: 0.68rem; color: var(--muted); margin-top: 0.3rem; }

@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .vid-item.vid-featured { grid-row: span 1; }
  .vid-thumb { min-height: 180px; }
  .video-header { flex-direction: column; align-items: flex-start; }
}
