.vod-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding: 80px 0 50px;
  background-size: cover;
  background-position: center top;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.vod-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(7, 9, 14, 0.4) 0%, rgba(7, 9, 14, 0.85) 70%, var(--bg-dark) 100%);
  z-index: 1;
}

.vod-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.vod-genres-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 20px 0;
  margin-bottom: 30px;
  scrollbar-width: none;
}

.vod-genres-nav::-webkit-scrollbar {
  display: none;
}

.genre-chip {
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.genre-chip:hover, .genre-chip.active {
  background: var(--primary);
  color: #07090e;
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

.vod-row-section {
  margin-bottom: 60px;
}

.vod-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.vod-row-title {
  font-size: var(--text-xl);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}

.vod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

@media (max-width: 600px) {
  .vod-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
  }
}

.vod-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all var(--transition-base);
  aspect-ratio: 2 / 3;
}

.vod-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: var(--primary);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.7);
}

.vod-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.vod-card:hover .vod-poster {
  transform: scale(1.05);
}

.vod-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  z-index: 2;
}

.vod-badges-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rating-pill {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #ffb800;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 184, 0, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.quality-pill {
  background: rgba(0, 240, 255, 0.2);
  color: var(--primary);
  font-size: 10px;
  font-weight: 900;
  padding: 3px 6px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--primary);
  text-transform: uppercase;
}

.vod-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vod-card-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vod-card-year {
  font-size: 11px;
  color: var(--text-muted);
}

.vod-modal-box {
  background: var(--bg-modal);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  max-width: 840px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 92vh;
  overflow-y: auto;
}

.vod-modal-backdrop-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  position: relative;
}

.vod-modal-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 320px;
  background: linear-gradient(180deg, rgba(12, 16, 26, 0.2) 0%, var(--bg-modal) 100%);
}

.vod-modal-body {
  position: relative;
  padding: 0 32px 36px;
  margin-top: -60px;
  z-index: 3;
}

.vod-modal-header {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.vod-modal-poster {
  width: 140px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
  border: 2px solid var(--border-light);
}

.vod-modal-meta {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.vod-modal-title {
  font-size: var(--text-2xl);
  font-weight: 900;
  margin-bottom: 10px;
}

.vod-modal-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.vod-modal-synopsis {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.vod-modal-cta-box {
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 650px) {
  .vod-modal-header { flex-direction: column; align-items: center; text-align: center; }
  .vod-modal-poster { width: 120px; }
  .vod-modal-chips { justify-content: center; }
  .vod-modal-body { padding: 0 20px 24px; }
}
