/* Custom styles for smooth transitions */
.result-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.result-item:nth-child(1) {
    animation-delay: 0.1s;
}

.result-item:nth-child(2) {
    animation-delay: 0.3s;
}

.result-item:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Question card hover effect */
.question-card {
    transition: all 0.3s ease;
}

.question-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.question-card.selected {
    border-color: #9333ea;
    background: linear-gradient(135deg, #f3e8ff 0%, #fce7f3 100%);
}

/* Button click effect */
.option-btn {
    transition: all 0.2s ease;
}

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

/* Smooth progress bar animation */
#progress-bar {
    transition: width 0.5s ease-out;
}

/* Result container fade in */
#result-container {
    animation: fadeIn 0.8s ease-out;
}

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

