body {
    font-family: sans-serif;
    background: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* Grille d'images */
.gallery { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }

.card { 
background: white; border-radius: 10px; overflow: hidden; width: 250px; 
box-shadow: 0 4px 10px rgba(0,0,0,0.1); cursor: pointer; transition: 0.3s;
}
.card:hover { transform: translateY(-5px); }
.card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.card-content { padding: 15px; }

/* --- STYLES DE LA LIGHTBOX (L'AGRANDISSEMENT) --- */
#lightbox {
display: none;
position: fixed;
top: 0; left: 0;
width: 100vw;  /* Largeur totale de la vue */
height: 100vh; /* Hauteur totale de la vue */
background-color: rgba(0, 0, 0, 0.95);
z-index: 9999;
justify-content: center;
align-items: center;
cursor: zoom-out;
}

#lightbox img {
width: 100%;  /* Prend toute la largeur disponible */
height: 100%; /* Prend toute la hauteur disponible */
object-fit: contain; /* L'image s'agrandit au max sans être déformée ou coupée */
animation: fadeIn 0.3s ease-in-out;
}

.discord-btn {
    font-size: 40px;
    padding-bottom: 30px;
}

@keyframes zoomIn {
from { transform: scale(0.7); opacity: 0; }
to { transform: scale(1); opacity: 1; }
}