@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
        a {
    text-decoration: none;
}
a {
    color: inherit; /* Makes the link use the parent's text color */
}
span{
  margin-top:-10px;
  font-size: 0.7em;
}
.rate-logo img{
    margin-bottom: -20px;
    margin-right: 10px;
    gap: 20px;
    max-height: 70px;
}
/* Slider Container */
.slider-container {
    width: 55%;
    max-width: 1200px;
    margin: auto;
    position: relative;
    overflow: hidden;
}

/* Slider */
.slider {
    position: relative;
    width: 100%;
    height: 500px;
}

/* Slides */
.slide {
    display: none;
    width: 100%;
    height: 500px;
    position: absolute;
    animation: fadeEffect 1.0s ease-in-out;
}

/* Ensure Images Scale Properly */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* Ensures the image covers the entire slide without distortion */
}

/* Overlay */
.overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 100%;
    padding: 15px;
    text-align: center;
}

/* Navigation Arrows */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    transition: 0.3s;
}

.prev:hover, .next:hover {
    background-color: rgba(255, 255, 255, 0.5);
    color: black;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Dots */
.dots-container {
    text-align: center;
    position: absolute;
    bottom: 15px;
    width: 100%;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
    cursor: pointer;
}
.dot.active {
    background-color: gold;
}
/* Smooth Animation */
@keyframes fadeEffect {
    from {opacity: 0.5;}
    to {opacity: 1;}
}

/* RESPONSIVENESS */
@media screen and (max-width: 768px) {
    .slider-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    position: relative;
    overflow: hidden;
}
    .slider {
        height: 320px;
    }

    .slide {
        height: 320px;
    }

    .prev, .next {
        padding: 10px;
        font-size: 18px;
    }

    .dot {
        height: 10px;
        width: 10px;
    }
}

        body {
            margin: 0;
            padding: 0;
            font-family: Poppins, sans-serif;
            background:  no-repeat center center/cover;
            backdrop-filter: blur(20px);
            color: white;
            /*background-image: url('../images/background1.jpg');*/
        }
       .container {
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 15px;
            width: 85%;
            padding: 20px;
            max-width: 90%;
            margin-left: auto;
            margin-right: 20px;
        }
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 30px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        }
        .logo img {
            max-height: 80px;
        }
        .search-bar input {
            padding: 10px;
            border-radius: 25px;
            border: none;
            width: 400px;
            font-size: 14px;
            outline: none;
        }
        nav ul {
            list-style: none;
            display: flex;
            gap: 43px;
        }
        nav ul li a {
            color: white;
            text-decoration: none;
            font-weight: 580;
            transition: color 0.3s;
        }
        nav ul li a:hover {
            color: gold;
        }
         .toggle-menu {
            display:none;
            }
         .close-menu {
            display: none;
        }
         .trending-news {
            background: rgba(255, 215, 0, 0.2);
            padding: 10px;
            font-weight: bold;
            text-align: center;
            color: white;
            border-radius: 8px;
            box-shadow: 0px 4px 8px rgba(255, 215, 0, 0.2);
            backdrop-filter: blur(5px);
        }
        .main-content {
            display: flex;
            flex-wrap: wrap; /* Ensures content can wrap below */
            justify-content: space-between; /* Distributes space */
            align-items: flex-start; /* Aligns items at the top */
            padding: 20px;
            max-width: 100%;
            margin-left: 10px;
            margin-right: 20px;
        }
            .stars {
            color: gold;
            font-size: 1em;
            margin-top: 3px;

        }
        .stars-movie {
            color: gold;
            font-size: 1em;

        }
        .top-rated {
            width: 40%;
            padding: 25px;
            border-radius: 10px;
        }
        .top-rated h3 {
            text-align: center;
            font-size: 1.5em;
            color: gold;
            margin-bottom: 15px;
        }
        .top-rated ul {
            list-style: none;
            padding: 0;
        }
        .top-rated ul li {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(255, 255, 255, 0.1);
            padding: 12px;
            margin: 5px 0;
            border-radius: 8px;
            transition: transform 0.3s, background 0.3s;
        }
        .top-rated ul li:hover {
            background: rgba(255, 215, 0, 0.2);
            transform: scale(1.02);
        }
        .rating {
            background: gold;
            color: black;
            padding: 5px 12px;
            border-radius: 20px;
            font-weight: bold;
        }
        .latest-movie {
            text-align: left;
            padding: 2px;
        }
          @media (max-width: 768px) {
             header {
                flex-direction: column;
                text-align: center;
            }
            .search-bar input {
                width: 100%;
                max-width: 300px;
                margin-top: 10px;
            }

            nav {
                position: fixed;
                left: -220px;
                top: 0;
                width: 220px;
                z-index: 10;
                background: rgba(40, 40, 40, 0.8);
                padding-top: 60px;
                transition: left 0.3s ease-in-out;
            }
            nav.active {
                left: 0;
            }
            nav ul {
                display: flex;
                flex-direction: column;
                gap: 15px;
                text-align: left;
                padding: 20px;
            }
            nav ul li a {
                display: block;
                padding: 10px;
                background: rgba(255, 215, 0, 0.2);
                border-radius: 5px;
                text-align: center;
                transition: background 0.3s ease-in-out;
            }
            nav ul li a:hover {
                color: black;
            }
            .toggle-menu {
                display: block;
                background: none;
                border: none;
                color: white;
                font-size: 1.2rem;
                cursor: pointer;
                position: absolute;
                top: 15px;
                left: 15px;
            }
            .close-menu {
                display: block;
                background: none;
                border: none;
                color: red;
                font-size: 1.2rem;
                cursor: pointer;
                position: absolute;
                top: 15px;
                right: 15px;
            }

            .main-content {
                flex-direction: column;
                align-items: center;
            }

            .carousel, .top-rated {
                width: 100%;
            }
        }

       .vides-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Fixed 5 columns for larger screens */
    gap: 25px;
    text-align: center;
}

