/* ===== Fond général ===== */
body {
    background: linear-gradient(135deg, #FFD700, #FFF8DC);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

/* ===== Conteneur principal ===== */
.compte-container {
    margin: 50px auto;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 2px solid #FFD700;
    animation: fadeIn 1s ease-in-out;
}

/* ===== Titre ===== */
h1 {
    font-size: 28px;
    color: #DAA520;
    margin-bottom: 20px;
    font-weight: bold;
}

/* ===== Titre de la page ===== */
.page-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #4B0082;
    margin-top: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ===== Boutons ===== */
button, .btn {
    display: inline-block;
    margin: 15px 10px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

button:hover, .btn:hover {
    background: linear-gradient(90deg, #FFA500, #FFD700);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(255, 165, 0, 0.5);
}

/* ===== Informations utilisateur ===== */
.info {
    text-align: left;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.info strong {
    color: #DAA520;
}

/* ===== Barre de navigation ===== */
.menu {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    background: #4B0082;
    padding: 10px 0;
    z-index: 1000;
}

.menu a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.menu a:hover {
    background: #FFD700;
    color: #333;
}

.menu .active {
    background: #FFD700;
    color: #333;
    border-radius: 8px;
}

/* ===== Animation ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Le reste du CSS est inchangé et continue sur le document... */

/* ===== Popups ===== */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 31, 31, 0.913);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* Contenu du popup */
.popup-content {
    background-color: #222;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    color: #fd0000;
    position: relative;
    box-shadow: 0 0 10px #ffd700;
}

/* Bouton de fermeture */
.popup .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup .close:hover {
    color: #ff0000;
}

/* ===== Bouton Retirer ===== */
.btn-retrait {
    display: inline-block;
    margin: 15px 10px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background: linear-gradient(90deg, #FF4500, #FF6347);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-retrait:hover {
    background: linear-gradient(90deg, #FF6347, #FF4500);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(255, 99, 71, 0.5);
    color: #FFD700;
}

/* ===== Animation scintillante ===== */
@keyframes scintillement {
    0% { box-shadow: 0 0 8px #FFD700; }
    50% { box-shadow: 0 0 20px #FFD700, 0 0 30px #FFA500; }
    100% { box-shadow: 0 0 8px #FFD700; }
}

.btn-scintillant {
    animation: scintillement 1.5s infinite;
    border: 2px solid #FFD700;
    color: #FFD700 !important;
    font-weight: bold;
}

/* Effet arc-en-ciel pour le bouton Mes Transactions */
.btn-transactions {
    background: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet);
    background-size: 400% 400%;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    text-decoration: none;
    display: inline-block;
    animation: arcEnCiel 3s infinite; /* Animation infinie */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-transactions:hover {
    transform: scale(1.05); /* Agrandit légèrement au survol */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); /* Ombre plus prononcée */
}

/* Animation pour l'effet arc-en-ciel */
@keyframes arcEnCiel {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.solde-icon {
    width: 50px;
    height: 50px; /* Ajuste la hauteur si nécessaire */
    vertical-align: middle;
}

/* ===== Section Solde ===== */
.solde-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #FFD700, #FFA500); /* Dégradé doré */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Ombre douce */
    margin: 20px auto;
    max-width: 400px;
    text-align: center;
}

.solde-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.solde-label {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-right: 10px;
}

/* ===== Montant stylisé ===== */
.solde-montant {
    font-size: 28px; /* Augmente la taille de la police */
    font-weight: bold;
    color: #4B0082; /* Violet foncé pour contraste */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Effet de profondeur */
    background: linear-gradient(90deg, #FFD700, #FFA500); /* Dégradé doré */
    -webkit-background-clip: text; /* Applique le dégradé au texte */
    -webkit-text-fill-color: transparent; /* Rend le fond transparent pour afficher le dégradé */
    animation: scintillementMontant 2s infinite; /* Animation subtile */
}

/* Animation scintillante pour le montant */
@keyframes scintillementMontant {
    0% { text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); }
    50% { text-shadow: 0 4px 8px rgba(255, 215, 0, 0.5); }
    100% { text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); }
}

/* ===== Informations utilisateur ===== */
.info-container {
    text-align: center; /* Centre le contenu */
    background: linear-gradient(90deg, #FFF8DC, #FFD700); /* Dégradé doré clair */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Ombre douce */
    margin: 20px auto;
    max-width: 500px;
}

.info-title {
    font-size: 24px;
    font-weight: bold;
    color: #4B0082; /* Violet foncé */
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Effet de profondeur */
}

.info-item {
    font-size: 18px;
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Espacement entre le label et la valeur */
}

.info-item strong {
    color: #DAA520; /* Or foncé */
    font-weight: bold;
}

.info-item span {
    color: #333; /* Texte sombre */
    font-weight: normal;
    font-size: 18px;
}
/* ===== Section Parrainage ===== */
.parrainage-container {
    text-align: center;
    background: linear-gradient(90deg, #FFF8DC, #FFD700); /* Dégradé doré clair */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Ombre douce */
    margin: 20px auto;
    max-width: 500px;
}

.parrainage-title {
    font-size: 20px;
    font-weight: bold;
    color: #4B0082; /* Violet foncé */
    margin-bottom: 10px;
}

.parrainage-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Espacement entre le champ et le bouton */
}

#code-parrainage {
    font-size: 16px;
    padding: 5px;
    border: 5px solid #FFD700;
    border-radius: 5px;
    background: #f02222;
    color: #333;
    width: 100px;
    text-align: center;
    cursor: default;
}

.btn-copier {
    padding: 10px 20px;
    background-color: #007bff;
    border: none;
    color: white;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-copier:hover {
    background-color: #0056b3;
}

/* Pour l'apparence des popups */
.popup-content {
    display: flex;
    flex-direction: column; /* Assure que les éléments sont alignés verticalement */
    gap: 20px; /* Espacement entre les champs */
}

/* Modifie les champs de saisie pour les faire passer à la ligne automatiquement */
.popup-content label {
    margin-bottom: 5px; /* Espace entre le label et le champ */
}

.popup-content input,
.popup-content select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px; /* Ajoute un espacement entre les champs */
    border: 1px solid #ccc;
    border-radius: 5px;
}

.popup-content button {
    padding: 10px 20px;
    background-color: #007bff;
    border: none;
    color: white;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

/* Améliore l'apparence des popups avec plus d'espacement */
.popup {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

/* Modifier les boutons de fermeture */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #aaa;
}

.btn-plan {
    display: inline-block;
    background-color: #f39c12;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    padding: 12px 22px;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-plan:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .btn-plan {
        font-size: 16px;
        padding: 12px 18px;
        width: 90%;
    }
}

.popup-box.success-style {
    background-color: #3399ff;
    color: yellow;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    font-family: Arial, sans-serif;
    width: 80%;
    max-width: 350px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.rainbow-button {
    background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
    color: black;
    font-weight: bold;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 15px;
    font-size: 16px;
    transition: transform 0.2s;
}

.rainbow-button:hover {
    transform: scale(1.05);
}
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4); /* assombrit le fond */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.popup-box {
    background: #1E90FF;
    color: white;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.btn-bonus {
    display: inline-block;
    background-color: #ff9800;
    color: white;
    padding: 10px 20px;
    margin-top: 10px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
}
.btn-bonus:hover {
    background-color: #e68900;
}

.btn-download {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 10px;
}

.btn-download:hover {
  background-color: #0056b3;
}

.btn-depot-styled {
    background-color: #28a745; /* vert */
    color: #fff; /* texte blanc */
    padding: 12px 20px;
    border: none;
    border-radius: 12px; /* bordures arrondies */
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-depot-styled:hover {
    background-color: #218838; /* vert plus foncé au survol */
}

