/* ── Category Row ── */
.category-row {
  margin-bottom: 50px;
}

.category-row__title {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 0 var(--row-padding);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.category-row__title.focused-row-title {
  color: var(--text-primary);
}

.category-row__track-wrapper {
  overflow: hidden;
  position: relative;
}

.category-row__track {
  display: flex;
  gap: var(--row-gap);
  padding: 18px var(--row-padding) 20px;
  will-change: transform;
}

/* ── Channel Card (Live) ── */
.channel-card {
  flex: 0 0 var(--card-live-w);
  height: var(--card-live-h);
  border-radius: var(--border-radius);
  background: var(--bg-card);
  overflow: hidden;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.channel-card.focused {
  transform: scale(1.08);
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  z-index: 10;
}

.channel-card__logo {
  width: 100%;
  height: 100px;
  object-fit: contain;
  padding: 12px;
  background: #1a1a1a;
}

.channel-card__info {
  padding: 8px 12px;
}

.channel-card__name {
  font-size: 22px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-card__epg {
  font-size: 18px;
  color: var(--text-muted);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── VOD Card ── */
.vod-card {
  flex: 0 0 var(--card-vod-w);
  height: var(--card-vod-h);
  border-radius: var(--border-radius);
  background: var(--bg-card);
  overflow: hidden;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.vod-card.focused {
  transform: scale(1.08);
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  z-index: 10;
}

.vod-card__poster {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.vod-card__info {
  padding: 10px 12px;
}

.vod-card__title {
  font-size: 22px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vod-card__title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.vod-card__title-line .vod-card__title {
  flex: 1 1 auto;
  min-width: 0;
}

.vod-card__score-inline {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 2px 8px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(18,18,18,0.86);
  color: #fff;
}

.vod-card__score-inline--high {
  border-color: rgba(42,198,120,0.95);
}

.vod-card__score-inline--mid {
  border-color: rgba(245,197,24,0.95);
}

.vod-card__score-inline--low {
  border-color: rgba(237,92,92,0.95);
}

.vod-card__meta {
  font-size: 18px;
  color: var(--text-muted);
  margin-top: 4px;
}

.vod-card__progress {
  margin-top: 8px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  overflow: hidden;
}

.vod-card__progress-fill {
  display: block;
  height: 100%;
  background: #E50914;
  border-radius: inherit;
}

.vod-card__fav-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.vod-card__rating-badge {
  position: absolute;
  top: 10px;
  left: 8px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: #fff;
  background: rgba(16,16,16,0.86);
  border: 2px solid rgba(255,255,255,0.28);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  z-index: 2;
}

.vod-card__rating-value {
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.vod-card__rating-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0.9;
}

.vod-card__rating-badge--high {
  border-color: rgba(42,198,120,0.95);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4), 0 0 0 2px rgba(42,198,120,0.25);
}

.vod-card__rating-badge--mid {
  border-color: rgba(245,197,24,0.95);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4), 0 0 0 2px rgba(245,197,24,0.22);
}

.vod-card__rating-badge--low {
  border-color: rgba(237,92,92,0.95);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4), 0 0 0 2px rgba(237,92,92,0.2);
}

/* ── Hero Banner ── */
.hero-banner {
  position: relative;
  width: 1920px;
  height: 580px;
  overflow: hidden;
}

.hero-banner__bg {
  position: absolute;
  top:0;right:0;bottom:0;left:0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner__gradient {
  position: absolute;
  top:0;right:0;bottom:0;left:0;
  background: linear-gradient(
    to right,
    rgba(20,20,20,0.95) 0%,
    rgba(20,20,20,0.7) 40%,
    transparent 70%
  ),
  linear-gradient(
    to top,
    rgba(20,20,20,1) 0%,
    transparent 40%
  );
}

.hero-banner__content {
  position: absolute;
  bottom: 80px;
  left: var(--row-padding);
  max-width: 700px;
}

.hero-banner__badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.hero-banner__title {
  font-size: 68px;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-banner__desc {
  font-size: 26px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 32px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-banner__actions {
  display: flex;
  gap: 20px;
}

.btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 6px;
  font-size: 28px;
  font-weight: 700;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.btn--primary {
  background: #fff;
  color: #000;
}

.btn--secondary {
  background: rgba(109,109,110,0.7);
  color: #fff;
}

.btn.focused {
  transform: scale(1.06);
  outline: 3px solid var(--accent);
}

.btn--primary.focused {
  background: #e6e6e6;
}

.hero-banner__dots {
  position: absolute;
  bottom: 30px;
  right: var(--row-padding);
  display: flex;
  gap: 10px;
}

.hero-banner__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.hero-banner__dot--active {
  background: #fff;
  transform: scale(1.4);
}

/* ── Progress Bar (EPG / Player) ── */
.progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar__fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 1s linear;
}

/* ── EPG Bar (mini, below player) ── */
.epg-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
  background: rgba(0,0,0,0.8);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.epg-bar__now {
  flex: 1;
}

.epg-bar__label {
  font-size: 18px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.epg-bar__title {
  font-size: 24px;
  font-weight: 600;
}

.epg-bar__time {
  font-size: 20px;
  color: var(--text-secondary);
}

/* ── Favorite star ── */
.star {
  color: var(--text-muted);
  font-size: 28px;
}

.star--active {
  color: #FFD700;
}

/* Selo de episódio novo (séries em acompanhamento) */
.vod-card__new-badge {
  position: absolute; left: 10px; bottom: 112px; z-index: 3;
  font-size: 15px; font-weight: 800; letter-spacing: 1px; color: #fff;
  background: #E50914; padding: 4px 10px; border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
