body {
  font-family: Arial, sans-serif;
  background: #1e1e1e;
  color: #eee;
  padding: 20px;
  transition: background 0.3s, color 0.3s;
}

body.light-mode {
  background: #f0f0f0;
  color: #000;
}

h1, h2 {
  text-align: center;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.controls label {
  margin-right: 5px;
}

.anime-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

.anime-card {
  background: #2c2c2c;
  color: #eee;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  width: 220px;
  overflow: hidden;
  text-align: center;
  padding: 10px;
  transition: background 0.3s, color 0.3s;
}

body.light-mode .anime-card {
  background: #fff;
  color: #000;
}

.anime-card img {
  width: 100%;
  height: auto;
}

.anime-card h2 {
  font-size: 1.1em;
  margin: 10px 0 5px 0;
}

.anime-card p {
  margin: 4px 0;
  font-size: 0.9em;
}

.anime-card input[type="checkbox"] {
  margin-top: 8px;
  transform: scale(1.2);
}

#counter {
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

hr {
  border: 0;
  border-top: 2px solid #ccc;
  margin: 30px 0 10px 0;
  width: 60%;
}

.theme-toggle {
  position: fixed;
  top: 10px;
  right: 10px;
  background: #444;
  color: #fff;
  border: 1px solid #666;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

body.light-mode .theme-toggle {
  background: #fff;
  color: #000;
  border-color: #aaa;
}

.nsfw-button {
  font-size: 1.2em;
  cursor: pointer;
  background: none;
  border: 2px solid #ccc;
  padding: 5px 10px;
  border-radius: 5px;
}

button {
  background: #444;
  color: #fff;
  border: 1px solid #666;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.3s, color 0.3s;
}

button:hover {
  background: #666;
}

body.light-mode button {
  background: #fff;
  color: #000;
  border-color: #aaa;
}

body.light-mode button:hover {
  background: #ddd;
}

#countdown-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.countdown-item {
  padding: 10px 15px;
  border-radius: 10px;
  background-color: #1f2937; /* dunkles Blau-Grau */
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s;
}

.countdown-item.soon {
  background-color: #dc2626; /* Rot für baldige Termine */
}

.countdown-item.medium {
  background-color: #facc15; /* Gelb für mittelfristige Termine */
  color: #000000;
}

.countdown-item.later {
  background-color: #16a34a; /* Grün für spätere Termine */
}

.countdown-item {
  transition: background-color 0.3s, transform 0.3s;
}

.countdown-time {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.1rem;
  margin-top: 5px;
  transition: all 0.5s ease;
}

.countdown-item:hover {
  transform: scale(1.03);
}

.progress-container {
  width: 100%;
  height: 8px;
  background: #374151; /* dunkelgrau */
  border-radius: 4px;
  margin-top: 8px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #3b82f6); /* grün zu blau */
  width: 0%;
  transition: width 0.5s ease-in-out;
}