/* ==============================
   SERIAL PLAYER – HERO STYLE
   ============================== */

.kw-player-hero {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  background: linear-gradient(180deg,#0b0f14,#0a0d12);
  padding: 20px;
  border-radius: 18px;
}

/* ===== VIDEO ===== */

.kw-video-hero {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
}

.kw-video-hero iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Play overlay */
.kw-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: #22ff88;
  cursor: pointer;
  z-index: 5;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.15),
    rgba(0,0,0,.75)
  );
  transition: .25s;
}

.kw-play-overlay:hover {
  background: rgba(0,0,0,.6);
  transform: scale(1.02);
}

/* ===== EPISODES PANEL ===== */

.kw-episodes-hero {
  background: #111722;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
}

.kw-episodes-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

/* ===== SEASONS ===== */

.kw-seasons-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.kw-season-btn {
  background: #1c2330;
  color: #cbd3e1;
  border: none;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  transition: .2s;
}

.kw-season-btn:hover {
  background: #253045;
}

.kw-season-btn.active {
  background: #00b27a;
  color: #041b12;
  font-weight: 600;
}

/* ===== EPISODES LIST ===== */

.kw-episodes-list {
  overflow-y: auto;
  max-height: 200px;
  padding-right: 6px;
}

/* Episode item */
.kw-ep-item {
  background: #1a2230;
  color: #cbd3e1;
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: .2s;
}

.kw-ep-item:hover {
  background: #232f44;
}

.kw-ep-item.active {
  background: #00b27a;
  color: #041b12;
  font-weight: 600;
}

/* ===== SCROLLBAR ===== */

.kw-episodes-list::-webkit-scrollbar {
  width: 6px;
}

.kw-episodes-list::-webkit-scrollbar-thumb {
  background: #2a3342;
  border-radius: 6px;
}

/* ===== MOBILE ===== */

@media (max-width: 900px) {

  .kw-player-hero {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .kw-episodes-hero {
    margin-top: 14px;
  }

  .kw-episodes-list {
    max-height: 260px;
  }

  .kw-play-overlay {
    font-size: 60px;
  }
}

.kw-video-hero {
  background-size: cover;
  background-position: center;
}

.kw-video-hero iframe {
  background: transparent;
}

/* როცა ვიდეო ჩაირთვება, პოსტერი გაქრეს */
.kw-video-hero.playing {
  background-image: none !important;
}