/* ============================================================
   VIDEOS PAGE STYLES
   ============================================================ */

/* ── HERO ────────────────────────────────────────────────────── */
.videos-hero {
  padding: 160px 0 70px;
  background: radial-gradient(ellipse at 50% 100%, #1a1208 0%, var(--black) 65%);
  border-bottom: 1px solid var(--dark-border);
  text-align: center;
}
.videos-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 16px;
}
.videos-hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── FEATURED VIDEO ──────────────────────────────────────────── */
.featured-video-section {
  padding: var(--sp-xl) 0;
  background: var(--dark-mid);
  border-bottom: 1px solid var(--dark-border);
}
.featured-video-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.video-embed-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--dark-border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.video-embed-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--r-md);
}
.featured-video-info {
  padding-top: 8px;
}
.featured-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.featured-video-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.3;
  margin-bottom: 14px;
}
.featured-video-info p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── VIDEO FILTERS ───────────────────────────────────────────── */
.videos-grid-section {
  padding: var(--sp-xl) 0 var(--sp-2xl);
  background: var(--dark);
}
.video-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--dark-border);
}
.vf-tab {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid var(--dark-border);
  border-radius: var(--r-sm);
  padding: 9px 18px;
  cursor: pointer;
  transition: var(--t-fast);
}
.vf-tab:hover { border-color: var(--gold); color: var(--gold); }
.vf-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* ── VIDEO GRID ──────────────────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .video-grid { grid-template-columns: 1fr; } }

/* ── VIDEO CARD — modern animated ────────────────────────────── */
.video-card {
  position: relative;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  /* Scroll-reveal initial state */
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.4s ease;
}
/* Visible state on scroll-in */
.video-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* Subtle gold glow accent border on hover */
.video-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 11px;
  background: linear-gradient(135deg,
    rgba(200,165,94,0) 0%,
    rgba(200,165,94,0.4) 50%,
    rgba(200,165,94,0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  pointer-events: none;
}
.video-card:hover::before { opacity: 1; }
.video-card:hover {
  border-color: rgba(200,165,94,0.5);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.5),
    0 0 0 1px rgba(200,165,94,0.1),
    0 0 30px rgba(200,165,94,0.08);
  transform: translateY(-6px) scale(1.01);
}
/* Active / tap state for mobile */
.video-card:active,
.video-card.touch-active {
  transform: translateY(-2px) scale(0.99);
  transition-duration: 0.15s;
  border-color: rgba(200,165,94,0.5);
}
/* Reduce motion respect */
@media (prefers-reduced-motion: reduce) {
  .video-card {
    opacity: 1 !important;
    transform: none !important;
    transition: border-color 0.3s ease !important;
  }
  .sub-cat-group {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Thumbnail — with crossfade zoom effect */
.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0804, #1a1208);
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.5s ease;
  filter: brightness(0.88) saturate(0.85);
}
.video-card:hover .video-thumb img {
  transform: scale(1.08);
  filter: brightness(1) saturate(1);
}
.video-card:active .video-thumb img {
  transform: scale(1.04);
}

/* Sepia overlay */
.video-thumb-sepia {
  position: absolute;
  inset: 0;
  background: rgba(160,100,30,0.18);
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity 0.4s;
}
.video-card:hover .video-thumb-sepia { opacity: 0.3; }

/* Hover overlay with gradient */
.video-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.video-card:hover .video-thumb-overlay { opacity: 1; }
/* Always-visible subtle play hint on mobile */
@media (hover: none) {
  .video-thumb-overlay {
    opacity: 1;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.5) 100%);
  }
  .video-thumb-overlay .play-btn { opacity: 0.7; }
}

/* Play button */
.play-btn {
  width: 44px;
  height: 44px;
  transform: scale(0.88);
  transition: transform 0.3s var(--ease-gold);
}
.play-btn svg { width: 100%; height: 100%; }
.video-card:hover .play-btn { transform: scale(1); }