.vide {
    width: 200px; /* Adjust width */
    height: 300px; /* Adjust height */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.vide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


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

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: gold;
    border: none;
    padding: 10px 15px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.vide:hover .play-button {
    opacity: 1;
}

.vide p {
    bottom: -2px;
    color: gold;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 10px;
    font-size: 14px;
    color: #fff;
}

.heart-button {
    margin-top: -14px;
    margin-bottom: 12px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: red;
    border: none;
    padding: 10px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.2);
}

.heart-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.heart-button:active {
    transform: scale(0.9);
}

.heart-button.liked {
    color: red;
    background: rgba(255, 0, 0, 0.2);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    transform: scale(1.15);
}

.share-button {
    position: relative;
    bottom: 36px;
    right: 54px;
    background: rgba(255, 215, 0, 0.8); /* Gold color for visibility */
    color: black;
    border: none;
    padding: 8px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(255, 215, 0, 0.5);
}

.share-button:hover {
    background: gold;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.share-button:active {
    transform: scale(0.9);
}

.share-button.shared {
    background: rgba(30, 144, 255, 0.9); /* Dodger blue when shared */
    color: white;
    box-shadow: 0 0 10px rgba(30, 144, 255, 0.8);
    transform: scale(1.1);
}

/* Responsive Design with Media Queries */

/* Medium screens (Tablets and small devices) */
@media (max-width: 1024px) {
    .vides-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on medium screens */
    }

    .vide {
        width: 100%; /* Full width for each item */
        height: auto; /* Let the height adjust based on content */
    }
}

/* Small screens (Mobile devices) */
@media (max-width: 600px) {
    .vides-grid {
        grid-template-columns: 1fr; /* 1 column on small screens */
    }

    .vide {
        width: 100%; /* Full width */
        height: auto; /* Adjust height */
    }

    .play-button {
        font-size: 1.2rem; /* Smaller play button on mobile */
        padding: 8px 12px;
    }

    .heart-button, .share-button {
        font-size: 1.2rem; /* Smaller buttons on mobile */
        padding: 8px;
    }

    .home-movie-rating {
        font-size: 12px; /* Adjust font size for rating */
    }
}


/* Movies Section */
.movies {
    padding: 40px;
}

/* Movies Header */
.movies-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.movies-header h2 {
    font-size: 24px;
    color: #fff;
}

.movies-header a {
    text-decoration: none;
    color: #e5a00d;
    font-size: 16px;
    font-weight: bold;
}

/* Movies Grid */
.movies-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Fixed 6 columns */
    gap: 25px;
    text-align: center;
}

/* Movie Item */
.movie {
    min-height: 180px; /* Ensures empty slots have a fixed height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Movie Image */
.movie img {
    width: 170px;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
    height: 235px;
    margin-top: 45px;
}

/* Movie Title */
.movie p {
    margin-top: 1px;
    font-size: 14px;
    color: #fff;
}

/* Hover Effect */
.movie img:hover {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .movies-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for medium screens */
    }
}

@media (max-width: 768px) {
    .movies {
        padding: 20px;
    }

    .movies-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 480px) {
    .movies-grid {
        grid-template-columns: repeat(1, 1fr); /* 1 column for mobile */
    }
}

/*messages page */
.messages-section {
    max-width: 700px;
    margin: 50px auto;
    padding: 0 20px;
  }
  .message-form {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    padding: 20px;
    margin-bottom: 40px;
  }

  .message-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
    color: #4F46E5;
  }

  .message-form textarea {
    width: 94%;
    padding: 15px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 1rem;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
  }

  .message-form textarea:focus {
    outline: none;
    border-color: #4F46E5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
  }

  .message-form button {
    margin-top: 15px;
    background-color: #4F46E5;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }

  .message-form button:hover {
    background-color: #4338CA;
    transform: translateY(-2px);
  }

  .message-heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #fff;
    position: relative;
  }

  .message-heading::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #4F46E5;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
  }

  .message-item {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .message-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }

  .message-top {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }

  .avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #4F46E5;
  }

  .message-info {
    margin-left: 15px;
  }

  .message-info h4 {
    font-size: 1.1rem;
    color: #111827;
    margin: 0;
  }

  .role-tag {
    background: #4F46E5;
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
  }

  .role-tag.user {
    background: #10B981;
  }

  .message-info h5 {
    margin: 3px 0;
    font-weight: 400;
    color: #6B7280;
  }

  .date-time {
    font-size: 0.8rem;
    color: #9CA3AF;
  }

  .message-content p {
    margin: 0;
    line-height: 1.6;
    color: #374151;
  }

  .admin-message {
    border-left: 4px solid #4F46E5;
  }

  .user-message {
    border-left: 4px solid #10B981;
  }
  .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
  }

  .pagination-button {
    background-color: #fff;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 1rem;
    color: #4B5563;
    transition: all 0.3s ease;
  }

  .pagination-button:hover {
    background-color: #4F46E5;
    color: #fff;
    border-color: #4F46E5;
  }

  .pagination-button.active {
    background-color: #4F46E5;
    color: #fff;
    border-color: #4F46E5;
  }

  .pagination-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  /* Responsive */
  @media (max-width: 600px) {
    .message-info h4 {
      font-size: 1rem;
    }
    .pagination-button {
        font-size: 0.85rem;
        padding: 6px 12px;
      }
      .pagination {
        gap: 6px;
      }

    .message-info h5,
    .date-time {
      font-size: 0.75rem;
    }

    .avatar img {
      width: 50px;
      height: 50px;
    }

    .message-item {
      padding: 15px;
    }
  }
        /* Affiliates Section */
.affiliates {
background: url('images/background1.jpg') center/cover no-repeat;
    padding: 40px;
    text-align: center;
}

.affiliates p {
    font-size: 16px;
    color: #fff;
    margin-bottom: 30px;
}

