@font-face {
    font-family: 'Play-Regular';
    src: url(../Play/Play-Regular.ttf) format('truetype');
}

:root {
    --text-color: #e6f1ff;
    --font-family: 'Play-Regular';
}

html {
    background: linear-gradient(135deg, #02001a 0%, #0a0a3a 50%, #000000 100%) fixed;
    min-height: 100vh;
}

body {
    margin: 0;
    padding: 3px;
    min-height: 100vh;
    background: transparent;
    font-family: var(--font-family), Arial, sans-serif;
    color: var(--text-color);
    isolation: isolate;
    display: flex;
    flex-direction: column;
}

/* --- Effet Ciel Étoilé Animé --- */
html::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Ccircle cx='40' cy='80' r='1.2' fill='%23fff'/%3E%3Ccircle cx='150' cy='30' r='1.5' fill='%23fff'/%3E%3Ccircle cx='250' cy='120' r='1' fill='%23fff'/%3E%3Ccircle cx='90' cy='200' r='1.8' fill='%23fff'/%3E%3Ccircle cx='220' cy='260' r='1.2' fill='%23fff'/%3E%3Ccircle cx='50' cy='280' r='1' fill='%23fff'/%3E%3C/svg%3E");
    background-size: 300px 300px;
    animation: twinkle1 4s infinite ease-in-out;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Ccircle cx='100' cy='100' r='1.5' fill='%23fff'/%3E%3Ccircle cx='250' cy='50' r='1' fill='%23fff'/%3E%3Ccircle cx='350' cy='200' r='2' fill='%23fff'/%3E%3Ccircle cx='150' cy='300' r='1.2' fill='%23fff'/%3E%3Ccircle cx='50' cy='350' r='1' fill='%23fff'/%3E%3Ccircle cx='300' cy='360' r='1.5' fill='%23fff'/%3E%3C/svg%3E");
    background-size: 400px 400px;
    animation: twinkle2 3s infinite ease-in-out;
}

body::after {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500'%3E%3Ccircle cx='200' cy='150' r='1.2' fill='%23fff'/%3E%3Ccircle cx='50' cy='50' r='1' fill='%23fff'/%3E%3Ccircle cx='400' cy='80' r='1.5' fill='%23fff'/%3E%3Ccircle cx='300' cy='250' r='1' fill='%23fff'/%3E%3Ccircle cx='100' cy='400' r='1.2' fill='%23fff'/%3E%3Ccircle cx='450' cy='450' r='1.5' fill='%23fff'/%3E%3C/svg%3E");
    background-size: 500px 500px;
    animation: twinkle3 5s infinite ease-in-out;
}

@keyframes twinkle1 { 0% { opacity: 0.2; } 50% { opacity: 1; } 100% { opacity: 0.2; } }
@keyframes twinkle2 { 0% { opacity: 1; } 50% { opacity: 0.1; } 100% { opacity: 1; } }
@keyframes twinkle3 { 0% { opacity: 0.1; } 33% { opacity: 0.8; } 66% { opacity: 0.1; } 100% { opacity: 0.5; } }

/* --- Contenu Principal (Image centrée) --- */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.construction-img {
    max-width: 80%;
    max-height: 70vh;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}