
    .movies-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 1.5rem;
      padding: 2rem 0;
    }

   .movie-card {
      background: rgba(255, 255, 255, 0.05);
      border-radius: 12px;
      overflow: hidden;
      transition: all 0.3s ease;
      border: 1px solid rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      height: 100%;
      display: flex;
      position: relative;
      flex-direction: column;
      overflow: hidden;
    }

.ribbon {
  position: absolute;
  width:100px;
  top: 50px;
  left: -10px;
  text-align: center;
  padding: 0.25em 1em;
  color: #ffff;
  font-weight: bold;
  z-index: 100;
  font-size: 0.75rem;
  transform: translate(-10%, -10%) rotate(-45deg);
  transform-origin: 0 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Individual colors */
.ribbon-new {
  background-color: #27ae60; /* green */
}

.ribbon-hot {
  background-color: #e74c3c; /* red */
}

.ribbon-trending {
  background-color: #f39c12;
  /* orange */
}

   
    .movie-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
      border-color: rgba(255, 107, 107, 0.5);
    }

    .movie-card a {
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    
    .poster {
      height: 300px;
      background-size: cover;
      background-position: center;
      position: relative;
      overflow: hidden;
      position: relative;
    }

    .poster::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .movie-card:hover .poster::before {
      opacity: 1;
    }

    .views {
      position: absolute;
      top: 1rem;
      right: 0.5rem;
      background: #dddd;
      padding: 0.3rem 0.8rem;
      border-radius: 4px;
      font-size: 0.65rem;
      color: #000;
      display: flex;
      align-items: center;
      gap: 0.25rem;
      backdrop-filter: blur(10px);
    }

    .views i {
      color: #000;
    }

.poster .mors-badge {
  position: absolute;
  top: 2rem;      /* push it down below the views badge */
  right: 0.1rem;     /* align with the views badge */
  background: #c12200;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  text-transform: uppercase;
  white-space: nowrap;
}

    .movie-info {
      padding: 1rem;
    }

    .movie-title {
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 0.4rem;
      color: #ffffff;
      min-height: 2.4rem;
      line-height: 1.2;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      text-overflow: ellipsis;
    }

    .language {
      color: #fff;
      font-size: 0.9rem;
      margin-bottom: 0.8rem;
      font-weight: 500;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .movie-meta {
      display: flex;
      justify-content: left;
      gap: 1rem;
      margin-bottom: 0.8rem;
      font-size: 0.75rem;
      color: rgba(255, 255, 255, 0.7);
      margin-top: auto;
    }

    .movie-meta span {
      display: flex;
      align-items: center;
      gap: 0.2rem;
    }

    .movie-meta i {
      color: #ffd93d;
      font-size: 0.7rem;
    }

    .btn-download {
      background: linear-gradient(45deg, #ff6b6b, #ffd93d);
      color: #000;
      padding: 0.5rem 1rem;
      border-radius: 10px;
      text-align: center;
      font-weight: 600;
      font-size: 0.85rem;
      transition: all 0.3s ease;
      cursor: pointer;
      margin-top: auto;
    }

    .btn-download:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    }

    .btn-download i {
      margin-right: 0.5rem;
    }
    
.movie-request-form {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: linear-gradient(145deg, #1f1f1f 0%, #141414 100%);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    border: 1px solid #333333;
    position: relative;
}



.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #e5e5e5;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: #2d2d2d;
    border: 2px solid #404040;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999999;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.required {
    color: #e50914;
    margin-left: 3px;
    font-weight: bold;
}

.error {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
    background: rgba(255, 107, 107, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid #ff6b6b;
}

.success {
    color: #4ecdc4;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
    background: rgba(78, 205, 196, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid #4ecdc4;
}

.req-btn {
display: inline-block;
  padding: 0.4rem 1rem;
  background: #e50914;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background 0.2s;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .movie-request-form {
        margin: 10px;
        padding: 20px;
        max-width: none;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
}



    /* ═══════════════════════════════════════════════════════════ */
    /* RESPONSIVE DESIGN */
    /* ═══════════════════════════════════════════════════════════ */
    @media (max-width: 768px) {
    
      .movies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 2rem 0;
      }

      .poster {
        height: 240px;
      }

     
      .movie-info {
        padding: 0.8rem;
      }

      .movie-title {
        font-size: 1rem;
      }

      .language {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
      }

      .movie-meta {
        font-size: 0.7rem;
        margin-bottom: 0.6rem;
      }

      .movie-meta i {
        font-size: 0.65rem;
      }

      .btn-download {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
      }

      nav {
        padding: 1rem;
      }

      .container {
        padding: 0 1rem;
      }

      .hero {
        padding: 4rem 1rem;
      }
    }

    @media (max-width: 360px) {
      .poster {
        height: 240px;
      }

      .movie-title {
        font-size: 0.8rem;
      }

      .language {
        font-size: 0.7rem;
      }

      .movie-meta {
        font-size: 0.8rem;
      }

      .btn-download {
        font-size: 0.75rem;
      }

      .hero h1 {
        font-size: 2rem;
      }

    }

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}
.pagination .btn {
  padding: 8px 12px;
  background: #e50914;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
}
.pagination .btn.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}
    /* ═══════════════════════════════════════════════════════════ */
    /* ANIMATIONS */
    /* ═══════════════════════════════════════════════════════════ */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .movie-card {
      animation: fadeInUp 0.6s ease forwards;
    }

    .movie-card:nth-child(1) { animation-delay: 0.1s; }
    .movie-card:nth-child(2) { animation-delay: 0.2s; }
    .movie-card:nth-child(3) { animation-delay: 0.3s; }
    .movie-card:nth-child(4) { animation-delay: 0.4s; }
    .movie-card:nth-child(5) { animation-delay: 0.5s; }
    .movie-card:nth-child(6) { animation-delay: 0.6s; }