/* Affiliates Grid */
.affiliates-grid {
    display: grid;
grid-template-columns: repeat(6, 1fr); /* Fixed 6 columns for larger screens */
    gap: 20px;
    text-align: center;
}
.affiliate-header{
    background:url('../images/background1.jpg')  no-repeat center center/cover;
    height: 350px; /* Slightly increased for better visibility */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    width: 100%;
}
.affiliate-overlay {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 20px 40px;
    text-align: center;
    border-radius: 10px;
    max-width: 80%;
    margin: auto;
}

/* Adjust for tablets */
@media (max-width: 768px) {
    .affiliate-overlay {
        padding: 15px 30px;
        font-size: 14px;
        max-width: 90%;
    }
}

/* Adjust for mobile screens */
@media (max-width: 480px) {
    .affiliate-overlay {
        padding: 10px 20px;
        font-size: 12px;
        max-width: 95%;
        border-radius: 8px;
    }
}

/* Adjust for very small screens */
@media (max-width: 320px) {
    .affiliate-overlay {
        padding: 8px 15px;
        font-size: 11px;
        max-width: 98%;
        border-radius: 6px;
    }
}


/* Hero Title */
.affiliate-overlay h1 {
    font-size: 42px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}


.affiliate {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.affiliate img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.affiliate h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.affiliate p {
    font-size: 14px;
    color: #666;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .affiliates {
        padding: 20px;
    }

    .affiliates-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Single Movies Page */

/* Main Container */
.main-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.left-content {
  width: 48%;
}

.right-content {
  width: 48%;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero .hero-content {
  display: flex;
  gap: 9px;
  flex: 1;
}

.hero .movie-poster {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero .movie-details {
  flex: 2;
}

.hero .movie-details h1 {
  font-size: 1.8rem;
  color: #ffcc00;
  margin-bottom: 15px;
  font-weight: bold;
}

.hero .movie-details .type {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #ffcc00;
}

.hero .movie-details .description {
  font-size: 1rem;
  color: #fff;
}

.hero .play-now-btn {
  margin-top: 20px;
  padding: 12px 25px;
  background-color: #ffcc00;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero .play-now-btn:hover {
  background-color: #e55c00;
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.video-modal iframe {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.video-modal .modal-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-modal .close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 30px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

/* MOVIE INFO SECTION */
.movie-info {
    background: #1a1a1a;
    color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(204, 136, 0, 0.2);
    max-width: 100%;
    text-align: left;
    animation: fadeIn 0.5s ease-in-out;
    margin-top: 10px;
}

.movie-info .info-box {
  padding: 20px;
  border-left: 5px solid #cc8400;
  background: #222;
  border-radius: 6px;
  box-shadow: 2px 2px 10px rgba(204, 136, 0, 0.1);
}
.movie-info .info-box h3 {
  font-size: 24px;
  color: #cc8400;
  margin-bottom: 5px;
}
.movie-info .info-box p {
  font-size: 18px;
  margin: 8px 0;
  line-height: 1.5;
  transition: transform 0.2s ease-in-out;
}
.movie-info .info-box p strong {
  color: #cc8400;
}
.movie-info .info-box p:hover {
  transform: translateX(5px);
  color: #ddd;
}

/* Rating and Reviews Layout */
.rating-reviews-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}


.ratings .stars i {
    font-size: 24px;
    cursor: pointer;
    color: gray;
}

.ratings .stars i:hover,
.ratings .stars i.active {
    color: gold;
}.rating-value {
  font-size: 18px;
  color: #ffcc00;
  font-weight: bold;
  margin-top: 8px;
  animation: fadeIn 0.4s ease-in-out;
}
@media (max-width: 600px) {
  .movie-single-rating .star i {
    font-size: 24px;
  }
}


.reviews {
  background: #181818;
  color: white;
  padding: 40px;
  border-radius: 10px;
  max-width: 600px;
  margin: 40px auto;
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
  animation: fadeIn 0.6s ease-in-out;
}
.reviews h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 15px;
  color: #cc8400;
}
#review-text {
  width: 100%;
  height: 120px;
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #444;
  background: #222;
  color: white;
  resize: none;
  transition: 0.3s;
}
#review-text:focus {
  border-color: #cc8400;
  outline: none;
  box-shadow: 0px 0px 8px rgba(255, 204, 0, 0.8);
}
#submit-review {
  display: block;
  width: 100%;
  background: #cc8400;
  color: #121212;
  font-size: 18px;
  font-weight: bold;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 15px;
  transition: 0.3s ease-in-out;
}
#submit-review:hover {
  background: #cc8400;
  transform: scale(1.05);
}
#review-list {
  margin-top: 20px;
  padding: 10px;
}
.review-item {
  background: #222;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  border-left: 5px solid #cc8400;
  animation: slideIn 0.5s ease-in-out;
}
.review-item h4 {
  font-size: 18px;
  color: #ffcc00;
  margin-bottom: 5px;
}
.review-item p {
  font-size: 14px;
  color: #ddd;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (max-width: 600px) {
  .reviews {
    padding: 30px;
    max-width: 90%;
  }
  #review-text {
    font-size: 14px;
    height: 100px;
  }
  #submit-review {
    font-size: 16px;
  }
  .review-item h4 {
    font-size: 16px;
  }
  .review-item p {
    font-size: 12px;
  }
}

.youtube-section {
    text-align: center;
    padding: 20px;
    background: rgba(255, 215, 100, 0.3); /* Gold-themed background */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
}

.youtube-section h2 {
    font-size: 24px;
    color: #ffcc00;
    margin-bottom: 15px;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 560px; /* Adjust as needed */
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Reviews Section */
.reviews h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #fff;
  font-weight: bold;
}

.reviews textarea {
  width: 100%;
  height: 120px;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
  color: #333;
  resize: vertical;
}

.reviews button {
  margin-top: 15px;
  background-color: #ff6600;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.reviews button:hover {
  background-color: #e55c00;
}

#review-list {
  margin-top: 20px;
}

/* SEASON-FILM SECTION */
.season-film {
    text-align: center;
    padding: 40px;
    background: #1a1a1a;
}

.season-film h2 {
    font-size: 24px;
    color: #ffcc00;
    margin-bottom: 20px;
}

