* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0b0b0b;
  color: white;

  font-family: 'Inter', sans-serif;
}

.active-nav {
  background: rgba(255,255,255,0.1);

  color: white !important;

  box-shadow:
    0 6px 20px rgba(0,0,0,0.35);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 24px 40px;

  background: rgba(11, 11, 11, 0.96);

  backdrop-filter: blur(10px);

  border-bottom: 1px solid #1f1f1f;
}

.logo {
  font-size: 34px;
  font-weight: bold;
  color: white;
}

.nav-links {
  display: flex;
  gap: 18px;
}

.nav-links a {
  padding: 12px 20px;

  border-radius: 14px;

  color: #cfcfcf;

  text-decoration: none;

  font-size: 16px;
  font-weight: 500;

  transition: all 0.22s ease;
}


.nav-links a:hover {
  color: white;

  background: rgba(255,255,255,0.08);

  transform: translateY(-2px);

  box-shadow:
    0 8px 24px rgba(0,0,0,0.35);
}

.nav-links a::after {
  content: '';

  position: absolute;

  left: 12px;
  right: 12px;
  bottom: 6px;

  height: 2px;

  background: white;

  border-radius: 20px;

  transform: scaleX(0);

  transition: transform 0.25s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.search-box input {
  width: 320px;

  padding: 14px 18px;

  border: none;
  outline: none;

  border-radius: 14px;

  background: #1a1a1a;

  color: white;

  font-size: 15px;
}

.search-box input::placeholder {
  color: #777;
}

#searchInput {
  width: 300px;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #1b1b1b;
  color: white;
}

.movie-grid {
  display: flex;

  gap: 20px;

  overflow-x: auto;

  overflow-y: visible;

  padding: 0 25px 18px 25px;

  scroll-behavior: smooth;

  scroll-snap-type: x proximity;
}

.movie-grid::-webkit-scrollbar {
  display: none;
}

.movie-grid {
  scrollbar-width: none;
}

.player-page {
  padding: 20px;
}

.server-switcher {

  display: flex;

  align-items: center;

  gap: 10px;

  margin-bottom: 16px;

  flex-wrap: wrap;

}

.server-label {

  font-weight: 600;

  color: white;

}

.server-btn {

  padding: 8px 14px;

  border: none;

  border-radius: 8px;

  background: #222;

  color: white;

  cursor: pointer;

  transition: 0.2s;

}

.server-btn:hover {

  background: #333;

}

.active-server {

  background: #e50914;

}

.back-button {
  display: inline-block;

  margin-bottom: 20px;

  color: white;

  text-decoration: none;

  background: #222;

  padding: 10px 16px;

  border-radius: 10px;

  border: none;

  cursor: pointer;

  font-size: 16px;

  transition: 0.22s ease;
}

.back-button:hover {
  background: #333;

  transform: translateY(-2px);

  box-shadow:
    0 8px 20px rgba(0,0,0,0.35);
}

iframe {
  width: 100%;
  height: 80vh;
  border-radius: 20px;
  margin-top: 20px;
}

.season-container {
  margin-top: 40px;
}

.season-title {
  font-size: 28px;

  margin-bottom: 18px;

  color: white;
}

.episode-row {
  display: flex;

  flex-wrap: wrap;

  gap: 14px;
}

.episode-button {
  width: 260px;

  padding: 16px;

  border: none;

  border-radius: 16px;

  background: #181818;

  color: white;

  cursor: pointer;

  text-align: left;

  transition: 0.22s ease;

  display: flex;

  flex-direction: column;

  gap: 8px;
}

.episode-button:hover {
  background: #252525;

  transform: translateY(-3px);

  box-shadow:
    0 12px 30px rgba(0,0,0,0.35);
}

.episode-number {
  color: #9d9d9d;

  font-size: 13px;

  font-weight: 600;

  letter-spacing: 1px;
}

.episode-name {
  font-size: 16px;

  font-weight: 600;

  line-height: 1.4;
}

