/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #0a0a0aeb; /*#0a0a0a;*/
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container principal */
.container {
    padding: 20px;
    max-width: 600px;
    width: 100%;
}

/* Contenu principal */
.content {
    background: linear-gradient(145deg, #121212, #1a1a1a);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

/* Section logos */
.logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.site-logo {
    max-width: 120px;
    height: auto;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

/* Typographie */
h1 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 2em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

p {
    color: #a0a0a0;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Style pour la première ligne des réseaux sociaux */
.social-row {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    animation: fadeIn 0.8s ease-out;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background-color: #1a1a1a;
    min-width: 120px;
}

.social-svg {
    width: 45px;
    height: 45px;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.social-icon span {
    font-size: 0.9em;
    color: #ffffff;
}

/* Style pour la ligne email */
.email-row {
    margin-top: 20px;
    padding: 15px;
    animation: fadeIn 0.8s ease-out;
}

.email-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 12px;
    background-color: #1a1a1a;
    transition: all 0.3s ease;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.email-svg {
    width: 45px;
    height: 45px;
}

.email-address {
    color: #d3d3d3;
    font-size: 1.1em;
    font-weight: 500;
}

/* Effets de hover */
.social-icon:hover {
    transform: translateY(-5px);
    background-color: #252525;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.social-icon:hover .social-svg {
    transform: scale(1.1);
}

.email-link:hover {
    transform: translateY(-3px);
    background-color: #252525;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Couleurs spécifiques pour les réseaux */
.telegram {
    color: #0088cc;
}

.telegram:hover {
    background-color: #0088cc1a;
}

.signal {
    color: #3a76f0;
}

.signal:hover {
    background-color: #3a76f01a;
}

.email-link:hover {
    background-color: #ea43351a;
}

/* Animation pour le chargement de la page */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 480px) {
    .content {
        padding: 20px;
    }
    
    .logos {
        gap: 15px;
    }
    
    .site-logo {
        max-width: 80px;
    }
    
    .social-row {
        gap: 15px;
    }
    
    .social-icon {
        padding: 15px;
        min-width: 100px;
    }
    
    /*.social-svg {
        width: 24px;
        height: 24px;
    }*/
    
    h1 {
        font-size: 1.5em;
    }
    
    .email-link {
        flex-direction: column;
        padding: 15px;
    }
    
    .email-address {
        font-size: 0.9em;
        word-break: break-all;
        text-align: center;
    }
}

/* Optimisation pour dark mode système */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #0a0a0aeb; /*#0a0a0a;*/
    }
    
    .content {
        background: linear-gradient(145deg, #121212, #1a1a1a);
    }
}