/* SEASON CONTAINER */
.season-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* SEASON CARDS */
.season-card {
    display: block;
    width: 180px;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    background: #222;
    box-shadow: 2px 2px 10px rgba(255, 204, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.season-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.season-card p {
    font-size: 16px;
    color: white;
    margin-top: 8px;
    padding: 5px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 0 0 10px 10px;
}

/* HOVER EFFECTS */
.season-card:hover {
    transform: scale(1.08);
    box-shadow: 0px 8px 16px rgba(255, 204, 0, 0.3);
}

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


/* RESPONSIVENESS */
@media (max-width: 768px) {
    .hero {
        margin-top: 15px;
        margin-bottom: 10px;
        margin-left: 50px;
    }

    .hero-content {
        flex-direction: column;
        gap: 20px;
    }

    .movie-poster {
        width: 200px;
    }

    .modal-content {
        width: 90%;
    }
   .season-container {
        flex-direction: column;
        align-items: center;
    }

    .season-card {
        width: 100%;
        max-width: 250px;
    }

    .season-card img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .season-card {
        max-width: 200px;
    }

    .season-card img {
        height: 180px;
    }
}
@media (max-width: 375px) {
    .hero {
        margin-top: 10px;
        margin-bottom: 5px;
        margin-left: 20px;
    }
}
/* Cast Section */

.cast-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 12px;
}

/* CAST & CREW GALLERY */
.cast-gallery {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0px 4px 10px rgba(255, 204, 0, 0.2);
    text-align: center;
}

/* Section Title */
.cast-gallery h2 {
    font-size: 22px;
    color: #ffcc00;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* About Section */
.header-content {
    text-align: left;
    margin-top: -65px;
    margin-bottom: -42px;
    padding: 150px 20px 50px;
}
.header-content h1 {
    font-size: 3em;
}
.header-content p {
    font-size: 1.3em;
}
.about-section {
    margin-top: -39px;
    padding: 50px 20px;
    border-radius: 10px;
}
.about-section h2 {
    font-size: 2em;
}
.about-section p {
    font-size: 1em;
    line-height: 1.5;
}
.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    align-items: center;
    text-align: center;
}
.content-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    min-width: 200px;
    width: 250px;
    align-items: center;
    justify-content: center;
}
@media (max-width: 425px) {
    .about-container {
        padding: 10px;
    }
    .content-wrapper {
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2.2em;
    }
    .header-content p {
        font-size: 1em;
    }
    .about-section h2 {
        font-size: 2em;
    }
    .about-section p {
        font-size: 1em;
    }
}
/* Individual Cast Member */
.cast-member {
    flex: 0 1 calc(20% - 10px); /* 5 columns on large screens */
    background: #222;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(255, 204, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

/* Actor Images */
.cast-member img {
    width: 100%;
    max-width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out;
}

/* Actor Names */
.cast-member p {
    font-size: 14px;
    color: white;
    margin-top: 8px;
}

/* Hover Effects */
.cast-member:hover {
    transform: scale(1.1);
    box-shadow: 0px 8px 16px rgba(255, 204, 0, 0.3);
}

.cast-member:hover img {
    transform: scale(1.1);
}

/* RESPONSIVENESS */
@media (max-width: 768px) {
    .cast-member {
        flex: 0 1 calc(33.3% - 10px); /* 3 columns on tablets */
    }
}

@media (max-width: 480px) {
     .cast-gallery {
    text-align: center;
    align-items: center;
}

    .cast-member {
        flex: 0 1 calc(50% - 10px); /* 2 columns on smaller screens */
    }

    .cast-member img {
        max-width: 100px;
        height: 100px;
    }

    .cast-member p {
        font-size: 12px;
    }
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
    align-items: center;
  }

  .left-content,
  .right-content {
    width: 100%;
  }

  .rating-reviews-container {
    flex-direction: column;
    gap: 40px;
  }



  header .search-bar input {
    width: 100%;
    margin-right: 0;
  }

  .season-container {
    flex-direction: column;
    align-items: center;
  }

  .cast-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {

  .movie-info .info-box {
    padding: 10px;
  }

  .reviews textarea {
    height: 80px;
  }

  .movie-single-rating .star i {
    font-size: 1.5rem;
  }
}
/* Genre Grid */
.genre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: auto;
    padding: 10px;
}
.genre-content{
    text-align: center;
    color: #ffcc00;
}
.section-title{
    text-align: center;
    color: #ffcc00;
}

/* Genre Cards */
.genre-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.genre-card img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
}

/* Hover Effects */
.genre-card:hover img {
    transform: scale(1.07);
}

.genre-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(255, 204, 0, 0.4);
}

/* Card Overlay */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    text-align: center;
    transition: background 0.3s ease;
}

.card-overlay h3 {
    font-size: 22px;
    color: #ffcc00;
    font-weight: bold;
}

