/* QUIZ FUNNEL CSS (FULL INTERACTIVE FLUID APP) */

body.quiz-body-lock {
    margin: 0;
    overflow-x: hidden;
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at top center, rgba(40, 0, 0, 0.6) 0%, #000 70%);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
}

.quiz-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
}

.quiz-vertical-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.quiz-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 0 0 15px rgba(255,0,0,0.5);
    max-width: 800px;
}

.quiz-box {
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 0, 0, 0.3);
    padding: 40px 30px;
    border-radius: 20px;
    max-width: 800px; /* Alargado para suportar grids e VSL */
    width: 100%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), inset 0 0 20px rgba(255, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: max-width 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Base Question UI */
.quiz-question {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
}

.quiz-option {
    display: block;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 16px 20px;
    margin-bottom: 12px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.quiz-option:hover {
    background: rgba(255, 0, 0, 0.15);
    border-color: rgba(255, 0, 0, 0.5);
    transform: translateX(10px);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}

/* Animations */
.quiz-fade-out { animation: fadeOutLeft 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; }
.quiz-fade-in { animation: fadeInRight 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; }

@keyframes fadeOutLeft { to { opacity: 0; transform: translateX(-40px); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }


/* --- Novos Componentes Gamificados --- */

/* Frustrações */
.frustration-list-interactive {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.frustration-list-interactive li {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.frustration-list-interactive li:hover {
    background: rgba(255,0,0,0.1);
    border-color: rgba(255,0,0,0.3);
}

.frustration-list-interactive li.selected {
    background: rgba(255,0,0,0.2);
    border-color: #ff0000;
    box-shadow: 0 0 15px rgba(255,0,0,0.3);
}

.frustration-list-interactive li.selected i {
    color: #ff0000;
}

/* Grids do Método (dentro da box) */
.cards-grid-small {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    text-align: left;
}

.card-small {
    background: rgba(17,17,17,0.8);
    border: 1px solid rgba(255,0,0,0.2);
    padding: 20px;
    border-radius: 15px;
}

/* Container do Carrossel de Resultados (Dentro do app) */
.horizontal-wrapper-small {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 15px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.horizontal-wrapper-small::-webkit-scrollbar { height: 6px; }
.horizontal-wrapper-small::-webkit-scrollbar-thumb { background: var(--primary-red); border-radius: 4px; }
.horizontal-wrapper-small::-webkit-scrollbar-track { background: rgba(255, 0, 0, 0.1); }

.scroll-track-small {
    display: flex;
    gap: 15px;
}
.item-card-small {
    min-width: 250px;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    scroll-snap-align: center;
    border: 1px solid rgba(255,0,0,0.3);
}
.item-card-small img {
    width: 100%; height: 100%; object-fit: cover;
}

/* Botão Padrão Gamificado */
.cta-button-small {
    background: linear-gradient(90deg, #ff0000, #cc0000);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255,0,0,0.4);
    transition: all 0.3s;
}
.cta-button-small:hover { transform: scale(1.05); }

/* Falsa Análise (Loading) */
.analyzing-box { text-align: center; padding: 30px 0; }
.analyzing-text { font-size: 1.8rem; font-weight: 900; color: #ff0000; margin-bottom: 25px; animation: pulse 1.5s infinite; }
.progress-bar-container { width: 100%; height: 15px; background: rgba(255, 255, 255, 0.1); border-radius: 20px; overflow: hidden; margin-bottom: 20px; }
.progress-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #ff0000, #ff4c4c); box-shadow: 0 0 15px #ff0000; transition: width 0.4s ease; }
.analyzing-status { color: #aaa; font-size: 1.1rem; }

/* Utilities */
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mx-auto { margin-left: auto; margin-right: auto; }

@media (max-width: 768px) {
    .quiz-title { font-size: 1.3rem; margin-bottom: 20px; }
    .quiz-box { padding: 25px 15px; border-radius: 15px; }
    .quiz-question { font-size: 1.15rem; margin-bottom: 20px; }
    .cards-grid-small { grid-template-columns: 1fr; }
    .item-card-small { min-width: 220px; height: 300px; }
}
