        /* Réinitialisation des marges et polices */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Style du corps avec image de fond */
body {
    min-height: 100vh; /* Hauteur minimale pour les grands écrans */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pousse le footer en bas sur grands écrans */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/imgs/ElieFinal-5.JPEG') no-repeat center/cover;
    color: #fff;
    position: relative;
}

/* Conteneur principal pour centrer le contenu */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: 10px;
}

/* Style du titre */
.pseudo {
    font-size: 3rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
	max-width : 50%;
	weight : auto;
}

/* Style de l'image avec animation */
.logo-img {
    max-width: 150px;
    height: auto;
    margin-bottom: 0.8rem;
    border-radius: 50%;
    position: relative;
    animation: glowingBorder 5s linear infinite;
    will-change: box-shadow;
}
/* Style pour l'icône et le texte "EN LIGNE" */
.online-status {
    display: flex;
    align-items: center;
    gap: 5px; /* Espace entre l'icône et le texte */
    color: #00ff00; /* Vert pour le texte */
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    margin-bottom: 2rem; /* Espace sous le texte */
}

.online-status i.fa-circle {
    display: none; /* Désactive l'icône Font Awesome */
}
.online-status::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #00ff00;
    border-radius: 50%;
    animation: glowingBorder 5s linear infinite;
    will-change: box-shadow;
}
.countdown-message {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.6);
}
@keyframes glowingBorder {
    0% { box-shadow: 0 0 10px #00ff00, 0 0 20px rgba(0, 255, 0, 0.5); }
    25% { box-shadow: 0 0 10px #00cc00, 0 0 20px rgba(0, 204, 0, 0.5); }
    50% { box-shadow: 0 0 10px #009900, 0 0 20px rgba(0, 153, 0, 0.5); }
    75% { box-shadow: 0 0 10px #33cc33, 0 0 20px rgba(51, 204, 51, 0.5); }
    100% { box-shadow: 0 0 10px #00ff00, 0 0 20px rgba(0, 255, 0, 0.5); }
}

/* Style des boutons */
.button-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.button, .button1, .button2, .button3  {
    display: inline-block;
    padding: 15px 100px;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.button {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 10px #ff69b4, 0 0 20px #ff1493;
    margin-bottom: 5px;
}
.button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px #ff69b4, 0 0 25px #ff1493;
    background: linear-gradient(135deg, #ff1493, #ff69b4);
}
.button1 {
    background: linear-gradient(135deg, #00b7eb, #0073b1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 10px #00b7eb, 0 0 20px #0073b1;
    margin-bottom: 5px;
}
.button1:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px #00b7eb, 0 0 25px #0073b1;
    background: linear-gradient(135deg, #0073b1, #00b7eb);
}
.button2 {
    background: linear-gradient(135deg, #1c2526, #4a4e69);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 10px #4a4e69, 0 0 20px #1c2526;
    margin-bottom: 5px;
}
.button2:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px #4a4e69, 0 0 25px #1c2526;
    background: linear-gradient(135deg, #4a4e69, #1c2526);
}
.button3 {
    background: linear-gradient(135deg, #ff7f50, #ff8c00); /* dégradé orange */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 10px #ff8c00, 0 0 20px #ff7f50;
    margin-bottom: 10px;
}
.button3:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px #ff8c00, 0 0 25px #ff7f50;
    background: linear-gradient(135deg, #ff8c00, #ff7f50); /* inverse au hover */
}

.button img, .button1 img, .button2 img, .button3 img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
}
.button:focus, .button1:focus, .button2:focus, .button3:focus {
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.5);
    outline: none;
}
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
  75% { transform: translateX(-3px); }
  100% { transform: translateX(0); }
}

.shake-btn {
  transition: 0.3s ease-in-out;
  animation: shake 0.5s ease-in-out infinite;
}

.shake-btn:hover {
  animation: none;
}

/* Style du footer */
footer {
    color: #fff;
    text-align: center;
    font-size: 0.9rem;
    background: transparent;
}

/* Style de la fenêtre modale */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
.modal[style*="display: flex"] {
    animation: fadeIn 0.5s ease-in-out;
}
.modal-content {
    background: rgba(255, 182, 193, 0.9);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.modal-content h2 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}
.modal-content p {
    color: #fff;
    margin-bottom: 1.5rem;
}
.modal-button {
    display: inline-block;
    padding: 10px 30px;
    margin: 0.5rem;
    border-radius: 25px;
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.modal-button.accept {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    box-shadow: 0 0 10px #ff69b4, 0 0 20px #ff1493;
}
.modal-button.accept:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px #ff69b4, 0 0 25px #ff1493;
    background: linear-gradient(135deg, #ff1493, #ff69b4);
}
.modal-button.decline {
    background: linear-gradient(135deg, #ccc, #999);
}
.modal-button.decline:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #999, #ccc);
}
.modal-button:focus {
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.5);
    outline: none;
}
.social-icons a {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}
.social-icons a:hover {
    color: #800080; /* Purple for hover */
}
/* Responsive : ajustements pour petits écrans */
@media (max-width: 768px) {
        html, body {
        }
        body {
            justify-content: flex-start; /* Supprime space-between pour éviter l'étirement */
            background-attachment: scroll; /* Remplace fixed par scroll */
            background-size: cover;
            background-position: center;
        }
        .pseudo {
            max-width: 100%;
            font-size: 2rem;
            margin-bottom: 0.5rem;
            margin-top: 0; /* Supprime la marge supérieure */
        }
        .container {
            padding-top: 0; /* Supprime le padding supérieur */
            padding-bottom: 0; /* Supprime le padding inférieur */
            min-height: 0; /* Supprime la hauteur minimale */
            flex-grow: 0; /* Désactive la croissance automatique */
            margin-bottom: 0rem;
        }

        .online-status i.fa-circle {
            animation: glowingBorder 3s linear infinite; /* Animation plus rapide sur petits écrans */
        }
        .button-container {
            gap: 0.5rem; /* Réduit l'espace entre les boutons */
            margin-bottom: 0; /* Supprime l'espace sous le dernier bouton */
        }
        .button, .button1, .button2, .button3 {
            padding: 15px 25px;
            font-size: 1rem;
            white-space: nowrap;
            max-width: 100%;
        }
        .modal-content h2 {
            font-size: 1.5rem;
        }
        .modal-content p {
            font-size: 0.9rem;
        }
}
@media screen and (max-height: 800px) {
    .pseudo {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .logo-img {
        max-width: 100px;
        margin-bottom: 0.5rem;
    }

    .button, .button1, .button2, .button3 {
        padding: 10px 40px;
        font-size: 1rem;
    }

    #countdown {
        font-size: 0.8rem;
    }

    .online-status {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
}