.movie-section{
    padding: 20px;
}

.movie-grid{
    display:flex;
    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
    gap:20px;
}

.movie-card{
    background:#222;
    border-radius:12px;
    overflow:hidden;
    cursor:pointer;
    transition:0.3s;
}

.movie-card:hover{
    transform: scale(1.05);
}

.movie-card img{
    width:100%;
    height:150px;
    object-fit:cover;
}

.movie-card h4{
    color:white;
    padding:10px;
    font-size:15px;
    text-align:center;
}










/* ================= MOBILE MOVIES PAGE ================= */
@media (max-width: 768px) {

  /* Header */
  .top-header {
    flex-wrap: wrap;
    height: auto;
    padding: 10px;
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-around;
  }

  .nav-links a {
    font-size: 14px;
    gap: 6px;
  }

  .search-center {
    width: 100%;
  }

  .search-center input {
    width: 100%;
    max-width: 100%;
  }

  /* Filter Buttons */
  div[style*="padding"] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
  }

  div[style*="padding"] button {
    flex: 1;
    min-width: 80px;
    font-size: 12px;
    padding: 8px;
  }

  /* Movie Grid */
  .movie-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Movie Rows (Netflix style swipe) */
  .movie-row {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
  }

  .movie-row::-webkit-scrollbar {
    display: none;
  }

  .movie-card {
    min-width: 120px;
    flex-shrink: 0;
  }

  .movie-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 10px;
  }

  .movie-card p {
    font-size: 12px;
    text-align: center;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

}
















































.section-title{
  color:white;
  margin:25px 15px 10px;
  font-size:20px;
}

.movie-row{
  display:flex;
  
  width: 100%;
  gap:15px;
  overflow-x:auto;
  padding:10px 15px;
}

.movie-row::-webkit-scrollbar{
  height:6px;
}

.movie-row::-webkit-scrollbar-thumb{
  background:#444;
  border-radius:10px;
}
