/* --- FOND GLOBAL --- */
body {
    background-image: url('/images/fond.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

/* --- TITRE SERIE --- */
.titre-serie {
    text-align: center;
    margin-top: 20px;
}

.titre-serie{
    max-width: 400px;
    height: auto;
}

  
.titre-image{
    max-width: 400px;
    height: auto;
}
/* --- CADRE PRINCIPAL BD --- */
.comic-card {
    max-width: 900px;
    background: rgba(255, 244, 209, 0.75); /* papier BD légèrement transparent */
    border: 4px solid #000; /* bordure 100% noire */
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(3px);
    border-radius: 12px;
    margin: auto;
    padding: 20px;
}

/* --- TITRE BD STYLE --- */
.comic-title {
    font-family: Impact, "Anton", sans-serif;
    font-size: 2.6rem;
    color: #ff4757;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.7);
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

/* --- BULLES BD (infos) --- */
.comic-bubble {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border: 3px solid rgba(0, 0, 0, 0.45);
    border-radius: 18px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
    font-size: 1.1rem;
    margin-bottom: 15px;
    transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Effet hover léger sur les bulles */
.comic-bubble:hover {
    transform: scale(1.03);
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 5px 5px 2px rgba(0, 0, 0, 0.35);
}

/* --- BORDURE COUVERTURE --- */
.comic-border {
    border: 1px solid rgba(0, 0, 0, 0.35);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.35);
    border-radius: 8px;
}

/* BOUTONS BD (nouvelle classe) */
.comic-action-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid rgba(0,0,0,0.45); /* bordure gris identique aux bulles */
    color: black !important; /* texte noir fixe */
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 18px;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.45);
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Hover léger pour tous les boutons */
.comic-action-btn:hover {
    transform: scale(1.03);
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 5px 5px 0 rgba(0,0,0,0.45);
    color: black !important; /* empêche changement couleur texte */
    border: 3px solid rgba(0,0,0,0.45);
}

/* --- ZOOM COUVERTURE --- */
.cover-zoom {
    transition: transform 0.3s ease;
}

.cover-zoom:hover {
    transform: scale(1.4);
}

.cover-hover:hover .img-hover {
    transform: scale(1.08);
}



.image-hover {
    transition: transform 0.3s ease;
}

.image-wrapper:hover .image-hover {
    transform: scale(1.08);
}

.titre-image {
    transition: transform 0.3s ease;
    width: 100%;
}
#album-note {
    background: #ff000000;
}

/* Boutons radio personnalisés gris */
.form-check-input:checked {
    background-color: #6c757d; /* gris */
    border-color: #6c757d;     /* gris */
}

.comic-card.non-possede {
    background-color: #ec4b4b; /* gris clair pour les albums non possédés */
}

/* --- BOUTONS CONNEXION/DECONNEXION --- */
.connection-btn {
    display: flex;                /* centrage et stabilité */
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid rgba(0,0,0,0.45);
    color: black !important;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 18px;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.45);
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    z-index: 1000; /* au-dessus de tout */
}

.connection-btn a {
    color: black !important;
    text-decoration: none;
}

.connection-btn:hover {
    transform: scale(1.03);
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 5px 5px 0 rgba(0,0,0,0.45);
}

.connection-btn:hover a {
    color: black !important;
}



/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .cover-zoom:hover {
        transform: scale(1.50);
    }
    .comic-card {
        padding: 15px;
    }
    .comic-title {
        font-size: 2rem;
    }
    .comic-bubble {
        font-size: 1rem;
        padding: 12px;
    }
    .comic-action-btn {
        font-size: 0.95rem;
        padding: 10px 16px;
    }

}

