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

body {
    font-family: 'Arial', sans-serif;
    /* background: linear-gradient(135deg, #ff9d00 0%, #764ba2 100%); */
    /* background: linear-gradient(135deg, #dc2626 0%, #f97316 #f9c115 ); */
    background: #f5ed0f;
    background: radial-gradient(circle,rgba(245, 237, 15, 1) 28%, rgba(255, 157, 0, 1) 73%, rgba(245, 57, 0, 1) 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 600px;
}

.screen {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    display: none;
    animation: fadeIn 0.5s ease;
}

.screen.active {
    display: block;
}

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

/* Écran d'accueil */
#welcome-screen {
    text-align: center;
}

#welcome-screen h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.subtitle {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 40px;
}

/* Boutons */
.btn-primary, .btn-secondary {
    padding: 15px 40px;
    font-size: 1.1em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: #ff9d00;
    background: linear-gradient(90deg,rgba(255, 157, 0, 1) 0%, rgba(245, 57, 0, 1) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    background: white;
    color: #ff9d00;
    border: 2px solid #ff9d00;
    margin-left: 10px;
}

.btn-secondary:hover {
    background: #ff9d00;
    color: white;
}

/* Barre de progression */
.progress-bar {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: #ff9d00;
    background: linear-gradient(90deg,rgba(255, 157, 0, 1) 0%, rgba(245, 57, 0, 1) 100%);
    transition: width 0.3s ease;
    width: 0%;
}

/* Compteur de questions */
.question-counter {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 0.9em;
}

#current-question {
    color: #ff9d00;
    font-weight: bold;
    font-size: 1.2em;
}

/* Questions */
#question-text {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

/* Réponses */
.answers {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.answer {
    padding: 20px;
    background: #f5f5f5;
    border: 3px solid transparent;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1em;
}

.answer:hover {
    background: #e8e8e8;
    transform: translateX(5px);
}

.answer.selected {
    background: rgba(255, 157, 0, 0.173);
    border-color: #ff9d00;
    transform: scale(1.02);
}

#next-btn {
    width: 100%;
}

/* Résultat */
#result-screen {
    text-align: center;
}

.result-card {
    margin: 30px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
}

#result-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 20px;
    animation: popIn 0.5s ease;
}

.copyright {
    text-align: center;
    color:rgba(0,0,0,0.4);
    padding-top:40px;
    font-size:11px;
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

#result-name {
    font-size: 2em;
    color: #333;
    margin-bottom: 15px;
}

#result-description {
    font-size: 1.1em;
    color: #555;
    line-height: 1.6;
}

.result-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Responsive */
@media (max-width: 600px) {
    .screen {
        padding: 30px 20px;
    }
    
    #welcome-screen h1 {
        font-size: 2em;
    }
    
    #question-text {
        font-size: 1.2em;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .btn-secondary {
        margin-left: 0;
    }
}
