@import url("https://api.fontshare.com/v2/css?f[]=clash-display@400,600,700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Clash Display', sans-serif;
    background: 
        #602EFF;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
}

.logo {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 90px;
    height: auto;
}

/* ======================
   CONTAINER
====================== */
.container {
    background: white;
    padding: 40px;
    width: 420px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    text-align: center;
    animation: fadeIn 0.6s ease;
}

/* ======================
   TITRE
====================== */
h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #602EFF;
    margin-bottom: 25px;
}

/* ======================
   CARD QUESTION
====================== */
.card {
    background: #F9F9FF;
    padding: 30px 25px;
    border-radius: 18px;
    font-size: 1.15rem;
    margin-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card.correct {
    border: 4px solid green;
    box-shadow: 0 0 0 4px rgba(95, 221, 255, 0.3);
}

.card.wrong {
    border: 4px solid red;
    box-shadow: 0 0 0 4px rgba(255, 242, 0, 0.35);
}

/* ======================
   BOUTONS VRAI / FAUX
====================== */
.buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.buttons button {
    flex: 1;
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* VRAI */
.true {
    background: #5FDDFF;
    color: #111;
}

.true:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(95, 221, 255, 0.5);
}

/* FAUX */
.false {
    background: #DE8FFF;
    color: #111;
}

.false:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(222, 143, 255, 0.5);
}

/* ======================
   FEEDBACK TEXTE
====================== */
#feedback {
    margin-top: 20px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #333;
}

/* ======================
   BOUTON SUIVANT
====================== */
#nextBtn {
    display: none;
    margin-top: 20px;
    padding: 14px 22px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    background: #602EFF;
    color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#nextBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(96, 46, 255, 0.5);
}

/* ======================
   ANIMATIONS
====================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 480px) {
    .container {
        width: 90%;
        padding: 30px 20px;
    }

    h1 {
        font-size: 1.6rem;
    }
}
