@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

:root {
    --neon-pink: #ff6ec7;
    --neon-blue: #42e8f0;
    --neon-green: #42f0a8;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    margin: 0; font-family: 'Montserrat', sans-serif;
    background-color: #050a14; height: 100vh; overflow: hidden; color: white;
}

/* UTILITÁRIOS DE TELA */
.tela { width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; position: absolute; top: 0; left: 0; transition: opacity 0.4s; }
.hidden { opacity: 0; pointer-events: none; z-index: -1; display: none; }
.ativa { opacity: 1; z-index: 1; display: flex; }

/* FUNDO */
.background-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; }
.background-container img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(5,15,30,0.3), rgba(5,10,25,0.7)); } /* Reduzindo a opacidade para o fundo ser mais visível */

/* CARD DE VIDRO */
.glass-card {
    width: 85%; max-width: 350px; background: var(--glass-bg);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: 30px; border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    padding: 30px 20px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 20px;
    max-height: 80vh; /* Para telas pequenas */
}

/* INPUT DE NOME (NOVO) */
.glass-input {
    background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.2);
    padding: 15px; border-radius: 12px; color: white; width: 90%;
    font-family: 'Montserrat'; text-align: center; font-size: 1rem; margin-bottom: 10px;
}
.glass-input:focus { outline: none; border-color: var(--neon-blue); box-shadow: 0 0 10px rgba(66, 232, 240, 0.3); }

/* TEXTOS */
.titulo-card { margin: 0; font-size: 1.5rem; }
.desc-card { font-size: 0.9rem; opacity: 0.8; margin-top: -10px; }
.pergunta-texto { font-size: 1.2rem; min-height: 60px; display: flex; align-items: center; justify-content: center; }

/* BOTÃO NEON PRINCIPAL */
.neon-button {
    background: linear-gradient(90deg, #ff5acd, #fb2c74); color: white; border: none;
    padding: 15px 40px; border-radius: 30px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(255, 44, 116, 0.6); cursor: pointer; transition: 0.2s; width: 100%;
}
.neon-button:active { transform: scale(0.95); }

/* BOTÕES DE OPÇÃO DO QUIZ */
.opcoes-container { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.btn-opcao {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    color: white; padding: 15px; border-radius: 15px; cursor: pointer;
    display: flex; align-items: center; gap: 15px; transition: 0.2s; text-align: left; font-family: 'Montserrat';
}
.btn-opcao:hover { background: rgba(255,255,255,0.15); border-color: var(--neon-blue); transform: translateX(5px); }
.icone-grande { color: var(--neon-blue); }

/* BOTÃO VOLTAR (NOVO) */
.btn-voltar-inferior {
    background: transparent; border: none; color: rgba(255,255,255,0.5);
    margin-top: 10px; cursor: pointer; font-size: 0.9rem; text-decoration: underline;
}

/* BARRA DE PROGRESSO */
.barra-container { width: 100%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; margin-bottom: 10px;}
.barra-progresso { height: 100%; background: var(--neon-blue); width: 0%; transition: width 0.3s; }

/* LOADING */
.spinner { width: 40px; height: 40px; border: 4px solid rgba(255,255,255,0.1); border-top: 4px solid var(--neon-pink); border-radius: 50%; animation: giro 1s linear infinite; }
@keyframes giro { 100% { transform: rotate(360deg); } }
.piscar { animation: blink 1.5s infinite; }
@keyframes blink { 50% { opacity: 0.5; } }

/* RESULTADO E SCROLL */
.scroll-card { overflow-y: auto; justify-content: flex-start; }
.header-resultado { text-align: center; margin-bottom: 20px; }
.destaque-icon { font-size: 3rem; color: var(--neon-green); margin-bottom: 10px; display: block;}
.timeline { width: 100%; text-align: left; }
.item-roteiro { 
    background: rgba(0,0,0,0.2); border-left: 3px solid var(--neon-pink);
    padding: 15px; margin-bottom: 10px; border-radius: 0 10px 10px 0; 
}
.hora { color: var(--neon-blue); font-weight: bold; font-size: 0.9rem; }
.titulo-atividade { font-weight: bold; margin: 4px 0; }

/* BOTÃO COMPARTILHAR (NOVO) */
.acoes-finais { width: 100%; margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.btn-share {
    background: #25D366; /* Cor WhatsApp/Share */
    color: white; border: none; padding: 12px; border-radius: 10px;
    font-weight: bold; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 8px; font-family: 'Montserrat';
}
.btn-text { background: transparent; border: none; color: #ccc; cursor: pointer; text-decoration: underline; }

/* OPÇÕES INFERIORES (NOVO) */
.opcoes-inferiores {
    display: flex; justify-content: space-around; width: 100%; margin-top: 30px;
}
.opcao-inferior {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    color: rgba(255,255,255,0.7); font-size: 0.8rem; cursor: pointer; transition: color 0.2s;
}
.opcao-inferior:hover {
    color: var(--neon-blue);
}
.opcao-inferior i {
    font-size: 1.8rem; color: var(--neon-blue);
}
