* { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: 'Roboto', sans-serif; background: #111; color: #fff; }

    .banner {
      background: url('banner.jpg') center/cover no-repeat;
      height: 200px;
    }

    .tabs {
      display: flex;
      flex-wrap: wrap;
      margin: 1rem auto 0;
      max-width: 960px;
      border-bottom: 1px solid #444;
    }

    .tab {
      flex: 1 1 25%;
      text-align: center;
      padding: 1rem;
      cursor: pointer;
      background: #1a1a1a;
      border: 1px solid #333;
      border-bottom: none;
    }

    .tab.active {
      background: #222;
      border-top: 2px solid #66f;
    }

    .tab-content {
      display: none;
      padding: 2rem;
      max-width: 960px;
      margin: auto;
    }

    .tab-content.active {
      display: block;
    }

    .trailer iframe {
      width: 100%;
      height: 400px;
      border: none;
    }

    .episodes {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      padding: 2rem 1rem;
      max-width: 1200px;
      margin: auto;
    }

    .episode-row {
      display: flex;
      background: #1a1a1a;
      border: 1px solid #333;
      border-radius: 6px;
      overflow: hidden;
      height: 169px;
    }

    .episode-row img {
      width: 300px;
      height: 169px;
      object-fit: cover;
      flex-shrink: 0;
    }

    .episode-details {
      flex: 1;
      padding: 1rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .episode-details h3 {
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
    }

    .episode-details p {
      font-size: 0.95rem;
      flex: 1;
    }

    .episode-details button {
      margin-top: 0.5rem;
      padding: 0.5rem 1rem;
      background: #444;
      border: none;
      color: white;
      cursor: pointer;
      align-self: flex-start;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.95rem;
    }

    .episode-details button i {
      font-size: 1rem;
    }

    .modal {
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(0,0,0,0.8);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      padding: 1rem;
    }

    .modal-content {
      background: #222;
      padding: 2rem;
      max-width: 900px;
      width: 100%;
      border-radius: 6px;
      position: relative;
    }

    .modal-content h2 {
      margin-bottom: 1rem;
    }

    .modal-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      cursor: pointer;
      font-size: 1.5rem;
      color: #999;
    }

    iframe#modal-video {
      width: 100%;
      height: 500px;
    }

    @media (max-width: 768px) {
      .tabs .tab {
        flex: 1 1 50%;
      }
      .episode-row {
        flex-direction: column;
        height: auto;
      }
      .episode-row img {
        width: 100%;
        height: auto;
      }
      iframe#modal-video {
        height: 300px;
      }
    }

    @media (max-width: 480px) {
      .tabs .tab {
        flex: 1 1 100%;
      }
      iframe#modal-video {
        height: 220px;
      }
    }
	
	
	
	.tabs {
  display: flex;
  flex-wrap: wrap;
  margin: 1rem auto 0;
  max-width: 1200px;
  border-bottom: 1px solid #444;
}

.tab {
  flex: 1 1 25%;
  text-align: center;
  padding: 1rem;
  cursor: pointer;
  background: #1a1a1a;
  border: 1px solid #333;
  border-bottom: none;
}

.tab.active {
  background: #222;
  border-top: 4px solid #FFFF00;
}

.tab-content {
  display: none;
  padding: 2rem;
  max-width: 1150px;
  margin: auto;
}

.tab-content.active {
  display: block;
}
