* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Manrope", serif;
  background-color: #141414;
  color: white;
}

html {
  scroll-behavior: smooth;
}

/*! Header Section */
header {
  background-color: transparent;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  padding: 1.5rem 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
}

.logo:hover {
  cursor: pointer;
}

.nav-links {
  gap: 2.5rem;
  display: flex;
  background-color: black;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(131, 126, 126, 0.5);
}

.nav-links a {
  color: aliceblue;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s;
  border-radius: 6px;
}

.nav-links a:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-icons {
  display: flex;
  gap: 1.5rem;
}

.icon-btn {
  background: none;
  border: none;
  color: aliceblue;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.3s;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.icon-btn:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.hamburger {
  background: none;
  border: none;
  color: aliceblue;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.3s;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  display: none;
}

.hamburger:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

/*! Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  padding: 0;
  overflow: hidden;
  margin-top: 115px;
  background-image: url("./images/Container.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5rem;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.9) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  text-align: center;
  padding-top: 0;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  color: #999;
  font-size: 1.1rem;
  max-width: 1080px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.start-watching-div{
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.start-watching {
  background-color: #e50000;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto;
}

.start-watching:hover {
  background-color: #6e0505;
}

.start-watching-right{
    display: flex;
    gap: 20px;
}

.start-watching-right img{
    background-color: black;
    border-radius: 10px;
    padding: 10px;
}

/*! Categories Section */
.categories {
  width: 80%;
  margin: 0 auto;
  padding: 4rem;
  background-color: #141414;
}

.categories-header {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.categories-header h2 {
  font-size: 30px;
  font-weight: 600;
  color: white;
}

.categories-header p {
  color: #999;
  font-size: 1rem;
  padding-bottom: 1rem;
}

.categories-navigation {
  position: relative;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: black;
  padding: 10px;
  border-radius: 10px;
}

.categories-navigation-hero {
  position: relative;
  right: 0;
  top: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 1450px;
  padding: 10px;
  border-radius: 10px;
}

.nav-btn {
  width: 40px;
  height: 40px;
  border: none;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.nav-indicator {
  display: flex;
  gap: 0.5rem;
}

.indicator {
  width: 24px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.indicator.active {
  background-color: #e50000;
}

.category-grid1 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.category-grid2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.category-grid3 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.category-grid4 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.category-grid5 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.category-grid6 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.category-grid7 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.category-grid8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.category-grid9 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.category-grid10 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}


.category-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s;
}

.category-card:hover {
  transform: translateY(-5px);
}

.movie-poster1 {
  padding: 30px 30px 0px 30px;
}

.movie-poster1 img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.movie-poster2 {
  padding: 30px 30px 0px 30px;
}

.movie-poster2 img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.movie-poster3 {
  padding: 10px 10px 0px 10px;
}

.movie-poster3 img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.movie-poster4 {
  padding: 10px 10px 0px 10px;
}

.movie-poster4 img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.movie-poster5 {
  padding: 10px 10px 0px 10px;
}

.movie-poster5 img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

.movie-poster6 {
  padding: 30px 30px 0px 30px;
}

.movie-poster6 img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.movie-poster7 {
  padding: 30px 30px 0px 30px;
}

.movie-poster7 img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.movie-poster8 {
  padding: 10px 10px 0px 10px;
}

.movie-poster8 img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

.movie-poster9 {
  padding: 10px 10px 0px 10px;
}

.movie-poster9 img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

.movie-poster10 {
  padding: 10px 10px 0px 10px;
}

.movie-poster10 img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

.top-btn{
    padding: 8px 12px;
    border-radius: 5px;
    background-color: #e50000;
    color: white;
    border: none;
    margin-left: 30px;
}

.category-title { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 0px 30px 30px 30px; 
  gap: 30px; 
}

.category-title2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 30px 30px 15px;
  height: 50px;
}

.category-title3 {
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding: 0px 30px 30px 15px; */
  height: 50px;
}

.category-title3 p{
  font-size: 12px;
  padding: 5px 15px;
  border-radius: 20px;
  background-color: #141414;
}

.category-title4 { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 0px 10px 30px 10px; 
  gap: 0px; 
}

.left-clock-icon{
  display: flex;
  align-items: center;
  gap: 5px;
  margin-right: 23px;
  margin-top: 15px;
  background-color: #141414;
  color: rgb(155, 149, 149);
  padding: 5px;
  border-radius: 20px;
}

.right-eye-icon{
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 15px;
  background-color: #141414;
  color: rgb(155, 149, 149);
  padding: 5px;
  border-radius: 20px;
}

.left-clock-icon2{
  display: flex;
  align-items: center;
  gap: 5px;
  /* margin-right: px; */
  margin-top: 15px;
  background-color: #141414;
  color: rgb(155, 149, 149);
  padding: 5px;
  border-radius: 20px;
}

.left-clock-icon2 img{
  width: 15px;
}

.right-eye-icon2{
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 15px;
  background-color: #141414;
  color: rgb(155, 149, 149);
  padding: 5px;
  border-radius: 20px;
}

.right-eye-icon2 img{
  width: 15px;
}

.icon{
  font-size: 10px;
}

.clock-icon,
.eye-icon {
  width: 16px;
  height: 16px;
}

.icon-text{
  font-size: 15px;
  white-space: nowrap;
}



/*! Free Trail Section */
.free-trail {
  width: 74%;
  margin: 0 auto;
  padding: 4rem;
  background-image: url("./images/last.png");
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(131, 126, 126, 0.1);
}

.free-trail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 100%);
}