/* Hover Effect */
.genre-card:hover .card-overlay {
    background: rgba(0, 0, 0, 0.9);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* RESPONSIVENESS */

/* Tablets & Medium Screens */
@media (max-width: 768px) {
    .hero-genre {
        height: 320px;
        padding: 15px;
    }

    .hero-content {
        max-width: 85%;
    }

    .animated-text {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .genre-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .genre-card img {
        height: 280px;
    }
}

/* Small Devices */
@media (max-width: 480px) {
    .hero-genre {
        height: 280px;
        padding: 10px;
    }

    .animated-text {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 14px;
    }

    .genre-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .genre-card img {
        height: 250px;
    }
}

/* Extra Small Screens */
@media (max-width: 320px) {
    .hero-genre {
        height: 250px;
    }

    .animated-text {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .genre-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .genre-card img {
        height: 220px;
    }
}

/* PROFILE WRAPPER */
.profile-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
}
.sidebar {
    width: 200px;
    background: linear-gradient(135deg, #111, #222, #333);
    padding: 15px;
    box-shadow: 4px 0 15px rgba(255, 204, 0, 0.3);
    position: sticky;
    top: 0;
    align-self: flex-start;
}

@media (max-width: 768px) {
    .profile-wrapper {
        display: flex;
        flex-direction: column; /* Stack sidebar on top */
        width: 100%;
    }

    .sidebar {
        display: block; /* Ensure it's visible */
        width: 100%; /* Full width */
        height: auto;
        min-height: unset;
        position: relative;
        text-align: center;
        padding: 10px;
        box-shadow: none;
        z-index: 10;
    }

    .profile-content,
    .favorites-content,
    .watchlist-content {
        width: 100%;
        margin-left: 0;
        padding: 20px;
    }
}

@media (max-width: 500px) {
    .sidebar {
        padding: 10px 5px;
    }

    .profile-content,
    .favorites-content,
    .watchlist-content {
        padding: 10px;
    }
}


/* PROFILE INFO */
.profile-info {
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 204, 0, 0.3);
    width: 100%;
}

.profile-pic {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffcc00;
}

.profile-info h2 {
    font-size: 16px;
    margin: 10px 0 5px;
}

.profile-info p {
    font-size: 12px;
    color: #bbb;
}
/* SIDEBAR MENU */
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.sidebar-menu li {
    padding: 10px;
    font-size: 14px;
    color: white;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition:  0.3s, transform 0.2s;
    border-radius: 5px;
}

.sidebar-menu li i {
    margin-right: 10px;
}

.sidebar-menu li:hover,
.sidebar-menu li.active {
    background: rgba(255, 204, 0, 0.3);
    transform: scale(1.05);
}

/* MAIN PROFILE CONTENT */
.profile-content {
    flex-grow: 1;
    padding: 30px;
    width: calc(100% - 220px);
}

/* PROFILE HEADER */
.profile-header h1 {
    font-size: 24px;
    color: #ffcc00;
    margin-bottom: 20px;
}

/* PROFILE DETAILS */
.profile-details {
    background: #333;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(255, 204, 0, 0.2);
    margin-bottom: 30px;
    width: 100%;
}
.profile-details h3{
    text-align: center;
}
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.detail-box {
    background: #444;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
}

/* EDIT BUTTON */
.edit-btn {
    display: block;
    margin: 15px auto 0;
    background: #ffcc00;
    color: black;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.edit-btn:hover {
    transform: scale(1.05);
}

/* RECENT ACTIVITY */
.recent-activity {
    background: #333;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(255, 204, 0, 0.2);
}

.recent-activity h2 {
    font-size: 20px;
    color: #ffcc00;
    margin-bottom: 10px;
}

.activity-list {
    list-style: none;
    padding: 0;
}

.activity-list li {
    font-size: 14px;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* RESPONSIVENESS */
@media (max-width: 768px) {
    /*.sidebar {
        width: 200px;
    }*/

    .profile-content {
        width: calc(100% - 200px);
        padding: 20px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /*.sidebar {
        display: none;
    }*/

    .profile-content {
        padding: 15px;
        width: 90%;
    }

    .edit-btn {
        font-size: 13px;
        padding: 8px 15px;
    }
}
/* WATCHLIST PAGE STYLING */
.watchlist-content {
    margin-left: 140px;
    padding: 30px;
    flex-grow: 1;
    width: calc(100% - 140px);
    transition: margin-left 0.3s ease-in-out;
}

.watchlist-content h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color:  #fff;
}

.watchlist-content p {
    font-size: 16px;
    color: #fff;
    margin-bottom: 20px;
}

/* WATCHLIST GRID */
.watchlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.watch-item {
    background: #222;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(255, 204, 0, 0.2);
    transition: transform 0.3s;
}

.watch-item img {
    width: 100%;
    border-radius: 5px;
}

.watch-item h3 {
    margin: 10px 0;
    font-size: 16px;
    color:  #cc8400;
}

.watch-btn {
    background: #cc8400;
    color: black;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

.watch-btn:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .watchlist-content {
        width: calc(100% - 200px);
        padding: 20px;
    }

    .watchlist-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .watchlist-content {
        padding: 15px;
        width: 80%;
        margin-left: 30px;
    }

    .watchlist-grid {
        grid-template-columns: 1fr;
    }
    .watch-item img {
        height: 200px; /* Adjust height for better fit */
        width: 100%;
    }
    .watch-btn {
        font-size: 14px;
        padding: 8px 15px;
    }
}

/* FIX FOR SCREENS BELOW 420px */
@media (max-width: 420px) {
    .watchlist-content {
        padding: 10px;
    }

    .watchlist-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .watch-item {
        height: 350px; /* Adjust height for better fit */
    }
    .watch-item img {
        height: 230px; /* Adjust height for better fit */
        width: 100%;
    }

    .watch-btn {
        font-size: 14px;
        padding: 8px 15px;
    }
}

/* SETTINGS PAGE STYLING */
.settings-content {
    margin-left: 260px;
    padding: 30px;
    flex-grow: 1;
    width: calc(100% - 260px);
    transition: margin-left 0.3s ease-in-out;
}

/* HEADER STYLING */
.setting h1 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #fff;
    text-transform: uppercase;
}

.settings-content p {
    font-size: 16px;
    color: #fff;
    margin-bottom: 20px;
}

/* SETTINGS SECTIONS */
.settings-section {
    background: #222;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(255, 204, 0, 0.2);
    margin-bottom: 20px;
}

.settings-section h2 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 15px;
}

/* INPUT FIELDS */
.settings-section label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
}

.settings-section input {
    width: 80%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #444;
    background: #333;
    color: white;
    border-radius: 5px;
    outline: none;
    transition: 0.3s;
}

.settings-section input:focus {
    border-color: #cc8400;
    box-shadow: 0px 0px 8px rgba(255, 204, 0, 0.8);
}
/* CHECKBOX STYLING */
.settings-section input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    background: #333;
    border: 2px solid #cc8400;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.settings-section input[type="checkbox"]:checked {
    background: #cc8400;
    border-color: #cc8400;
}

