* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: #0f172a;
}

.container {
    width: min(90%, 680px);
    padding: 2.5rem;
    text-align: center;
    background: #333;
    border: 4px solid #f8c476;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.8);
}

h1 {
    margin: 0;
    font-size: 1.3rem;
}

#construction-title {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: baseline;
    margin-bottom: 1rem;
}

#construction-title h1 {
    margin: 0;
    font-size: 1.2rem;
    text-align: center;
    color: #f8c476;
}

#construction-desc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 0 0 1rem;
}

p {
    color: white;
}

#construction-desc p {
    margin: 0;
    text-align: center;
    line-height: 1.6;
}

#status,
#statusEn {
    color: #f8c476;
    font-size: .7rem;
}



.sep {
    margin: 0 0.5rem;
    color: #c2d8f7;
}

.progress {
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    margin: 1.5rem 0;
}

.bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #22d3ee);
    transition: width 0.3s ease;
}

/* Full-screen image overlay */
.final-image {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #ffffff;
    overflow-y: auto;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
    cursor: pointer;
}

.final-image.active {
    opacity: 1;
    visibility: visible;
}

.final-image img {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 1280px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.8);
}

/* Warning modal | Fenêtre d'avertissement */
.warning-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.85);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.warning-modal.active {
    opacity: 1;
    visibility: visible;
}

.warning-modal-content {
    width: min(90%, 420px);
    padding: 2rem;
    background: #ffffff;
    color: #0f172a;
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.warning-modal-content h2 {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
}

.warning-modal-content p {
    margin: 0 0 0.5rem;
    color: #333;
    line-height: 1.5;
}

.warning-close {
    margin-top: 1rem;
    padding: 0.65rem 1rem;
    border: 0;
    border-radius: 999px;
    background: #3a78ff;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.95rem;
}

.warning-close:hover {
    background: #1d4ed8;
}