/*-------------TWITTER------------*/

/* Styles pour les indicateurs de certification */
.social-metric.certified {
  background-color: #f2fbf6;
  border: 1px solid #b7e4c7;
}

.social-metric.certified .value i {
  color: #2ecc71;
  filter: drop-shadow(0 0 2px rgba(46, 204, 113, 0.3));
}

.social-metric.certified .label {
  color: #27ae60;
  font-weight: 600;
}

/* Animation pour l'ic?ne de certification */
@keyframes pulse-glow {
  0% { filter: drop-shadow(0 0 2px rgba(46, 204, 113, 0.3)); }
  50% { filter: drop-shadow(0 0 4px rgba(46, 204, 113, 0.5)); }
  100% { filter: drop-shadow(0 0 2px rgba(46, 204, 113, 0.3)); }
}

.social-metric.certified .value i {
  animation: pulse-home 2s infinite ease-in-out;
}

/* Badge de v?rification am?lior? */
.verified-badge {
  opacity: 0.9;
  transition: all 0.3s ease;
  display: inline-block;
  margin-left: 4px;
  font-size: 14px;
}

.verified-badge.visible {
  opacity: 1 !important;
  color: #2ecc71 !important;
  animation: pulse-verify 2s infinite ease-in-out;
}

@keyframes pulse-verify {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Mise en ?vidence des comptes certifi?s */
.twitter-card.certified {

}

/* Style pour le debugging */
.debug-certification {
  margin-top: 20px;
  padding: 10px;
  border: 1px dashed #ccc;
  background: #f9f9f9;
  font-family: monospace;
  font-size: 12px;
  color: #666;
  white-space: pre-wrap;
}

/* Indicateur de statut de certification */
.certification-status {
  margin-top: 15px;
  padding: 10px 15px;
  background-color: #f5f8fa;
  border-radius: 8px;
  text-align: center;
}

.certification-status p {
  margin: 5px 0;
}

.certification-status a {
  color: #2ecc71;
  font-weight: 600;
  text-decoration: none;
}

.certification-status a:hover {
  text-decoration: underline;
}


/* VOOTE */




   /* Styles pour les boutons de vote et like et boost*/
   .vote-like-buttons {
    display: flex;
    gap: 15px;
    margin-top: 50px;
    justify-content: center;
  }
  
  .vote-button, .like-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 14px;
    border: none;
  }
  
  .vote-button {
    background-color: #fff;
  color: #1da1f2;
  border: 1px solid #1da1f2;
  }
  
  .like-button {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    display: none;
  }
  
  .vote-button:hover:not(.disabled),
  .like-button:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  }
  
  .vote-button.disabled,
  .like-button.disabled {
    cursor: not-allowed;
    background: #80808045;
  }

  .vote-count, .like-count {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
  }
  
  .like-button .like-count {
    background-color: rgba(0, 0, 0, 0.05);
  }
  
  .vote-timer {
    font-size: 13px;
    color: rgb(241, 185, 11);
  }
  
  .like-button.liked {
    background-color: #ffebee;
    color: #e53935;
    border-color: #ffcdd2;
  }
  
  .action-tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1000;
  }
  
  .action-tooltip.visible {
    opacity: 1;
  }
  
  .vote-count-animate, .like-count-animate {
    animation: countPulse 0.6s ease;
  }
  .vote-count-animate {
    animation: pulse 1s;
  }
  
  .balance-update-animate {
    animation: flash 1s;
  }
  
  .vote-success {
    animation: votePulse 1s ease;
  }
  
  .like-success {
    animation: likePulse 1s ease;
  }
  
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }
  
  @keyframes flash {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.5; }
  }
  @keyframes countPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
  }
  
  @keyframes votePulse {
    0% { background-color: #1e88e5; }
    50% { background-color: #2196f3; }
    100% { background-color: #1e88e5; }
  }
  
  @keyframes likePulse {
    0% { transform: scale(1); }
    25% { transform: scale(1.08); }
    50% { transform: scale(1); }
    75% { transform: scale(1.08); }
    100% { transform: scale(1); }
  }


 /* Conteneur des boutons de vote */
.vote-actions-container {
  display: flex;
  gap: 16px;
  margin-top: 15px;
  padding: 15px 0;
  align-items: stretch;
  width: 100%;
}

/* ========== BOUTON BOOST (Payant) ========== */
.boost-vote-button {
  flex: 2;
  padding: 16px 20px;
  background: linear-gradient(135deg, #1a1f36 0%, #252b48 100%);
  border: 1px solid rgba(240, 185, 11, 0.3);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.72);
    background-image: none;
  background-image: repeating-linear-gradient( 45deg, rgba(207, 207, 207, 0) 0px, rgba(162, 162, 162, 0.05) 1px, #00000012 1px, #0000 5px );
}

.boost-vote-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(240, 185, 11, 0.1), transparent);
  transition: left 0.5s ease;
}

.boost-vote-button:hover::before {
  left: 100%;
}

.boost-vote-button:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 185, 11, 0.6);
  box-shadow: 0 8px 24px rgba(240, 185, 11, 0.15);
}