.settings-section input[type="checkbox"]::before {
    content: "\2713"; /* Checkmark symbol */
    font-size: 16px;
    font-weight: bold;
    color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.settings-section input[type="checkbox"]:checked::before {
    opacity: 1;
}
/* DELETE ACCOUNT SECTION */
.delete-account {
    background: #2a2a2a;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(255, 0, 0, 0.2);
    text-align: center;
    margin-top: 20px;
}

.delete-account h2 {
    font-size: 20px;
    color: #ff4d4d;
    margin-bottom: 10px;
}

.delete-account p {
    font-size: 14px;
    color: #fff;
    margin-bottom: 15px;
}

/* DELETE BUTTON */
.delete-btn {
    background: #ff1a1a;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.delete-btn:hover {
    background: #cc0000;
    transform: scale(1.05);
}

/* RESPONSIVE DESIGN */
@media (max-width: 480px) {
    .delete-account {
        padding: 15px;
    }

    .delete-btn {
        font-size: 14px;
        padding: 10px 15px;
    }
}

/* BUTTONS */
.save-btn, .update-btn {
    display: block;
    width: 100%;
    background: #cc8400;
    color: black;
    font-size: 16px;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.save-btn:hover, .update-btn:hover {
    background: #888;
    transform: scale(1.05);
}

/* RESPONSIVENESS */
@media (max-width: 768px) {
    .settings-content {
        margin-left: 220px;
        width: calc(100% - 220px);
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .settings-content {
        padding: 15px;
        width: 100%;
        margin-left: 65px;
    }

    .settings-section {
        padding: 15px;
    }

    .save-btn, .update-btn {
        font-size: 14px;
        padding: 10px;
    }
}
/* Logout Container */
.logout-container {
    background: #222;
    margin-left: 50px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(255, 204, 0, 0.2);
    animation: fadeIn 0.5s ease-in-out;
    margin-top: 40px;
}

/* HEADER TEXT */
.logout-box h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #fff;
}

.logout-box p {
    font-size: 14px;
    color: #fff;
    margin-bottom: 20px;
}

/* BUTTONS */
.logout-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.logout-btn, .cancel-btn {
    flex: 1;
    padding: 12px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.logout-btn {
    background: #ff1a1a;
    color: white;
}

.cancel-btn {
    background: #666;
    color: white;
}

.logout-btn:hover {
    background: #cc0000;
    transform: scale(1.05);
}

.cancel-btn:hover {
    background: #888;
    transform: scale(1.05);
}

/* RESPONSIVE DESIGN */
@media (max-width: 480px) {
    .logout-container {
        padding: 20px;
        max-width: 90%;
    }

    .logout-box h2 {
        font-size: 18px;
    }

    .logout-box p {
        font-size: 13px;
    }

    .logout-btn, .cancel-btn {
        font-size: 14px;
        padding: 10px;
    }
}

/* FADE-IN ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAVORITES PAGE STYLING */
.favorites-content {
    flex-grow: 1;
    padding: 30px;
    width: calc(100% - 220px);
}

/* HEADER STYLING */
.favorites-content h1 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #fff;
    text-transform: uppercase;
}

.favorites-content p {
    font-size: 16px;
    color: #fff;
    margin-bottom: 20px;
}

/* FAVORITES GRID */
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-content: center;
}

/* INDIVIDUAL FAVORITE ITEM */
.fav-item {
    background: #222;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.fav-item:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2);
}

/* FAVORITE ITEM IMAGE */
.fav-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.fav-item:hover img {
    transform: scale(1.05);
}

/* MOVIE TITLE */
.fav-item h3 {
    margin: 10px 0;
    font-size: 18px;
    font-weight: bold;
    color: #f0f0f0;
}

/* WATCH BUTTON */
.watch-btn {
    background: #666;
    color: white;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.watch-btn:hover {
    background: #888;
    transform: scale(1.05);
}

/* RESPONSIVENESS */
@media (max-width: 1024px) {
    .favorites-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .favorites-content {
        width: calc(100% - 220px);
    }
}

@media (max-width: 768px) {
    .favorites-content {
        width: calc(100% - 200px);
        padding: 20px;
    }

    .favorites-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .favorites-content {
        padding: 15px;
        width: 80%;
        margin-left: 30px;
    }

    .favorites-grid {
        grid-template-columns: 1fr;
    }
    .fav-item img {
        height: 200px; /* Adjust height for better fit */
        width: 100%;
    }
    .watch-btn {
        font-size: 14px;
        padding: 8px 15px;
    }
}

/* FIX FOR SCREENS BELOW 420px */
@media (max-width: 420px) {
    .favorites-content {
        padding: 10px;
    }

    .favorites-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .fav-item {
        height: 250px; /* Adjust height for better fit */
    }
    .fav-item img {
        height: 200px; /* Adjust height for better fit */
        width: 100%;
    }

    .watch-btn {
        font-size: 14px;
        padding: 8px 15px;
    }
}

/* Upload Container */
.upload-container {
    width: 90%;
    max-width: 750px;
    background: #222;
    padding: 30px;
    border-radius: 10px;
    margin: 50px auto;
    box-shadow: 0px 4px 10px rgba(255, 204, 0, 0.2);
}
/* Button */
.upload-container .action-btn {
    background-color: #cc8400;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
  }

  .upload-container .action-btn:hover {
    background-color: #e55c00;
  }

/* Heading */
.upload-container h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #ffcc00;
}

.registration {
  background: #181818;
  color: white;
  padding: 40px;
  border-radius: 10px;
  max-width: 700px;
  margin: 40px auto;
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
  animation: fadeIn 0.6s ease-in-out;
}

#normal-text {
  height: 25px;
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #444;
  background: #222;
  color: white;
  resize: none;
  transition: 0.3s;
  width: 96%;
}

