/* Watch progress bar on movie cards */
.movie-card-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 1;
  transform: translateZ(0);
}

.movie-card-progress-bar {
  height: 100%;
  background: var(--sport-accent);
  transition: width 0.3s ease;
}

/* ========================================
   Account Badge
   ======================================== */

.account-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background-color: var(--sport-accent);
  color: var(--sport-accent-text);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  flex-shrink: 0;
}

/* ========================================
   Sport Navigation (inline in header)
   ======================================== */

.sport-nav {
  flex: 1;
  overflow: hidden;
}

.sport-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  justify-content: center;
}

.sport-nav-list::-webkit-scrollbar {
  display: none;
}

.sport-nav-item {
  flex-shrink: 0;
}

.sport-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 .75rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.sport-nav-link:hover {
  color: var(--hover-accent, var(--sport-accent));
  border-bottom: 3px solid var(--hover-accent, var(--sport-accent));
}

.sport-nav-link.active {
  color: var(--sport-accent);
  border-bottom: 3px solid var(--sport-accent);
}

.sport-nav-link svg {
  flex-shrink: 0;
}

/* Search scope control */
.search-scope-control {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 1.5rem;
  border-radius: 20px;
  overflow: hidden;
}

.search-scope-btn {
  padding: 0.45rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0;
  transition: all 0.2s ease;
  white-space: nowrap;
  border-radius: 0;
}

.search-scope-btn:first-child {
  border-radius: 20px 0 0 20px;
}

.search-scope-btn:last-child {
  border-radius: 0 20px 20px 0;
  border-left: none;
}

.search-scope-btn:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--netflix-white);
}

.search-scope-btn.active {
  background: var(--sport-accent);
  border-color: var(--sport-accent);
  color: var(--sport-accent-text);
  font-weight: 600;
}

.search-scope-btn.active + .search-scope-btn {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.search-scope-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.search-sport-badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  margin-left: 0.4rem;
}

.search-sport-badge.active {
  background: rgba(var(--sport-accent-rgb), 0.2);
  color: var(--sport-accent);
}

/* Sport featured label on hero */
.hero-sport-label {
  display: inline-block;
  color: var(--sport-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

/* Related videos rail on movie detail */
.related-videos {
  margin-top: 3rem;
}

.related-videos-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.related-videos-title svg {
  display: inline;
  vertical-align: middle;
}

/* Focus styles — use sport accent */
:focus-visible {
  outline: 2px solid var(--sport-accent);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .sport-nav-label {
    display: none;
  }

  .sport-nav-link {
    padding: 0.35rem 0.45rem;
    font-size: 0.78rem;
  }
}

