body {
    background: linear-gradient(135deg,#0d1b2a,#1b263b);
    font-family: "Nunito", sans-serif;
    color: #ffffff;
    margin: 0;
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    gap: 50px;
}

.main h1 {
    font-size: 2.8em;
    text-shadow: 0 0 15px #00eaff;
}

.conteneur {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.carte {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;

    width: 260px;
    height: 240px;
    padding: 15px;

    background: rgba(255,255,255,0.08);
    border: 2px solid #203047;
    border-radius: 20px;
    cursor: pointer;

    transition: 0.25s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.carte:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: #3b82f6;
    box-shadow: 0 0 28px #3b82f6;
}

.carte img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    transition: 0.3s ease;
}

.carte:hover img {
    transform: scale(1.15);
    filter: brightness(1.2);
}

.carte p {
    margin: 5px 0 0;
    font-size: 1.4em;
    font-weight: bold;
    text-shadow: 0px 0px 6px rgba(0,255,255,0.4);
}

.commentaire {
    max-width: 900px;
    text-align: justify;
    line-height: 1.7;
    font-size: 1.1em;
    color: #dce3f0;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #203047;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: 0.3s ease;
}

.commentaire:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #3b82f6;
    box-shadow: 0 0 20px #3b82f6;
}