.registration label {
    display: block;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    color: white;
    margin-top: 12px;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

#normal-text:focus {
  border-color: #cc8400;
  outline: none;
  box-shadow: 0px 0px 8px rgba(255, 204, 0, 0.8);
}
.upload-box {
    border: 2px dashed #cc8400;
    padding: 30px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

/* Icons */
.upload-box i {
    font-size: 50px;
    margin-bottom: 10px;
}
#browseButton {
    background: #cc8400;
    color: black;
    font-size: 16px;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#browseButton:hover {
    background: #ffaa00;
}
.file-preview {
    background: #333;
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
    color: #ddd;
    font-size: 14px;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 8px;
    background: #444;
    border-radius: 5px;
    margin-top: 15px;
    display: none;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: #cc8400;
    border-radius: 5px;
    transition: width 0.4s ease-in-out;
}

#submit-registration {
  display: block;
  width: 100%;
  background: #cc8400;
  color: #121212;
  font-size: 18px;
  font-weight: bold;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 15px;
  transition: 0.3s ease-in-out;
}
#submit-registration:hover {
  background: #cc8400;
  transform: scale(1.05);
}
/* RESPONSIVENESS */
@media (max-width: 480px) {
    .upload-container {
        padding: 18px;
    }

    .upload-box {
        padding: 20px;
    }

    #browseButton, .upload-btn {
        font-size: 14px;
        padding: 8px 12px;
    }
}

/* ===== LOGIN SECTION ===== */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Login Box */
.login-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    width: 600px;
    text-align: center;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.2);
}
/* FORM LABELS */
.login-box label {
    display: block;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    color: white;
    margin-top: 12px;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}
/* Login Title */
.login-box h2 {
    font-size: 24px;
    font-weight: 600;
    color: white;
}

/* Input Fields */
.login-box input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: none;
    border-radius: 5px;
}
/* Register Link Styling */
.register-link {
    text-align: center;
    font-size: 14px;
    margin-top: 15px;
    color: white;
}

.register-link a {
    color: #ffcc00;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.register-link a:hover {
    text-decoration: underline;
    color: #cc8400;
}

/* Button */
.login-box button {
    width: 100%;
    padding: 12px;
    background-color: #0d6efd;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
}

.login-box button:hover {
    background-color: #084298;
}

/* Responsive Login */
@media (max-width: 425px) {
    .login-box {
        width: 90%;
        padding: 30px;
    }
}
/* GOOGLE LOGIN BUTTON */
.google-login {
    text-align: center;
    margin-top: 15px;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    color: #444;
    transition: 0.3s ease-in-out;
}

.google-btn img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.google-btn:hover {
    background: #f0f0f0;
    transform: scale(1.02);
}
/* Forgot Password Page Styling */
.forgot-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

/* Forgot Password Box */
.forgot-box {
    background: rgba(255, 255, 255, 0.12);
    padding: 40px;
    width: 400px;
    text-align: center;
    border-radius: 12px;
    backdrop-filter: blur(12px);
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.2);
}

/* Title */
.forgot-box h2 {
    font-size: 26px;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
}

/* Subtitle */
.forgot-box p {
    font-size: 15px;
    color: #ddd;
    margin-bottom: 20px;
}

/* Label Styling */
.forgot-box label {
    display: block;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    color: white;
    margin-top: 12px;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

/* Input Field */
.forgot-box input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: none;
    border-radius: 5px;
}


/* Submit Button */
.forgot-box button {
    width: 100%;
    padding: 12px;
    background-color: #0d6efd;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s ease-in-out;
}

.forgot-box button:hover {
    background-color: #084298;
}

/* Back to Login Link */
.back-to-login {
    margin-top: 15px;
    font-size: 14px;
}

.back-to-login a {
    color: #cc8400;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-to-login a:hover {
    color: #cc8400;
}

/* Responsive */
@media (max-width: 768px) {
    .forgot-box {
        width: 90%;
        padding: 40px;
        height: 50vh;
    }
}

@media (max-width: 425px) {
    .forgot-box {
        width: 100%;
        padding: 30px;
        height: 50vh;
    }
}

/* Container */
.edit-profile-container {
    width: 90%;
    max-width: 450px;
    background: #222;
    padding: 30px;
    border-radius: 10px;
    margin: 50px auto;
    box-shadow: 0px 4px 10px rgba(255, 204, 0, 0.2);
}

/* Heading */
.edit-profile-container h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #ffcc00;
}

/* Profile Picture */
.profile-picture {
    text-align: center;
    margin-bottom: 15px;
}

.profile-picture img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffcc00;
}

.profile-picture .inputs {
    display: none;
}

.upload-btn {
    display: block;
    margin-top: 10px;
    background: #ffcc00;
    color: black;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
}

.upload-btn:hover {
    background: #ffaa00;
}

/* Form */
form {
    display: flex;
    flex-direction: column;
    text-align: left;
}

label {
    font-size: 14px;
    margin: 10px 0 5px;
    color: #ccc;
}

/* Input Fields */

.inputs, select {
    padding: 10px;
    border: none;
    border-radius: 5px;
    outline: none;
    width: 100%;
    background: #333;
    color: white;
    font-size: 14px;
}

/* Select Dropdown */
select {
    cursor: pointer;
}

