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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #FFFFFF;
    min-height: 100vh;
}

/* Progress Bar (topo da página) */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #E5E7EB;
    height: 4px;
    z-index: 1000;
}

.progress-bar {
    height: 100%;
    background: #10B981;
    width: 0%;
    transition: width 0.5s ease;
}

.container {
    width: 100%;
    max-width: 100%;
    background: white;
    min-height: 100vh;
    padding-top: 4px;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: white;
}

.back-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    transition: opacity 0.2s;
}

.back-btn:hover {
    opacity: 0.7;
}

.back-btn.hidden {
    visibility: hidden;
}

.logo {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

.spacer {
    width: 40px;
}

/* Quiz Container */
.quiz-container {
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
}

/* Questions */
.question {
    display: none;
    animation: fadeIn 0.4s ease;
}

.question.active {
    display: block;
}

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

.question-title {
    font-size: 22px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 32px;
    line-height: 1.5;
    text-align: center;
}

/* Options */
.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-btn {
    background: #F9FAFB;
    border: none;
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    text-align: left;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
}

.option-btn:active {
    transform: scale(0.98);
}

.option-btn .emoji {
    font-size: 32px;
    flex-shrink: 0;
}

.option-btn .text {
    color: #1F2937;
    font-weight: 500;
    font-size: 16px;
}

/* Card Options */
.options.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.card-option {
    background: #F9FAFB;
    border: none;
    border-radius: 16px;
    padding: 28px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
}

.card-option:active {
    transform: scale(0.98);
}

.card-emoji {
    font-size: 52px;
    margin-bottom: 12px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 4px;
}

.card-subtitle {
    font-size: 13px;
    color: #6B7280;
    font-weight: 400;
}

/* Transition Screens */
.question.transition {
    display: none;
}

.question.transition.active {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.transition-content {
    text-align: center;
}

.transition-title {
    font-size: 24px;
    font-weight: 600;
    color: #1F2937;
    animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Loading Screen */
.question.loading {
    display: none;
}

.question.loading.active {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.loading-content {
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.loading-title {
    font-size: 24px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 32px;
}

.loading-bar-container {
    background: #E5E7EB;
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
}

.loading-bar {
    height: 100%;
    background: #10B981;
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 10px;
}

.loading-text {
    font-size: 15px;
    color: #6B7280;
    margin-top: 12px;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 640px) {
    .quiz-container {
        padding: 30px 16px;
    }
    
    .question-title {
        font-size: 20px;
        margin-bottom: 28px;
    }
    
    .option-btn {
        padding: 18px 20px;
    }
    
    .option-btn .text {
        font-size: 15px;
    }
    
    .options.cards {
        grid-template-columns: 1fr;
    }
    
    .card-option {
        padding: 24px 16px;
    }
}

@media (min-width: 641px) {
    .quiz-container {
        padding: 50px 20px;
    }
}