* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #1c1c1c;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 90%;
    max-width: 1200px;
    text-align: center;
}

header {
    margin-bottom: 40px;
}

.app-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.search-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#search-input {
    width: 300px;
    padding: 10px 15px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    background: #2c2c2c;
    color: #fff;
    outline: none;
}

#search-button {
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #00feba, #5b548a);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

#search-button:hover {
    background: linear-gradient(135deg, #5b548a, #00feba);
}

#movie-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
}

#movie-list p {
    color: #bbb;
    font-size: 1.2rem;
    margin-top: 50px;
    grid-column: 1 / -1; /* This makes the message span across all columns */
}

.movie-card {
    background: #2c2c2c;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
}

.movie-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.movie-info {
    padding: 15px;
}

.movie-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.movie-info p {
    font-size: 0.9rem;
    color: #bbb;
    margin-bottom: 5px;
}

.movie-info .overview {
    font-size: 0.8rem;
    color: #888;
}