body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #141414;
  color: #fff;
  overflow-x: hidden;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(20, 20, 20, 0.95);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.3s;
}

.nav-links a:hover {
  background-color: #333;
}

.search-bar {
  padding: 6px 12px;
  border: none;
  border-radius: 20px;
  outline: none;
  font-size: 14px;
  background-color: #222;
  color: #fff;
}

.banner {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  cursor: pointer;
}

#banner-title {
  font-size: 2rem;
  background-color: rgba(0,0,0,0.7);
  padding: 10px 20px;
  border-radius: 12px;
}

.row {
  padding: 20px;
}

.row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.row h2 {
  font-size: 1.5rem;
}

.see-more {
  color: #ccc;
  font-size: 14px;
  text-decoration: none;
}

.see-more:hover {
  text-decoration: underline;
}

.list {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding-bottom: 10px;
}

.list img {
  height: 240px;
  border-radius: 8px;
  transition: transform 0.3s;
  cursor: pointer;
}

.list img:hover {
  transform: scale(1.05);
}

.show-container {
  padding: 20px;
}

#show-title {
  font-size: 2rem;
  margin-bottom: 10px;
}

#show-overview {
  font-size: 1rem;
  color: #bbb;
  margin-bottom: 20px;
}

.episode-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.episode-list button {
  padding: 8px 12px;
  border: none;
  background-color: #222;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.episode-list button:hover {
  background-color: #444;
}

.episode-controls {
  margin-bottom: 20px;
}

.episode-controls button {
  padding: 8px 15px;
  margin-right: 10px;
  background-color: #555;
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
}

.episode-controls button:hover {
  background-color: #777;
}

.player-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.player-wrapper video {
  width: 100%;
  height: auto;
  max-height: 80vh;
  border-radius: 8px;
}

.season-select {
  margin-bottom: 20px;
}

.season-select select {
  padding: 5px 10px;
  font-size: 14px;
  border-radius: 4px;
  background-color: #222;
  color: white;
  border: none;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(20, 20, 20, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  border: 6px solid #222;
  border-top: 6px solid #e50914;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .list img {
    height: 180px;
  }

  #banner-title {
    font-size: 1.5rem;
  }

  .search-bar {
    width: 100%;
    margin-top: 10px;
  }
}