.hero {
  position: relative;

  width: 100%;
  height: 78vh;

  overflow: hidden;

  display: flex;
  align-items: center;

  padding: 0 60px;

  margin-bottom: 30px;
}

.hero-backdrop {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  z-index: 1;

  transition:
  opacity 0.45s ease,
  transform 0.45s ease;
}

.hero-overlay {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      to right,
      rgba(0,0,0,0.85) 10%,
      rgba(0,0,0,0.45) 45%,
      rgba(0,0,0,0.15) 100%
    ),
    linear-gradient(
      to top,
      #0b0b0b 2%,
      transparent 40%
    );

  z-index: 2;
}

.hero-content {
  position: relative;

  z-index: 3;

  max-width: 650px;

  margin-left: 70px;
}

.hero-tag {
  color: #b0b0b0;

  font-size: 15px;

  margin-bottom: 12px;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.hero-content h1 {
  font-size: 82px;

  line-height: 0.95;

  margin-bottom: 20px;

  font-weight: 800;
}

.hero-description {
  font-size: 18px;

  line-height: 1.7;

  color: #d0d0d0;

  margin-bottom: 32px;

  max-width: 580px;
}

.hero-buttons {
  display: flex;

  gap: 16px;
}

.hero-fade-out {
  opacity: 0;

  transform: scale(1.02);
}

.hero-fade-in {
  opacity: 1;

  transform: scale(1);
}

.watch-btn,
.info-btn {
  padding: 16px 28px;

  border: none;

  border-radius: 14px;

  font-size: 16px;

  font-weight: 600;

  cursor: pointer;

  transition: 0.25s ease;
}

.watch-btn {
  background: white;

  color: black;
}

.watch-btn:hover {
  transform: translateY(-2px);

  background: #e6e6e6;
}

.info-btn {
  background: rgba(255,255,255,0.12);

  color: white;

  backdrop-filter: blur(8px);
}

.info-btn:hover {
  transform: translateY(-2px);

  background: rgba(255,255,255,0.2);
}

.hero-arrow {
  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  z-index: 5;

  width: 54px;
  height: 54px;

  border: none;

  border-radius: 50%;

  background: rgba(0,0,0,0.35);

  color: white;

  font-size: 28px;

  cursor: pointer;

  transition: 0.25s ease;

  backdrop-filter: blur(8px);
}

.hero-arrow:hover {
  background: rgba(255,255,255,0.15);

  transform:
    translateY(-50%)
    scale(1.08);
}

.left-arrow {
  left: 25px;
}

.right-arrow {
  right: 25px;
}

.hero-indicators {
  position: absolute;

  bottom: 30px;

  left: 50%;

  transform: translateX(-50%);

  display: flex;

  gap: 10px;

  z-index: 6;
}

.hero-indicator {
  position: relative;

  width: 42px;
  height: 6px;

  border-radius: 999px;

  background: rgba(255,255,255,0.22);

  overflow: hidden;

  cursor: pointer;
}

.hero-indicator-fill {
  position: absolute;

  inset: 0;

  width: 0%;

  background: white;

  border-radius: 999px;
}

.hero-indicator.active-indicator
.hero-indicator-fill {

  animation:
    heroFill 6s linear forwards;

}

@keyframes heroFill {

  from {
    width: 0%;
  }

  to {
    width: 100%;
  }

}

.active-indicator {
  background: rgba(255,255,255,0.22);
}

 .movie-card{
  position: relative;

  isolation: isolate;

  flex: 0 0 220px;

  background: #141414;

  border-radius: 18px;

  overflow: hidden;

  cursor: pointer;

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.movie-card:hover {
  transform:
    translateY(-8px)
    scale(1.03);

  box-shadow:
    0 20px 40px rgba(0,0,0,0.45);
}

.movie-image-wrapper {
  position: relative;

  width: 100%;
  height: 100%;

  border-radius: inherit;

  overflow: hidden;
}

.movie-card img {
  width: 100%;

  height: 320px;

  object-fit: cover;

  display: block;

  transition: 0.3s ease;
}

.movie-overlay {
  position: absolute;

  inset: 0;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  padding: 16px;

  background:
    linear-gradient(
      to top,
      rgba(0,0,0,0.92) 8%,
      rgba(0,0,0,0.55) 45%,
      rgba(0,0,0,0.08) 100%
    );

  opacity: 0;

  transition: 0.28s ease;
}

.movie-card:hover .movie-overlay {
  opacity: 1;
}

.movie-card:hover img {
  transform: scale(1.05);
}

.overlay-play {
  width: 48px;
  height: 48px;

  border: none;

  border-radius: 50%;

  background: rgba(255,255,255,0.12);

  color: white;

  font-size: 20px;

  cursor: pointer;

  backdrop-filter: blur(10px);

  transition: 0.22s ease;

  flex-shrink: 0;
}

.overlay-play:hover {
  background: white;

  color: black;

  transform: scale(1.08);
}

.overlay-info h3 {
  font-size: 20px;

  font-weight: 700;

  margin-bottom: 6px;

  line-height: 1.1;
}

.overlay-info p {
  color: #d0d0d0;

  font-size: 15px;

  font-weight: 500;
}

@media (max-width: 1200px) {

  .hero-content h1 {
    font-size: 64px;
  }

  .hero-description {
    font-size: 16px;
    max-width: 500px;
  }

}

@media (max-width: 900px) {

  .navbar {
    padding: 18px 20px;

    gap: 16px;

    flex-wrap: wrap;
  }

  .logo {
    font-size: 28px;
  }

  .nav-links {
    width: 100%;

    justify-content: center;

    flex-wrap: wrap;
  }

  .search-box {
    width: 100%;
  }

  .search-box input {
    width: 100%;
  }

  .hero {
    height: 70vh;

    padding: 0 30px;
  }

  .hero-content {
    margin-left: 40px;

    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 52px;
  }

  .hero-description {
    font-size: 15px;

    max-width: 450px;
  }

  .hero-arrow {
    width: 46px;
    height: 46px;

    font-size: 22px;
  }

}

@media (max-width: 600px) {

  /* GLOBAL */

  * {
    max-width: 100%;
  }

  body {
    overflow-x: hidden;
  }

  /* NAVBAR */

  .navbar {
    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 14px;

    padding: 16px;
  }

  .logo {
    font-size: 30px;

    text-align: center;
  }

  .nav-links {
    display: grid;

    grid-template-columns:
      repeat(3, 1fr);

    gap: 8px;
  }

  .nav-links a {
    font-size: 13px;

    padding: 10px;

    text-align: center;
  }

  .search-box {
    width: 100%;
  }

  .search-box input {
    width: 100%;
  }

  /* HERO */

  .hero {
    width: 100%;

    height: 500px;

    padding: 0;

    margin: 0;

    overflow: hidden;

    position: relative;

    align-items: flex-end;
  }

  .hero-backdrop {
    width: 100%;

    height: 100%;

    object-fit: cover;
  }

  .hero-overlay {
    width: 100%;
  }

  .hero-content {
    width: 100%;

    padding:
      0 24px 80px 24px;

    margin: 0;

    z-index: 4;
  }

  .hero-tag {
    font-size: 12px;

    margin-bottom: 10px;
  }

  .hero-content h1 {
    font-size: 56px;

    line-height: 0.9;

    margin-bottom: 16px;

    word-break: break-word;
  }

  .hero-description {
    font-size: 14px;

    line-height: 1.5;

    max-width: 100%;

    margin-bottom: 22px;
  }

  .hero-buttons {
    display: flex;

    gap: 12px;
  }

  .watch-btn,
  .info-btn {
    flex: 1;

    padding: 14px 16px;

    font-size: 15px;
  }

  /* HERO ARROWS */

  .hero-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 42px;
    height: 42px;

    font-size: 18px;

    z-index: 10;
  }

  .left-arrow {
    left: 10px;
  }

  .right-arrow {
    right: 10px;
  }

  /* HERO INDICATORS */

  .hero-indicators {
    bottom: 28px;

    width: 100%;

    justify-content: center;
  }

  /* MOVIE GRID */

  .movie-grid {
  display: flex;

  flex-wrap: nowrap;

  overflow-x: auto;

  overflow-y: hidden;

  gap: 14px;

  padding: 0 16px 18px 16px;

  scroll-behavior: smooth;

  -webkit-overflow-scrolling: touch;

  scrollbar-width: none;
}

.movie-row-wrapper {
  overflow: hidden;
}

.movie-grid::-webkit-scrollbar {
  display: none;
}

  .movie-card {
  flex: 0 0 145px;

  width: 145px;

  min-width: 145px;

  max-width: 145px;

  border-radius: 14px;

  overflow: hidden;
}

.movie-overlay {
  display: none;
}

  .movie-card img {
  width: 100%;

  height: 215px;

  object-fit: cover;
}

  .movie-info {
    padding: 12px;
  }

  .movie-info h2 {
    font-size: 15px;
  }

  .movie-info p {
    font-size: 13px;
  }

  .row-fade {
  display: none;
}

.row-controls {
  display: none;
}

  /* PLAYER */

  iframe {
    height: 28vh;

    border-radius: 12px;
  }

  /* EPISODES */

  .season-title {
    font-size: 22px;
  }

  .episode-row {
    gap: 10px;
  }

  .episode-button {
    font-size: 13px;

    padding: 10px 14px;
  }

  .player-notice {
    align-items: flex-start;

    padding: 14px;

    gap: 12px;
  }

  .player-notice p {
    font-size: 13px;
  }

  .menu-container {
    width: 100%;
  }

  .menu-toggle {
    width: 100%;
  }

  .dropdown-menu {
    width: 100%;

    right: 0;
  }


}

.hero-description {
  font-size: 18px;

  line-height: 1.7;

  color: #d0d0d0;

  margin-bottom: 16px;

  max-width: 580px;

  display: -webkit-box;

  -webkit-line-clamp: 2;

  -webkit-box-orient: vertical;

  overflow: hidden;

  transition: 0.3s ease;
}

.hero-description.expanded {
  -webkit-line-clamp: unset;

  overflow: visible;
}

.expand-description {
  background: none;

  border: none;

  color: #b0b0b0;

  font-size: 14px;

  cursor: pointer;

  margin-bottom: 24px;

  padding: 0;

  transition: 0.2s ease;
}

.expand-description:hover {
  color: white;
}



.content-section {
  margin-top: 55px;

  margin-bottom: 10px;
}

.section-title {
  font-size: 34px;

  font-weight: 700;

  margin-bottom: 24px;

  padding: 0 25px;

  color: white;
}

.hero-content h1,
.hero-description {
  transition: opacity 0.3s ease;
}

.movie-card:hover {
  transform:
    translateY(-6px)
    scale(1.025);

  box-shadow:
    0 24px 45px rgba(0,0,0,0.45);
}

.movie-row-wrapper {
  position: relative;
}

.section-header {
  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 0 25px;

  margin-bottom: 18px;
}

.row-controls {
  display: flex;

  gap: 10px;
}

.row-arrow {
  width: 42px;
  height: 42px;

  border: none;

  border-radius: 50%;

  background: rgba(255,255,255,0.08);

  color: white;

  cursor: pointer;

  font-size: 18px;

  transition: 0.22s ease;

  backdrop-filter: blur(8px);
}

.row-arrow:hover {
  background: rgba(255,255,255,0.18);

  transform: scale(1.08);
}

.row-fade {
  position: absolute;

  top: 0;
  bottom: 0;

  width: 120px;

  z-index: 10;

  pointer-events: none;
}

.left-fade {
  left: 0;

  background:
    linear-gradient(
      to right,
      #0b0b0b 0%,
      transparent 100%
    );
}

.right-fade {
  right: 0;

  background:
    linear-gradient(
      to left,
      #0b0b0b 0%,
      transparent 100%
    );
}

.player-notice {
  display: flex;

  align-items: center;

  gap: 14px;

  padding: 16px 18px;

  margin-bottom: 20px;

  border-radius: 16px;

  background:
    rgba(255,255,255,0.06);

  border:
    1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(10px);
}

.notice-icon {
  width: 34px;
  height: 34px;

  border-radius: 50%;

  background:
    rgba(255,255,255,0.12);

  display: flex;

  align-items: center;

  justify-content: center;

  font-weight: bold;

  flex-shrink: 0;
}

.player-notice p {
  color: #d0d0d0;

  line-height: 1.5;

  font-size: 14px;
}

.player-notice strong {
  color: white;
}

.episode-navigation {
  display: flex;

  justify-content: space-between;

  gap: 16px;

  margin-top: 24px;
}

.episode-nav-btn {
  flex: 1;

  padding: 16px;

  border: none;

  border-radius: 14px;

  background: #1f1f1f;

  color: white;

  font-size: 15px;

  font-weight: 600;

  cursor: pointer;

  transition: 0.22s ease;
}

.episode-nav-btn:hover {
  background: #333;

  transform: translateY(-2px);

  box-shadow:
    0 8px 20px rgba(0,0,0,0.35);
}

.menu-container {
  position: relative;
}

.menu-toggle {
  width: 48px;
  height: 48px;

  border: none;

  border-radius: 14px;

  background: #1b1b1b;

  color: white;

  font-size: 24px;

  cursor: pointer;

  transition: 0.22s ease;
}

.menu-toggle:hover {
  background: #2a2a2a;

  transform: translateY(-2px);
}

.dropdown-menu {
  position: absolute;

  top: 60px;
  right: 0;

  min-width: 220px;

  background: #181818;

  border-radius: 16px;

  padding: 10px;

  display: none;

  flex-direction: column;

  gap: 6px;

  box-shadow:
    0 18px 40px rgba(0,0,0,0.45);

  z-index: 10000;
}

.dropdown-menu.show {
  display: flex;
}

.dropdown-menu a {
  padding: 14px 16px;

  border-radius: 12px;

  color: white;

  text-decoration: none;

  transition: 0.22s ease;
}

.dropdown-menu a:hover {
  background: #252525;
}

.empty-message {
  color: #888;

  font-size: 18px;

  margin-top: 30px;
}

.watch-later-btn {
  width: 48px;
  height: 48px;

  border: none;

  border-radius: 50%;

  background: rgba(255,255,255,0.12);

  color: white;

  font-size: 24px;

  cursor: pointer;

  backdrop-filter: blur(10px);

  transition: 0.22s ease;

  flex-shrink: 0;
}

.watch-later-btn:hover {
  background: white;

  color: black;

  transform: scale(1.08);
}

.remove-watch-later {
  width: 48px;
  height: 48px;

  border: none;

  border-radius: 50%;

  background: rgba(255,255,255,0.12);

  color: white;

  font-size: 20px;

  cursor: pointer;

  backdrop-filter: blur(10px);

  transition: 0.22s ease;

  flex-shrink: 0;
}

.remove-watch-later:hover {
  background: #ff4d4d;

  transform: scale(1.08);
}

.overlay-top {
  display: flex;

  justify-content: space-between;

  align-items: center;
}

.overlay-info {
  margin-top: auto;

  z-index: 3;
}

.service-alert {

  background: #8b0000;

  border-bottom: 2px solid #ff5555;

  padding: 18px 24px;

  color: white;

  text-align: center;

  font-size: 15px;

  line-height: 1.5;
}

.service-alert strong {

  display: block;

  margin-bottom: 8px;

  font-size: 18px;
}