body {
  font-family: "Segoe UI", sans-serif;
  background: #0d0d0d;
  color: #eee;
  margin: 0;
}
header {
  background: #1a1a1a;
  padding: 15px;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
}
nav {
  background: #222;
  padding: 10px;
  text-align: center;
}
nav a {
  color: #eee;
  margin: 0 15px;
  text-decoration: none;
}
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px;
  gap: 20px;
}
.card {
  background: #1f1f1f;
  border-radius: 8px;
  width: 220px;
  text-align: center;
  padding: 0 0 10px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: #eee;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  display: block;
}
.card h3 {
  margin: 10px 10px 0;
  font-size: 14px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}
.watch-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 15px;
  background: #e74c3c;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
}
iframe {
  width: 100%;
  min-height: 500px;
  border: none;
  border-radius: 8px;
  margin-bottom: 15px;
}
.episode-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.episode {
  background: #3498db;
  color: #fff;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.episode:hover { background: #2980b9; }
.center { text-align: center; margin-top: 20px; }
