﻿

/* ==================== */
/* CONTENEUR PARTICULES */
/* ==================== */
/* Le conteneur des particules */
/* On le place en arrière-plan, sur toute la page */
#tsparticles {
    position: fixed;  /* ou absolute, selon ton besoin */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;      /* Derrière le contenu principal */
    overflow: hidden;
}


body {
    background: linear-gradient(160deg, #1c1c1c 0%, #2a103b 50%, #1e0d29 100%);
    color: #fff; /* Couleur du texte blanc */
    text-align: center; /* Centrer le contenu */
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 20px;
    overflow-x: hidden; /* Empêcher le défilement horizontal */
}

/* Styles Initiaux pour les Éléments à Animer */
.animate-on-enter {
    opacity: 0;
    transform: translateY(20px); /* Déplacement initial vers le bas */
    transition: opacity 0.3s ease, transform 0.3s ease;
}


.test-24h-button {
    display: block;
    background: linear-gradient(to right, #9579f2, #6e4fce);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.test-24h-button:hover {
    background: linear-gradient(to right, #6e4fce, #9579f2);
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1c1c1c;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.popup-content {
    color: white;
}

#testPopup h2 {
    color: #9579f2;
}

#submitTest24h {
    background-color: #9579f2;
    border: none;
    padding: 10px 20px;
    color: white;
    cursor: pointer;
}


.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px; /* Limiter la largeur du conteneur */
    margin: 0 auto; /* Centrer le conteneur */
    padding: 20px;
}

.title {
    color: white; /* Le texte Dashboard sera en blanc */
    font-family: 'Bebas Neue', cursive;
    font-size: 36px;
    margin: 10px 0;
}

.title .highlight {
    background: linear-gradient(to right, #9579f2, #6e4fce);
    padding: 2px 8px; /* Réduction du padding pour que le fond soit plus discret */
    border-radius: 5px; /* Bordures plus arrondies et subtiles */
    color: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: white; /* Texte blanc par défaut */
    background-clip: border-box; /* Pour l'entourer du dégradé */
}

.separator {
    height: 2px;
    width: 80%;
    margin: 10px auto;
    background: linear-gradient(to right, #9579f2, #6e4fce);
    border: none;
}

.logo {
    width: 150px; /* Taille du logo */
    height: auto;
    margin: 10px auto; /* Ajuster la marge pour centrer le logo */
    background: transparent; /* Assurer que le fond de l'image est transparent */
}

.button {
   display: block;
   width: 100%; /* Largeur du bouton */
   max-width: 100%; /* Assurer que le bouton ne dépasse pas la largeur du conteneur */
   padding: 15px;
   border-radius: 10px;
   border: none;
   color: #fff;
   font-size: 24px; /* Augmenter la taille de la police */
   cursor: pointer;
   text-decoration: none;
   text-align: center;
   margin: 10px 0;
   transition: background 0.3s;
   font-family: 'Bebas Neue', cursive; /* Applique la police Bebas Neue */
   text-transform: uppercase; /* Met le texte en majuscule */
   background: linear-gradient(to right, #9579f2, #6e4fce);
}

.button i {
    margin-right: 10px; /* Espace entre l'icône et le texte */
    font-size: 1.0em; /* Taille de l'icône */
}

.button:hover i {
    color: #FF6B6B; /* Change la couleur de l'icône au survol */
}

.button:hover {
    background: linear-gradient(to right, #6e4fce, #9579f2);
}

.info-text {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    color: #9579f2;
    cursor: pointer;
}

.info-text .info-icon {
    margin-right: 5px;
    font-size: 18px;
}

.info-bubble {
    display: none;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2e2e2e;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #6e4fce;
    width: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.info-bubble .close-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    font-size: 14px;
}

/* Mise à jour du style du bouton Retour au HUB pour correspondre à la page parrainage */
.back-link {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 16px;
    color: #9579f2; /* Couleur violette pour correspondre au thème */
    text-decoration: none;
    font-family: 'Bebas Neue', Arial, sans-serif;
    padding: 10px 20px;
    border-radius: 50px;
    background: #222;
    border: 1px solid #9579f2; /* Bordure violette */
}

.back-link:hover {
    text-decoration: underline;
    background: #333;
}

.description {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    margin: 20px auto;
    width: 80%;
}

