body {
    background-color: #1a1a3d;
    font-family: 'Arial', sans-serif;
    color: #ffffff;
}
.navbar {
     display: flex;
    padding: 1rem;
    background-color: #2b2b5c;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
}
.navbar a {
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    margin: 0 1rem;
}
.logo {
     font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(to right, #ffffff, #aaaaaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 3s infinite ease-in-out;
}

.logo:hover {
    text-shadow: 0px 0px 15px rgba(255, 126, 95, 1);
    transform: scale(1.1);
}
.search-bar {
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin: 2rem auto;
    text-align: center;
}
.search-bar input {
    width: 50%;
    padding: 0.8rem;
    border-radius: 25px;
    border: 2px solid #4a90e2;
    outline: none;
    background: linear-gradient(145deg, #2b2b5c, #4a90e2);
    color: white;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}
.search-bar input::placeholder {
    color: #ffffff;
}
.search-bar input:focus {
    border-color: #ffffff;
    background: linear-gradient(145deg, #4a90e2, #2b2b5c);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.8);
}
.search-bar button {
    padding: 0.8rem;
    margin-left: 10px;
    border-radius: 25px;
    border: none;
    background: linear-gradient(145deg, #4a90e2, #2b2b5c);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}
.search-bar button:hover {
    background: linear-gradient(145deg, #357abd, #2b2b5c);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.8);
}
    .movieGallery {
        display: grid; /* Creates a grid container */
        grid-template-columns: repeat(1, 1fr); /* Default to one column */
        gap: 1.5rem; /* Adds a 1.5rem gap between grid items */
        padding-left: 1.5rem; /* Adds 1.5rem padding to the left */
        padding-right: 1.5rem; /* Adds 1.5rem padding to the right */
      }
      
      @media (max-width: 640px) { /* sm: Small screens and up */
        .movieGallery {
          grid-template-columns: repeat(2, 1fr); /* Two columns for small screens */
        }
      }
      
      @media (min-width: 768px) { /* md: Medium screens and up */
        .movieGallery {
          grid-template-columns: repeat(3, 1fr); /* Three columns for medium screens */
        }
      }
      
      @media (min-width: 1024px) { /* lg: Large screens and up */
        .movieGallery {
          grid-template-columns: repeat(5, 1fr); /* Five columns for large screens */
        }
      }
.movie-card {
    background-color: #2b2b5c;
    border-radius: 10px;
    padding: 2%;
    height: 89%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.movie-poster:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
}
.movie-poster {
    width: 100%;
    height: 70%;
    border-radius: 10px;
}
.movie-title {
    font-size: 1.2rem;
    font-weight: bold;
}
.movie-details {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
}
.movie-year {
    color: #aaa;
    margin-right: 4%;
    padding-top: 0;
    margin-top: 0;
}
.rating {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 85%;
    color: yellow;
}
.language-tag {
    display: inline-block;
    background-color: #2f5d91;
    color: #ffffff;
    padding: 0.2rem 0.2rem;
    border-radius: 5px;
    font-size: 0.6rem;
}
.download-button {
    cursor: pointer;
    margin-top: 0;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: #ffffff;
    padding: 0.5rem;
    width: 95%;
    margin-left: 2.5%;
    margin-top: 1%;
    border-radius: 20px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}
.download-button:hover {
    background-color: #357abd;
    transform: scale(1.1);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.6);   
}
.download-btn {
    font-size: 1rem;
    font-weight: bold;
    margin-left: 2%;
    padding-right: 10rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    background: linear-gradient(145deg, #ff724f, #d3640f);
    color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: linear-gradient(145deg, #ff512f, #dd2476);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

.download-btn:hover {
    background: linear-gradient(145deg, #ff512f, #dd2476);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}
.facebook {
    margin-left: 50%;
    font-size: 1rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    background: #1877F2;
    color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}
.facebook:hover {
    background: linear-gradient(145deg, #111cbe, #4182fa);
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

.instagram {
    font-size: 1rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    margin-left: 2%;
    border-radius: 20px;
    text-decoration: none;
    background: linear-gradient(145deg, #feda75, #f58529, #dd2a7b, #8134af, #515bd4);
    color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}
.instagram:hover {
    background: linear-gradient(145deg, #feda75, #9b6234, #dd2a7b, #8134af, #515bd4);
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}  

  /* Mobile Adjustments */
  
  @media screen and (max-width: 500px) {
  body {
    background-color: #1a1a3d;
    font-family: 'Arial', sans-serif;
    color: #ffffff;
}
.navbar {
    padding: 1rem;
    background-color: #2b2b5c;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
}
.navbar a {
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    margin: 0 1rem;
}
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(to right, #4ddbff, #ff4a4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 0px 8px rgba(112, 23, 163, 0.747);
    transition: text-shadow 0.3s ease, transform 0.3s ease;
}

.logo:hover {
    text-shadow: 0px 0px 15px rgba(255, 126, 95, 1);
    transform: scale(1.1);
}
.search-bar {
    margin: 1rem auto;
    text-align: center;
}
.search-bar input {
    width: 65%;
    padding: 2%;
    border-radius: 25px;
    border: 2px solid #4a90e2;
    outline: none;
    background: linear-gradient(145deg, #2b2b5c, #4a90e2);
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}
.search-bar input::placeholder {
    color: #ffffff;
}
.search-bar input:focus {
    border-color: #ffffff;
    background: linear-gradient(145deg, #4a90e2, #2b2b5c);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.8);
}
.search-bar button {
    padding: 0.6rem;
    margin-left: 5px;
    border-radius: 25px;
    border: none;
    background: linear-gradient(145deg, #4a90e2, #2b2b5c);
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}
.search-bar button:hover {
    background: linear-gradient(145deg, #357abd, #2b2b5c);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.8);   
 }

.download-btn {
    font-size: 0.5rem;
    font-weight: bold;
    padding: 0.2rem 0.3rem;
    border-radius: 20px;
    text-decoration: none;
    background: linear-gradient(145deg, #ff724f, #d3640f);
    color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: linear-gradient(145deg, #ff512f, #dd2476);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}
.facebook {
    margin-left: 10%;
    font-size: 0.5rem;
    font-weight: bold;
    padding: 0.02rem 0.3rem;
    border-radius: 20px;
    text-decoration: none;
    background: #1877F2;
    color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}
.instagram {
    font-size: 0.5rem;
    font-weight: bold;
    padding: 0.02rem 0.3rem;
    margin-left: 2%;
    border-radius: 20px;
    text-decoration: none;
    background: linear-gradient(145deg, #feda75, #f58529, #dd2a7b, #8134af, #515bd4);
    color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}
.movie-card {
    background-color: #2b2b5c;
    border-radius: 10px;
    padding-top: 2%;
    height: 20rem;
    width: 10rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
 }
  .movie-title {
    font-size: 0.7rem;
    font-weight: bold;
}
.movie-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
}
.movie-year {
    color: #aaa;
    margin-right: 4%;
}
.rating {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 80%;
    color: yellow;
}
.language-tag {
    display:0;
    background-color: #2f5d91;
    color: #ffffff;
    padding: 0.2rem 0.2rem;
    border-radius: 5px;
    font-size: 0.5rem;
}
.download-button {
    cursor: pointer;
    margin-top: 0;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: #ffffff;
    padding: 0.5rem;
    width: 98%;
    margin-left: 0.3%;
    margin-top: 1%;
    border-radius: 20px;
    font-weight: bold;
    text-size-adjust: 75%;
    text-align: center;
    transition: all 0.3s ease;
}
.download-button:hover {
    background-color: #357abd;
    transform: scale(1.1);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.6);   
}

.movieGallery {
    gap: 1.5rem;
    padding-top: 5%; 
    padding-left: 0.5rem; 
    padding-right: 1.5rem; 
 }  
  }


@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 5px #00ccff;
    }
    50% {
        transform: scale(1.15);
        text-shadow: 0 0 15px #00ccff;
    }
}

@keyframes glow-border {
    0%, 100% {
        box-shadow: 0 0 10px #00ccff, 0 0 20px #00ccff inset;
    }
    50% {
        box-shadow: 0 0 20px #00ccff, 0 0 30px #00ccff inset;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

.custom-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    color: white;
    padding: 0.5rem 0.5rem;
    margin-top: 3rem;
    border-top: 2px solid #00ccff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1), inset 0 1px 5px rgba(255, 255, 255, 0.05);
    animation: glow-border 4s ease-in-out infinite, float 6s ease-in-out infinite;
    font-family: 'Arial', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-left {
    margin-bottom: 1rem;
}

.footer-logo {
    font-size: 2.2rem;
    font-weight: bold;
    background: linear-gradient(to right, #ffffff, #aaaaaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 3s infinite ease-in-out;
}

.footer-copy {
    font-size: 0.9rem;
    color: #ccc;
}

.footer-right {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-top: 1rem;
}

.footer-icon {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.footer-icon:hover {
    transform: scale(1.2);
    color: #00ccff;
    text-shadow: 0 0 10px #00ccff;
}

.footer-bottom {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #bbb;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
}

.footer-note {
    width: 32%;
    background: rgba(49, 49, 49, 0);
    border-radius: 10px;
    text-align: center;
    font-size: 0.95rem;
    color: #ffffff;
  
}

.footer-note .highlight {
    color: #00ccff;
    font-weight: bold;
    text-shadow: 0 0 10px #00ccff;
}


@media screen and (max-width: 500px) {
  .custom-footer {
    align-items: center;
    padding: 0rem 0rem;
    text-align: center;
  }

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

  .footer-logo {
    font-size: 1.2rem;
  }

  .footer-copy {
    font-size: 0.75rem;
  }

  .footer-right {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.5rem;
  }

  .footer-icon {
    font-size: 1rem;
  }

  .footer-note {
    width: 70%;
    font-size: 0.66rem;
    background: rgba(49, 49, 49, 0);
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
  }

  .footer-note .highlight {
    font-size: 0.6rem;
  }

  .footer-bottom {
    font-size: 0.75rem;
    margin-top: 0.3rem;
  }
}

.not-found-message {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
    margin-top: 2rem;
}

.not-found-box {
    background-color: #1a1a3d;
    padding: 1.5rem;
    margin: auto;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    color: #fff;
}

.not-found-box h2 {
    font-size: 1.5rem;
    color: #ff4c4c;
    margin-bottom: 1rem;
    font-weight: bold;
}

.not-found-text {
    font-size: 1rem;
    color: #ddd;
    line-height: 1.6;
}

.not-found-email {
    color: #00ccff;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.not-found-email:hover {
    color: #ffffff;
}



