* { margin: 0; padding: 0; box-sizing: border-box; }
    body {
  font-family: Arial, sans-serif;
  background-color: #000; /* pure black */
  /* Or use #111 for softer black */
  background-image: none; /* make sure image is removed */
  color: #fff;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: #222;
  flex-wrap: wrap;
  background: transparent;
}

.navbar img {
  height: 80px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Search bar default */
.search-bar {
  padding: 10px 15px;
  border-radius: 30px;
  border: 1px solid #555;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 14px;
  width: 100%;
  max-width: 250px;
  transition: all 0.3s ease;
}

.search-bar::placeholder {
  color: #ccc;
}

.search-bar:focus {
  outline: none;
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.2);
}
.search-button {
  margin-top: 10px;
  padding: 10px 16px;
  background: #e50914;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulseGlow 1.5s ease-in-out infinite;
}

.search-button:hover {
  background: #b00610;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.3);
}

.banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  height: 50vh;
  background-size: cover;
  background-position: center;
}

.banner-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
  border-radius: 10px;
  max-width: 90%;
}

#banner-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 5px;
}

#banner-rating {
  color: gold;
  margin-bottom: 5px;
  font-weight: 500;
}

#banner-genre {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 5px;
}

#banner-plot {
  font-size: 13px;
  color: #ddd;
  line-height: 1.4;
}

#watch-now-btn {
  margin-top: 10px;
  padding: 10px 16px;
  background: #e50914;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.3s ease;
}

#watch-now-btn:hover {
  background: #b00610;
}

    .row {
      margin: 20px;
    }

    .row h2 {
      margin-bottom: 10px;
    }

    .list {
      display: flex;
      overflow-x: auto;
    }

    .list img {
      width: 150px;
      margin-right: 10px;
      cursor: pointer;
      border-radius: 5px;
      transition: transform 0.3s ease, filter 0.3s ease;
    }

    .list img:hover {
      transform: scale(1.05);
      filter: brightness(1.2);
      z-index: 2;
    }

    .modal {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.8);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 10;
    }

    .modal-content {
      background: #222;
      padding: 20px;
      width: 100%;
      max-width: 800px;
      max-height: 90vh;
      overflow-y: auto;
      position: relative;
      text-align: center;
      border-radius: 10px;
    }

    .modal-body {
      display: flex;
      align-items: flex-start;
      gap: 20px;
      margin-bottom: 20px;
    }

    .modal-body img {
      width: 30%;
      border-radius: 5px;
    }

    .modal-text {
      flex: 1;
      text-align: left;
    }

    .modal img {
      width: 25%;
      border-radius: 5px;
    }

    .stars { color: gold; }
    .close {
      position: absolute;
      top: 10px; right: 20px;
      cursor: pointer;
      font-size: 24px;
    }

    .server-selector {
      margin: 15px 0;
      text-align: left;
    }


    .search-modal {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.9);
      display: none;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      z-index: 15;
    }

    .search-modal input {
      width: 300px;
      padding: 10px;
      border-radius: 5px;
      border: none;
      margin-bottom: 20px;
    }

    .search-modal .results {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
    }

    .search-modal img {
      width: 120px;
      border-radius: 5px;
      cursor: pointer;
    }

    .search-modal .close {
      position: absolute;
      top: 20px;
      right: 30px;
      font-size: 30px;
    }

/* MOBILE DISPLAY START */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .navbar img {
    margin-bottom: 0px;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .search-bar {
    width: 90%;
    max-width: 500px;
  }

  .banner {
      height: 30vh;
  }
    
  .modal-body {
    align-items: center;
  }

  .modal-body img {
    width: 40%;
  }

  .modal-text {
    text-align: center;
  }

  .list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .list img {
    width: 120px;
  }

  .search-modal input {
    margin-top: 50px;
    width: 90%;
  }

  .search-modal .results {
    justify-content: center;
    grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .banner h1 {
    font-size: 20px;
    padding: 5px;
  }

  .row h2 {
    font-size: 18px;
  }

  .modal-content {
    width: 95%;
    padding: 15px;
  }

  .modal-body img {
    width: 40%;
  }

  .search-modal .close {
    font-size: 24px;
    top: 10px;
    right: 20px;
  }
}
/* MOBILE DISPLAY END */

.footer {
  background: transparent;
  color: #ccc;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-links a {
  color: red;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .footer-content {
    font-size: 14px;
  }

  .footer-links {
    flex-direction: row;
    gap: 8px;
  }
}
/* Animated logo */
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.site-logo-img {
  animation: fadeInScale 1.5s ease-in-out forwards;
}

.site-logo-img {
  height: 50px;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(229, 9, 20, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.6);
  }
}