:root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --text-color: #ffffff;
    --accent: #e50914; /* Rojo tipo Netflix */
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

/* Buscador */
.search-box {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

input {
    padding: 10px;
    width: 60%;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
}

button {
    padding: 10px 20px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background-color: #b20710;
}

/* Grid de Resultados */
.grid-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

/* Estilo de la Tarjeta (Que crearemos con JS) */
.movie-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.movie-card:hover {
    transform: scale(1.05);
}

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

.movie-card h3 {
    font-size: 1rem;
    padding: 10px;
    margin: 0;
}