.boost-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f0b90b 0%, #e7a502 100%);
  border-radius: 10px;
  flex-shrink: 0;
}

.boost-icon i {
  font-size: 24px;
  color: #1a1f36;
}

.boost-content {
  flex: 1;
  text-align: left;
}

.boost-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.3px;
  margin: 0px 0px 10px 5px;
}

.boost-content p {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.4;
}

.boost-arrow {
  display: flex;
  align-items: center;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.boost-arrow i {
  font-size: 18px;
  color: #f0b90b;
}

.boost-vote-button:hover .boost-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ========== BOUTON PUSH (Gratuit) ========== */
.push-vote-button {
  flex: 1;
  padding: 16px 20px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.72);
  background-image: repeating-linear-gradient( 45deg, rgba(207, 207, 207, 0) 0px, rgba(162, 162, 162, 0.05) 1px, #00000012 1px, #0000 5px );
  color: white;
}

.push-vote-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(115, 183, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.push-vote-button:hover:not(:disabled)::before {
  left: 100%;
}

.push-vote-button:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(115, 183, 255, 0.6);
  box-shadow: 0 8px 24px rgba(115, 183, 255, 0.15);
}

.push-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #73b7ff 0%, #378faa 100%);
  border-radius: 10px;
  flex-shrink: 0;
}

.push-icon i {
  font-size: 24px;
  color: #1a1f36;
}

.push-content {
  text-align: center;
}

.push-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 4px 0;
  letter-spacing: 0.3px;
}

.push-content p {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.4;
}

/* ?tats du bouton Push */
.push-vote-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.push-vote-button.voted {
  border-color: rgba(80, 175, 181, 0.5);
  background: linear-gradient(135deg, #1a1f36 0%, #1f3a3a 100%);
}

.push-vote-button.voted .push-icon {
  background: linear-gradient(135deg, #50afb5 0%, #3a8a8e 100%);
}

/* Timer dans le bouton Push */
.vote-timer {
  font-family: 'Courier New', monospace;
  font-weight: bold;
  font-size: 14px;
  color: #73b7ff;
  margin-top: 4px;
}

/* Animation des compteurs */
@keyframes vote-count-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.vote-count-animate {
  animation: vote-count-pulse 0.5s ease;
  color: #27ae60;
}

/* Responsive */
@media (max-width: 768px) {
  .vote-actions-container {
    flex-direction: column;
  }
  
  .boost-vote-button,
  .push-vote-button {
    width: 100%;
  }
}
  



  /*LOADER*/

  /* loader.css - Styles pour le syst?me de chargement global */

/* site-loader ? d?plac? dans base.css */





/* RANKING AIRDROPS TWITTER - Version optimis?e et compl?te */

/* Variables pour faciliter la maintenance */
:root {
  --primary-blue: #3498db;
  --twitter-blue: #1da1f2;
  --green-active: #2ecc71;
  --red-ended: #e74c3c;
  --light-bg: #f9f9f9;
  --white: #ffffff;
  --border-light: #eaeaea;
  --shadow-light: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 6px 15px rgba(0, 0, 0, 0.1);
  --transition-standard: all 0.3s ease-in-out;
  --radius-standard: 12px;
  --text-dark: #333;
  --text-medium: #555;
  --text-light: #777;
}
.top5 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px; /* Ajuste selon tes besoins */
  width: 100%;
}

.hrv-top5 {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, gray, transparent);
  border: none;
  border-radius: 0;
  transform: translateY(-50%);
  width: 100%;
}

.txt-top5 {
  position: relative;
  z-index: 2; /* S'assurer que le texte est au-dessus */
}

.txt-top5 p {
  margin: 0;
    font-weight: 500;
    background: #373737;
    padding: 5px 25px;
    border-radius: 100px;
    color: #cacaca;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}
/* Structure de base */
.home-rankings {
  margin: 0% 5%;
  position: relative;
  transition: var(--transition-standard);
}

.ranking-row {
  display: flex;
  gap: 20px;
  margin-left: 0;
  margin-right: 0;
  transition: var(--transition-standard);
}

/* Annuler les padding Bootstrap sur les colonnes ranking */
.ranking-row.row {
  margin-left: 0;
  margin-right: 0;
}

.ranking-column {
  flex: 1 1 0;
  min-width: 0;
  padding-left: 0;
  padding-right: 0;
  transition: var(--transition-standard);
}

/* Sections */
.ranking-section {
  background-color: #fff0;
  border-radius: 5px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  padding: 0px 20px 20px 20px;
}

.item-description p{
  padding: 10px;
  background-color: #f7f7f7;
  color: #666;
  font-size: 0.75rem;
  border-radius: 10px;
  line-height: 1.4;
  height: 100%;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
  margin-bottom: 0;
}
.item-description{
  width: 100%;
}


/* En-t?tes et contr?les */
.ranking-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  flex-direction: column;
  gap: 30px;
  margin-top: 50px;
  
}
.expanded-twitter .ranking-header {
  margin: 50px 50px 10px 50px;
}
.expanded-twitter .ranking-title {
  display: none;
}


