* {
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: Arial, sans-serif;
  overflow: auto;
  background-color: #0a0a0a; 
  background-image: radial-gradient(
    ellipse 80% 80% at 50% -20%,
    rgba(120, 119, 198, 0.3),
    rgba(255, 255, 255, 0)
  );
  scroll-behavior: smooth;
  scrollbar-width: none; 
  -ms-overflow-style: none; 
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none; 
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 98vw;
  background-color: #101010;
  border-bottom: 2.5px solid rgba(255, 255, 255, 0.316);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  padding: 1vh 1vw;
  z-index: 1000;
}

.login{
  background-color: #ff0055;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
}

.logo img {
  margin-top: 4px;
  width: 7vw;
  min-width: 80px;
}

.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

.nav-links {
  display: flex;
  gap: 1vw;
  align-items: center;
}

.nav-links a,
.nav-links .item {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
  transition: background 0.3s, color 0.3s;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: #101010;
    display: none;
    padding: 1rem;
  }

  .nav-links a,
  .nav-links .item {
    padding: 0.75rem 1rem;
    width: 100%;
  }

  .login{
    border-radius: 0;
  }

  .menu-toggle:checked + .hamburger + .nav-links {
    display: flex;
  }
}

.intro {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.intro-left {
  flex: 1 1;
  padding: 20px;
  max-width: 600px;
}

.intro-left h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 15px;
  word-wrap: break-word;
}

.intro-left p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #d1d1d1;
}

.intro-left a {
  text-decoration: none;
  background-color: #ff0055;
  color: white;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
  display: inline-block;
}

.intro-left a:hover {
  background-color: #ff3366;
}

.icon {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 500px;
  width: 100%;
  box-sizing: border-box;
}

.icon lord-icon {
  width: 100%;
  max-width: 400px;
  height: auto;
}