/* Card body — compact */
.video-card-body {
  padding: 12px 14px 14px;
}
.video-artist {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
  opacity: 0.85;
}
.video-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.3;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-sub {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── PLAYLIST CTA ────────────────────────────────────────────── */
.playlist-cta {
  padding: var(--sp-lg) 0;
  background: var(--dark-mid);
  border-top: 1px solid var(--dark-border);
}
.playlist-cta-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(200,165,94,0.05);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-md);
  padding: 28px 32px;
}
.playlist-icon { width: 48px; height: 48px; flex-shrink: 0; }
.playlist-cta-inner h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 4px;
}
.playlist-cta-inner p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}
.playlist-cta-inner .btn { margin-left: auto; flex-shrink: 0; }

/* ── SUB-CATEGORY NAV (in hero) ─────────────────────────────── */
.sub-category-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.sub-cat-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 12px;
  background: rgba(200,165,94,0.04);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: var(--t-base);
}
.sub-cat-link:hover {
  border-color: var(--gold);
  background: rgba(200,165,94,0.08);
  transform: translateY(-2px);
}
.sub-cat-icon { font-size: 1.4rem; }
.sub-cat-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
}
.sub-cat-count {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

/* ── MEDIA SUB-SECTION ─────────────────────────────────────── */
.media-sub-section {
  padding: var(--sp-2xl) 0;
  background: var(--dark);
  scroll-margin-top: 80px;
}
.media-sub-section.dark {
  background: var(--dark-mid);
}
.sub-section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.sub-section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.sub-section-icon {
  font-size: 1.6rem;
}
.sub-section-num {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.sub-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.2;
}
.sub-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 14px auto 0;
}
.sub-section-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── LYRICS ──────────────────────────────────────────────────── */
/* Sub-category dividers with modern animation */
.sub-cat-group {
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.sub-cat-group.visible {
  opacity: 1;
  transform: translateY(0);
}
.sub-cat-group:last-child { margin-bottom: 0; }

.sub-cat-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  margin-bottom: 28px;
  background: linear-gradient(135deg, rgba(200,165,94,0.06) 0%, rgba(26,18,8,0.4) 100%);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
/* Animated gold shimmer line */
.sub-cat-divider::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(200,165,94,0.15), transparent);
  animation: shimmer-divider 6s linear infinite;
}
@keyframes shimmer-divider {
  from { left: -100%; }
  to   { left: 200%; }
}
.sub-cat-divider-icon {
  font-size: 1.4rem;
  filter: drop-shadow(0 0 8px rgba(200,165,94,0.4));
  z-index: 1;
}
.sub-cat-divider-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  flex: 1;
  z-index: 1;
}
.sub-cat-divider-count {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(200,165,94,0.12);
  border: 1px solid rgba(200,165,94,0.25);
  padding: 5px 14px;
  border-radius: 20px;
  z-index: 1;
}
.lyrics-section {
  padding: var(--sp-xl) 0;
  background: var(--dark-mid);
  border-top: 1px solid var(--dark-border);
}
.lyrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.lyrics-preview {
  margin-top: 8px;
}
.lyric-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-md);
  padding: 32px 30px;
  position: relative;
}
.lyric-card:hover { border-color: rgba(200,165,94,0.3); }
.lyric-header {
  border-bottom: 1px solid var(--dark-border);
  padding-bottom: 16px;
  margin-bottom: 18px;
}
.lyric-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.lyric-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 4px;
}
.lyric-artist {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-style: italic;
}
.lyric-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-muted);
  white-space: pre-wrap;
  margin: 0;
  font-style: italic;
}

@media (max-width: 768px) {
  .lyrics-grid { grid-template-columns: 1fr; }
}

/* ── GROUPED VIEW ────────────────────────────────────────────── */
.video-grid-grouped {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.video-category-block {}
.video-cat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--dark-border);
}
.video-cat-header-left {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.video-cat-icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-top: 2px;
  flex-shrink: 0;
}
.video-cat-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 4px;
}
.video-cat-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 540px;
  margin: 0;
}
.video-cat-count {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  padding-top: 4px;
  opacity: 0.7;
}
.video-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-video-wrap { grid-template-columns: 1fr; }
  .featured-video-info { order: -1; }
}
@media (max-width: 640px) {
  .video-grid { grid-template-columns: 1fr; }
  .playlist-cta-inner { flex-direction: column; align-items: flex-start; }
  .playlist-cta-inner .btn { margin-left: 0; }
}