.expanded-airdrops .ranking-header {
  margin: 50px 50px 10px 50px;
}
.expanded-airdrops .ranking-title {
  display: none;
}
body.expanded-mode .premium-banners-container {
  margin: 4% 9% 0% 10%;
}

.ranking-title {
  font-size: 36px;
  font-weight: 700;
  color: #727272;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  flex-direction: column;
}



.ranking-title-mobile i {
    color: #f0b90b;
    margin: auto 20px;
    border: 3px solid #fff;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 1px 3px;
    padding: 25px;
    font-size: 50px;
    border-radius: 100px;
    background-color: #eee;
  }
    .ranking-title-mobile {
    flex-direction: column;
    display: flex;
    justify-content: center;
    margin-top: 80px;
    align-items: center;
    z-index: 10;
    position: relative;
  }
  .title-all-rank span{
    color: gray;
    margin:auto;
    margin-top:10px;
  }
    .title-all-rank2 span{
    color: gray;
    margin:auto;
    margin-top:10px;
  }
    .title-all-rank .ranking-back-btn {
    position: absolute;
    right: 5%;
    top: 150px;
    z-index: 200;
  }
    .title-all-rank2 .ranking-back-btn {
    position: absolute;
    right: 5%;
    top: 150px;
    z-index: 200;
  }

.airdrops-ranking .ranking-title i { 
  color: #f0b90b;
  margin: auto 20px;
  border: 3px solid #676767;
  box-shadow: rgba(240, 185, 11, 0.52) 0px 1px 3px;
  padding: 25px;
  font-size: 50px;
  border-radius: 100px;
  background-color: #404040;
}
.twitter-ranking .ranking-title i { 
  color: #f0b90b;
  margin: auto 20px;
  border: 3px solid #676767;
  box-shadow: rgba(240, 185, 11, 0.52) 0px 1px 3px;
  padding: 25px;
  font-size: 50px;
  border-radius: 100px;
  background-color: #404040;
}

.title-text-expanded { display: none; }

.ranking-back-btn {
  display: none;
}


/* Quand vous voulez l'afficher, utilisez une classe sp?cifique plut?t que :active */
.ranking-controls {
  display: block;
}

.ranking-back-btn {
  /* Changez ceci de 'none' ? 'flex' pour que le bouton s'affiche correctement */
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background-color: #f5f5f5;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-medium);
  cursor: pointer;
  transition: all 0.2s;
}

.ranking-back-btn:hover {
  background-color: #e5e5e5;
  color: var(--text-dark);
}
.ranking-back-btn span{
  margin:0;
}
.expand-title-btn2 {
  display: none;
  color: #f0b90b;
  font-size: 18px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background: #404040;
  margin: 0px 20px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border: 2px solid gray;
}
.expand-title-btn {
  color: #f0b90b;
  font-size: 18px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background: #404040;
  margin: 0px 20px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border: 2px solid gray;
}
.expand-title-btn i{
  padding:20px;
}

.expand-title-btn:hover {
  font-size: 22px;
  color: #f0b90b;
}

/* Masquer le bouton + quand la vue est ?tendue */
.expanded-airdrops .airdrops-ranking .expand-title-btn,
.expanded-twitter .twitter-ranking .expand-title-btn {
  display: none;
}
/* Masquer le bouton + quand la vue est ?tendue */
.expanded-airdrops .airdrops-ranking .expand-title-btn2,
.expanded-twitter .twitter-ranking .expand-title-btn2 {
  display: block;
}


/* Liste et ?l?ments */
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.expanded-twitter #latestTwitterAccounts{
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: space-around;
  flex-direction: row;
}
.expanded-twitter .ranking-item {
  display: flex;
  flex-direction: column;
  border-radius:10px;
  overflow:hidden;
  transition:transform 0.2s, box-shadow 0.2s;
  background-color: var(--light-bg);
  border:1px solid #eeeeee;
  text-decoration:none;
  color: inherit;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  width: 400px;
  margin-top: 20px;
}
.expanded-airdrops .ranking-item {
  display: flex;
  flex-direction: column;
  border-radius:10px;
  overflow:hidden;
  transition:0.5s, box-shadow 0.2s;
  background-color: var(--light-bg);
  border:1px solid #eeeeee;
  text-decoration:none;
  color: inherit;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  width: 400px;
  margin-top: 20px;
}
.expanded-airdrops .ranking-item .item-title{
  flex-wrap:wrap;
}
.expanded-airdrops .ranking-item .item-title .modal-timer-body{
    margin-left: 35%;
  margin-top: 15px;
  width: 100%;
}

.expanded-airdrops #latestAirdrops {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: space-around;
  flex-direction: row;
}