/* Save Button */
.save-btn {
    margin-top: 15px;
    background: #e5a00d;
    color: black;
    font-size: 16px;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.save-btn:hover {
    background: #ffaa00;
}

/* RESPONSIVENESS */
@media (max-width: 480px) {
    .edit-profile-container {
        padding: 20px;
    }

    .upload-btn {
        font-size: 12px;
        padding: 6px 10px;
    }

    .save-btn {
        font-size: 14px;
        padding: 10px 15px;
    }
}

/* Upload Page */
.upload-page {
  position: relative;
  top: 45px;
  max-width: 950px;
  margin:  auto;
  background-color: #333;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 60px;
}
.upload-page .action-btn {
    background-color: #cc8400;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
  }

  .upload-page .action-btn:hover {
    background-color: #e55c00;
  }

.upload-container {
  padding: 20px;
}

.upload-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.upload-table th, .upload-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.upload-table th {
  background-color: #cc8400;
  color: white;
}

.upload-table td {
  background-color: #333;
}

.upload-table iframe {
  width: 100%;
  height: 180px;
  border-radius: 8px;
}

.upload-table span {
  font-size: 1.2rem;
  color: #fff;
}

.upload-table .action-btn {
  background-color: #cc8400;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.upload-table .action-btn:hover {
  background-color: #e55c00;
}

/* Hidden Upload Form */
.upload-form-container {
  display: none;
  margin-top: 20px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.upload-form-container h3 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 20px;
}

.upload-form-container label {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #333;
}

.upload-form-container input[type="url"],
.upload-form-container select,
.upload-form-container input[type="file"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 20px;
}

.upload-form-container .form-actions {
  text-align: center;
}

.upload-form-container .upload-btn {
  background-color: #ff6600;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.upload-form-container .upload-btn:hover {
  background-color: #e55c00;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .upload-page {
    padding: 15px;
  }

  .upload-table th, .upload-table td {
    padding: 12px;
  }

  .upload-btn {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .upload-page {
    padding: 10px;
  }

  .upload-table th, .upload-table td {
    padding: 10px;
  }

  .upload-btn {
    font-size: 0.9rem;
  }
}
/* F&Q Page */
.faq {
    text-align: center;
    padding: 60px 20px;
}

.faq h2 {
    font-size: 34px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Search Bar */
#search-bar {
    position: relative;
    max-width: 400px;
    margin: 0 auto 40px;
}

#search-bar input {
    width: 84%;
    padding: 12px 40px 12px 15px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

#search-bar i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
}

/* FAQ Container */
.faq-container {
    max-width: 800px;
    margin: auto;
    text-align: left;
}

.faq-item {
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.15);
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
}

.faq-answer p {
    margin: 15px 0;
    font-size: 16px;
    line-height: 1.6;
}
/* --- "Still Have Questions?" Section --- */
.question-form-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 50px 20px;
    text-align: center;
    border-radius: 12px;
    margin: 40px auto 0;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease;
}

.question-form-section h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.question-form-section p {
    color: #ddd;
    margin-bottom: 30px;
    font-size: 16px;
}

.question-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: white;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 95%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 15px;
    transition: background 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #ccc;
}

.form-group input:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.15);
    outline: none;
}
.tooltip {
      position: relative;
      display: inline-block;
      cursor: pointer;
      margin-left: 8px;
      color: orange;
    }

    .tooltip .tooltiptext {
      visibility: hidden;
      width: 180px;
      background-color: #333;
      color: #fff;
      text-align: center;
      border-radius: 6px;
      padding: 8px;
      position: absolute;
      z-index: 1;
      bottom: 125%;
      left: 50%;
      margin-left: -90px;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .tooltip:hover .tooltiptext {
      visibility: visible;
      opacity: 1;
    }
 .error {
      color: red;
      font-size: 13px;
    }
.submit-btn {
    background-color: orange;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}

.submit-btn:hover {
    background-color: #ff9900;
    transform: translateY(-3px);
}

/* Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .question-form-section {
        padding: 30px 15px;
    }

    .question-form-section h2 {
        font-size: 24px;
    }

    .submit-btn {
        font-size: 15px;
    }
}

/* Rotate icon when active */
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Show answer when active */
.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 15px 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .faq h2 {
        font-size: 28px;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-answer p {
        font-size: 14px;
    }
}

@media (max-width: 425px) {
    .faq h2 {
        font-size: 24px;
    }

    .search-bar input {
        padding: 10px 35px 10px 10px;
    }

    .social-media i {
        font-size: 24px;
    }
}
/* Footer Styles */


.contact-footer {
    background: linear-gradient(135deg, #0f0f0f, #1c1c1c, #0f0f0f);
    color: #eee;
    padding: 60px 20px 30px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    animation: fadeInFooter 1.2s ease-out;
}

@keyframes fadeInFooter {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* PARALLAX EFFECT */
.contact-footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.09) 20%, transparent 70%);
    animation: moveBackground 15s linear infinite;
    z-index: 0;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50%, 50%); }
}

.footer-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    animation: slideUp 1s ease-out forwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* LOGO SECTION */
.footer-logo h2 {
    font-size: 30px;
    color: #ffcc00;
    margin-bottom: 12px;
    font-weight: bold;
    position: relative;
}

.footer-logo p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
    max-width: 280px;
}

/* LINKS SECTION */
.footer-links {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    text-decoration: none;
}

.link-group h4 {
    color: #ffcc00;
    font-size: 16px;
    margin-bottom: 15px;
    position: relative;
}

.link-group a {
    display: block;
    color: #bbb;
    font-size: 14px;
    margin-bottom: 8px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
}

.link-group a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -3px;
    background: linear-gradient(to right, #ffcc00, #ff8800);
    transition: width 0.4s ease;
}

.link-group a:hover::after {
    width: 100%;
}

.link-group a:hover {
    color: #ffcc00;
    transform: translateX(5px);
}

/* SOCIAL SECTION */
.footer-social h4 {
    color: #ffcc00;
    margin-bottom: 15px;
}

.social-icons a {
    color: #bbb;
    font-size: 20px;
    margin-right: 15px;
    transition: all 0.4s ease;
    display: inline-block;
    position: relative;
}

.social-icons a:hover {
    color: #ffcc00;
    transform: scale(1.3) rotate(10deg);
    text-shadow: 0 0 15px rgba(255, 204, 0, 0.8);
}

/* FOOTER BOTTOM */
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 15px;
    font-size: 13px;
    color: #888;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    animation: footerBottomReveal 1.2s ease-out forwards;
    animation-delay: 0.5s;
}

/* Animation Keyframes */
@keyframes footerBottomReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
        text-shadow: none;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        text-shadow: 0 0 8px rgba(255, 204, 0, 0.4);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        gap: 30px;
    }

    .footer-logo p {
        max-width: 100%;
    }

    .social-icons a {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        gap: 20px;
    }

    .link-group a {
        font-size: 13px;
    }

    .social-icons a {
        font-size: 16px;
    }
}
