/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0a0a1a;
    color: #e0e0e0;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Conteneur principal */
.maintenance-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
    z-index: 10;
    padding: 20px;
}

/* Cercles glow animés */
.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.7;
    animation: pulse 8s infinite ease-in-out;
    z-index: 1;
}

.big-circle {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 100, 255, 0.8) 0%, rgba(0, 0, 50, 0) 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.medium-circle {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(65, 105, 225, 0.7) 0%, rgba(0, 0, 50, 0) 70%);
    bottom: -100px;
    right: -100px;
    animation-delay: 2s;
}

.small-circle {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(100, 149, 237, 0.6) 0%, rgba(0, 0, 50, 0) 70%);
    top: 50%;
    left: 70%;
    animation-delay: 4s;
}

/* Contenu */
.content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 20;
    background-color: rgba(10, 10, 30, 0.7);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 100, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 100, 255, 0.2);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.gear {
    width: 50px;
    height: 50px;
    fill: #4a90e2;
    margin-right: 15px;
    animation: spin 10s linear infinite;
}

.gear-path {
    filter: drop-shadow(0 0 5px rgba(74, 144, 226, 0.7));
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.7);
    letter-spacing: 2px;
}

/* Titre */
.title {
    font-size: 42px;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
    letter-spacing: 1px;
}

/* Message */
.message {
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 18px;
    color: #c0c0c0;
}

.message p {
    margin-bottom: 15px;
}

/* Barre de progression */
.progress-container {
    margin: 40px 0;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: rgba(20, 20, 50, 0.8);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.progress-fill {
    height: 100%;
    width: 65%;
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 50%, #4a90e2 100%);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%);
    animation: progressShine 2s infinite linear;
}

.progress-text {
    font-size: 14px;
    color: #8ab4f8;
    text-align: right;
}

/* Compte à rebours */
.countdown {
    margin: 40px 0;
}

.countdown-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: #8ab4f8;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0;
}

.countdown-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
}

.countdown-item span:first-child {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.7);
    background-color: rgba(20, 40, 80, 0.5);
    padding: 10px 20px;
    border-radius: 10px;
    min-width: 80px;
    display: inline-block;
    text-align: center;
    border: 1px solid rgba(74, 144, 226, 0.3);
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.3);
}

.countdown-label {
    font-size: 14px;
    margin-top: 5px;
    color: #8ab4f8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-separator {
    font-size: 36px;
    color: #4a90e2;
    margin-bottom: 20px;
    animation: blink 1s infinite;
}

/* Contact */
.contact {
    margin-top: 30px;
    font-size: 16px;
    color: #a0a0a0;
}

.contact a {
    color: #4a90e2;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact a:hover {
    color: #8ab4f8;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .content {
        padding: 20px;
    }
    
    .title {
        font-size: 32px;
    }
    
    .countdown-item span:first-child {
        font-size: 36px;
        min-width: 60px;
        padding: 8px 15px;
    }
    
    .countdown-separator {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 22px;
    }
    
    .title {
        font-size: 26px;
    }
    
    .message {
        font-size: 16px;
    }
    
    .countdown-item {
        margin: 0 5px;
    }
    
    .countdown-item span:first-child {
        font-size: 24px;
        min-width: 50px;
        padding: 5px 10px;
    }
    
    .countdown-separator {
        font-size: 18px;
    }
    
    .countdown-label {
        font-size: 12px;
    }
}