/* General Styles */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0f0f0f;
    color: #ffffff;
  }
  
  /* Navbar */
  .navbar {
    display: flex;
    justify-content: center;
    background-color: #1a1a1a;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }
  
  .nav-item {
    font-size: 28px;
    margin: 0 20px;
    text-decoration: none;
    color: #ff6f61;
    transition: color 0.3s;
  }
  
  .nav-item:hover {
    color: #ff3b2f;
  }
  
  /* Search Container */
  .search-container {
    text-align: center;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  #search-bar {
    width: 400px;
    padding: 12px;
    border: 2px solid #ff6f61;
    border-radius: 25px;
    font-size: 16px;
    background-color: #1a1a1a;
    color: #ffffff;
    outline: none;
  }
  
  #search-button {
    padding: 10px;
    border: none;
    border-radius: 50%;
    background-color: #ff6f61;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    margin-left: 10px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }
  
  #search-button:hover {
    background-color: #ff3b2f;
  }
  
  /* Results */
  #results {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
  }
  
  .result-item {
    background-color: #1a1a1a;
    border-radius: 10px;
    width: 200px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
  }
  
  .result-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 111, 97, 0.3);
  }
  
  .result-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
  }
  
  .result-item h3 {
    margin: 15px 0;
    font-size: 18px;
    color: #ffffff;
  }
  
  /* Modal */
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
  }
  
/* Modal Styles */
.modal-content {
    background-color: #1a1a1a;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
  }
  
  .scrollable-container {
    max-height: 200px; /* Adjust height as needed */
    overflow-y: auto;
    margin: 20px 0;
    padding-right: 10px; /* Add padding to prevent scrollbar overlap */
  }
  
  .scrollable-container button {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background-color: #ff6f61;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .scrollable-container button:hover {
    
  }
  
  /* Ensure the modal is responsive */
  @media (max-width: 600px) {
    .modal-content {
      width: 90%;
      margin: 20% auto;
    }
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close:hover {
    color: #fff;
  }
  
  #site-options {
    margin: 20px 0;
  }
  
  #site-options button {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background-color: #ff6f61;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  #site-options button:hover {
    background-color: #ff3b2f;
  }
  
  #season-episode-selector {
    margin: 20px 0;
  }
  
  #season-episode-selector select {
    padding: 5px;
    margin: 5px;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    border: none;
  }
  
  #launch-button {
    padding: 10px 20px;
    background-color: #ff6f61;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  #launch-button:hover {
    background-color: #ff3b2f;
  }

/* Music Page Styles */
#recent-songs {
    margin-top: 30px;
    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 10px;
  }
  
  #recent-songs h2 {
    margin-bottom: 15px;
    font-size: 24px;
    color: #ff6f61;
  }
  
  #recent-songs-list {
    list-style: none;
    padding: 0;
  }
  
  #recent-songs-list li {
    margin: 10px 0;
    font-size: 18px;
    color: #fff;
  }
  
  #recent-songs-list li a {
    color: #ff6f61;
    text-decoration: none;
  }
  
  #recent-songs-list li a:hover {
    text-decoration: underline;
  }
  
  /* Result Item Styles */
  .result-item {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 15px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .result-item img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
  }
  
  .result-item h3 {
    margin: 0;
    font-size: 18px;
    color: #fff;
  }
  
  .result-item p {
    margin: 5px 0;
    font-size: 14px;
    color: #aaa;
  }
  
  .result-item a {
    color: #ff6f61;
    text-decoration: none;
    font-size: 14px;
  }
  
  .result-item a:hover {
    text-decoration: underline;
  }

/* Continue Watching Section */

/* Result Item Styles */
.result-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 15px;
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Continue Watching Section */




/* Scrollbar Styling */


.result-item img {
  width: 120px;
  height: 180px;
  border-radius: 10px;
  object-fit: cover;
}

.result-item h3 {
  margin: 0;
  font-size: 18px;
  color: #fff;
}

.result-item p {
  margin: 5px 0;
  font-size: 14px;
  color: #aaa;
}

.result-item button {
  background-color: #ff6f61;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
}

.result-item button:hover {
  background-color: #ff3b2f;
}

/* Popular Movies Section */


