/* Reset básico */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Roboto', sans-serif;
    background-color: #121212;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

header h1 {
    margin-bottom: 30px;
    font-size: 2rem;
    color: #ffb400;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
}

select, input[type=number], button {
    font-family: 'Roboto', sans-serif;
    padding: 10px 12px;
    background: #1e1e1e;
    color: #ffffff;
    border: 1px solid #444;
    border-radius: 6px;
    outline: none;
    transition: all 0.3s ease;
}

select:hover, input:hover, button:hover {
    background: #ffb400;
    color: #121212;
    cursor: pointer;
}

button {
    border: 1px solid #ffb400;
    font-weight: bold;
}

.results {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    width: 100%;
}

.card {
    background: #1f1f1f;
    border-radius: 12px;
    width: 260px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.7);
}

.card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 12px;
}

.card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #ffb400;
    margin-bottom: 8px;
}

.card p {
    font-size: 13px;
    max-height: 100px;     
    overflow-y: auto;       
    color: #ccc;
    padding-right: 5px;     
}

/* Scroll personalizado */
.card p::-webkit-scrollbar {
    width: 6px;
}

.card p::-webkit-scrollbar-thumb {
    background-color: #ffb400;
    border-radius: 3px;
}

.card span {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #ffb400;
    font-weight: bold;
}

.trailer-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 10px;
    background: #ffb400;
    color: #121212;
    border-radius: 5px;
    text-decoration: none;
    font-size: 12px;
    transition: 0.3s;
}

.trailer-btn:hover {
    background: #ffc94d;
}

label {
    font-size: 12px;
    color: #ccc;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
