body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #010101;
  color: #fff;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(2, 25, 41, 0.1);
  backdrop-filter: blur(6px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  font-family: 'Roboto', sans-serif;
}

.logo {
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  font-size: 28px;
  background: linear-gradient(to right, #4facfe, #00f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex-shrink: 1;

}

.nav-links li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  padding: 5px 10px;
  transition: all 0.3s ease;
  border-radius: 50px;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-links li a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: rgb(135, 157, 206);
}

.hero-slider {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  transition: left 0.6s ease;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-slide.active {
  left: 0;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 10%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.7) 90%);
  z-index: 1;
}

.hero-content {
  position: absolute;
  z-index: 2;
  max-width: 600px;
  top: 100px;
  left: 50px;
  color: #fff;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.4;
}

.movie-info {
  display: flex;
  gap: 12px;
  margin: 12px 0;
  flex-wrap: wrap;
}

.movie-info span {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
}

.watch-btn {
  position: absolute;
  bottom: 50px;
  left: 50px;
  padding: 14px 28px;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  background: linear-gradient(90deg, #8f7879, #272424);
  color: #fff;
  cursor: pointer;
  border-radius: 20px;
  z-index: 3;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  font-family: 'Roboto Slab', serif;
}

.watch-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* HERO SLIDER BUTONLARI */
.hero-slider button.prev,
.hero-slider button.next {
  position: absolute;
  top: 75%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 12px;
  z-index: 4;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.hero-slider button.prev:hover,
.hero-slider button.next:hover {
  background: rgb(135, 157, 206, 0.2);
}

.hero-slider button.prev {
  left: 20px;
}

.hero-slider button.next {
  right: 20px;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .nav-links {
    gap: 18px;
  }

  .watch-btn {
    left: 20px;
    bottom: 40px;
    padding: 12px 24px;
    font-size: 1rem;
  }
}

.category-row {
  margin: 40px 20px;
}

.category-row h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: bold;
}

#popular-slider-container {
  position: relative;
  margin-top: 20px;
  overflow: hidden;
}

#popular-slider {
  display: flex;
  gap: 10px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.movie-card {
  min-width: 150px;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  text-align: center;
}

.movie-card img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.movie-card .movie-title {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.9rem;
  padding: 4px 0;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Popüler slider sağ-sol butonları */
#popular-slider-container button.prev,
#popular-slider-container button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  z-index: 2;
  transition: background 0.3s ease;
}

#popular-slider-container button.prev:hover,
#popular-slider-container button.next:hover {
  background: rgba(0, 0, 0, 0.8);
}

#popular-slider-container button.prev {
  left: 5px;
}

#popular-slider-container button.next {
  right: 5px;
}

#popular-prev,
#popular-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  z-index: 2;
  transition: all 0.3s ease;
}

#popular-prev:hover,
#popular-next:hover {
  background: rgb(135, 157, 206, 0.2);
}

#popular-prev {
  left: 5px;
}

#popular-next {
  right: 5px;
}

.movie-overview {
  font-family: 'Roboto Slab', serif;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.movie-title {
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
}

/* CATEGORY SLIDER */
.slider-container {
  position: relative;
  margin-top: 20px;
  overflow: hidden;
}

.category-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.category-slider::-webkit-scrollbar {
  display: none;
}

.category-slider .movie-card {
  min-width: 150px;
  flex-shrink: 0;
  position: relative;
  text-align: center;
}

.slider-container button.prev,
.slider-container button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  z-index: 5;
  transition: all 0.3s ease;
}

.slider-container button.prev:hover,
.slider-container button.next:hover {
  background: rgb(135, 157, 206, 0.2);
}

.slider-container button.prev {
  left: 5px;
}

.slider-container button.next {
  right: 5px;
}

/* ========== LISTEM SLIDER ========== */
#my-list-slider-container {
  margin: 20px 0;
  position: relative;
}

#my-list-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 10px;
  padding: 10px 0;
}

#my-list-slider::-webkit-scrollbar {
  display: none;
}

#my-list-slider .movie-card {
  min-width: 150px;
  max-width: 150px;
  background-color: #1c1c1c;
  color: #fff;
  border-radius: 12px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  text-align: center;
  font-size: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#my-list-slider .movie-card img {
  width: 100%;
  display: block;
  border-bottom: 1px solid #333;
}

#my-list-slider .movie-card .movie-title {
  padding: 5px;
}

#my-list-slider .movie-card .remove-btn,
#my-list-slider .movie-card .add-list-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

#my-list-slider .movie-card .remove-btn:hover,
#my-list-slider .movie-card .add-list-btn:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

#my-list-prev,
#my-list-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
  transition: all 0.3s ease;
 
}

#my-list-prev:hover,
#my-list-next:hover {
  background: rgba(135, 157, 206, 0.2);
  transform: translateY(-50%) scale(1.1);
 
}

#my-list-prev {
  left: 5px;
}

#my-list-next {
  right: 5px;
}


.movie-card .add-btn,
.movie-card .remove-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2;

}

.movie-card .add-btn:hover,
.movie-card .remove-btn:hover {
  background: rgba(48, 123, 177, 0.6);
  transform: scale(1.2);
}

.movie-card img {
  width: 100%;
  border-radius: 5px;
}

.movie-card .movie-title {
  text-align: center;
  font-size: 14px;
  margin-top: 5px;
  color: #fff;
}

#my-list-slider .movie-card .remove-btn {
  color: #fff;
  transition: all 0.2s ease;
}

#my-list-slider .movie-card .remove-btn:hover {
  background: rgba(48, 123, 177, 0.6);
  color: #fff;
}

#searchInput,
#searchInput:focus,
#searchInput:active {
  background: rgba(0, 0, 0, 0.3) !important;
  color: #fff !important;
  outline: none;
}

#my-list-slider .movie-card .remove-btn {
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
}

#my-list-slider .movie-card .remove-btn:hover {
  background: rgba(220, 20, 60, 0.6);
  color: #fff;
  transform: scale(1.2);
}