/* Reset CSS et configuration de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Style du corps de la page */
body {
    background: linear-gradient(135deg, #1a1a1a, #2c3e50); /* Dégradé de fond */
    min-height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    position: relative;
}

/* Conteneur principal de l'erreur */
.error-container {
    background: rgba(255, 255, 255, 0.95); /* Fond semi-transparent */
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 90%;
    backdrop-filter: blur(10px); /* Effet de flou derrière le conteneur */
    transform: translateY(0);
    animation: float 6s ease-in-out infinite; /* Animation de flottement */
    position: relative;
    z-index: 1;
}

/* Style du code d'erreur 404 */
.error-code {
    font-size: 150px;
    font-weight: 800;
    background: linear-gradient(45deg, #e74c3c, #c0392b); /* Dégradé de texte */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Ligne décorative sous le code 404 */
.error-code::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    border-radius: 2px;
}

/* Style du message d'erreur */
.error-message {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Style de la description */
.error-description {
    color: #7f8c8d;
    margin-bottom: 40px;
    line-height: 1.8;
    font-size: 18px;
}

/* Style du bouton de retour */
.home-button {
    background: linear-gradient(45deg, #3498db, #2980b9); /* Dégradé du bouton */
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Effet de survol du bouton */
.home-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

/* Effet de clic du bouton */
.home-button:active {
    transform: translateY(1px);
}

/* Style des fantômes flottants */
.ghost {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
    animation: float 3s infinite ease-in-out;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Animation de flottement */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Conteneur des particules */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Media queries pour la responsivité */
@media (max-width: 768px) {
    body {
        min-height: 100vh;
        height: 100dvh;
    }
    .error-code {
        font-size: 120px;
    }
    
    .error-message {
        font-size: 24px;
    }
    
    .error-description {
        font-size: 16px;
    }
    
    .home-button {
        padding: 12px 30px;
        font-size: 16px;
    }
} 