/* Oculta o conteúdo da página inicialmente */
body {
    display: none;
}

@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@400;600&family=Roboto:wght@300;400;500&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
font-family: 'Roboto', sans-serif;
background-color: #e2e2e2;
color: #F4F4F4;

padding: 20px 10px; 
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
position: relative;
box-sizing: border-box;
}

.container {
    background-color: #f3f3f3;
    border-radius: 25px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease-in-out;
}

header img {
    width: 150px;
    margin-bottom: 30px;
}

.banner img {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 15px;
}

h1 {
    font-size: 26px;
    color: #00a2a2;
    margin-bottom: 30px;
    transition: color 0.4s ease;
}

p {
    font-size: 18px;
    margin-bottom: 25px;
    color: #000000;
}

.progress-bar {
    width: 100%;
    background-color: #e2e2e2;
    border-radius: 10px;
    margin-bottom: 20px;
}

.progress {
    height: 12px;
    background-color: #1877f2;
    border-radius: 10px;
    width: 0%;
    transition: width 0.5s ease;
}

* Ajuste nas questões */
.question {
background-color: #e2e2e2;
border-radius: 15px;
padding: 25px;
margin: 0 auto 30px auto; 
width: 100%; 
box-sizing: border-box; 
}

.question h2 {
    font-size: 20px;
    color: #111111;
}

.answers {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.answers button {
    background-color: #1877f2;
    color: #F4F4F4;
    border: none;
    border-radius: 12px;
    padding: 15px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.answers button:hover {
    background-color: #A02424;
    transform: scale(1.02);
}

.answers button:disabled {
    background-color: #555;
    cursor: not-allowed;
}

.hidden {
    display: none;
}

.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.loading img {
    width: 80px;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.popup {
    display: none;
    background-color: #f3f3f3;
    padding: 30px;
    border-radius: 15px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    z-index: 200;
    animation: shake 0.4s ease;
}

@keyframes shake {
    0% { transform: translate(-50%, -50%) rotate(0); }
    25% { transform: translate(-50%, -50%) rotate(-10deg); }
    50% { transform: translate(-50%, -50%) rotate(10deg); }
    75% { transform: translate(-50%, -50%) rotate(-10deg); }
    100% { transform: translate(-50%, -50%) rotate(0); }
}

.popup h2 {
    color: #00a2a2;
    margin-bottom: 10px;
    font-size: 24px;
}

.popup img {
    width: 100px;
    margin-bottom: 10px;
    animation: errorX 0.5s ease;
}

@keyframes errorX {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

footer {
    margin-top: 30px;
    color: #AFAFAF;
}

@media (max-width: 768px) {
    .container {
        width: 90%;
        padding: 25px;
    }

    h1 {
        font-size: 22px;
    }

    p {
        font-size: 16px;
    }

    .question h2 {
        font-size: 18px;
    }

    .answers button {
        font-size: 14px;
        padding: 10px;
    }
}

.final-stage {
    display: none;
    color: #000000;
    text-align: center;
}

.final-stage button {
    background-color: #00a2a2;
    color: #F4F4F4;
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.final-stage button:hover {
    background-color: #A02424;
    transform: scale(1.05);
}

.answers {
    display: flex;
    flex-direction: row; /* Coloca os botões em linha */
    gap: 10px; /* Espaçamento entre os botões */
    justify-content: center; /* Centraliza os botões dentro do contêiner */
}
.answers {
display: flex;
flex-direction: row; /* Coloca os botões em linha */
gap: 20px; /* Espaçamento entre os botões */
justify-content: center; /* Centraliza os botões */
margin-top: 25px; /* Aumenta a distância do título */
}

.answers button {
flex: 1;
padding: 15px 20px; /* Aumenta o tamanho dos botões */
font-size: 16px; /* Aumenta o tamanho da fonte */
border-radius: 12px; /* Deixa os botões mais arredondados */
color: #FFFFFF;
cursor: pointer;
border: none;
min-width: 120px; /* Define uma largura mínima para os botões */
}

.btn-true {
background-color: #007bff;
}

.btn-fake {
background-color: #e60000;
}


@media (max-width: 768px) {
.container {
width: 95%; 
padding: 20px;
margin: 0 auto; 
}
}
/* Estilo para a sobreposição de fundo */
.popup-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
}

/* Escondemos inicialmente a popup */
.popup-overlay.hidden {
display: none;
}

/* Estilo da popup */
.popup-content {
background-color: #fff;
padding: 30px;
border-radius: 10px;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
max-width: 400px;
width: 90%;
}

/* Estilo do título em preto */
.popup-title {
font-size: 21px;
font-weight: bold;
color: #000;
margin-bottom: 10px;
outline: none;
}

.popup-subtitle {
font-size: 18px;
margin-bottom: 20px;
color: #555;
outline: none;
}

/* Estilo do botão */
.popup-button {
padding: 11px 43px;
font-size: 19px;
border: none;
border-radius: 7px;
background-color: #00a2a2;
color: #fff;
cursor: pointer;
transition: background-color 0.3s ease;
}

.popup-button:hover {
background-color: #0056b3;
}
.final-stage img {
max-width: 80%; 
width: 100%;
height: auto;
}

.final-stage h2 {
font-size: 24px; /* Aumenta o tamanho do título */
margin-bottom: 20px; /* Espaçamento abaixo do título */
}

.final-stage p {
font-size: 18px; /* Aumenta o tamanho da fonte do parágrafo */
line-height: 1.8; /* Aumenta o espaçamento entre as linhas */
margin-bottom: 20px; /* Aumenta o espaçamento entre os parágrafos */
}

#btngo {
font-size: 20px; /* Aumenta o tamanho do texto do botão */
padding: 15px 30px; /* Aumenta o tamanho do botão */
margin-top: 20px; /* Espaço acima do botão */
background-color: #00a2a2;
color: #FFFFFF;
border: none;
border-radius: 8px;
cursor: pointer;
}

footer {
margin-top: 30px; /* Espaçamento entre o botão e o rodapé */
font-size: 16px; /* Tamanho da fonte do rodapé */
color: #777;
}


#finalStage h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
}

#finalStage p {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #444;
}

#btngo {
    margin-top: 20px;
    padding: 12px 25px;
    font-size: 18px;
    background-color: #00a2a2;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: block;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    transition: background-color 0.3s ease;
}

#btngo:hover {
    background-color: #007b7b;
}

#finalStage .warning-text {
    font-weight: bold;
    color: #D9534F;
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
}

#finalStage span {
    font-weight: bold;
    color: #D9534F;
}

/* Estilo para os itens de ganhos */
.ganhos-list {
    list-style-type: none;
    padding-left: 0;
    margin: 15px 0;
    text-align: left;
}

.ganhos-list li {
    font-size: 16px;
    line-height: 1.4;
    color: #444;
    padding-left: 20px;
    position: relative;
}

.ganhos-list li::before {
    content: "• ";
    color: #00a2a2;
    font-weight: bold;
    position: absolute;
    left: 0;
}