.ranking-footer {
  margin-top: 15px;
  text-align: center;
}
.ranking-footer p{
 margin:0px;
}

.see-all-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10px;
  background-color: #0000007d;
  border: none;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.see-all-btn i {
  margin-left:40px;
}

.see-all-btn:hover {
  background-color: #eeeeee;
  color: var(--text-dark);
}

/* Items du classement */
.ranking-item {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.5s, box-shadow 0.2s;
  border: 1px solid #eeeeee;
  text-decoration: none;
  color: inherit;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: white;
}



/* Style de base pour tous les num?ros */
.ranking-item-number {
  position: absolute;
  width: 29px;
  height: 35px;
  background: #f0f0f0;
  color: #5e5e5e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  z-index: 2;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transition: all 0.3s ease;
  border-radius: 0px 0px 50px 50px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  top: 0px;
  right: 10px;
  border-top:none;
}
.ranking-item-number p{
  background-color: #484848;
  border-radius: 50px;
  padding: 1px 8px;
  box-shadow: 0 1px 2px 0 rgba(58, 57, 68, 0.36);
  margin: 5px 0px 0px 0px;
  font-family: anton;
  font-size: 14px;
  color: #f0b90b;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

/* ?? PREMI?RE PLACE - OR */
.ranking-item:nth-child(1) .ranking-item-number {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #8B4513;
  font-weight: 900;
  width: 25px;
  height: 35px;
  font-size: 0px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border: 2px solid #FFF;
  animation: goldPulse 2s infinite;
  top: -5px;
}

.ranking-item:nth-child(1) .ranking-item-number p{
  display: none;
}

.ranking-item:nth-child(1) .ranking-item-number::before {
  content: "🥇";
  margin-right: 0px;
  font-size: 24px;
}

/* ?? DEUXI?ME PLACE - ARGENT */
.ranking-item:nth-child(2) .ranking-item-number {
  background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
  color: #4A4A4A;
  font-weight: 800;
  width: 25px;
  height: 35px;
  font-size: 0px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border: 1px solid #FFF;
  top: -5px;
}

.ranking-item:nth-child(2) .ranking-item-number p{
  display: none;
}

.ranking-item:nth-child(2) .ranking-item-number::before {
  content: "🥈";
  margin-right: 0px;
  font-size: 24px;
}

/* ?? TROISI?ME PLACE - BRONZE */
.ranking-item:nth-child(3) .ranking-item-number {
  background: linear-gradient(135deg, #CD7F32, #B8860B);
  color: #FFF;
  font-weight: 700;
  width: 25px;
  height: 35px;
  font-size: 0px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border: 1px solid #FFF;
  top: -5px;
}

.ranking-item:nth-child(3) .ranking-item-number p{
  display: none;
}

.ranking-item:nth-child(3) .ranking-item-number::before {
  content: "🥉";
  margin-right: 0px;
  font-size: 24px;
}

/* ?? TOP 10 - Style sp?cial */
.ranking-item:nth-child(-n+10):nth-child(n+4) .ranking-item-number {
  background: white;
  color: #333;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 4px rgba(240, 185, 11, 0.3);
}

/* Animation pour la premi?re place */
@keyframes goldPulse {
  0% { 
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.5);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.8);
    transform: scale(1.05);
  }
  100% { 
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.5);
    transform: scale(1);
  }
}



.ranking-item:has(.date-container) .ranking-item-number {
  display: none !important;
}

.airdrop-rank-card {
  display: flex;
  margin-top:20px;
  justify-content: space-between;
  margin-bottom: 10px;
}
.content-rank-card{
  width: 100%;
}
.corp-car-rank {
  display: flex;
  justify-content: space-between;
}

/* Images et statuts */
.ranking-item-banner {
  width: 100%;
  position: relative;
  aspect-ratio: 3 / 1;
  overflow: hidden;
}

