/* ==========================================
   ARQUIVO: style.css
   ESTILOS GERAIS PARA TODO O SITE
========================================== */

/* Reset obrigatório */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #141414;
    color: #ffffff;
    line-height: 1.4;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ✅ MODO ESCURO / CLARO - 100% CORRIGIDO */
body.modo-escuro {
    background-color: #141414 !important;
    color: #ffffff !important;
}

body:not(.modo-escuro) {
    background-color: #ffffff !important;
    color: #141414 !important;
}

body:not(.modo-escuro) .login-card,
body:not(.modo-escuro) .modal-conteudo {
    background-color: #f5f5f5 !important;
    color: #141414 !important;
}

body:not(.modo-escuro) input {
    background-color: #e0e0e0 !important;
    color: #141414 !important;
}

body:not(.modo-escuro) input::placeholder {
    color: #666666 !important;
}

body:not(.modo-escuro) .faq-pergunta,
body:not(.modo-escuro) .faq-resposta {
    background-color: #e0e0e0 !important;
    color: #141414 !important;
}

body:not(.modo-escuro) .aviso-demo,
body:not(.modo-escuro) .rodape,
body:not(.modo-escuro) .nome-perfil {
    color: #555555 !important;
}

body:not(.modo-escuro) .btn-sair-conta,
body:not(.modo-escuro) .btn-gerenciar {
    color: #333333 !important;
    border-color: #333333 !important;
}

body:not(.modo-escuro) .btn-sair-conta:hover,
body:not(.modo-escuro) .btn-gerenciar:hover {
    color: #000000 !important;
    border-color: #000000 !important;
}

body:not(.modo-escuro) .links a:not(.btn-criar-conta) {
    color: #555555 !important;
}

body:not(.modo-escuro) .card-filme {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important;
}

/* Manter logo vermelha em ambos os modos */
.logo {
    color: #E50914 !important;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Botões padrão */
.btn {
    border: none;
    border-radius: 3px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #E50914;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #b20710;
}

.btn-secondary {
    background-color: rgba(109, 109, 110, 0.7);
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: rgba(109, 109, 110, 0.5);
}

/* Utilitários */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.oculto {
    display: none !important;
}

/* Animações */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Barra de rolagem personalizada */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #141414;
}

::-webkit-scrollbar-thumb {
    background: #E50914;
    border-radius: 4px;
}

/* Aviso demonstrativo */
.aviso-demo {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
    margin-top: 10px;
}

/* Responsividade geral */
@media (max-width: 768px) {
    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}