/* Popular on Netflix Section */
#popular-netflix {
    margin-top: 30px;
    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 10px;
  }
  
  #popular-netflix h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #ff6f61;
    text-align: center;
  }
  
  #popular-netflix-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  
  /* Popular TV Shows Section */
  #popular-tv-shows {
    margin-top: 30px;
    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 10px;
  }
  
  #popular-tv-shows h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #ff6f61;
    text-align: center;
  }
  
  #popular-tv-shows-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  
  /* Trending Section */
  #trending {
    margin-top: 30px;
    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 10px;
  }
  
  #trending h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #ff6f61;
    text-align: center;
  }
  
  #trending-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  
  /* New Releases Section */
  #new-releases {
    margin-top: 30px;
    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 10px;
  }
  
  #new-releases h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #ff6f61;
    text-align: center;
  }
  
  #new-releases-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  /* Games Page Styles */
#popular-games {
    margin-top: 30px;
    padding: 20px;
    border-radius: 10px;
  }
  
  #popular-games h2 {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
  }
  
  #popular-games-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  
  .popular-game-item {
    border-radius: 10px;
    padding: 15px;
    width: 180px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    flex-shrink: 0;
  }
  
  .popular-game-item:hover {
    transform: scale(1.05);
  }
  
  .popular-game-item img {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 10px;
  }
  
  .popular-game-item h3 {
    margin: 10px 0;
    font-size: 18px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .popular-game-item p {
    margin: 5px 0;
    font-size: 14px;
    color: #aaa;
  }
  
  /* Scrollbar Styling */
  #popular-games-list::-webkit-scrollbar {
    height: 8px;
  }
  
  #popular-games-list::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
  }
  
  #popular-games-list::-webkit-scrollbar-thumb {
    background: #ff6f61;
    border-radius: 10px;
  }
  
  #popular-games-list::-webkit-scrollbar-thumb:hover {
    background: #ff3b2f;
  }

/* Live TV Page Styles */
#live-tv-categories {
    margin-top: 30px;
    padding: 20px;
    border-radius: 10px;
  }
  
  #live-tv-categories h2 {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
  }
  
  #live-tv-categories h3 {
    margin-bottom: 15px;
    font-size: 20px;
  }
  
  .channel-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  
  .channel-item {
    border-radius: 10px;
    padding: 15px;
    width: 180px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    flex-shrink: 0;
  }
  
  .channel-item:hover {
    transform: scale(1.05);

  }
  
  .channel-item img {
    width: 100%;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 10px;
  }
  
  .channel-item h4 {
    margin: 10px 0;
    font-size: 16px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .channel-item p {
    margin: 5px 0;
    font-size: 14px;
  }
  
  /* Scrollbar Styling */
  .channel-list::-webkit-scrollbar {
    height: 8px;
  }
  
  .channel-list::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
  }
  
  .channel-list::-webkit-scrollbar-thumb {

    border-radius: 10px;
  }
  
  .channel-list::-webkit-scrollbar-thumb:hover {
    background: #ff3b2f;
  }

  /* Video Player Styles */
#video-player {
    margin-top: 20px;
    text-align: center;
  }
  
  #video {
    background-color: #000;
    border-radius: 10px;
  }
  
  .close-button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #ff6f61;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
  }
  
  .close-button:hover {
    
  }

  /* General styles for movie items */
.trending-movie-item,
.popular-movie-item,
.top-rated-movie-item,
.trending-tv-item {
  width: 200px;
  margin: 10px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.trending-movie-item:hover,
.popular-movie-item:hover,
.top-rated-movie-item:hover,
.trending-tv-item:hover {
  transform: scale(1.05);
}

.trending-movie-item img,
.popular-movie-item img,
.top-rated-movie-item img,
.trending-tv-item img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.trending-movie-item h3,
.popular-movie-item h3,
.top-rated-movie-item h3,
.trending-tv-item h3 {
  margin: 10px 0 5px;
  font-size: 16px;
  color: #333;
}

.trending-movie-item p,
.popular-movie-item p,
.top-rated-movie-item p,
.trending-tv-item p {
  font-size: 14px;
  color: #777;
}

/* Container styles */
#trending-movies-list,
#popular-movies-list,
#top-rated-movies-list,
#trending-tv-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}
/* Continue Watching Section */
#continue-watching {
  margin-top: 30px;
  padding: 20px;
  border-radius: 10px;
}

#continue-watching h2 {
  margin-bottom: 20px;
  font-size: 24px;
  text-align: center;
}

#continue-watching-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.continue-watching-item {

  border-radius: 10px;
  width: 200px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.continue-watching-item:hover {
  transform: scale(1.05);
}

.continue-watching-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.continue-watching-item h3 {
  margin: 15px 0;
  font-size: 18px;
  color: #ffffff;
}

.continue-watching-item p {
  margin: 5px 0;
  font-size: 14px;

}