.item-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-avatar {
  position: absolute;
  bottom: -25px;
  left: 15px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid white;
  background-color: white;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.item-status {
  padding:5px 20px;
  border-radius:5px;
  font-size: 14px;
  color: white;
}
.item-title-card-flex {
  display: flex;
  align-items: center;
  gap: 15px;
}
.item-title i {
  font-size: 22px;
  color: #505050;
  align-items: center;
  display: flex;
}
.twitter-rank-card {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  margin-bottom: 13px;
  overflow: hidden;
}
.hrv {
  border-right: 1px solid #00000017;
  margin-top: 0px;
  margin-bottom: 0px;
}
.hrv-mb {
  border-bottom: 1px solid #ffffff17;
}
.modal-card-header .item-status{
  position:relative;
  top: 0px;
  padding:5px 20px;
  border-radius:5px;
  font-size: 13px;
  color: white;
  width: auto;
  margin-bottom: 0px;
  margin-left: 30px;
}

.item-status.active { 
  animation: pulseCardcomplete 2s infinite;
  background: linear-gradient(90deg,rgba(30, 162, 63, 0.77) 0%, rgba(71, 162, 93, 0.74) 50%, rgba(44, 168, 33, 0.54) 100%);
 }
.item-status.ended { 
  background-color: #8585858f;
 }

 .modal-card-header .item-status.ended {
  box-shadow: none;
}

.item-certified {
  position: absolute;
  top: 10px;
  color: var(--green-active);
  font-size: 16px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.15));
  display: flex;
  background-color: green;
  height: 25px;
  border-radius: 0px 15px 15px 0px;
  border: 1px solid #ffffff8a;
  border-left: none;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  padding-right: 10px;
}
.expanded-view-item .item-certified {
  width: 31%;
}
/* Cards normales (non-expanded) : hauteur fixe commune pour ?quilibrer les vignettes */
.ranking-item:not(.expanded-view-item) .item-description {
  overflow: hidden;
}
.ranking-item:not(.expanded-view-item) .item-description p {
  height: 70px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.expanded-view-item .item-description {
  font-size: 0.65rem;
  overflow:hidden;
}
.expanded-view-item .item-certified p {
  font-size: 12px;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.item-certified p {
  color: white;
  font-size: 14px;
  margin:auto 16px;
  font-style: italic;
  letter-spacing: 1px;
  font-weight: 300;
}
.item-certified i {
  margin:auto;
}


.date-stats {
  display: flex;
  flex-direction: column;
  width: 80px;
  background-color: #f4f7fa;
  border:1px solid #e2e8f0;
  border-radius:8px;
  overflow:hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition:all 0.2s ease;
  z-index: 10;
}
.date-stats-label {
  margin:auto;
  
}
.date-stats-label i{
  padding:15px;
  font-size: 24px;
  width: 100%;
}
.date-value {
  margin:auto;
  font-size: 12px;
  background-color: #fef4e2;
  color: #f0b90b;
  padding: 10px 6px;
}


/* Informations */
.ranking-item-info {
  padding: 10px 15px 10px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.twitter-item .ranking-item-info {
  padding: 15px;
}

.item-title {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: space-between;
}

.ranking-item.twitter-item .ranking-item-info{
  padding-top: 25px;
}

.flex-item-title{
  display: flex;
  flex-direction: row;
  width: 100%;
}
.flex-name-item{
  display: flex;
    gap: 5px;
    margin-bottom: 5px;
}

.item-title h3 {
  font-size: 1.5rem;
  margin:0;
  color: #333333db;
  white-space:nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
  margin-bottom: 0;
}
.expanded-airdrops .item-title h3 {
  font-size: 1rem;
}

.verified-badge {
  color: var(--green-active);
  font-size: 14px;
  animation: pulse-verify 2s infinite ease-in-out;
}

.item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  color: #666;
}

.item-token, .item-value, .item-handle, .item-followers {
  display: flex;
  align-items: center;
  gap: 5px;
}
.token-name{
width: 100%;
}
.token-logo-small {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
}

/* Styles pour le nouveau design du syst?me de vote */
.ranking-item .vote-container {
  display: flex;
  flex-direction: column;
  width: 80px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  z-index: 10;
}

.ranking-item .vote-container:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Partie sup?rieure avec les stats */
.ranking-item .vote-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 5px;
  background-color: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  cursor: auto;
}

.ranking-item .vote-stats-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ranking-item .vote-count {
  font-size: 16px;
  font-weight: 700;
  color: #334155;
  margin-top: 2px;
}

/* Animation pour le compteur de votes - conserv? de votre code */
.vote-count-animate {
  animation: pulse 0.5s ease-out;
}

@keyframes pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.2); }
  80% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* Bouton de vote (partie inf?rieure) */
.ranking-item .vote-action {
  width: 100%;
  padding:6px 0;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  background-color: #f0b90b;
  border:none;
  cursor: pointer;
  transition:all 0.2s ease;
}

.ranking-item .vote-action:hover {
  background-color: #f0b90bb2;
  color: #fff;
  scale: 1.1;
}

/* ?tat du bouton en cours de vote */
.ranking-item .vote-action.voting {
  opacity: 0.7;
  cursor: wait;
}

/* Rend le texte "Push!" invisible seulement pour les boutons d'airdrops */
.ranking-item .airdrop-vote-button.voted {
  background-color: #fef4e2;
  color: #f0b90b;
  animation: timerPulse 2s infinite;
  cursor: pointer;
   z-index: 100;
}

/* Si vous avez besoin de styles sp?cifiques pour les boutons Twitter, vous pouvez les ajouter ici */
.ranking-item .twitter-vote-button.voted {
  /* Styles pour les boutons Twitter vot?s */
  background-color: #fef4e2;
  color: #f0b90b;
  animation: timerPulse 2s infinite;
  cursor: pointer;
  z-index: 100;
}


/* Animation pour faire clignoter le timer */
@keyframes timerPulse {
  0% { opacity: 1; }
  50% { opacity: 0.8; }
  100% { opacity: 1; }
}

