.view-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* Style pour la grille */
.jeuGeant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.jeuGeant-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
}

/* Style commun pour les cartes */
.jeuGeant-card {
    cursor: pointer;
    text-decoration: none;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jeuGeant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.jeuGeant-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* Style pour la grille */
.jeuGeant-grid .jeuGeant-card {
    display: flex;
    flex-direction: column;
}

.jeuGeant-grid .jeuGeant-card h3 {
    margin: 10px;
    text-align: center;
    color: #333;
}

/* Style pour la liste */
.jeuGeant-list .jeuGeant-card {
    display: flex;
    flex-direction: row;
    padding: 15px;
    align-items: center;
}

.jeuGeant-list .jeuGeant-card img {
    width: 100px;
    height: 100px;
    margin-right: 20px;
    border-radius: 8px;
}

.jeuGeant-list .jeuGeant-card .game-info {
    flex: 1;
}

.jeuGeant-list .jeuGeant-card h3 {
    margin: 0 0 5px 0;
    color: #333;
}

.jeuGeant-list .jeuGeant-card p {
    margin: 0;
    color: #666;
    font-size: 14px;
}