* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1f1c2c, #928dab);
    color: #fff;
    min-height: 100vh;
    padding: 20px;
}
  
.container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
  
h1 {
    margin-bottom: 30px;
    font-size: 2.5rem;
}
  
.search-box {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    position: sticky;
    top: 2rem;
    z-index: 1000;
}
  
#searchInput {
    padding: 10px;
    width: 60%;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 16px;
}

#searchButton {
    padding: 10px 20px;
    border: none;
    background-color: #ff6b6b;
    color: white;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}
  
#searchButton:hover {
    background-color: #ff4757;
}
  
#loader {
    margin: 30px auto;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #ff6b6b;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
  
.hidden {
    display: none;
}
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
  
#movieContainer {
    margin-top: 30px;
}
  
.movie-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}
  
.movie-card:hover {
    transform: scale(1.03);
}
  
.movie-card img {
    max-width: 100%;
    border-radius: 10px;
}
  
.movie-card h2 {
    margin: 20px 0 10px;
    font-size: 1.8rem;
}
  
.movie-card p {
    font-size: 1rem;
    margin-bottom: 10px;
    text-align: justify;
}
  
iframe {
    margin-top: 20px;
    width: 100%;
    height: 400px;
    border-radius: 10px;
    border: none;
}
  
@media (max-width: 600px) {
    #searchInput {
      width: 70%;
    }
    iframe {
      height: 250px;
    }
}
  