@font-face {
    font-family: 'astrophil';
    src: url('FreeSans.ttf') format('truetype');
    font-weight: bold;
    font-display: swap;
}

/* Réinitialisation de base pour un rendu uniforme */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #000000;
    color: #FFFFFF;
    font-family: 'astrophil', Arial, Helvetica, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 840px;
    text-align: center;
}

h1 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
    letter-spacing: 0.5px;
}

.cluster-figure {
    margin: 0 auto 1.5rem auto;
}

.cluster-figure a {
    display: inline-block;
    border-radius: 4px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cluster-figure a:hover,
.cluster-figure a:focus {
    opacity: 0.9;
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}

/* Image responsive qui s'adapte aux petits écrans */
.cluster-figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

figcaption {
    font-size: 0.85rem;
    color: #aaaaaa;
    margin-top: 0.75rem;
    text-align: right;
}

.status-text {
    font-size: 2.2rem;
    margin: 1.5rem 0;
    animation: clignotement 1.5s infinite ease-in-out;
}

.seo-description {
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.5;
    margin-top: 1rem;
}

.seo-description a {
    color: #66b2ff;
    text-decoration: underline;
}

.seo-description a:hover {
    color: #99ccff;
}

/* Animation de clignotement */
@keyframes clignotement {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.15; }
}

/* Respect des préférences d'accessibilité (réduction des animations) */
@media (prefers-reduced-motion: reduce) {
    .status-text {
        animation: none;
    }
}

/* Ajustements pour écrans mobiles */
@media (max-width: 600px) {
    h1 {
        font-size: 1.25rem;
    }
    .status-text {
        font-size: 1.5rem;
    }
    figcaption {
        text-align: center;
    }
}