/* home-button.css - Pulsante Home fisso, presente su tutte le pagine di gioco.
   Elemento indipendente da header/nav: resta visibile anche quando il JS li
   nasconde durante una partita (es. js/levels.js, js/audio-game.js). */

.home-fab {
    position: fixed;
    top: max(16px, env(safe-area-inset-top));
    left: max(16px, env(safe-area-inset-left));
    z-index: 500;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.home-fab:hover,
.home-fab:focus-visible {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
    .home-fab {
        width: 42px;
        height: 42px;
        font-size: 19px;
    }
}