/* Tooltip d'erreur - conserv? de votre code */
.vote-error-tooltip {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(220, 38, 38, 0.9);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Ajustement pour l'int?gration dans les ranking-items - conserv? de votre code */
.ranking-item .item-meta {
  margin: auto 0px auto 20px;
  align-items: end;
}

.item-title .item-handle span{
 color: gray;
  font-size: 14px;
  margin-left: 10px;
}
.ranking-item .item-handle,
.ranking-item .item-token {
  flex: 1;
}

/* Style mobile responsive */
@media (max-width: 576px) {
  .ranking-item .vote-container {
    width: 70px;
  }
  
  .ranking-item .vote-stats {
    padding: 6px 4px;
  }
  
  .ranking-item .vote-count {
    font-size: 14px;
  }
  
  .ranking-item .vote-action {
    font-size: 12px;
    padding: 5px 0;
  }
}
/* Augmenter la marge sup?rieure du contenu info pour laisser plus de place ? l'avatar */
.ranking-item.twitter-item .ranking-item-info {
  position: relative;
}

/* S'assurer que l'avatar sort correctement de la banni?re */
.ranking-item.twitter-item .item-avatar {
  position: absolute;
  bottom: -10px; /* Augmenter cette valeur pour descendre davantage l'avatar */
  left: 20px;
  border: 3px solid white;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
  z-index: 5; /* S'assurer que l'avatar est au-dessus des autres ?l?ments */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
 
}

/* Ajuster la hauteur de la banni?re au besoin */
.ranking-item.twitter-item .ranking-item-banner {
  aspect-ratio: 3 / 1;
  position: relative;
  overflow: visible; /* Important : permet ? l'avatar de d?passer */
}

/* Mettre ? jour la zone du titre pour qu'elle soit align?e correctement */
.ranking-item.twitter-item .item-title {
  min-height: 30px; /* Assurer un espace minimum pour le titre */
}

/* Chargement et messages */
.empty-ranking, .error-message {
  padding: 30px 20px;
  text-align: center;
  background-color: var(--light-bg);
  border-radius: 8px;
  color: var(--text-light);
}

.empty-ranking i, .error-message i {
  font-size: 24px;
  margin-bottom: 10px;
  display: block;
}

.error-message {
  border-left: 4px solid var(--red-ended);
}

.error-message i {
  color: var(--red-ended);
}

.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  color: var(--text-light);
}

.spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #f0b90b;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

/* ?tats d'expansion */
.ranking-column.animating .ranking-item {
  transform: scale(0.96);
  opacity: 0.5;
}

/* Airdrops ?tendu */
.expanded-airdrops #airdropsColumn {
  flex: 0 0 100%;
  max-width: 100%;
}

.expanded-airdrops #twitterColumn {
  flex: 0 0 0%;
  max-width: 0%;
  overflow: hidden;
  padding: 0;
  margin: 0;
  opacity: 0;
}

/* Twitter ?tendu */
.expanded-twitter #twitterColumn {
  flex: 0 0 100%;
  max-width: 100%;
}

.expanded-twitter #airdropsColumn {
  flex: 0 0 0%;
  max-width: 0%;
  overflow: hidden;
  padding: 0;
  margin: 0;
  opacity: 0;
}

/* UI ?tats ?tendus */
.expanded-airdrops .airdrops-ranking .title-text,
.expanded-twitter .twitter-ranking .title-text {
  display: none;
}

.expanded-airdrops .airdrops-ranking .title-text-expanded,
.expanded-twitter .twitter-ranking .title-text-expanded {
  display: inline;
}

.expanded-airdrops .airdrops-ranking .ranking-back-btn,
.expanded-twitter .twitter-ranking .ranking-back-btn {
  display: inline-flex;
  margin-right: 20px;
}

.expanded-airdrops .airdrops-ranking .see-all-btn,
.expanded-twitter .twitter-ranking .see-all-btn {
  display: none;
}

.expanded-airdrops .ranking-item-number,
.expanded-twitter .ranking-item-number {
  display: flex;
}

/* MODAL STYLES COMPLETS */
.detail-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  overflow: hidden;
}

.detail-modal.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  background-color: var(--white);
  border-radius: var(--radius-standard);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: zoomIn 0.3s ease-out;
}

.modal-header {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background-color: #f8f8f8;
  transform: scale(1.05);
}

.modal-content {
  padding: 0;
  overflow-y: auto;
  max-height: 90vh;
}

.modal-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
}

.modal-loading .spinner {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}

/* Styles pour les cartes dans les modals */
.modal-airdrop-card,
.modal-twitter-card {
  width: 100%;
  background-color: whitesmoke;
  overflow: hidden;
}

/* Banni?re */
.modal-card-banner {
  width: 100%;
  aspect-ratio: 3 / 1;
  background-position: center;
  background-size: cover;
  position: relative;
}