.trial-content {
  position: relative;
  z-index: 2;
  /* max-width: 600px; */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 200px;
}

.trial-p-div h2 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.trial-p-div p {
  color: #999;
  font-size: 13px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.trail-btn {
  background-color: #e50000;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.trail-btn:hover {
  background-color: #6e0505;
}

/*! Footer Section */
footer {
  background-color: black;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  width: 74%;
  margin: 0 auto;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-bottom: 1.5rem;
}

.footer-col a {
  display: block;
  color: #999;
  text-decoration: none;
  margin-bottom: 1rem;
  font-size: 14px;
}

.footer-col a:hover {
  color: white;
}

.social-link {
  display: flex;
  gap: 1rem;
}

.social-link a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.social-link a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: #999;
  text-decoration: none;
  font-size: 14px;
}

.footer-legal a:hover {
  color: white;
}

/*! Responsive Code */

/* Large screens (up to 1200px) */
@media (max-width: 1200px) {
  header {
    padding: 1.5rem 2rem;
  }

  .categories {
    width: 90%;
    padding: 3rem 2rem;
  }

  .categories-navigation-hero {
    width: 100%;
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    max-width: 800px;
    font-size: 1rem;
  }

  .start-watching-div {
    gap: 20px;
  }

  .category-grid1, .category-grid3, .category-grid4, .category-grid6 {
    grid-template-columns: repeat(4, 1fr);
  }

  .category-grid2, .category-grid5, .category-grid7, .category-grid8, .category-grid9, .category-grid10 {
    grid-template-columns: repeat(3, 1fr);
  }

  .movie-poster1 img, .movie-poster6 img {
    height: 140px;
  }

  .movie-poster2 img, .movie-poster3 img, .movie-poster4 img, .movie-poster7 img {
    height: 180px;
  }

  .movie-poster5 img, .movie-poster8 img, .movie-poster9 img, .movie-poster10 img {
    height: 250px;
  }

  .free-trail {
    width: 90%;
    padding: 3rem;
  }

  .trial-content {
    gap: 100px;
  }

  .footer-content {
    width: 90%;
  }

  .footer-links {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Medium screens (up to 768px, tablets) */
@media (max-width: 768px) {
  header {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    gap: 1rem;
    padding: 10px;
  }

  .nav-links a {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .logo img {
    height: 40px;
  }

  .hero {
    margin-top: 80px;
    padding-bottom: 3rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 0.9rem;
    max-width: 600px;
  }

  .start-watching-div {
    flex-direction: column;
    gap: 15px;
  }

  .start-watching {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .start-watching-right {
    gap: 15px;
  }

  .start-watching-right img {
    width: 40px;
    padding: 8px;
  }

  .categories {
    width: 95%;
    padding: 2rem 1rem;
  }

  .categories-header h2 {
    font-size: 24px;
  }

  .categories-navigation {
    gap: 0.5rem;
    padding: 8px;
  }

  .categories-navigation-hero {
    top: 30px;
    gap: 0.5rem;
    padding: 8px;
  }

  .nav-btn {
    width: 35px;
    height: 35px;
  }

  .indicator {
    width: 20px;
  }

  .category-grid1, .category-grid3, .category-grid4, .category-grid6 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .category-grid2, .category-grid5, .category-grid7, .category-grid8, .category-grid9, .category-grid10 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .movie-poster1, .movie-poster2, .movie-poster3, .movie-poster4, .movie-poster5,
  .movie-poster6, .movie-poster7, .movie-poster8, .movie-poster9, .movie-poster10 {
    padding: 15px 15px 0 15px;
  }

  .movie-poster1 img, .movie-poster6 img {
    height: 120px;
  }

  .movie-poster2 img, .movie-poster3 img, .movie-poster4 img, .movie-poster7 img {
    height: 160px;
  }

  .movie-poster5 img, .movie-poster8 img, .movie-poster9 img, .movie-poster10 img {
    height: 200px;
  }

  .category-title {
    padding: 0 15px 15px 15px;
    gap: 15px;
  }

  .category-title2 {
    padding: 0 15px 15px 10px;
  }

  .category-title4 {
    padding: 0 5px 15px 5px;
  }

  .top-btn {
    margin-left: 15px;
    padding: 6px 10px;
    font-size: 0.9rem;
  }

  .icon-text {
    font-size: 13px;
  }

  .free-trail {
    width: 95%;
    padding: 2rem;
  }

  .trial-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .trial-p-div h2 {
    font-size: 24px;
  }

  .trial-p-div p {
    font-size: 12px;
  }

  .trail-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .footer-content {
    width: 95%;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .footer-col h3 {
    font-size: 16px;
  }

  .footer-col a {
    font-size: 13px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-legal {
    gap: 1rem;
  }
}

/* Small screens (up to 480px, mobile) */
@media (max-width: 480px) {
  header {
    padding: 1rem 1rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: black;
    padding: 1rem;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    gap: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 0.5rem;
    text-align: center;
  }

  .logo img {
    height: 35px;
    margin-left: -10px;
  }

  .nav-icons {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    margin-top: 70px;
    padding-bottom: 2rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 0.8rem;
    max-width: 100%;
  }

  .start-watching-div {
    flex-direction: column;
    gap: 10px;
  }

  .start-watching {
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
  }

  .start-watching-right {
    gap: 10px;
  }

  .start-watching-right img {
    width: 35px;
    padding: 6px;
  }

  .categories-navigation-hero {
    top: 20px;
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
  }

  .categories {
    width: 100%;
    padding: 2rem 1rem;
  }

  .categories-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .categories-header h2 {
    font-size: 20px;
  }

  .categories-navigation {
    display: flex;
    width: 100%;
    justify-content: flex-end;
  }

  .category-grid1, .category-grid3, .category-grid4, .category-grid6 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .category-grid2, .category-grid5, .category-grid7, .category-grid8, .category-grid9, .category-grid10 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .movie-poster1, .movie-poster2, .movie-poster3, .movie-poster4, .movie-poster5,
  .movie-poster6, .movie-poster7, .movie-poster8, .movie-poster9, .movie-poster10 {
    padding: 10px 10px 0 10px;
  }

  .movie-poster1 img, .movie-poster2 img, .movie-poster3 img, .movie-poster4 img,
  .movie-poster5 img, .movie-poster6 img, .movie-poster7 img, .movie-poster8 img,
  .movie-poster9 img, .movie-poster10 img {
    height: auto;
    aspect-ratio: 16/9; /* Maintain aspect ratio */
  }

  .category-title {
    padding: 0 10px 10px 10px;
    gap: 10px;
  }

  .category-title h3 {
    font-size: 1rem;
  }

  .category-title2 {
    padding: 0 10px 10px 5px;
    height: auto;
  }

  .category-title3 p {
    font-size: 10px;
    padding: 4px 10px;
  }

  .category-title4 {
    padding: 0 5px 10px 5px;
  }

  .left-clock-icon, .right-eye-icon, .left-clock-icon2, .right-eye-icon2 {
    margin-top: 10px;
    padding: 4px;
    font-size: 12px;
  }

  .icon-text {
    font-size: 12px;
  }

  .clock-icon, .eye-icon {
    width: 14px;
    height: 14px;
  }

  .top-btn {
    margin-left: 10px;
    padding: 5px 8px;
    font-size: 0.8rem;
  }

  .free-trail {
    width: 100%;
    padding: 2rem 1rem;
  }

  .trial-content {
    flex-direction: column;
    gap: 15px;
  }

  .trial-p-div h2 {
    font-size: 20px;
  }

  .trial-p-div p {
    font-size: 11px;
  }

  .trail-btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .footer-content {
    width: 100%;
    padding: 0 1rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .footer-col h3 {
    font-size: 14px;
    margin-bottom: 1rem;
  }

  .footer-col a {
    font-size: 12px;
    margin-bottom: 0.5rem;
  }

  .social-link a {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 12px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-legal a {
    font-size: 12px;
  }
}