/* Import d'une police moderne (Roboto) */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;700&display=swap');

/* Reset de base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #1a1a2e; /* Fond bleu nuit très foncé */
    color: #e0e0e0; /* Texte gris clair */
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Style du Titre H1 */
h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #ff00cc, #333399); /* Dégradé Cyberpunk */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-weight: 700;
}

/* --- LE PLUS IMPORTANT : LA GRILLE D'IMAGES --- */
table.image {
    border-collapse: collapse; /* Supprime l'espace entre les cellules du tableau */
    border-spacing: 0;
    margin: 0 auto; /* Centre le tableau */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Ombre portée pour donner du relief */
    background-color: #000; /* Fond noir si une image ne charge pas */
}

td {
    padding: 0; /* Aucune marge interne */
    margin: 0;
    line-height: 0; /* Empêche l'espace fantôme sous les images */
}

img.image {
    display: block; /* Supprime l'espace blanc natif sous les éléments inline */
    width: 100%; 
    height: auto;
    object-fit: cover;
    transition: opacity 0.3s ease; /* Transition douce si besoin */
}

/* --- Style de l'indicateur de protocole (bas de page) --- */
body > *:last-child {
    margin-top: 30px;
    font-family: 'Courier New', monospace; /* Police style terminal */
    background-color: #16213e;
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid #0f3460;
    color: #4cc9f0; /* Bleu néon */
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
