* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  /* https://grabient.com/HQRgnADANKAsIxAVgMwxQNmsATBtoAHGDBgOwLBIgHXQjAZgkNk5oNMhA?style=linearGradient&steps=13&angle=90 */

  background: linear-gradient(
    90deg,
    rgba(20, 25, 22, 1) 0%,
    rgba(51, 43, 34, 1) 8.333%,
    rgba(83, 60, 47, 1) 16.667%,
    rgba(110, 76, 59, 1) 25%,
    rgba(130, 89, 70, 1) 33.333%,
    rgba(139, 98, 79, 1) 41.667%,
    rgba(138, 102, 84, 1) 50%,
    rgba(126, 102, 87, 1) 58.333%,
    rgba(104, 98, 86, 1) 66.667%,
    rgba(76, 88, 82, 1) 75%,
    rgba(44, 75, 75, 1) 83.333%,
    rgba(12, 59, 65, 1) 91.667%,
    rgba(0, 42, 54, 1) 100%
  );
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  flex-direction: column;
  gap: 50px;
}

.container {
  background: white;
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

h1 {
  text-align: center;
  color: #998e8e;
  margin-bottom: 10px;
  font-size: 28px;
}

.subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
  font-size: 14px;
}

.index-display {
  text-align: center;
  margin-bottom: 30px;
}

.index-value {
  font-size: 72px;
  font-weight: bold;
  color: #667eea;
  margin: 20px 0;
  transition: color 0.5s ease;
}

.index-label {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  transition: color 0.5s ease;
}

.progress-bar {
  width: 100%;
  height: 30px;
  background: #f0f0f0;
  border-radius: 15px;
  overflow: hidden;
  margin: 20px 0;
}

.progress-fill {
  height: 100%;
  transition: width 0.5s ease, background-color 0.5s ease;
  border-radius: 15px;
}

.status-text {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-top: 10px;
  line-height: 1.5;
}

.loading {
  text-align: center;
  color: #666;
  font-size: 14px;
  padding: 20px;
}

.footer {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: #999;
}

/* Responsive pour mobile */
@media (max-width: 600px) {
  .container {
    padding: 25px;
  }

  h1 {
    font-size: 24px;
  }

  .index-value {
    font-size: 56px;
  }

  .index-label {
    font-size: 20px;
  }

  .submit-btn {
    width: 100%;
  }
}
/* https://grabient.com/HQRgnADANKAsIxAVgMwxQNmsATBtoAHGDBgOwLBIgHXQjAZgkNk5oNMhA?style=linearGradient&steps=13&angle=90 */

.news-section {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

.news-section h2 {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}

.news-item {
  margin-bottom: 10px;
  font-size: 14px;
}

.news-item a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
}

.news-item a:hover {
  text-decoration: underline;
}

@font-face {
  font-family: "MaPolice";
  src: url(/fonts/RockelPersonalUseOnlyReg-WpA9z.ttf);
}

.headerp {
  font-family: "MaPolice";
  color: #e0e0e0;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap; /* permet le retour à la ligne */
  text-align: center; /* centrer le texte sur mobile */
  max-width: 100%;
  padding: 0 12px;
}

.prices-section {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

.prices-section h2 {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  margin-bottom: 10px;
  background: #f9f9f9;
  border-radius: 10px;
  transition: background 0.2s;
}

.price-item:hover {
  background: #f0f0f0;
}

.coin-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.coin-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.coin-name {
  display: flex;
  flex-direction: column;
}

.coin-name .name {
  font-weight: bold;
  font-size: 14px;
  color: #333;
}

.coin-name .symbol {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
}

.coin-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.coin-price .price {
  font-weight: bold;
  font-size: 14px;
  color: #333;
}

.coin-price .change {
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}

.coin-price .change.positive {
  color: #22c55e;
}

.coin-price .change.negative {
  color: #ef4444;
}

@media (max-width: 600px) {
  .price-item {
    padding: 10px;
  }

  .coin-logo {
    width: 28px;
    height: 28px;
  }

  .coin-name .name {
    font-size: 13px;
  }

  .coin-price .price {
    font-size: 13px;
  }
}
.btc-dominance-widget {
  max-width: 500px;
  margin: 30px auto;
  padding: 25px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 15px;
  text-align: center;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btc-dominance-widget h2 {
  margin: 0 0 20px 0;
  font-size: 24px;
}

.dominance-display {
  margin: 20px 0;
}

.dominance-value {
  font-size: 64px;
  font-weight: bold;
  margin-bottom: 10px;
}

.dominance-label {
  font-size: 18px;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.dominance-info {
  margin-top: 15px;
  font-size: 14px;
  opacity: 0.8;
}

.twitter-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.twitter-follow-button,
.twitter-share-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 25px;
  background-color: #1da1f2;
  color: white;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.twitter-follow-button:hover,
.twitter-share-button:hover {
  background-color: #0d8bce;
  text-decoration: none;
}

.twitter-icon {
  width: 24px;
  height: 24px;
}

.badge {
  position: relative;
  width: 10px;
  height: 10px;
  background-color: #ff2d55;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.6;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.ath-counter-widget {
  max-width: 500px;
  margin: 30px auto;
  padding: 25px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  border-radius: 15px;
  text-align: center;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ath-counter-widget h2 {
  margin: 0 0 20px 0;
  font-size: 24px;
}

.counter-display {
  margin: 20px 0;
}

.counter-value {
  font-size: 72px;
  font-weight: bold;
  margin-bottom: 10px;
  animation: fadeIn 1s ease-in;
}

.counter-label {
  font-size: 18px;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.ath-info {
  margin-top: 15px;
  font-size: 14px;
  opacity: 0.85;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
h1 {
  text-align: center;
}
h1 .brand {
  display: block;
  font-size: 20px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 10px;
}
h1 .tagline {
  display: block;
  font-size: 15px;
  font-weight: normal;
  color: rgb(49, 49, 48);
}
p .explain {
  font-size: 15px;
  color: rgb(141, 141, 134);

  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
h2 {
  text-align: center;
}
@media (min-width: 480px) {
  .headerp {
    display: inline;
    margin: 0 6px;
    opacity: 0.6;
  }
}
