﻿body {
    background-color: #1c1c1c;
    color: #fff;
    text-align: center;
    font-family: 'Bebas Neue', Arial, sans-serif;
    margin: 0;
    padding: 20px;
}

.container {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* 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;
}


.title {
    font-size: 36px;
    background: linear-gradient(to right, #9579f2, #6e4fce);
    -webkit-background-clip: text;
    color: transparent;
    margin: 10px 0;
}

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

/* ============================ */
/*       BARRE VIOLETTE        */
/* ============================ */
.top-bar {
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #9579f2, #6e4fce);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

/* ============================ */
/*   DÉGRADÉ BAS DE PAGE       */
/* ============================ */
.bottom-gradient {
  width: 100%;
  height: 120px;
  background: linear-gradient(
    to top,
    rgba(149, 121, 242, 0.2),
    rgba(28, 28, 28, 0)
  );
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9998;
  pointer-events: none;
}

.logo {
    width: 350px; /* 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 */
}

/* Changer la police de la description pour correspondre à celle sur prime_account */
.description {
    font-size: 16px;
    font-family: 'Montserrat', Arial, sans-serif; /* Correspond à la police sur prime_account */
    color: #fff;
    margin-top: 20px;
    text-align: center;
}

/* Intégration du titre dans la box des offres */
.offer-container {
    background: #222;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.form-title {
    font-size: 24px;
    font-family: 'Montserrat', Arial, sans-serif;
    text-align: center;
    padding: 10px;
    background: linear-gradient(to right, #9579f2, #6e4fce);
    color: #fff;
    margin: -20px -20px 20px -20px; /* Occupe toute la largeur de la box */
    font-weight: bold;
    border-radius: 15px 15px 0 0; /* Coins arrondis en haut uniquement */
}

.offer-header h2 {
    font-size: 30px;
    color: #fff;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ff9a9e, #fad0c4);
    -webkit-background-clip: text;
    color: transparent;
}

.offer-details {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.offer-durations {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-bottom: 20px;
    position: relative;
}

.offer-duration {
    background: linear-gradient(to bottom right, #6e4fce, #9579f2);
    border-radius: 10px;
    padding: 20px;
    color: #fff;
    width: 25%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: transform 0.3s ease, background 0.3s ease;
}

/* Style pour le plan 12 Mois en Or (Featured) */
.offer-duration.featured {
    background: linear-gradient(90deg, #ffdf00, #ffc700, #ffae00); /* Dégradé or / jaune chaud */
    background-size: 200%;
    box-shadow: 0 4px 15px rgba(255, 199, 0, 0.5); /* Ombre adaptée à la couleur or */
    animation: gradient-move 3s ease-in-out infinite alternate;
    border: 2px solid transparent;
    background-clip: padding-box;
}

@keyframes gradient-move {
    0% { background-position: 0%; }
    100% { background-position: 100%; }
}

/* Styles spécifiques pour le plan Bronze avec dégradé dynamique */
.offer-duration.bronze {
    background: linear-gradient(90deg, #cd7f32, #b87333, #cd7f32); /* Dégradé bronze */
    background-size: 200%;
    border-radius: 10px;
    padding: 20px;
    color: #fff;
    width: 25%;
    box-shadow: 0 4px 15px rgba(184, 115, 51, 0.5); /* Ombre adaptée au bronze */
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: transform 0.3s ease, background 0.3s ease;
    animation: gradient-move-bronze 5s ease-in-out infinite alternate;
}

/* Styles spécifiques pour le plan Argent avec dégradé dynamique */
.offer-duration.silver {
    background: linear-gradient(90deg, #c0c0c0, #a9a9a9, #c0c0c0); /* Dégradé argent */
    background-size: 200%;
    border-radius: 10px;
    padding: 20px;
    color: #fff;
    width: 25%;
    box-shadow: 0 4px 15px rgba(169, 169, 169, 0.5); /* Ombre adaptée à l'argent */
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: transform 0.3s ease, background 0.3s ease;
    animation: gradient-move-silver 6s ease-in-out infinite alternate;
}

@keyframes gradient-move-silver {
    0% { background-position: 0%; }
    100% { background-position: 100%; }
}

@keyframes gradient-move-bronze {
    0% { background-position: 0%; }
    100% { background-position: 100%; }
}

.offer-duration.featured .badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffd700; /* Couleur or pour la bulle */
    color: #fff;
    border-radius: 50%;
    padding: 5px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.offer-duration.featured .badge i {
    color: #fff;
}

.offer-duration:hover {
    transform: translateY(-5px);
}

/* Style pour les titres et prix */
.offer-duration h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.offer-duration p {
    font-size: 20px;
    margin: 0;
}

.offer-description ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.offer-description li {
    margin: 10px 0;
    padding: 10px;
    background: linear-gradient(to right, #444, #555);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
}

.offer-description li i {
    margin-right: 10px;
    min-width: 20px;
    text-align: center;
}

.submit-button {
    margin-top: 20px;
    padding: 15px 30px;
    border-radius: 50px;
    background: linear-gradient(to right, #9579f2, #6e4fce);
    color: #fff;
    font-size: 18px;
    font-family: 'Bebas Neue', cursive;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
}

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

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 16px;
    color: #9579f2;
    text-decoration: none;
    font-family: 'Bebas Neue', Arial, sans-serif;
    padding: 10px 20px;
    border-radius: 50px;
    background: #222;
    border: 1px solid #9579f2;
}

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

