body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
}
.step {
    display: none;
    background-image: url('../../../images/fundo.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    color: white;
    text-align: center;
}
.step.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.logo {
    max-width: 300px;
    margin-bottom: 2rem;
}
.tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}
.btn-moodflix {
    padding: 15px 30px;
    font-size: 1.2rem;
    background-color: #e50914;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-moodflix:hover {
    background-color: #f40612;
}
.footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}
.mood-option, .type-option, .platform-option {
    cursor: pointer;
    padding: 10px;
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
}
.mood-option.selected, .type-option.selected, .platform-option.selected {
    background-color: #e50914;
}
.platform-option img {
    width: 50px;
    height: 50px;
}
#results{
    text-align: left;
}
.result-container {
    max-width: 900px;
    width: 80%;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    position: relative;
    height: 70vh;
}
.result-item {
    display: flex;
    flex-direction: row;
    height: 100%;
}
.result-poster {
    flex: 0 0 auto;
    max-width: 450px;
    position: relative;
}
.result-poster img {
    width: auto;
    height: calc(70vh - 40px);
}
.result-content {
    flex: 1;
    padding-left: 20px;
    height: calc(70vh - 40px);
    overflow: auto;
}
.trailer-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}
.next-result {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
    z-index: 1001;
}
.loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}
.loading i {
    font-size: 3rem;
    color: #e50914;
}
.close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #e50914;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1002;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.navigation-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}
@media (max-width: 767px) {
    .result-container {
        width: 90%;
        height: auto;
    }
    .result-item {
        flex-direction: column;
    }
    .result-poster {
        max-width: 100%;
        margin: 0 auto;
    }
    .result-poster button{
        clear: both;
        display: table;
        margin: 20px auto 10px;
    }
    .result-content {
        padding-left: 0;
        padding-top: 20px;
    }
    .trailer-btn {
        position: static;
        transform: none;
        margin-top: 10px;
    }
    .next-result {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%;
        text-align: center;
    }
    .result-poster img {
        width: auto;
        height: auto;
        max-height: 300px;
    }
    .step{
        height: auto;
        min-height: 100vh;
        padding: 80px 0;
    }
}
