* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Zalando Sans", sans-serif;
}

html{
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Zalando Sans", sans-serif;
  background: url("logo-nobg.png") no-repeat center center fixed;
  backdrop-filter: blur(1px);
  background-color: #1c1c1c;
  background-size: 450px;
  color: white;
  height: auto; 
  min-height: 300vh; 
}

/* === Bloquer le scroll quand le popup est ouvert === */
body.no-scroll {
  overflow: hidden !important;
  height: 100vh !important;
}


.top-part {
  text-align: center;
  width: 100%;
  height: 100vh;
  align-items: center;
  align-content: center;
  position: relative;   
}

.mid-part{
  width: 100%;
  height: 100vh;
}


.third-part,
.fourth-part {
  height: auto;        
  min-height: 100vh; 
  padding: 60px 20px;
  position: relative; 
}


.third-part h3{
  font-size: 30px;
  margin: auto;
  width: fit-content;
  text-align: center;
}
header h2 {
  color: #c084fc; 
  font-size: 48px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.all h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 20px;
}

.form {
  background: rgba(0,0,0,0.6);
  border: 2px solid #9b59b6; 
  border-radius: 10px;
  padding: 20px;
  width: 320px;
  margin: 0 auto;
}

.form input, .form select, .form button {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 6px;
  font-weight: bold;
}

.form input, .form select {
  background: #2c2c2c;
  color: white;
}

.form button {
  background: linear-gradient(45deg, #9b59b6, #c084fc);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.form button:hover {
  transform: scale(1.02);
  box-shadow: 0 0 12px #c084fc;
  font-weight: 600;
}

.modal {
  position: fixed; 
  top: 0;
  left: 0;
  width: 100vw;     
  height: 100vh;    
  
  display: none;    
  justify-content: center;
  align-items: center;

  background: rgba(0,0,0,0.7);
  z-index: 9999;
  overflow: hidden;
}

.modal-content {
  margin: auto;
  height: fit-content;
  background: #1c1c1c;
  padding-top: 30px;
  border-radius: 12px;  
  width: 1500px;
  color: white;
  text-align: center;
  border: 3px solid #c084fc; 
}

.modal-content h2 {
  margin-bottom: 20px;
  font-size: 26px;
  color: #c084fc; 
}

#closeModal {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 28px;
  cursor: pointer;
}

.loading {
  text-align: center;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 20px 0;
}

.dots div {
  width: 16px;
  height: 16px;
  background: #c084fc; 
  border-radius: 50%;
  animation: bounce 0.6s infinite alternate;
}

.dots div:nth-child(2) {
  animation-delay: 0.2s;
}

.dots div:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  to {
    transform: translateY(-8px);
    opacity: 0.6;
  }
}

#results {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: nowrap; 
}

.crypto-box {
  flex: 1;
  min-width: 250px;
  border-radius: 12px;
  padding: 20px;
  background: rgba(0,0,0,0.85);
  transition: 0.3s;
  text-align: left;
}

