:root {
    --primary: #093916;
    --secondary: #eaa321;
    --light: #f8f9fa;
    --pink: #ffb6c1;
    --purple: #d8bfd8;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff9f0;
    min-height: 100vh;
    overflow-x: hidden;
    color: #333;
}

h1, h2, h3, .display-4 {
    font-family: 'Fredoka One', cursive;
    color: var(--primary);
}

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
}

.question-card {
    background-color: white;
    border-radius: 16px;
    border-left: 6px solid var(--secondary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.question-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background-color: var(--purple);
    border-radius: 0 0 0 100%;
    opacity: 0.15;
}

.btn-option {
    background-color: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    margin: 0.5rem 0;
    border-radius: 12px;
    transition: all 0.2s ease;
    padding: 0.75rem 1.25rem;
    text-align: left;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-option:hover, .btn-option.selected {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-option.selected {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(234, 163, 33, 0.3);
}

.progress-container {
    background-color: white;
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.progress-bar {
    background: linear-gradient(90deg, var(--secondary), #ff8c00);
    border-radius: 8px;
    height: 12px;
    transition: width 0.4s ease;
}

.result-card {
    background-color: white;
    border-radius: 16px;
    border-top: 6px solid var(--secondary);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.course-badge {
    background: linear-gradient(135deg, var(--primary), #0d5724);
    color: white;
    font-size: 1.25rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.start-btn {
    background: linear-gradient(45deg, var(--secondary), #ff8c00);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.start-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.trait-badge {
    background: linear-gradient(135deg, var(--pink), #ff69b4);
    color: white;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin: 0.25rem;
    display: inline-block;
    box-shadow: var(--shadow-sm);
}

.emoji-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Confetti */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background-color: var(--secondary);
    opacity: 0;
    z-index: 1000;
    animation: confetti-fall 3s linear forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .question-card, .result-card {
        padding: 1.25rem;
    }
    
    .display-4 {
        font-size: 2.25rem;
    }
}