/* Conteneur principal */
.rw-flappy-container {
    max-width: 500px;
    margin: 30px auto;
    padding: 20px 18px;
    border-radius: 18px;
    background: radial-gradient(circle at top left, #0f172a, #020617 60%, #000000);
    color: #e5e7eb;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.rw-flappy-header h2 {
    margin: 0 0 6px;
    font-size: 1.5rem;
}

.rw-flappy-header p {
    margin: 0 0 14px;
    font-size: 0.95rem;
    color: #cbd5f5;
}

/* Jeu */
.rw-flappy-game-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#rw-flappy-canvas {
    border-radius: 16px;
    background: linear-gradient(to bottom, #020617, #0f172a 50%, #064e3b 100%);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.9);
}

/* UI */
.rw-flappy-ui {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 10px;
    gap: 10px;
    flex-wrap: wrap;
}

.rw-flappy-score,
.rw-flappy-best {
    font-size: 0.95rem;
}

/* Bouton */
.rw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.rw-btn-primary {
    background: linear-gradient(135deg, #f97316, #facc15);
    color: #111827;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.6);
}

.rw-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 35px rgba(249, 115, 22, 0.8);
}

.rw-flappy-message {
    margin-top: 12px;
    font-size: 0.95rem;
    text-align: center;
    min-height: 1.2em;
}

/* Texte de récompense */
.rw-flappy-message--reward {
    color: #facc15;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 600px) {
    .rw-flappy-container {
        margin: 20px 10px;
    }

    #rw-flappy-canvas {
        width: 100%;
        height: auto;
    }
}
