/* ================================
   MINI-JEU DRAGON — STYLE GLOBAL
   ================================ */

#drae-mini-jeu-container {
    max-width: 480px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
    background: linear-gradient(145deg, #1a1a1f, #23232a);
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(0,0,0,0.5), inset 0 0 10px rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}

/* Effet de particules en fond */
#drae-mini-jeu-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../img/fond_jeu_orbes.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
}

@keyframes drift {
    from { transform: translateY(0); }
    to   { transform: translateY(-300px); }
}

.drae-mini-jeu-title {
    font-size: 28px;
    color: #ffd86b;
    text-shadow: 0 0 10px rgba(255,215,100,0.6);
    margin-bottom: 20px;
    font-family: "Cinzel", serif;
}

/* ================================
   CANVAS
   ================================ */

#drae-mini-jeu-canvas {
    width: 100%;
    height: 400px;
    background: radial-gradient(circle at center, #2b2b33, #1a1a1f);
    border: 3px solid #444;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255,215,100,0.2);
    cursor: crosshair;
}

/* ================================
   BOUTON TERMINER
   ================================ */

#drae-mini-jeu-finish {
    margin-top: 20px;
    padding: 12px 25px;
    font-size: 18px;
    background: linear-gradient(135deg, #ffcc55, #ff9f1c);
    border: none;
    border-radius: 10px;
    color: #1a1a1f;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255,165,50,0.5);
    transition: 0.2s ease;
}

#drae-mini-jeu-finish:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255,165,50,0.8);
}


/* ================================
   ÉCRAN DE FIN DU MINI-JEU
   ================================ */

#drae-mini-jeu-end {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.drae-end-panel {
    background: linear-gradient(145deg, #2a2a33, #1c1c22);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    width: 80%;
    max-width: 350px;
    box-shadow: 0 0 25px rgba(255,215,100,0.25);
    border: 2px solid rgba(255,215,100,0.3);
}

.drae-end-panel h2 {
    color: #ffd86b;
    font-family: "Cinzel", serif;
    text-shadow: 0 0 10px rgba(255,215,100,0.5);
    margin-bottom: 15px;
}

.drae-end-score {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 25px;
}

#drae-end-return-btn {
    padding: 12px 25px;
    font-size: 18px;
    background: linear-gradient(135deg, #ffcc55, #ff9f1c);
    border: none;
    border-radius: 10px;
    color: #1a1a1f;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255,165,50,0.5);
    transition: 0.2s ease;
}

#drae-end-return-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255,165,50,0.8);
}