@media (max-width: 768px) {
  .intro {
    flex-direction: column;
    padding: 20px;
    padding-bottom: 5px;
    gap: 40px;
    text-align: center;
  }

  .intro-left h1 {
    font-size: 2.2rem;
  }

  .intro-left p {
    font-size: 1rem;
  }

  .intro-left a {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .icon lord-icon {
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .intro-left h1 {
    font-size: 1.8rem;
  }

  .intro-left p {
    font-size: 0.95rem;
  }

  .icon{
    padding: 0;
  }

  .icon lord-icon {
    max-width: 240px;
  }
}


/* Trending Movies  */
.trending-section {
  padding: 30px 40px;
}

.trending-section h2 {
  font-size: 2.5rem;
  color: #ff0055;
}

.trending-section p {
  font-size: 1.2rem;
  color: #d1d1d1;
  margin-bottom: 40px;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.card {
  background-color: #1f1f1f;
  border-radius: 10px;
  overflow: hidden;
  width: 260px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: transform 0.3s;
}

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

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.card-content {
  padding: 15px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #ffffff;
}

.card p {
  font-size: 0.95rem;
  color: #b3b3b3;
}

.duration {
  position: absolute;
  bottom: 10px;
  right: 15px;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 0.85rem;
  color: white;
}

.watch-now-btn {
  position: absolute;
  bottom: 10px;
  left: 15px;
  padding: 6px 12px;
  font-size: 0.85rem;
  background-color: #ff0055;
  color: white;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover .watch-now-btn {
  opacity: 1;
}

.watchlist-container {
  position: absolute;
  top: 10px;
  right: 10px;
}

.watchlist-checkbox {
  display: none;
}

.watchlist-label {
  display: inline-block;
  background-color: #222;
  color: white;
  border-radius: 5px;
  padding: 6px 10px;
  font-size: 1rem;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
}

.watchlist-checkbox:checked + .watchlist-label {
  background-color: #ff0055;
  color: white;
}

.watchlist-checkbox:checked + .watchlist-label::after {
  content: "✓";
}

.watchlist-label::after {
  content: "+";
}

@media (max-width: 600px) {
  .cards-container {
    width: 95%;
  }
}



/* Popular section */
.popular-shows {
  padding: 60px 40px;
}

.popular-shows h2 {
  font-size: 2.5rem;
  color: #ff0055;
  margin-bottom: 10px;
}

.popular-shows .subtitle {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 40px;
}

.show-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.show-card {
  background-color: #1f1f1f;
  border-radius: 10px;
  overflow: hidden;
  width: 260px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: transform 0.3s;
}

.show-card:hover {
  transform: scale(1.03);
}

.show-card img {
  width: 100%;
  object-fit: cover;
  height: 200px;
}

.show-content {
  padding: 15px;
  text-align: left;
}

.show-content h3 {
  color: white;
  margin-bottom: 5px;
}

.show-content p {
  font-size: 0.9rem;
  margin: 5px 0;
  color: #ddd;
}

.learn-more {
  display: inline-block;
  margin-top: 10px;
  color: #00aaff;
  cursor: pointer;
  text-decoration: underline;
  background-color: #ff0055;
  text-decoration: none;
  padding: 5px 10px;
  color: white;
  font-weight: bold;
  border-radius: 5px;
}


.modal-toggle {
  display: none;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
}

.modal-content {
  background-color: #222;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  color: #fff;
  position: relative;
  text-align: left;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-content h3 {
  margin-top: 0;
  margin-bottom: 5px;
  color: #ff0055;
}

.modal-content .watch-now {
  display: inline-block;
  margin-top: 15px;
  background-color: #ff0055;
  padding: 10px 20px;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.modal-content .watch-now:hover {
  background-color: #e60048;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #aaa;
  transition: color 0.2s;
}

.close-btn:hover {
  color: white;
}


.modal-toggle:checked + .modal {
  display: flex;
}


@media screen and (max-width: 600px) {
  .show-card {
    width: 90%;
  }
}

/* User Reviews  */
.user-reviews {
  padding: 60px 20px;
  text-align: center;
}

.user-reviews h2 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #ff0055;
}

.user-reviews .subtitle {
  font-size: 18px;
  color: #cccccc;
  margin-bottom: 40px;
}

.reviews-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.review-cards {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-card {
  display: flex;
  align-items: flex-start;
  background: #1e1e1e;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
  text-align: left;
}

.review-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 20px;
  object-fit: cover;
  border: 2px solid #333;
}

.review-content h3 {
  margin-bottom: 8px;
  font-size: 18px;
  color: #ffffff;
}

.review-content p {
  font-size: 16px;
  color: #cccccc;
}

.review-form {
  flex: 1;
  min-width: 280px;
  background: #1e1e1e;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
  text-align: left;
}

.review-form h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #ffffff;
}

.review-form label {
  display: block;
  font-weight: 600;
  margin: 15px 0 5px;
  color: #dddddd;
}

.review-form input,
.review-form textarea {
  width: 100%;
  padding: 10px;
  background-color: #2a2a2a;
  border: 1px solid #444;
  border-radius: 6px;
  font-size: 16px;
  color: #fff;
}

.review-form input:focus,
.review-form textarea:focus {
  outline: none;
  border-color: #ff4757;
}

.review-form button {
  margin-top: 20px;
  padding: 12px 25px;
  background-color: #ff4757;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.review-form button:hover {
  background-color: #e84118;
}

@media (max-width: 768px) {
  .reviews-container {
    flex-direction: column;
  }
}

/* Footer  */
footer {
      background-color: #0a0a0a;
      padding: 20px 20px;
      text-align: center;
      border-top: 2.5px solid rgba(255, 255, 255, 0.316);
    }

    .footer-logo {
      font-size: 24px;
      margin-bottom: 5px;
      font-weight: bold;
      color: #ffffff;
    }

    .footer-socials a {
      margin: 0 10px;
      color: #cccccc;
      font-size: 22px;
      transition: color 0.3s ease;
    }

    .footer-socials a:hover {
      color: #ff4757;
    }

    .footer-links {
      margin-top: 10px;
    }

    .footer-links a {
      color: #999;
      text-decoration: none;
      font-size: 15px;
    }

    .footer-links a:hover {
      text-decoration: underline;
    }

    .back-to-top {
      display: inline-block;
      margin-top: 20px;
      background-color: #ff4757;
      color: white;
      padding: 10px 20px;
      border-radius: 30px;
      font-size: 14px;
      text-decoration: none;
      transition: background 0.3s;
    }

    .back-to-top:hover {
      background-color: #e84118;
    }

    .term{
      padding-right: 10px;
      margin-right: 5px;
      border-right: 2px solid white;
    }

    .credit{
      margin-top: 10px;
      color: rgba(255, 255, 255, 0.551);
    }