.crypto-box h3 {
  margin-bottom: 15px;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.crypto-eth { 
  border: 2px solid #888;  
  background: #000;     
}

.crypto-sol { 
  border: 2px solid #bb86fc; 
  background: linear-gradient(145deg, rgba(187,134,252,0.2), rgba(155,89,182,0.2));
}

.crypto-btc { 
  border: 2px solid #f5d27c; 
  background: linear-gradient(145deg, rgba(245,210,124,0.2), rgba(255,165,0,0.2));
}

.gain-positive { color: #229c26; font-weight: bold; }
.gain-negative { color: #c71916; font-weight: bold; }

.global-trend {
  margin-top: 25px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.global-trend .bullish {
  color: #4caf50;
}

.global-trend .bearish {
  color: #e53935;
}

span {
  color: #c084fc; 
  font-size: 1.2em;
}

.ca {
  margin: 20px auto;
  text-align: center;
  width: 160px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #9b59b6;
  font-size: 14px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.2s;
}

.ca:hover {
  background: rgba(155, 89, 182, 0.2);
  color: #c084fc;
}

.notification {
  position: sticky;
  bottom: 20px;
  right: 20px;
  float: right;
  background: #1c1c1c;
  border: 2px solid #9b59b6;
  color: #fff;
  padding: 12px 18px;
  width: fit-content;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0,0,0,0.5);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10000;
}

.notification.show {
  opacity: 1;
  transform: translateY(0);
}

.notification i {
  color: #c084fc;
  font-size: 16px;
}

.links {
  display: flex;
  margin: auto;
  width: fit-content;
  align-items: center;
  align-content: center;
  gap: 15px;
}

.links img {
  width: 32px;
  height: 32px;
}

.links i {
  color: #c084fc;
  font-size: 30px;
}

.loading {
  text-align: center;
  padding: 40px;
}

body {
  font-family: Arial, sans-serif;
  font-size: clamp(14px, 1.5vw, 20px);
}

h2, h3 {
  font-size: clamp(18px, 2vw, 32px);
}

button, input, select {
  font-size: clamp(14px, 1.5vw, 18px);
  padding: clamp(6px, 1vw, 12px) clamp(12px, 2vw, 20px);
}

.crypto-box {
  padding: clamp(10px, 2vw, 20px);
  margin: clamp(8px, 1.5vw, 16px) 0;
}

.modal-content {
  width: clamp(500px, 80vw, 1200px); 
  padding: clamp(30px, 4vw, 60px);
}

.extra-message {
  text-align: center;
  font-size: clamp(12px, 1.2vw, 16px);
}

#date {
  color: white;                
  border: none;                
  outline: none;              
  caret-color: white;          
}

#date::placeholder {
  color: white;
  opacity: 0.6; 
}

#date:hover,
#date:focus {
  background: #2C2C2C;
  color: white;
  border: none;
  outline: none;
}

#date:-webkit-autofill,
#date:-webkit-autofill:hover,
#date:-webkit-autofill:focus,
#date:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0px 1000px #2C2C2C inset !important;
  -webkit-text-fill-color: white !important; 
  background: transparent !important;
  border: none !important;
  outline: none !important;
  caret-color: white;
}

#date:-moz-autofill {
  box-shadow: 0 0 0px 1000px transparent inset !important;
  -moz-text-fill-color: white !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  caret-color: white;
}


#arrow-ico,
#arrow-ico2,
#arrow-ico3 {
  font-size: 30px;
  color: #bb86fc;
  position: absolute;   
  bottom: 20px;       
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

#arrow-ico:hover,
#arrow-ico2:hover,
#arrow-ico3:hover {
  transform: translateX(-50%) scale(1.2);
  color: #c084fc;
}


.top-part,
.mid-part,
.third-part {
  position: relative;
}

.subtitle {
  margin: auto;
  width: fit-content;
  padding: 50px;
  padding-bottom: 5%;
  font-size: 2.5em;
  color: #bb86fc;
  text-align: center;
  font-weight: bold;
}

.worksdiv {
  width: 45%;
  margin: auto;
  background: rgba(0,0,0,0.6);
  padding: 30px 20px;
  border-radius: 15px;
  border: 2px solid #9b59b6;
}