/* Badge statut/certification */
.modal-card-badge {
  top: 15px;
  right: 15px;
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.modal-card-badge.active {
  background-color: var(--green-active);
}

.modal-card-badge.ended {
  background-color: var(--red-ended);
}

.modal-card-certified {
  position: absolute;
  top: 36px;
  font-size: 16px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.15));
  display: flex;
  background-color: green;
  height: 25px;
  width: 20%;
  border-radius:0px 15px 15px 0px;
  border:1px solid #ffffff8a;
  border-left:none;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  background-color: #008000ad;
  display: flex;
  justify-content: space-around;
}
.modal-card-certified p{
  color:white;
  margin: auto;
}
.modal-card-certified i{
  color: var(--green-active);
  margin: auto;
}

.modal-info-twitter {
  display: flex;
  justify-content: space-around;
  gap:10px;
  margin: 20px 0px;
}


/* Avatar pour Twitter */
.modal-twitter-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid white;
  background-color: white;
  position: absolute;
  bottom: -50px;
  left: 30px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Contenu de la carte */
.modal-card-content {
  padding: 25px 30px;
}

.modal-desc-container{
  padding: 15px;
  border: 1px solid #f0b90b45;
  border-radius: 15px;
  background: white;
}

/* En-t?te avec nom et v?rification */
.modal-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  justify-content: space-between;
}

.modal-twitter-card .modal-card-header {
  margin-top: 30px;
}

.modal-card-header h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  margin-right: 10px;
  color: #707070;
}

.modal-card-header .verified-badge {
  color: var(--green-active);
  font-size: 20px;
}

/* Section description */
.modal-card-description {
  line-height: 1.6;
  color: #444;
  padding: 5px 15px 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  border: 1px solid #e0e0e0;
  margin-top: 30px;
  margin-bottom: 10px;
}

/* Section des m?triques */
.modal-card-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  border-radius: 15px;
  justify-content: space-between;
}
.modal-twitter-card .modal-card-metrics {
  flex-direction: column;
}

.modal-card-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 15px 15px;
  background: white;
  border-radius: 15px;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  gap: 10px;
}

/*
.modal-info-twitter.vote {
  background: rgba(15, 15, 25, 0.95);
  border: 3px solid #8b5cf6;
  border-radius: 30px;
  padding: 6px 8px 6px 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 
    0 0 15px rgba(139, 92, 246, 0.4),
    inset 0 2px 10px rgba(139, 92, 246, 0.1);
}

.modal-card-metric.vote {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
}
.modal-content-vote{
  display: flex;
  justify-content: center;
  margin:20px;
}

.modal-card-metric.vote .label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #a78bfa;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.modal-card-metric.vote .value {
  background: linear-gradient(180deg, #8b5cf6 0%, #6d28d9 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 20px;
  min-width: 50px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.5);
}
*/

/* ========== MODAL TWITTER - SECTION VOTES & CLASSEMENT ========== */


.flex-rank {
  display: flex;
  justify-content:center;
  flex-direction: column;
  align-items: center;
}


.modal-content-vote {
  justify-content: center;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.modal-content-vote .modal-info-twitter.vote,
.modal-content-vote .modal-twitter-vote-ranking {
  flex: 1;
  display: block;
  color: #f0b90b;
  padding: 5px;
  font-size: 50px;
  border-radius: 35px;
  background-color: #fff;
}

.modal-content-vote .modal-card-metric {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  padding: 1rem 2rem;
  min-width: 120px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
}
.modal-content-vote .modal-card-metric i{
  color: #afafaf69;
  font-size: 38px;
}
.pinned-image {
    max-width: 100%;
    border-radius: 8px;
    margin: 10px auto;
    display: block;
}

.modal-content-vote .modal-card-metric .value {
  font-size: 1.75rem;
  font-weight: 700;
  color: gray;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.modal-content-vote .modal-card-metric .label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
}

/* Accent couleur pour les votes */
.modal-content-vote .modal-info-twitter.vote .modal-card-metric .value {
  color: #8b8b8b;
}

/* Accent couleur pour le classement */
.modal-content-vote .modal-twitter-vote-ranking .modal-card-metric .value {
  color: #f59e0b;
}

/* S?parateur visuel entre les deux m?triques */
.modal-content-vote .modal-info-twitter.vote {
  position: relative;
}

.modal-content-vote .modal-info-twitter.vote::after {
  content: '';
  position: absolute;
  right: -0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 480px) {
  .modal-content-vote {
    gap: 1rem;
    padding: 1rem;
  }
  
  .modal-content-vote .modal-card-metric {
    padding: 0.75rem 1.25rem;
    min-width: 100px;
  }
  
  .modal-content-vote .modal-card-metric .value {
    font-size: 1.5rem;
  }
  
  .modal-content-vote .modal-card-metric .label {
    font-size: 0.7rem;
  }
}

.modal-card-metric .value {
  font-size: 16px;
  color: #000000ab;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap:5px;
}

.modal-card-metric .label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.token-logo-medium {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: contain;
}

/* Section des liens */
.modal-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-card-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background-color: #f0f0f0;
  border-radius: 30px;
  text-decoration: none;
  color: #444;
  font-size: 14px;
  transition: all 0.2s;
}

