/* ============================================
   QUIZ AROMÁTICO - O ESPAÇO DA RAKKEL
   Design: Lavanda, Aqua-Verde, Bege Claro
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f7f3ed 0%, #e8d9f0 50%, #d4e8e0 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* ============================================
   PARTÍCULAS / ESTRELAS (como no site principal)
   ============================================ */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ============================================
   CONTAINER PRINCIPAL
   ============================================ */
.quiz-container {
    position: relative;
    z-index: 10;
    max-width: 700px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(166, 133, 200, 0.3);
    backdrop-filter: blur(10px);
}

/* ============================================
   ECRÃS (Intro / Quiz / Resultado)
   ============================================ */
.screen {
    display: none;
    animation: fadeIn 0.6s ease;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   ECRÃ INICIAL
   ============================================ */
.intro-content {
    text-align: center;
}

.quiz-title {
    font-size: 3rem;
    font-weight: 700;
    color: #a685c8;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(166, 133, 200, 0.3);
}

.quiz-subtitle {
    font-size: 1.6rem;
    font-weight: 500;
    color: #6fa89f;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* ============================================
   BOTÕES
   ============================================ */
.btn-primary {
    background: linear-gradient(135deg, #cbb4d4 0%, #a6d8c8 100%);
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 18px 50px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(166, 133, 200, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(166, 133, 200, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

/* ============================================
   BARRA DE PROGRESSO
   ============================================ */
.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(166, 133, 200, 0.2);
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #cbb4d4 0%, #a6d8c8 100%);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 10px;
}

/* ============================================
   PERGUNTAS
   ============================================ */
.question-container {
    text-align: center;
}

.question-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #a685c8;
    margin-bottom: 40px;
    line-height: 1.4;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.option-btn {
    background: white;
    border: 3px solid #cbb4d4;
    border-radius: 20px;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.option-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(203, 180, 212, 0.3), rgba(166, 216, 200, 0.3));
    transition: left 0.4s ease;
    z-index: -1;
}

.option-btn:hover {
    border-color: #a6d8c8;
    color: #333;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(166, 133, 200, 0.2);
}

.option-btn:hover::before {
    left: 0;
}

/* ============================================
   ECRÃ DE RESULTADO
   ============================================ */
.result-content {
    text-align: center;
}

.result-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #a685c8;
    margin-bottom: 20px;
}

.result-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
}

.result-oils {
    background: rgba(166, 216, 200, 0.15);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
}

.result-oils h3 {
    font-size: 1.4rem;
    color: #6fa89f;
    margin-bottom: 15px;
}

.result-oils p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.result-message {
    font-size: 1.2rem;
    font-style: italic;
    color: #a685c8;
    margin-bottom: 30px;
}

.btn-whatsapp {
    display: inline-block;
    background: #25D366;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    margin-bottom: 20px;
}

.btn-whatsapp:hover {
    background: #1fb855;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.btn-restart {
    display: inline-block;
    background: linear-gradient(135deg, #cbb4d4 0%, #a6d8c8 100%);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    margin: 10px;
}

.btn-restart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(166, 133, 200, 0.4);
}

/* ============================================
   BOTÃO VOLTAR
   ============================================ */
.back-container {
    text-align: center;
    margin-top: 30px;
}

.btn-back {
    display: inline-block;
    color: #a685c8;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-back:hover {
    color: #6fa89f;
    text-decoration: underline;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 768px) {
    .quiz-container {
        padding: 30px 20px;
    }

    .quiz-title {
        font-size: 2.2rem;
    }

    .quiz-subtitle {
        font-size: 1.3rem;
    }

    .question-title {
        font-size: 1.4rem;
    }

    .option-btn {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .result-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .quiz-title {
        font-size: 1.8rem;
    }

    .btn-primary {
        padding: 15px 40px;
        font-size: 1.1rem;
    }
}
