.wallet {
    font-weight: bold;
    color: #2c3e50;
}

/* Contenu principal */
main#app {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}



/* Conteneur général des collections */
.nfts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

/* Grille pour les NFTs */
.nfts-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.nfts-flex {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap:wrap;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 1rem;
}

.nft-card {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px;
    width: 250px;
    text-align: center;
    background-color: #fff2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nft-card.owned {
	border: 1px solid gold;
	box-shadow: 0 0 15px rgba(167, 161, 40, 0.3);
}

.nft-card.owned:hover {
    /*box-shadow: inset 0 0 15px rgba(154, 141, 49, 0.8);*/
    box-shadow: 0 0 15px rgba(154, 141, 49, 0.8);
}

.nft-card:hover {
    transform: translateY(-3px);
}

.nft-card img {
  width: 100%;
  height: 200px;           /* fixe l’image */
  object-fit: cover;       /* recadrage propre */
}

.nft-card .card-body {
  padding: 12px;
  flex-grow: 1;
}

.nft-card .card-text {
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;   /* nombre de lignes visibles */
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0.8;
}

/* page collector table */ 
#nftBonusSection table {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    color: #fff;
}
#nftBonusSection img {
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}


/* assets/style.css */

/* Conteneur général des collections */
/* Grille pour les collections */
.collections-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}
.collections-flex {
    display: flex;
    flex-direction: row;
    flex-wrap:wrap;
    justify-content: space-evenly;
    gap: 1rem;
}

/* Carte d'une collection */
.collection-card {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px;
    width: 250px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.collection-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.collection-card h3 {
    margin: 10px 0 5px;
    font-size: 1.1em;
}

.collection-card p {
    font-size: 0.9em;
    color: #555;
}


/* Responsive */
@media (max-width: 600px) {
    nav { gap: 0.5rem; }
}