body {
    background: linear-gradient(135deg, #1f1f1f 0%, #2c2c2c 100%);
    color: #f5f6fa;
    font-family: 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 2rem;
}

h1 {
    color: #1E90FF;            /* bleu vif */
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.tile {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    color: #f5f6fa;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25), 0 1.5px 4px rgba(60,60,60,0.12);
    transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.18s;
    position: relative;
    overflow: hidden;
    padding: 1.2rem 0.8rem;
    margin: 0.8rem 0;
    font-size: 0.95rem;
}

.tile img {
    /* Centrage dans la tuile */
    display: block;
    margin: 1rem auto 0 auto; /* centré horizontalement et un peu d'espace en haut */
    
    /* Taille adaptée */
    max-width: 60%;   /* occupe jusqu'à 60% de la largeur de la tuile */
    max-height: 60%;  /* évite de dépasser la tuile */
    object-fit: contain; /* garde les proportions */
    
    /* Modernisation avec masque / forme */
    border-radius: 50%; /* cercle parfait */
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 100%, rgba(0,0,0,0) 100%);
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 100%, rgba(0,0,0,0) 100%);
    
    /* Effets d'ombre et transitions pour le style moderne */
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tile img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(0,0,0,0.45);
}

.tile::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 60%;
    background: linear-gradient(120deg, rgba(0,255,255,0.08) 0%, rgba(255,0,255,0.06) 100%);
    filter: blur(12px);
    z-index: 0;
    pointer-events: none;
}

/* Ajout pour affichage en 2 colonnes et tiles cubiques */
.tiles-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.tile {
    aspect-ratio: 1 / 1;
    /* garde le reste des styles existants */
}

.tile:hover {
    transform: translateY(-6px) scale(1.025);
    box-shadow: 0 8px 32px rgba(0,0,0,0.32), 0 2px 8px rgba(60,60,60,0.18);
}

.tile:hover img {
    transform: scale(0.9);      /* réduit légèrement la taille */
    box-shadow: 0 6px 24px rgba(0,0,0,0.45); /* ombre plus prononcée */
}

.tile > * {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    justify-content: center;
    align-items: center;
}


input[type="button"] {
    background: linear-gradient(135deg, #1E90FF, #3399FF);  /* Bleu vif */
    color: white;                /* Texte blanc */
    border: none;                /* Pas de bordure classique */
    border-radius: 8px;          /* Coins arrondis */
    padding: 10px 20px;          /* Taille confortable */
    font-size: 16px;             /* Lisible */
    font-weight: 500;            /* Un peu de gras */
    cursor: pointer;             /* Curseur pointeur */
    transition: all 0.3s ease;   /* Transition douce pour hover */
    box-shadow: 0 4px 6px rgba(0,0,0,0.2); /* Légère ombre pour effet profondeur */
    display: block;
    margin: 1rem auto 0 auto;
}

/* Effet au survol */
input[type="button"]:hover {
    background-color: #3399FF;   /* Bleu plus clair au hover */
    box-shadow: 0 6px 10px rgba(0,0,0,0.3); /* Ombre un peu plus grande */
    transform: translateY(-2px); /* Légère élévation */
}

/* Effet au clic */
input[type="button"]:active {
    background-color: #187bcd;   /* Bleu plus foncé au clic */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);  /* Ombre plus petite */
    transform: translateY(0);    /* Revenir à la position normale */
}

footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #888;
}


