/* Standardzustand: Schwarz wie zu Beginn */
body.bg-default,
body:not([class*="bg-"]) {
  background: #111;
  color: white;
}

/* Jahrzehnt-Themes */

body.bg-40s {
  background: linear-gradient(to bottom, #2f2f2f, #1a1a1a);
  color: #f5deb3; /* wheat */
}

body.bg-50s {
  background: linear-gradient(to bottom, #2c003e, #54007c);
  color: #ffddee;
}

body.bg-60s {
  background: linear-gradient(to bottom, #ff6600, #ffff66);
  color: #222;
}

/* Produzenten-Themes */

body.bg-chuck {
  background: linear-gradient(to bottom, #330000, #110000);
  color: #ffdddd;
}

body.bg-hanna {
  background: linear-gradient(to bottom, #003322, #005544);
  color: #ccffee;
}

body.bg-deitch {
   background: linear-gradient(#2e003e, #0c0020); /* dunkelviolett zu schwarzblau */
  color: #f0e6ff; /* blasses Lila für Text */
}

/* Layout */

h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

#category-bar {
  text-align: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

#category-bar button {
  margin: 5px;
  padding: 8px 14px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

#category-bar button:hover {
  background-color: #e50914;
}

#search {
  display: block;
  margin: 0 auto 20px auto;
  padding: 10px;
  width: 90%;
  max-width: 600px;
  border-radius: 5px;
  border: none;
  font-size: 1rem;
}

#episode-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  padding: 20px;
}

.episode {
  background-color: #1e1e1e;
  padding: 10px;
  border-radius: 8px;
  transition: transform 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  color: #ffffff; /* Hier explizit weiß setzen */

}

.episode:hover {
  transform: scale(1.06);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.episode img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.episode-title {
  text-align: center;
  padding: 10px 6px 0;
  font-weight: bold;
  color: #ffffff; /* explizit */

}

.episode-description {
  font-size: 0.9em;
  padding: 5px 10px 15px;
  color: #ccc;
  text-align: center;
  color: #cccccc; /* leicht heller für Kontrast */

}








