* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #141414;
  color: white;
  overflow-x: hidden;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.netflix-logo {
  height: 25px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #e5e5e5;
  text-decoration: none;
  font-size: 14px;
}

.profile-img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
}

.menu {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
}

.hero {
  position: relative;
  height: 80vh;
  min-height: 400px;
  padding: 0 4%;
  display: flex;
  align-items: center;
  transition: background 0.5s ease;
  background: linear-gradient(to top, #141414, transparent),
    linear-gradient(to right, rgba(0, 0, 0, 0.8), transparent),
    url("/api/placeholder/1920/1080") center/cover;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-content {
  max-width: 600px;
  margin-top: 60px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.hero-title {
  font-size: clamp(2em, 5vw, 3em);
  margin-bottom: 20px;
}

.hero-description {
  font-size: clamp(1em, 2vw, 1.2em);
  margin-bottom: 20px;
  color: #e5e5e5;
}

.hero-buttons {
  display: flex;
  gap: 10px;
}

.btn {
  padding: clamp(8px, 2vw, 10px) clamp(16px, 3vw, 20px);
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  font-size: clamp(0.9em, 1.5vw, 1.1em);
}

.btn-play {
  background-color: white;
  color: black;
}

.btn-more {
  background-color: rgba(109, 109, 110, 0.7);
  color: white;
}

.content-row {
  width: 100%;
  position: relative;
  padding: 20px 0;
}

.row-header {
  padding: 20px 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.row-title {
  font-size: clamp(1.2em, 2.5vw, 1.5em);
}

.slider-container {
  position: relative;
  width: 100%;
}

.thumbnails {
  display: flex;
  gap: 10px;
  padding: 20px 4%;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.thumbnails::-webkit-scrollbar {
  display: none;
}

.thumbnail {
  flex: 0 0 auto;
  width: clamp(140px, 25vw, 200px);
  aspect-ratio: 2/3;
  border-radius: 4px;
  transition: transform 0.3s;
  cursor: pointer;
  object-fit: cover;
}

.thumbnail:hover {
  transform: scale(1.05);
}

.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.slider-button:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.7);
}

.slider-button.prev {
  left: 0;
}

.slider-button.next {
  right: 0;
}

.slider-button::after {
  content: "";
  width: 15px;
  height: 15px;
  border-top: 3px solid white;
  border-right: 3px solid white;
}

.slider-button.prev::after {
  transform: rotate(-135deg);
  margin-left: 8px;
}

.slider-button.next::after {
  transform: rotate(45deg);
  margin-right: 8px;
}

.fade {
  opacity: 0;
}
/* Music Player */
.music-player {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: white;
  padding: 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.music-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #d4667c;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    padding: 20px;
    transition: 0.3s ease-in-out;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    font-size: 18px;
    padding: 15px 0;
  }

  .menu {
    display: block;
    cursor: pointer;
  }

  .thumbnails {
    padding: 20px 20px;
  }

  .slider-button {
    width: 40px;
  }
}