.worksall {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.numberall {
  display: flex;
  align-items: center; 
  gap: 15px;
  background-color: #2C2C2C;
  padding: 15px 15px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  width: 800px;
  margin: auto;
}

.numberall:hover {
  transform: translateY(-3px);
  background-color: #3A3A3A;
}

.number-circle {
  background-color: #bb86fc;
  color: #fff;
  font-weight: bold;
  font-size: 1.3em;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.numberall p {
  margin: 0;
  font-size: 1.05em;
  color: #fff;
  line-height: 1.4;
}

.final {
  margin-top: 30px;
  text-align: center;
  color: #fff;
  font-size: 1.2em;
  font-weight: semi-bold;
}

.attentions {
  margin-top: 50px;
  display: grid;
  gap: 30px;
  padding: 0 10%;
  grid-template-columns: repeat(4, 1fr); /* 🔥 toujours 4 colonnes au départ */
}

/* 🔽 Ne casse en 2 colonnes que quand ça devient vraiment étroit */
@media (max-width: 1100px) {
  .attentions {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 🔽 Sur mobile, une seule colonne */
@media (max-width: 600px) {
  .attentions {
    grid-template-columns: 1fr;
  }
}


.attention-card {
  background: rgba(0,0,0,0.6);
  border: 2px solid #9b59b6;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.attention-card:hover {
  transform: translateY(-5px);
  background-color: #2C2C2C;
}

.attention-card i {
  font-size: 40px;
  color: #bb86fc;
  margin-bottom: 15px;
}

.attention-card h4 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #fff;
}

.attention-card p {
  font-size: 16px;
  line-height: 1.4;
  color: #ddd;
}

.final-touch {
  padding-top: 50px;
  text-align: center;
  font-size: 1.4em;
  font-weight: bold;
  color: #fff;
  line-height: 1.6;
}


@media (max-width: 1200px) {
  .worksdiv {
    width: 70%;
  }
  .numberall {
    width: 100%;
  }
  .modal-content {
    width: 90%;
  }
  .attentions {
    padding: 0 5%;
    gap: 20px;
  }
}

@media (max-width: 992px) {
  header h2 {
    font-size: 36px;
  }

  .form {
    width: 80%;
    padding: 15px;
  }

  .worksdiv {
    width: 90%;
    padding: 20px;
  }

  .third-part .h3{
    font-size: 20px;
  }
  .numberall {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .subtitle {
    font-size: 3em;
    padding: 30px;
  }

  .attentions {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 5%;
  }

  .attention-card {
    padding: 20px;
  }

  .final-touch {
    font-size: 1.2em;
    padding: 30px 10px;
  }
}

@media (max-width: 600px) {
  body {
    background-size: 250px; 
  }

  header h2 {
    font-size: 28px;
  }

  .all h3 {
    font-size: 16px;
    padding: 0 10px;
  }

  .form {
    width: 95%;
    padding: 10px;
    font-size: 14px;
  }

  .form input, 
  .form select, 
  .form button {
    font-size: 14px;
    padding: 10px;
  }

  .modal-content {
    width: 95%;
    padding: 20px;
  }

  .worksdiv {
    width: 95%;
    padding: 15px;
  }

  .numberall {
    width: 100%;
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 15px;
  }

  .number-circle {
    font-size: 1em;
    width: 32px;
    height: 32px;
  }

  .numberall p {
    font-size: 0.9em;
  }

  .attentions {
    grid-template-columns: 1fr;
    padding: 0 5%;
    gap: 20px;
  }

  .attention-card {
    padding: 15px;
  }

  .attention-card i {
    font-size: 28px;
  }

  .attention-card h4 {
    font-size: 18px;
  }

  .attention-card p {
    font-size: 14px;
  }

  .final-touch {
    font-size: 1.1em;
    padding: 20px;
  }

  #arrow-ico,
  #arrow-ico2,
  #arrow-ico3
   {
    display: none;
  }

  .final-touch{
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .subtitle {
    font-size: 2.2em; 
    line-height: 1.3;
  }

  .third-part h3 {
    font-size: 20px;   
    line-height: 1.4;
    padding: 0 10px;   
  }

  .final-touch {
    font-size: 1.1em;   
    line-height: 1.4;
    padding: 20px 10px;
  }
}

.fourth-part {
  min-height: 100vh;
  width: 100%;
  text-align: center;
  padding: 60px 20px;
}

.humor{
  width: 75%;
  justify-content: space-between;
  display: flex;
  margin: auto;
  padding: 10px;
}

.humor p{
  font-size: 25px;
  font-weight: 600;
}

.progress-container {
  width: 85%;
  height: 50px;
  background: #2C2C2C;
  border-radius: 30px;
  margin: auto;
  overflow: hidden;
  border: 3px solid #9b59b6;
  box-shadow: 0 0 25px rgba(187, 134, 252, 0.6);
  position: relative;
}



.progress-text {
  font-size: 20px;
  font-weight: bold;
  color: white;
  text-shadow: 0 0 8px #000;
  position: absolute;
  right: 20px;
}

.milestones {
  margin-top: 60px;
  display: flex;
  justify-content: space-around;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.milestone-col {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.milestone {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  color: white;
  transition: transform 0.3s ease;
}

.milestone:hover {
  transform: scale(1.05);
}

.milestone i {
  font-size: 24px;
  color: #bb86fc;
}

.milestone span {
  color: #c084fc;
  font-weight: bold;
}




@media (max-width: 992px) {
  .progress-container {
    height: 40px;
    width: 90%;
  }

  .progress-text {
    font-size: 16px;
    right: 15px;
  }

  .milestones {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .milestone-col {
    width: 100%;
    align-items: center;
  }

  .milestone {
    font-size: 18px;
  }

  .milestone i {
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  .milestones {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    padding-left: 25px; 
  }


  .milestones::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(155, 89, 182, 0.5);
  }

  .milestone {
    background: rgba(0,0,0,0.55);
    border: 1.5px solid #9b59b6;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
  }

  .milestone::before {
    display: none;
  }

  .milestone i {
    font-size: 16px;
    color: #bb86fc;
    background: rgba(187,134,252,0.2);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .milestone p {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
  }

  .milestone small{
    font-size: 14px !important; 
  }
}

.milestone small {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  color: #aaa; 
  float: left;
}




@media (max-width: 1800px) {
  .worksdiv {
    width: 70%;
  }
  .numberall {
    width: 100%;
  }
  .modal-content {
    width: 90%;
  }
  .attentions {
    padding: 0 5%;
    gap: 20px;
  }
  
  #arrow-ico, #arrow-ico2, #arrow-ico3{
    display: none;
  }
}


#results {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 20px;
  padding: 10px;
}

.crypto-box {
  flex: 1 1 30%;
  min-width: 260px;
  max-width: 400px;
  border-radius: 12px;
  padding: clamp(15px, 2vw, 25px);
  background: rgba(0, 0, 0, 0.85);
  text-align: left;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.crypto-box:hover {
  transform: translateY(-5px);
  background-color: rgba(60, 0, 90, 0.3);
}

.crypto-box h3 {
  font-size: clamp(16px, 1.6vw, 22px);
  margin-bottom: 10px;
}

.crypto-box p {
  font-size: clamp(13px, 1.4vw, 18px);
  line-height: 1.5;
}

@media (min-width: 1000px) {
  #results {
    flex-wrap: nowrap; 
  }

  .crypto-box {
    flex: 1 1 33%;
    max-width: 33%;
  }
}


@media (max-width: 999px) and (min-width: 601px) {
  #results {
    flex-wrap: wrap;
    justify-content: center;
  }

  .crypto-box {
    flex: 1 1 45%;
    max-width: 45%;
  }
}

@media (max-width: 600px) {
  #results {
    flex-direction: column;
    align-items: center;
  }

  .crypto-box {
    flex: 1 1 100%;
    width: 80%; 
    max-width: none;
    padding: 15px;
  }

  .crypto-box h3 {
    font-size: 16px;
  }

  .crypto-box p {
    font-size: 14px;
  }
}


@media (max-width : 750px){
  .crypto-box{
    width: 80%;
  }
}

/* Info Icon Styling */
.info-icon {
  color: #bb86fc;
  font-size: 20px;
  margin-left: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
  float: left;
}

.info-icon:hover {
  color: #c084fc;
  transform: scale(1.2);
}


/* === MOON INFO MODAL (PLACÉ DANS MID-PART) === */
#moonInfoModal {
  position: absolute; /* ✅ relatif à .mid-part */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  display: none; /* ✅ caché par défaut */
  justify-content: center;
  align-items: center;
  z-index: 50; /* suffisant pour passer au-dessus du contenu mid-part */
  backdrop-filter: blur(6px);
}

/* Contenu du modal */
.moon-info-content {
  position: relative;
  background: #1e1e1e;
  border: 2px solid #bb86fc;
  border-radius: 10px;
  padding: 30px;
  width: 90%;
  max-width: 600px;
  color: white;
  text-align: left;
  box-shadow: 0 0 30px rgba(187, 134, 252, 0.6);
  animation: popupFade 0.3s ease-in-out;
}

/* Titre */
.moon-info-content h2 {
  text-align: center;
  color: #c084fc;
  margin-bottom: 20px;
}

/* Texte */
.moon-info-content p {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 16px;
}

/* Séparateur */
.moon-info-content hr {
  border: 0;
  border-top: 1px solid #9b59b6;
  margin: 20px 0;
}

/* Bouton de fermeture */
.close-moon-info {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 26px;
  color: #bb86fc;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-moon-info:hover {
  color: #c084fc;
}

/* Animation d’apparition */
@keyframes popupFade {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Bloquer le scroll uniquement à l'intérieur de mid-part */
.mid-part.no-scroll {
  overflow: hidden;
  position: relative;
}

/* Support du blur pour les navigateurs compatibles */
@supports (backdrop-filter: blur(6px)) {
  .moon-info-modal {
    backdrop-filter: blur(6px);
  }
}

/* Conteneur du modal */
.moon-info-modal {
  display: none;
  position: fixed;
  z-index: 20000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

/* Contenu avec largeur augmentée + border-radius */
.moon-info-content {
  background: #1e1e2f;
  padding: 25px 30px;
  border-radius: 20px; /* ✅ coins arrondis */
  width: 80%;          /* ✅ plus large */
  max-width: 900px;    /* ✅ largeur max */
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  animation: fadeIn 0.3s ease-in-out;
}

/* Croix de fermeture */
.close-moon-info {
  color: #c084fc;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close-moon-info:hover {
  color: #fff;
}

/* Conteneur du modal */
.moon-info-modal {
  display: none;
  position: fixed;
  z-index: 20000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

/* Contenu avec largeur + border-radius */
.moon-info-content {
  background: #12122b; /* plus profond et contrasté */
  padding: 25px 30px;
  border-radius: 18px;
  width: 85%;
  max-width: 950px;
  color: #f5f5f5;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  animation: fadeIn 0.3s ease-in-out;
  border: 2px solid #6c4de6; /* bordure violette élégante */
}

/* Croix */
.close-moon-info {
  color: #ff89c2;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close-moon-info:hover {
  color: #fff;
}

/* Conteneur du modal */
.moon-info-modal {
  display: none;
  position: fixed;
  z-index: 20000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 20, 0.9); /* plus sombre */
  justify-content: center;
  align-items: center;
}

/* Contenu avec largeur + border-radius */
.moon-info-content {
  background: #141021; /* sombre profond */
  padding: 25px 30px;
  border-radius: 20px;
  width: 85%;
  max-width: 1000px;
  color: #f0eaff;
  text-align: center;
  box-shadow: 0 10px 40px rgba(108, 77, 230, 0.5); /* glow violet */
  border: 1px solid rgba(177, 127, 255, 0.4);
  animation: fadeIn 0.3s ease-in-out;
}

/* Croix */
.close-moon-info {
  color: #b57de6;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close-moon-info:hover {
  color: #fff;
}

/* Tableau */
.moon-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
}

.moon-table th {
  background: #1c1c1c;
  color: #fff;
  padding: 14px;
  font-weight: bold;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.moon-table td {
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #1c1c1c;
}

/* Alternance */
.moon-table tbody tr:nth-child(even) td {
  background: #1c1c1c;
}

/* Hover */
.moon-table tbody tr:hover td {
  background: #1c1c1c;
}

/* Codes couleur impacts */
.bonus {
  color: #4caf50;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(76,175,80,0.6);
}
.malus {
  color: #e53935;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(229,57,53,0.6);
}
.neutral {
  color: #ffeb3b;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(255,235,59,0.6);
}

.moon-note {
  margin-top: 20px;
  font-size: 14px;
  text-align: center;
  color: #aaa;
  font-style: italic;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

.skibidi {
  display: flex;
  align-items: center;   /* 🔥 centre verticalement h4 et p */
  gap: 8px;              /* 🔥 petit espace entre les deux */
  margin: auto;
  width: fit-content;
}

.skibidi h4 {
  margin: 0;
  font-size: 20px;       /* tu peux ajuster selon ton design */
}

.skibidi p {
  margin: 0;
  font-size: 14px;       /* plus petit pour ton *Dex boosts */
  color: #bb86fc;           /* optionnel : couleur secondaire */
}
.progress-container {
  position: relative;
  width: 80%;
  height: 35px; /* 🔥 plus épais qu’avant */
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.15);
  margin:auto;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #a855f7, #9333ea, #7e22ce);
  border-radius: 20px;
  transition: width 0.7s ease;
  box-shadow: 0 0 15px #a855f7;
  position: relative;
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 700;
  color: #fff;
  font-size: 16px;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
  pointer-events: none;
  user-select: none;
}



.milestone i {
  transition: color 0.3s ease, transform 0.3s ease;
}

.milestone i.fa-circle-check {
  transform: scale(1.2);
}