.modal-card-link:hover {
    background: #fdf4e8;
    color: #f0b90c !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-color: #f0b90c;
    text-decoration: none;
}
.modal-card-link2 {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background-color: #fff;
  border-radius: 30px;
  transition: all 0.2s;
    transition-duration: 0.2s;
  transition-duration: 0.2s;
  color: #696969 !important;
  font-size: 12px;
  border: 1px solid rgba(164, 164, 164, 0.44);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);

}

.modal-card-link2:hover {
    background: #fdf4e8;
    color: #f0b90c !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-color: #f0b90c;
    text-decoration: none;
}
.modal-card-link2 i{
  font-size: 12px;
}
.modal-twitter-card .modal-card-link3{
  display: none;
}
.flex-twit-name{
  display: flex;
  align-items: center;
}
.modal-card-link3 {
    text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background-color: #fff;
  border-radius: 30px;
  transition: all 0.2s;
    transition-duration: 0.2s;
  transition-duration: 0.2s;
  color: #696969 !important;
  font-size: 12px;
  border: 1px solid rgba(164, 164, 164, 0.44);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
}

.modal-card-link3:hover {
    background: #fdf4e8;
    color: #f0b90c !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-color: #f0b90c;
    text-decoration: none;
}
/* Styles pour le timer am?lior? */
.modal-timer-container {
  margin-top: 50px;
  padding: 15px 30px 20px 30px;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.modal-timer-header {
  color: var(--text-medium, #555);
  font-weight: 500;
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.modal-timer-header i {
  margin-right: 6px;
  color: #f0b90b;
}

.modal-card-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-card-badge.active {
  background-color: #2ecc71;
  color: white;
}

.modal-card-badge.ended {
  background-color: #e74c3c;
  color: white;
}

.modal-timer-body {
  display: flex;
  justify-content: space-between;
  gap: 3px;
  margin-top: 23px;
  margin-bottom: 20px;
}

.modal-time-block {
  text-align: center;
  padding: 12px 8px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  flex: 1;
  transition: transform 0.2s ease;
}



.modal-time-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark, #333);
  margin-bottom: 4px;
}

.modal-time-label {
  font-size: 12px;
  color: var(--text-light, #777);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/*Timer ranking filter*/

.modal-timer-container2 {
  transition:all 0.3s ease;
  border-radius: 5px;
}
.modal-timer-container3{
  display: none;
}
.modal-time-block2 {
  text-align: center;
  padding: 3px;
  border-radius: 5px;
  transition: transform 0.2s ease;
  display: flex;
  background-color: #f1f1f1;
  gap:5px;
  width: 50px;
  justify-content: center;
}
.modal-time-value2 {
  font-size: 1rem;
  color: gray;
  font-weight: 300;
  font-family: Anton, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}
.modal-time-label2 {
  font-size: 10px;
  color: gray;
  text-transform: uppercase;
  font-weight: 300;
  margin:auto 0px;
}






/* Animation pour le chargement du timer */
.modal-time-loading {
  width: 100%;
  text-align: center;
  color: var(--text-medium, #555);
  font-style: italic;
  padding: 15px 0;
}

/* Style pour le message de fin */
.modal-time-ended {
  width: 100%;
  text-align: center;
  padding: 20px 15px;
  border-radius: 8px;
  background-color: #fef4e2;
  color: #e74c3c;
  font-weight: 600;
  font-size: 16px;
  animation: fadeIn 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.modal-time-ended i {
  font-size: 22px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}



/* Tweet ?pingl? pour Twitter */
.modal-pinned-tweet {
  margin-top: 20px;
  padding: 15px;
  background-color: var(--light-bg);
  border-radius: 10px;
  border-left: 3px solid #f0b90b;
  font-size: 14px;
}

.modal-pinned-tweet h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-pinned-tweet h3 i {
  color: #f0b90b;
}

.modal-pinned-content {
  color: #444;
  line-height: 1.5;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: translate(-50%, -50%) scale(0.9); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1050px) {
  .ranking-section {
    margin-bottom: 20px;
    padding: 15px;
  }
  
  .ranking-title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .ranking-column {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
  
  .expanded-airdrops #twitterColumn,
  .expanded-twitter #airdropsColumn {
    display: none;
  }
  
  .item-avatar {
    width: 40px;
    height: 40px;
    bottom: -20px;
  }
  

  


  
  .modal-twitter-avatar {
    width: 80px;
    height: 80px;
    bottom: -40px;
  }
  
  .modal-card-content {
    padding: 20px;
  }
  
  .modal-card-header h2 {
    font-size: 20px;
  }
  
  .modal-card-metrics,
  .modal-timer-container,
  .modal-pinned-tweet {
    padding: 10px;
  }
  
  .modal-card-metric .value {
    font-size: 14px;
  }
}