/* General Styles */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 1000;
  background: linear-gradient(90deg, #000000 0%, #1a1a1a 100%);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid #333;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-image {
  max-width: 150px;
  height: auto;
  display: none;
}

.logo-image[src]:not([src=""]) {
  display: block;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #f0b90b; /* Gold accent for crypto theme */
  display: none;
}

.logo-image[src=""] + .logo-text,
.logo-image:not([src]) + .logo-text {
  display: inline;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1900 !important;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: #fff;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #f0b90b;
}

@media (max-width: 768px) {
  .site-header {
    justify-content: center;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .hamburger {
    display: flex;
    position: absolute;
    left: 16px;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 64px);
    background: #000;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 20px;
    transition: left 0.3s ease;
    z-index: 1000;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
    padding-left: 16px;
    width: 100%;
  }

  .nav-menu a {
    font-size: 1.2rem;
    padding: 0.5rem 0;
    display: block;
  }
}

/* announcement-bar */
.announcement-bar {
  background: linear-gradient(90deg, #f0b90b, #ff6b35) !important;
  color: #000 !important;
  text-align: center !important;
  padding: 0.5rem 0 !important;
  position: fixed !important;
  top: 64px !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 300 !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: inherit !important;
  overflow: hidden !important;
}

.announcement-content {
  max-width: 1200px !important;
  margin: 0 auto !important;
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

.announcement-text {
  font-size: 1.5rem !important;
  font-weight: bold !important;
  margin: 0 !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 100% !important;
  opacity: 0 !important;
  transition: opacity 0.5s ease !important;
  white-space: nowrap !important;
  padding: 0 1rem !important;
}

.announcement-text.active {
  opacity: 1 !important;
}

@media (max-width: 768px) {
  .announcement-bar {
    top: 56px !important;
    height: 35px !important;
    padding: 0.3rem 0 !important;
  }

  .announcement-text {
    font-size: 1rem !important;
    padding: 0 0.5rem !important;
  }
}

@media (max-width: 480px) {
  .announcement-bar {
    height: 35px !important;
  }

  .announcement-text {
    font-size: 1rem !important;
  }
}


/* Hero Banner */
.hero-banner {
  position: relative;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  margin-top: 96px; /* 64px header + 32px announcement bar */
}

.banner-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-banner video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.banner-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
  background: rgba(0, 0, 0, 0.7);
  padding: 2rem;
  width: 90%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.banner-overlay h1 {
  font-size: 3rem;
  margin: 0 0 0.5rem;
  color: #f0b90b;
  font-weight: 700;
}

.banner-overlay p {
  font-size: 1.2rem;
  margin: 0;
  color: #fff;
}

@media (max-width: 640px) {
  .banner-overlay h1 {
    font-size: 2rem;
  }

  .hero-banner {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  margin-top: 96px; /* 64px header + 32px announcement bar */
}

  .banner-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
  background: rgba(0, 0, 0, 0.7);
  padding: 2rem;
  width: 80%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

  .banner-overlay p {
    font-size: 1rem;
  }
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #000000 0%, #1a1a1a 100%);
  padding: 1rem 1rem 0;
  text-align: center;
  border-top: 1px solid #333;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-column h4 {
  font-size: 1.4rem;
  color: #f0b90b;
  margin-bottom: 1rem;
}

.footer-column p {
  font-size: 1rem;
  color: #ccc;
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #f0b90b;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff6b35;
}

.social-title {
  font-size: 1.1rem;
  color: #f0b90b;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-icon {
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease;
}

.social-links a:hover .social-icon {
  opacity: 0.7;
}

.footer-column a[href^="mailto:"],
.footer-column a[href^="tel:"] {
  color: #e6a700;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.footer-column a[href^="mailto:"]:hover,
.footer-column a[href^="tel:"]:hover {
  color: #ff6b35;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}


/* Welcome Section */
.welcome-section {
  background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
  padding: 0.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid #333;
  box-sizing: border-box;
  width: 100%;
}

.welcome-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.welcome-section h2 {
  font-size: 2.5rem;
  color: #f0b90b;
  margin-bottom: 1rem;
  font-weight: 700;
  box-shadow: 2px 2px 8px rgba(240, 185, 11, 0.3); /* Box-shadow pour desktop */
}

.welcome-section p {
  font-size: 1.2rem;
  color: #ccc;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .welcome-section {
    width: 100%;
    overflow-x: hidden;
    padding: 0.5rem;
  }

  .welcome-section h2 {
    font-size: 2rem;
    color: #f0b90b;
    margin-bottom: 1rem;
    font-weight: 700;
    box-shadow: 2px 2px 8px rgba(240, 185, 11, 0.3); /* Box-shadow pour mobile */
    width: 100%;
    text-align: center; /* Retour au centrage pour éviter l'effet trop à gauche */
    padding: 0 0.75rem; /* Padding réduit pour un centrage équilibré */
    margin: 0 auto; /* Centrage horizontal */
    box-sizing: border-box;
  }

  .welcome-section p {
    font-size: 1rem;
    text-align: center; /* Retour au centrage pour éviter l'effet trop à gauche */
    padding: 0 0.75rem; /* Padding réduit pour un centrage équilibré */
    max-width: 100%;
    margin: 0 auto; /* Centrage horizontal */
  }

  .welcome-container {
    width: 100%;
    padding: 0 0.5rem;
  }
}

/* Cryptocurrency Converter Section */
.converter-section {
  background: #1a1a1a;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #333;
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.converter-section h2 {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 2rem;
}

.converter-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3.5rem;
  margin: 0 auto 2rem;
  overflow: hidden;
  /* ✅ AJOUTÉ POUR DESKTOP : utilise l'espace à droite ! */
  max-width: 900px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 1rem;
  color: #f0b90b;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select {
  padding: 0.75rem;
  background: #000000;
  border: 2px solid #201f1f !important;
  color: #fff;
  width: 100% !important;
  border-radius: 5px;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #f0b90b;
  box-shadow: 0 0 0 2px rgba(240, 185, 11, 0.2);
}

.convert-btn {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(90deg, #f0b90b, #ff6b35);
  color: #000;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: -10px;
  transition: transform 0.3s ease;
  align-self: end;
  grid-column: 1 / -1;
  justify-self: center;
}

.convert-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(240, 185, 11, 0.3);
}

.result {
  text-align: center;
  font-size: 1.5rem;
  color: #f0b90b;
  margin: 1rem 0;
  font-weight: 600;
  min-height: 2rem;
}

.example-conversion {
  text-align: center;
  margin-top: 1rem;
}

.example-conversion p {
  font-size: 1.1rem;
  color: #ccc;
  margin: 0;
  font-style: italic;
}

@media (max-width: 768px) {
  .converter-section h2 {
    font-size: 2rem;
  }

  .converter-section {
  background: #1a1a1a;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #333;
  overflow: hidden;
}

  .section-subtitle {
    font-size: 1rem;
  }

  .converter-form {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-group input,
.form-group select {
  padding: 0.75rem;
  background: #000000;
  border: 2px solid #201f1f !important;
  color: #fff;
  border-radius: 5px;
  font-size: 1rem;
  overflow: hidden !important;
}

  .result {
    font-size: 1.3rem;
  }

  .example-conversion p {
    font-size: 1rem;
  }
}

/* ✅ AJOUTÉ POUR DESKTOP UNIQUEMENT : équilibre parfait */
@media (min-width: 769px) {
  .converter-form {
    max-width: 900px;
  }
}

/* Top 20 Cryptos Section */
.top-cryptos-section {
  background: #000;
  padding: 0.5rem 0; /* Réduit le padding horizontal à 0 pour éviter le décalage global, inspiré de l'exemple */
  border-bottom: 1px solid #333;
  margin-bottom: 2rem;
}

.top-cryptos-section h2 {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 2rem;
}

.countdown {
  text-align: center;
  font-size: 1.2rem;
  color: #f0b90b;
  margin-bottom: 2rem;
  font-weight: 600;
}

#timer {
  font-size: 1.5rem;
  font-family: 'Courier New', monospace;
  color: #ff6b35;
}

.crypto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px; /* Limite maximale comme dans l'exemple */
  margin: 0 auto; /* Centre comme dans l'exemple */
  width: 100%; /* Assure pleine largeur */
  box-sizing: border-box; /* Inclut padding/border */
  padding: 0 0.5rem; /* Ajoute un padding symétrique pour centrer sans décalage */
}

.crypto-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box; /* Inclut padding/border */
}

.crypto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(238, 184, 5, 0.644);
}

.crypto-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
  border-radius: 50%;
  object-fit: contain; /* Assure que l'image ne déborde pas */
}

.crypto-card h3 {
  font-size: 1.3rem;
  color: #f0b90b;
  margin: 0.5rem 0;
  font-weight: 600;
}

.crypto-card .price {
  font-size: 1.5rem;
  color: #fff;
  margin: 0.5rem 0;
  font-weight: bold;
}

.crypto-card .change {
  font-size: 1rem;
  margin: 0;
}

.change.positive {
  color: #4ade80;
}

.change.negative {
  color: #f87171;
}

/* Responsive */
@media (max-width: 768px) {
  .top-cryptos-section h2 {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .crypto-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur mobile */
    gap: 1rem; /* Réduit le gap comme dans l'exemple */
    padding: 0; /* Supprime le padding pour éviter le décalage */
    width: 100%; /* Assure pleine largeur */
    margin: 0; /* Supprime les marges pour centrer */
    box-sizing: border-box;
    overflow-x: hidden; /* Empêche le débordement horizontal */
  }

  .crypto-card {
    padding: 1rem; /* Réduit légèrement comme dans l'exemple */
    width: 100%; /* Assure que chaque carte prend toute sa colonne */
  }

  .crypto-card img {
    width: 40px; /* Réduit la taille de l'image pour mobile */
    height: 40px;
  }

  .crypto-card h3 {
    font-size: 1.1rem; /* Réduit la taille du titre */
  }

  .crypto-card .price {
    font-size: 1.2rem; /* Réduit la taille du prix */
  }

  .crypto-card .change {
    font-size: 0.9rem; /* Réduit la taille du changement */
  }
}

/* Marquee Section - Vérification et ajustement mineur */
.marquee-section {
  background: #000;
  padding: 0.5rem 0.5rem;
  border-bottom: 1px solid #333;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.marquee-section h2 {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 2rem;
}

.marquee {
  position: relative;
  width: 100%;
  height: 70px;
  overflow: hidden;
}

.marquee-group {
  display: flex;
  gap: 2rem;
  position: absolute;
  top: 0;
  white-space: nowrap;
  width: max-content;
}

.marquee-group.left {
  animation: scroll-left 30s linear infinite;
}

.marquee-group.right {
  animation: scroll-right 30s linear infinite;
}

.marquee-group img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 50%;
  background: #1a1a1a;
  padding: 0rem;
  border: 1px solid #333;
  transition: transform 0.3s ease;
}

.marquee-group img:hover {
  transform: scale(1.1);
  border-color: #f0b90b;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@media (max-width: 768px) {
  .marquee-section h2 {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }


  .marquee {
    height: 60px;
  }

  .marquee-group img {
    width: 50px;
    height: 50px;
  }

  .marquee-group {
    gap: 1.5rem;
  }

  .marquee-group.left {
    animation: scroll-left 20s linear infinite;
  }

  .marquee-group.right {
    animation: scroll-right 20s linear infinite;
  }
}


/* Marque Textuel Groupe Section */
.marque-textuel-groupe-section {
  width: 100%;
  overflow: hidden;
  background-color: #1a1a1a; /* Dark background to match Mycrytos theme */
  padding: 0.5rem 0;
  margin-top: -30px; /* Adjust for alignment with other sections */
  z-index: 10;
  position: relative;
}

.marquee-container {
  width: 100%;
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.marquee-content span {
  font-size: 1.8rem; /* Slightly smaller than hero text for readability */
  color: #ffffff;
  margin-right: 2rem;
  font-weight: 600;
  padding: 0 0.5rem;
  text-transform: uppercase; /* Match the bold, modern feel */
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@media (max-width: 768px) {
  .marquee-content {
    animation: marquee 10s linear infinite;
  }

  .marquee-content span {
    font-size: 1.3rem;
    margin-right: 1rem;
  }
}


/* Cryptocurrency Quiz Express Section */
.quiz-section {
  background-color: #1a1a1a;
  padding: 0.5rem 0; /* Réduit le padding horizontal à 0 pour éviter le décalage global */
  margin-top: -30px !important;
  z-index: 10;
  margin-bottom: 30px;
  position: relative;
  width: 100%; /* Assure pleine largeur */
  box-sizing: border-box; /* Inclut padding/border */
  overflow-x: hidden; /* Empêche le débordement horizontal */
}

.quiz-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
  width: 100%; /* Assure pleine largeur sur mobile */
  padding: 0 0.5rem; /* Ajoute un padding symétrique pour centrer sans décalage */
  box-sizing: border-box; /* Inclut padding/border */
}

.quiz-container h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #ff8c00;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #ccc;
  font-style: italic;
}

.quiz-content {
  background: #2a2a2a;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  margin-bottom: 1rem;
  width: 100%; /* Assure pleine largeur */
  box-sizing: border-box; /* Inclut padding/border */
}

.question-box {
  text-align: center;
}

.question-text {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: #fff;
  font-weight: 600;
}

.answer-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  width: 100%; /* Assure pleine largeur */
  padding: 0 0.5rem; /* Réduit les bords pour éviter le débordement */
  box-sizing: border-box; /* Inclut padding/border */
}

.answer-options label {
  display: flex;
  align-items: center;
  width: 100%; /* Réduit de 80% à 100% pour s'adapter à la largeur */
  padding: 0.8rem 1.2rem;
  background: #333;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-sizing: border-box; /* Inclut padding/border */
}

.answer-options label:hover {
  background-color: #444;
}

.answer-options input[type="radio"] {
  margin-right: 0.8rem;
}

.cta-button {
  background-color: #ce6007;
  color: #fff;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 25px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 1rem;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(233, 233, 230, 0.815);
  width: 250px !important; /* Laisse la largeur naturelle */
  box-sizing: border-box; /* Inclut padding/border */
}


.cta-button:hover {
  box-shadow: 0 4px 12px rgba(226, 204, 6, 0.815);
  animation: fadeIn 0.5s ease-in;
   background-color: #050504;
  transform: scale(1.05);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.result-box {
  text-align: center;
  padding: 2rem;
  width: 100%; /* Assure pleine largeur */
  box-sizing: border-box; /* Inclut padding/border */
}

.result-box h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #ff8c00;
  text-transform: uppercase;
}

.score-card {
  background: #333;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  width: 100%; /* Assure pleine largeur */
  box-sizing: border-box; /* Inclut padding/border */
}

.score-text {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
}

.score-progress {
  width: 100%;
  height: 20px;
  background: #444;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: #ff8c00;
  border-radius: 10px;
  transition: width 0.3s ease;
}

.answer-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin: 0 auto 2rem;
  max-width: 600px;
  background: #333;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  width: 100%; /* Assure pleine largeur */
  box-sizing: border-box; /* Inclut padding/border */
}

.answer-list li {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: #ccc;
  padding: 0.5rem;
  border-bottom: 1px solid #444;
}

.answer-list li:last-child {
  border-bottom: none;
}

.quiz-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  width: 100%; /* Assure pleine largeur */
}

.notification {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ff4444;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1rem;
  z-index: 100;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .quiz-container h2 {
    font-size: 2rem;
  }

  .question-text {
    font-size: 1.3rem;
  }

  .answer-options label {
    width: 100%; /* Réaffirme 100% pour s'adapter */
    padding: 0.6rem 1rem; /* Réduit le padding pour mobile */
  }

  .cta-button {
    padding: 0.7rem 1.5rem; /* Réduit le padding */
    font-size: 1rem;
  }

  .result-box {
    padding: 1.5rem; /* Réduit le padding */
  }

  .score-text {
    font-size: 1.5rem;
  }

  .answer-list {
    max-width: 100%; /* Réaffirme pleine largeur */
    padding: 0.8rem; /* Réduit le padding */
  }

  .quiz-buttons {
    flex-direction: column; /* Empile les boutons verticalement */
    gap: 1rem; /* Réduit l'espace */
  }

  .notification {
    bottom: 50px; /* Ajuste pour mobile */
    font-size: 0.9rem;
    padding: 8px 15px;
  }
}


/* Popup Notification Section */
.popup-notification {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 12px rgba(226, 204, 6, 0.815);
  animation: fadeIn 0.5s ease-in;
}

.popup-notification:hover {
  box-shadow: 0 4px 12px rgba(226, 204, 6, 0.815);
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}



.notification-content {
  background: #2a2a2a;
  color: #ffffff;
  border: 2px solid #ff8c00; /* Orange border */
  border-radius: 15px; /* Rounded corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  padding: 1rem;
  max-width: 320px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.notification-content:hover {
  background-color: #333;
  color: #ffd700; /* Gold text on hover */
}

.notification-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 1rem;
}

.notification-text {
  text-align: left;
}

.notification-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ff8c00;
  margin: 0 0 0.3rem;
}

.notification-message {
  font-size: 0.9rem;
  margin: 0;
  color: #ccc;
  line-height: 1.2;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .popup-notification {
    bottom: 10px;
    left: 10px;
  }

  .notification-content {
    padding: 0.8rem;
    max-width: 250px;
  }

  .notification-avatar {
    width: 30px;
    height: 30px;
  }

  .notification-title {
    font-size: 1rem;
  }

  .notification-message {
    font-size: 0.8rem;
  }
}



/* Global box-sizing pour éviter les problèmes de padding/marge */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Crypto Feedback Section */
.cf-section {
  padding: 2px 10px;
  background: #1a1a1a;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
}

.cf-title {
  font-size: 2.5em;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ff8c00;
}

.cf-reviews-summary {
  background: #2a2a2a;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
  text-align: left;
  width: 100%;
  margin: 0 auto;
}

.cf-average-rating {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ff8c00;
}

.cf-rating-stars {
  color: #ff8c00;
  margin-left: 10px;
}

.cf-rating-breakdown {
  margin-top: 10px;
}

.cf-rating-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.cf-rating-row span:first-child {
  width: 60px;
  font-size: 0.9em;
  color: #ff8c00;
}

.cf-rating-bar {
  flex-grow: 1;
  height: 10px;
  background: #333;
  border-radius: 5px;
  margin: 0 10px;
  overflow: hidden;
}

.cf-rating-bar::before {
  content: '';
  display: block;
  height: 100%;
  background: #ff8c00;
  border-radius: 5px;
}

.cf-rating-row span:last-child {
  width: 80px;
  font-size: 0.9em;
  color: #ccc;
  text-align: right;
}

.cf-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.cf-static-feedback {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.cf-feedback-item {
  background: #2a2a2a;
  padding: 15px;
  border-radius: 10px;
  text-align: left;
  transition: transform 0.3s ease;
}

.cf-feedback-item:hover {
  transform: translateY(-5px);
}

.cf-rating {
  color: #ff8c00;
  font-size: 1.2em;
  margin-bottom: 10px;
}

.cf-feedback-item p {
  font-size: 1.3em;
  line-height: 1.6;
  margin: 0;
  color: #ccc;
}

.cf-sliding-feedback {
  width: 100%;
  height: 120px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}

.cf-marquee-group {
  display: flex;
  gap: 2rem;
  position: absolute;
  top: 0;
  white-space: nowrap;
  width: max-content;
}

.cf-left {
  margin-top: 60px;
  animation: cf-feedback-scroll-left 80s linear infinite !important;
}

.cf-right {
  animation: cf-feedback-scroll-right 80s linear infinite !important;
}

@keyframes cf-feedback-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes cf-feedback-scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.cf-read-more-btn {
  background-color: #ff8c00;
  color: #fff;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 25px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-bottom: 20px;
}

.cf-read-more-btn:hover {
  background-color: #e07d00;
  transform: scale(1.05);
}

.cf-expanded-feedback {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.cf-column-sliding-feedback {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.cf-slider-group {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
  justify-content: center;
}

.cf-column-sliding-feedback .cf-feedback-item {
  width: 30%;
  padding: 10px;
  margin: 0 10px;
  flex-shrink: 0;
}

.cf-slider-indicators {
  text-align: center;
  margin-top: 10px;
}

.cf-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #666;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

.cf-indicator.active {
  background: #ff8c00;
}

@media (max-width: 768px) {
  .cf-static-feedback, .cf-expanded-feedback {
    grid-template-columns: 1fr;
  }
  .cf-feedback-item p {
    font-size: 0.8rem;
    line-height: 1.6;
    margin: 0;
    color: #ccc;
  }
  .cf-reviews-summary {
    width: 100%;
    margin: 0 auto;
    padding: 15px;
  }
  .cf-sliding-feedback {
    height: 100px;
  }
  .cf-title {
    font-size: 2em;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
    color: #ff8c00;
  }
  .cf-marquee-group {
    gap: 1.5rem;
  }
  .cf-left {
    margin-top: 50px !important;
    animation: cf-feedback-scroll-left 70s linear infinite !important;
  }
  .cf-right {
    animation: cf-feedback-scroll-right 70s linear infinite !important;
    margin-top: -20px;
  }
  .cf-read-more-btn {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }
  .cf-container {
    padding: 0 2px;
  }
  .cf-column-sliding-feedback .cf-feedback-item {
    width: 32%;
    margin: 0 5px;
    padding: 5px;
    flex-shrink: 0;
  }
  .cf-slider-group {
    gap: 3px;
    justify-content: center;
  }
  .cf-column-sliding-feedback {
    overflow: hidden;
  }
}


/* Top Gainers & Losers Section - (votre CSS existant reste inchangé) */
.gainers-losers-section {
  background: #000;
  padding: 0.5rem 0;
  border-bottom: 1px solid #333;
}

.gainers-losers-section h2 {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 2rem;
}

.gl-wrapper {
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.gl-list {
  flex: 1;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 1rem;
  box-sizing: border-box;
}

.gl-list h3 {
  font-size: 1.3rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.gl-gainers h3 {
  color: #4ade80;
}

.gl-losers h3 {
  color: #f87171;
}

.gl-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem;
  border-bottom: 1px solid #333;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.gl-card:last-child {
  border-bottom: none;
}

.gl-card:hover {
  background-color: #2a2a2a;
}

.gl-card img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
}

.gl-info {
  flex: 1;
  text-align: left;
  overflow: hidden;
}

.gl-info h4 {
  font-size: 1rem;
  color: #fff;
  margin: 0 0 0.1rem;
  font-weight: 600;
}

.gl-info p {
  font-size: 0.8rem;
  color: #ccc;
  margin: 0 0 0.1rem;
}

.gl-price {
  font-size: 1.1rem;
  color: #f0b90b;
  margin: 0.1rem 0;
  font-weight: bold;
}

.gl-change {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

.gl-change.positive {
  color: #4ade80;
}

.gl-change.negative {
  color: #f87171;
}

/* Responsive - Ajusté pour mobile */
@media (max-width: 768px) {
  .gainers-losers-section h2 {
    font-size: 1.8rem;
    text-align: left;
    margin-left: 0;
    padding-left: 0.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
    text-align: left;
    margin-left: 0.5rem;
  }

  .gl-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .gl-list {
    padding: 0.4rem; /* Réduit légèrement le padding */
    width: 100%;
    max-width: 100%;
    overflow: hidden; /* Empêche le débordement interne */
  }

  .gl-list h3 {
    font-size: 1.1rem;
    text-align: left;
    margin-left: 0.5rem;
  }

  .gl-card {
    padding: 0.2rem; /* Réduit davantage pour absorber l'excès */
    width: 100%;
    max-width: 100%; /* Limite la largeur */
    flex-wrap: wrap;
    gap: 0.2rem; /* Réduit l'espace */
    overflow: hidden; /* Empêche le débordement */
  }

  .gl-card img {
    width: 25px;
    height: 25px;
  }

  .gl-info {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    word-break: break-word;
  }

  .gl-info h4 {
    font-size: 0.8rem;
    word-break: break-all;
  }

  .gl-info p {
    font-size: 0.6rem;
  }

  .gl-price {
    font-size: 0.85rem;
  }

  .gl-change {
    font-size: 0.7rem;
  }
}


/* Real-Time Price Chart Section avec TradingView */
.price-chart-section {
  background: #000;
  padding: 0.5rem 0;
  border-bottom: 1px solid #333;
  margin-bottom: 40px !important;
  max-width: 1600px !important;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  position: relative;
}

.price-chart-section h1 {
  font-size: 2.5rem;
  color: #00ff88;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 2rem;
}

.chart-controls {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  box-sizing: border-box;
}

.chart-controls .form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.chart-controls label {
  font-size: 1rem;
  color: #00ff88;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.chart-controls select {
  padding: 0.75rem;
  background: #1a1a1a;
  border: 2px solid #00ff88;
  color: #fff;
  border-radius: 8px;
  font-size: 1rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2300ff88' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.chart-controls select:focus {
  outline: none;
  border-color: #00ffcc;
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
}

#chart-container {
  position: relative;
  min-height: 400px;
  width: 100%;
  margin: 0 auto;
  background: #1a1a1a;
  border-radius: 15px;
  padding: 1rem;
  border: 2px solid #00ff88;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
  overflow: hidden;
  box-sizing: border-box;
}

#tradingview-widget-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100%;
  min-height: 400px;
  box-sizing: border-box;
}

.loading-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  color: #00ff88;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: bold;
}

.loading-message::before {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid #00ff88;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
  .price-chart-section {
    padding: 0.5rem 0;
    margin-bottom: 30px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .price-chart-section h1 {
    font-size: 2rem;
  }

  #chart-container,
  #tradingview-widget-container {
    min-height: 338px;
    padding: 0.5rem;
    width: 100% !important;
    margin: 0;
  }

  .chart-controls {
    max-width: 100%;
    padding: 0 0.5rem;
    flex-direction: column;
    gap: 1rem;
  }

  .chart-controls .form-group {
    width: 100%;
  }

  .chart-controls select {
    width: 100%;
  }
}


/* Cryptocurrency Investment Simulator Section */
.investment-simulator-section {
  background: #000;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #333;
}

.investment-simulator-section h1 {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 2rem;
}

.simulator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 1rem;
  color: #f0b90b;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group select,
.form-group input {
  padding: 0.75rem;
  background: #1a1a1a;
  border: 1px solid #333;
  color: #fff;
  border-radius: 5px;
  font-size: 1rem;
}

.form-group input {
  width: 100%;
}

.form-group button {
  padding: 0.75rem 1.5rem;
  background: #f0b90b;
  border: none;
  color: #000;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.form-group button:hover {
  background: #d4a009;
}

.simulator-result {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  background: #1a1a1a;
  border-radius: 5px;
  border: 1px solid #333;
  color: #fff;
  display: none;
}

.simulator-result p {
  margin: 0.5rem 0;
}

.simulator-result .positive {
  color: #00cc00;
}

.simulator-result .negative {
  color: #ff3333;
}

.loading-message {
  font-size: 1.2rem;
  color: #f0b90b;
  text-align: center;
  display: none;
}

.loading-message.active {
  display: block;
}

@media (max-width: 768px) {
  .container {
    margin: 0; /* Supprime toute marge du conteneur parent */
    padding: 0; /* Supprime tout padding du conteneur parent */
    width: 100%; /* Force le conteneur à prendre toute la largeur */
    box-sizing: border-box; /* S'assure que le padding/border est inclus dans la largeur */
  }

  .simulator-grid {
    grid-template-columns: 1fr;
    margin: 0; /* Supprime la marge auto */
    padding: 0 0.5rem; /* Padding léger et symétrique */
    width: 100%; /* Pleine largeur */
    box-sizing: border-box;
  }

  .investment-simulator-section {
    padding: 0.5rem 0; /* Padding symétrique, réduit à gauche/droite */
    margin: 0; /* Supprime toute marge */
    width: 100%; /* Pleine largeur */
    box-sizing: border-box;
  }

  .simulator-result {
    margin: 0; /* Supprime la marge auto */
    padding: 0.5rem; /* Padding réduit et symétrique */
    width: 100%; /* Pleine largeur */
    box-sizing: border-box;
  }

  .investment-simulator-section h1 {
    font-size: 2rem;
  }
}



/* global css pour empecher de decalage */
html, body {
  width: 100%;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  html, body, .container, section, .gl-wrapper, .gl-list, .gl-card {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
  }
}


/* Trends Banner */
.trends-banner {
  position: relative;
  height: 130px;
  overflow: hidden;
  margin-top: 89px; /* 64px header + 25px announcement bar */
  width: 100%;
  box-sizing: border-box;
}

.banner-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.banner-slide.active {
  opacity: 1;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-slide h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #f0b90b;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.banner-indicator {
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.banner-indicator.active {
  background: #f0b90b;
}

@media (max-width: 768px) {
  .trends-banner {
    height: 90px !important;
  }

  .banner-slide h1 {
    font-size: 1.5rem;
    padding: 0.3rem 0.8rem;
    width: 300px !important;
  }

  .banner-indicators {
    bottom: 8px;
    gap: 8px;
  }

  .banner-indicator {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .trends-banner {
    height: 120px;
  }

  .banner-slide h1 {
    font-size: 1.2rem;
    padding: 0.2rem 0.5rem;
  }

  .banner-indicators {
    gap: 6px;
  }

  .banner-indicator {
    width: 8px;
    height: 8px;
  }
}

/* Paul Banner Slider */
.paul-banner-slider {
  position: relative;
  height: 130px;
  overflow: hidden;
  margin-top: 5px; /* 64px header + 25px announcement bar */
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.paul-banner-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.paul-banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.paul-banner-slide.active {
  opacity: 1;
}

.paul-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.paul-banner-slide h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #f0b90b;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.paul-banner-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.paul-banner-indicator {
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.paul-banner-indicator.active {
  background: #f0b90b;
}

@media (max-width: 768px) {
  .paul-banner-slider {
    height: 90px !important;
  }

  .paul-banner-slide h1 {
    font-size: 1.5rem;
    padding: 0.3rem 0.8rem;
    width: 300px !important;
  }

  .paul-banner-indicators {
    bottom: 8px;
    gap: 8px;
  }

  .paul-banner-indicator {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .paul-banner-slider {
    height: 120px;
  }

  .paul-banner-slide h1 {
    font-size: 1.2rem;
    padding: 0.2rem 0.5rem;
  }

  .paul-banner-indicators {
    gap: 6px;
  }

  .paul-banner-indicator {
    width: 8px;
    height: 8px;
  }
}


/* Conteneur parent */
.container {
  width: 100%;
  max-width: 1400px; /* Largeur maximale souhaitée */
  margin: 0 auto; /* Centrage parfait */
  padding: 0; /* Supprime tout padding pour éviter les décalages */
  box-sizing: border-box; /* Assure que la largeur inclut les bordures */
  margin-top: -30px !important;
}

/* Latest Tweets Actualités Section */
.tweets-section {
  background: #1a1a1a;
  padding: 0.5rem 0; /* Réduit le padding vertical, pas de padding horizontal */
  border-bottom: 1px solid #333;
}

.tweets-section h2 {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1rem;
  color: #ccc !important;
  text-align: center;
  margin-bottom: 0.5rem !important;
  margin-top: 0.5rem !important;
}

.tweets-slider-wrapper {
  width: 100%; /* Pleine largeur du parent */
  max-width: 1400px; /* Limite à 1400px sur desktop */
  margin: 0 auto; /* Centrage parfait */
  position: relative;
  background: #000;
  border-radius: 10px;
  border: 2px solid #ec4908;
  overflow: hidden;
  box-sizing: border-box;
}

.tweets-slider {
  display: flex;
  gap: 1rem;
  padding: 1rem 0; /* Padding vertical seulement pour éviter décalage horizontal */
  width: max-content;
  animation: slideRight 60s linear infinite;
}

.tweet-item {
  width: 300px;
  background: #2a2a2a;
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  gap: 0.8rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.tweet-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.tweet-content {
  flex: 1;
}

.tweet-content strong {
  color: #f0b90b;
  font-size: 0.9rem;
}

.tweet-time {
  color: #ccc;
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

.tweet-content p {
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-top: 0.5rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Animations */
@keyframes slideRight {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes slideLeft {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.upper-slider .tweets-slider {
  animation: slideRight 60s linear infinite;
}

.lower-slider .tweets-slider {
  animation: slideLeft 60s linear infinite;
}

/* Pause au survol */
.tweets-slider-wrapper:hover .tweets-slider {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .container {
    padding: 0;
  }

  .tweets-section h2 {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .tweets-slider-wrapper {
    width: 100%;
    max-width: none; /* Pleine largeur sur mobile */
    margin: 0 0 2rem 0;
  }

  .tweets-slider {
    gap: 0.5rem;
    padding: 0.5rem 0;
  }

  .tweet-item {
    width: 280px;
    max-width: calc(100vw - 1rem); /* Ajusté pour plus d'espace */
  }
}


/* Trending Cryptos Section */
.trending-cryptos {
  background: #1a1a1a;
  padding: 2rem 1rem;
  border-bottom: 1px solid #333;
}

.trending-cryptos h2 {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
}

.columns-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.crypto-column {
  background: #000;
  border-radius: 10px;
  border: 1px solid #333;
  padding: 1rem;
}

.crypto-column h3 {
  font-size: 1.2rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 600;
}

.crypto-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.crypto-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: #2a2a2a;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.crypto-item:hover {
  background: #3a3a2a;
}

.crypto-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.crypto-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.crypto-name {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 500;
}

.crypto-symbol {
  font-size: 0.75rem;
  color: #ccc;
  text-transform: uppercase;
}

.crypto-price {
  font-size: 0.85rem;
  color: #f0b90b;
  font-weight: 600;
}

.crypto-change {
  font-size: 0.8rem;
  font-weight: 500;
}

.crypto-change.gain {
  color: #26a17b;
}

.crypto-change.loss {
  color: #f6465d;
}

.crypto-volume,
.crypto-cap {
  font-size: 0.75rem;
  color: #ccc;
}

/* Loading placeholders */
.loading .crypto-placeholder {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  height: 60px;
}

.placeholder-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(90deg, #333 25%, #444 50%, #333 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

.placeholder-text {
  flex: 1;
  height: 12px;
  background: linear-gradient(90deg, #333 25%, #444 50%, #333 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 4px;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Responsive */
@media (max-width: 1024px) {
  .columns-wrapper {
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .container {
    margin: 0; /* Neutralise toute marge du conteneur parent */
    padding: 0; /* Supprime tout padding du conteneur parent */
    width: 100%; /* Pleine largeur */
    box-sizing: border-box;
  }

  .trending-cryptos {
    padding: 1rem 0; /* Padding symétrique, réduit à gauche/droite */
    margin: 0; /* Supprime toute marge */
    width: 100%; /* Pleine largeur */
    box-sizing: border-box;
  }

  .columns-wrapper {
    grid-template-columns: repeat(2, 1fr); /* Conserve 2 colonnes sur mobile */
    gap: 0.75rem; /* Réduit légèrement l’écart pour compacité */
    max-width: none; /* Supprime max-width */
    margin: 0; /* Supprime marge auto */
    padding: 1 0.5rem; /* Padding symétrique */
    margin-bottom: 0.5rem;
    width: 100%; /* Pleine largeur */
    box-sizing: border-box;
  }

  .crypto-column {
    padding: 0.5rem; /* Réduit le padding interne pour équilibrer */
  }

  .trending-cryptos h2 {
    font-size: 2rem;
  }

  .crypto-item {
    padding: 0.6rem;
  }

  .crypto-name {
    font-size: 0.85rem;
  }

  .crypto-price {
    font-size: 0.8rem;
  }
}




/* Market Analysis Section */
.market-analysis-section {
  background: #1a1a1a;
  padding: 2rem 1rem;
  border-bottom: 1px solid #333;
}

.market-analysis-section h2 {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 2rem;
}

.analysis-card {
  background: #000;
  border-radius: 10px;
  border: 1px solid #333;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.analysis-card h3 {
  font-size: 1.3rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 600;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.stat-item {
  text-align: center;
  padding: 0.5rem;
  background: #2a2a2a;
  border-radius: 8px;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 0.2rem;
}

.stat-value {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 600;
}

.stat-change {
  font-size: 0.85rem;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

.stat-change.gain {
  background: rgba(38, 161, 123, 0.2);
  color: #26a17b;
}

.stat-change.loss {
  background: rgba(246, 70, 93, 0.2);
  color: #f6465d;
}

.analysis-note {
  font-size: 0.95rem;
  color: #ccc;
  text-align: center;
  font-style: italic;
  line-height: 1.4;
}

.trends-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.trend-card {
  background: #2a2a2a;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 1.2rem;
  transition: box-shadow 0.3s ease;
}

.trend-card:hover {
  box-shadow: 0 4px 12px rgba(240, 185, 11, 0.2);
}

.trend-card h4 {
  font-size: 1.1rem;
  color: #f0b90b;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.trend-card p {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.trend-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #fff;
}

.stat-small {
  font-weight: 500;
}

.stat-small.change {
  font-size: 0.75rem;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
}

.stat-small.change.gain {
  background: rgba(38, 161, 123, 0.2);
  color: #26a17b;
}

.stat-small.change.loss {
  background: rgba(246, 70, 93, 0.2);
  color: #f6465d;
}

.quick-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.action-btn {
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.action-btn.primary {
  background: #f0b90b;
  color: #000;
}

.action-btn.primary:hover {
  background: #d4a017;
  transform: translateY(-2px);
}

.action-btn.secondary {
  background: transparent;
  color: #f0b90b;
  border: 2px solid #f0b90b;
}

.action-btn.secondary:hover {
  background: #f0b90b;
  color: #000;
}

/* Responsive */
@media (max-width: 768px) {
  .market-analysis-section {
    padding: 1rem 0.5rem;
  }

  .market-analysis-section h2 {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .trends-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .quick-actions {
    flex-direction: column;
    align-items: center;
  }

  .action-btn {
    width: 100%;
    max-width: 250px;
  }
}



/* Emerging Projects & Market Sentiment Section */
.emerging-trends-section {
  background: #1a1a1a;
  padding: 2rem 1rem;
  border-bottom: 1px solid #333;
}

.emerging-trends-section h2 {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 2rem;
}

.trends-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.trends-column {
  background: #000;
  border-radius: 10px;
  border: 1px solid #333;
  padding: 1.5rem;
}

.trends-column h3 {
  font-size: 1.3rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 600;
}

.emerging h3 {
  color: #4ade80; /* Vert pour émergents */
}

.sentiment h3 {
  color: #f6465d; /* Rouge pour sentiment */
}

.trends-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trend-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid #333;
}

.trend-item:last-child {
  border-bottom: none;
}

.trend-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.trend-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trend-name {
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
}

.trend-change {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.trend-change.gain {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

.trend-change.loss {
  background: rgba(246, 70, 93, 0.2);
  color: #f6465d;
}

.trend-change.neutral {
  background: rgba(240, 185, 11, 0.2);
  color: #f0b90b;
}

.sentiment-metrics {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.metric-item {
  text-align: center;
}

.metric-label {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.metric-gauge {
  margin: 0 auto 0.5rem;
}

.gauge-circle {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.gauge-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(#4ade80 var(--value) * 3.6deg, #f6465d 0deg);
  mask: radial-gradient(ellipse farthest-corner at center, transparent 40%, black 41%);
  -webkit-mask: radial-gradient(ellipse farthest-corner at center, transparent 40%, black 41%);
}

.gauge-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}

.metric-description {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.3;
}

.sentiment-label {
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.3rem;
}

.sentiment-label.gain { background: rgba(74, 222, 128, 0.2); color: #4ade80; }
.sentiment-label.loss { background: rgba(246, 70, 93, 0.2); color: #f6465d; }
.sentiment-label.neutral { background: rgba(240, 185, 11, 0.2); color: #f0b90b; }

.metric-bar {
  width: 100%;
  height: 8px;
  background: #333;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.bar-fill.gain { background: #4ade80; }
.bar-fill.loss { background: #f6465d; }

.metric-value {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .emerging-trends-section h2 {
    font-size: 2rem;
  }

  .trends-wrapper {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .trends-column {
    padding: 1rem;
  }

  .trend-item {
    padding: 0.6rem 0;
  }

  .trend-name {
    font-size: 0.9rem;
  }

  .trend-change {
    font-size: 0.8rem;
  }

  .gauge-circle {
    width: 60px;
    height: 60px;
  }

  .gauge-label {
    font-size: 1rem;
  }

  .metric-value {
    font-size: 1rem;
  }
}



/* Secondary Announcement Bar */
.secondary-announcement-bar {
  background: linear-gradient(90deg, #9c4d17, #bb6700); /* Couleur différente pour distinction */
  color: #fff; /* Texte blanc pour contraste */
  text-align: center;
  padding: 0.1rem 0;
  position: relative; /* Respecte l'emplacement dans le DOM */
  width: 100%;
  height: 40px;
}

.secondary-announcement-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  height: 100%;
}

.secondary-announcement-text {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.secondary-announcement-text.active {
  opacity: 1;
}

@media (max-width: 768px) {
  .secondary-announcement-bar {
    padding: 0.3rem 0.5rem;
    min-height: 30px;
  }

  .secondary-announcement-text {
    font-size: 0.9rem;
    padding: 0 0.3rem;
  }
}


/* Cart Article Section */
.cart-article-section {
  padding: 0.5rem 0; /* Supprime padding latéral pour éviter décalage */
  background: #1a1a1a;
  border-top: 1px solid #333;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.cart-article-title {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.cart-article-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0; /* Pas de marge */
  padding: 0; /* Pas de padding */
}

.cart-article-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  will-change: transform;
}

.cart-article-card {
  flex: 0 0 33.33%; /* 3 colonnes sur desktop */
  max-width: 33.33%;
  padding: 1rem;
  background: #000;
  border: 2px solid #f0b90b;
  border-radius: 10px;
  text-align: center !important;
  box-sizing: border-box;
}

.cart-article-title-link {
  font-size: 1.5rem;
  color: #f0b90b;
  margin-bottom: 1rem;
  cursor: pointer;
  font-weight: 600;
}

.cart-article-title-link:hover {
  color: #ff6b35;
}

.cart-article-card img {
  width: 100%;
  height: 150px;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 1rem;
}

.cart-article-summary {
  font-size: 1rem;
  color: #ccc;
  margin: 0;
  width: 93%;
  padding: 0 0.5rem;
}

.cart-article-indicators {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 0.5rem;
}

.indicator {
  width: 10px;
  height: 10px;
  background: #333;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.indicator.active {
  background: #f0b90b;
}

.desktop-indicators {
  display: flex;
  position: relative;
  z-index: 10;
}

.mobile-indicators {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .cart-article-slides {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1.5rem; /* Espacement entre les cartes */
  }

  .cart-article-title {
    font-size: 1.8rem;
    color: #f0b90b;
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 700;
  }

  .cart-article-section {
    padding: 0.5rem 0; /* Pas de padding latéral */
  }

  .cart-article-slider {
    padding: 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
  }

  .cart-article-card {
    flex: 0 0 100%; /* Une seule carte à la fois */
    max-width: 100%;
    padding: 0; /* Supprime padding pour centrer */
    margin: 0; /* Pas de marge */
    box-sizing: border-box;
  }

  .desktop-indicators {
    display: none;
  }

  .mobile-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
  }
}

/* Trading Tweets Section */
.trading-tweets-section {
  padding: 7rem 1rem;
  background: #1a1a1a;
  color: #fff;
  border-bottom: 1px solid #333;
  width: 100%;
  margin-bottom: -100px !important;
  box-sizing: border-box;
  overflow-x: hidden;
}

.trading-tweets-section .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.trading-tweets-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #f0b90b;
  font-weight: 700;
}

.trading-tweets-section .section-subtitle {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #ccc;
}

.tweets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.tweet-card {
  background: #2a2a2a;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #333;
}

.tweet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(240, 185, 11, 0.2);
}

.tweet-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f0b90b;
  flex-shrink: 0;
}

.tweet-content {
  flex: 1;
}

.tweet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.tweet-header strong {
  font-size: 1rem;
  color: #f0b90b;
  font-weight: 600;
}

.tweet-time {
  font-size: 0.8rem;
  color: #ccc;
}

.tweet-content p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #fff;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .tweets-grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .trading-tweets-section {
    padding: 7rem 0.5rem;
  }

  .trading-tweets-section h2 {
    font-size: 2rem;
  }

  .trading-tweets-section .section-subtitle {
    font-size: 1rem;
  }

  .tweets-grid {
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 1rem;
  }

  .tweet-card {
    padding: 1rem;
  }

  .tweet-avatar {
    width: 32px;
    height: 32px;
  }

  .tweet-header strong {
    font-size: 0.9rem;
  }

  .tweet-time {
    font-size: 0.75rem;
  }

  .tweet-content p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .tweets-grid {
    grid-template-columns: 1fr;
  }
}


/* Trading Articles Grid Section */
.trading-articles-section {
  background: #1a1a1a;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #333;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.trading-articles-section .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.trading-articles-section h2 {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.trading-articles-section .section-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 2rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.article-card {
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #dd9c10 !important;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(240, 185, 11, 0.2);
}

.article-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.article-link h3 {
  font-size: 1.2rem;
  color: #f0b90b;
  margin: 1rem;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.article-link:hover h3 {
  color: #ff6b35;
}

.article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.article-link:hover .article-image {
  transform: scale(1.05);
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  margin-bottom: 0.5rem;
}

.meta-date {
  font-size: 0.85rem;
  color: #ccc;
}

.meta-category {
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}

.meta-category.btc {
  background: rgba(240, 185, 11, 0.2);
  color: #f0b90b;
}

.meta-category.defi {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

.meta-category.altcoin {
  background: rgba(255, 107, 53, 0.2);
  color: #ff6b35;
}

.meta-category.nft {
  background: rgba(248, 113, 113, 0.2);
  color: #f87171;
}

.article-description {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
  padding: 0 1rem 1rem;
  margin: 0;
}

.article-source {
  display: block;
  text-align: right;
  padding: 0.5rem 1rem 1rem;
  font-size: 0.85rem;
  color: #f0b90b;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .trading-articles-section {
    padding: 1rem 0.5rem;
  }

  .trading-articles-section h2 {
    font-size: 2rem;
  }

  .trading-articles-section .section-subtitle {
    font-size: 1rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .article-card {
    max-width: 100%;
  }

  .article-link h3 {
    font-size: 1.1rem;
  }

  .article-image {
    height: 180px;
  }

  .article-description {
    font-size: 0.9rem;
  }

  .article-source {
    font-size: 0.8rem;
  }
}


/* Trading Images Slider Section */
.trading-slider-section {
  background: #1a1a1a !important;
  padding: 0.5rem 1rem !important;
  border-bottom: 1px solid #333 !important;
  overflow: hidden !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.trading-slider-section .container {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.trading-slider-section h2 {
  font-size: 2.5rem !important;
  color: #f0b90b !important;
  text-align: center !important;
  margin-bottom: 0.5rem !important;
  font-weight: 700 !important;
}

.trading-slider-section .section-subtitle {
  font-size: 1.1rem !important;
  color: #ccc !important;
  text-align: center !important;
  margin-bottom: 2rem !important;
}

.trading-slider-section .slider-container {
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
}

.trading-slider-section .slider-wrapper {
  display: flex !important;
  transition: transform 0.5s ease-in-out !important;
  width: 100% !important;
}

.trading-slider-section .slider-item {
  flex: 0 0 calc(100% / 3) !important;
  padding: 0.5rem !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

.trading-slider-section .slider-image {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  border: 2px solid #f0b90b !important;
  transition: transform 0.3s ease !important;
}

.trading-slider-section .slider-image:hover {
  transform: scale(1.05) !important;
}

.trading-slider-section .slider-caption {
  font-size: 0.9rem !important;
  color: #ccc !important;
  margin-top: 0.5rem !important;
  line-height: 1.4 !important;
}

/* Indicators */
.trading-slider-section .slider-indicators {
  display: flex !important;
  justify-content: center !important;
  margin-top: 1rem !important;
  gap: 0.5rem !important;
}

.trading-slider-section .slider-indicators .indicator {
  width: 10px !important;
  height: 10px !important;
  background: #ccc !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  transition: background 0.3s ease !important;
  z-index: 10 !important;
}

.trading-slider-section .slider-indicators .indicator.active {
  background: #f0b90b !important;
}

.trading-slider-section .desktop-indicators {
  display: flex !important;
}

.trading-slider-section .mobile-indicators {
  display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
  .trading-slider-section {
    padding: 0.5rem 0.5rem !important;
  }

  .trading-slider-section h2 {
    font-size: 2rem !important;
  }

  .trading-slider-section .section-subtitle {
    font-size: 1rem !important;
  }

  .trading-slider-section .slider-item {
    flex: 0 0 100% !important;
  }

  .trading-slider-section .slider-image {
    height: 140px !important;
  }

  .trading-slider-section .slider-caption {
    font-size: 0.85rem !important;
  }

  .trading-slider-section .desktop-indicators {
    display: none !important;
  }

  .trading-slider-section .mobile-indicators {
    display: flex !important;
  }
}



/* Market Trend Barometer Section */
.market-trend-section {
  background: #1a1a1a;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #333;
  overflow: hidden;
}

.market-trend-section h2 {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.market-trend-section .section-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 2rem;
}

.barometer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.barometer-item {
  background: #000;
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid #e6b20a;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.barometer-item h3 {
  font-size: 1.2rem;
  color: #f0b90b;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Fear & Greed Gauge */
.gauge-container {
  margin: 1rem 0;
}

.gauge-circle {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 50%;
  background: conic-gradient(#4ade80 0deg, #4ade80 198deg, #f87171 198deg, #f87171 360deg);
  mask: radial-gradient(ellipse farthest-corner at center, transparent 60%, black 61%);
  -webkit-mask: radial-gradient(ellipse farthest-corner at center, transparent 60%, black 61%);
}

.gauge-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}

.sentiment-text {
  font-size: 1rem;
  color: #ccc;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Bull/Bear Bars */
.sentiment-bars {
  display: flex;
  margin: 1rem 0;
  height: 20px;
  border-radius: 10px;
  overflow: hidden;
  background: #333;
}

.bar {
  height: 100%;
  transition: width 0.3s ease;
}

.bull-bar {
  background: linear-gradient(90deg, #4ade80, #26a17b);
}

.bear-bar {
  background: linear-gradient(90deg, #f87171, #ef4444);
}

.sentiment-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 0.5rem;
}

.bull-label {
  color: #4ade80;
  font-weight: 600;
}

.bear-label {
  color: #f87171;
  font-weight: 600;
}

/* Top 5 Cryptos List */
.top-cryptos-list {
  margin-top: 1rem;
}

.crypto-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #333;
}

.crypto-row:last-child {
  border-bottom: none;
}

.crypto-name {
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
}

.crypto-change {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.crypto-change.positive {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

.crypto-change.negative {
  background: rgba(248, 113, 113, 0.2);
  color: #f87171;
}

/* Responsive */
@media (max-width: 768px) {
  .market-trend-section {
    padding: 0.5rem 0.5rem;
  }

  .market-trend-section h2 {
    font-size: 2rem;
  }

  .barometer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .barometer-item {
    padding: 1rem;
  }

  .gauge-circle {
    width: 100px;
    height: 100px;
  }

  .gauge-label {
    font-size: 1.5rem;
  }

  .crypto-row {
    font-size: 0.9rem;
  }
}


/* Blog Editorial Section */
.blog-editorial-section {
  background: #1a1a1a;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #333;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.blog-editorial-section .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.blog-editorial-section h2 {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.blog-editorial-section .section-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 2rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-item {
  background: #000;
  border-radius: 10px;
  padding: 0.5rem;
  border: 1px solid #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-align: left;
   border: 2px solid #f0b90b;
  transition: transform 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-5px);
}

.blog-title {
  font-size: 1.4rem;
  color: #f0b90b;
  font-weight: 600;
  text-decoration: none;
  display: block;
  margin-bottom: 1rem;
}

.blog-title:hover {
  text-decoration: underline;
}

.blog-image-link {
  display: block;
  margin-bottom: 1rem;
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #f0b90b;
  transition: transform 0.3s ease;
}

.blog-image:hover {
  transform: scale(1.05);
}

.blog-summary {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-editorial-section {
    padding: 0.5rem 0.5rem;
  }

  .blog-editorial-section h2 {
    font-size: 2rem;
  }

  .blog-editorial-section .section-subtitle {
    font-size: 1rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .blog-item {
    padding: 1rem;
  }

  .blog-title {
    font-size: 1.2rem;
  }

  .blog-image {
    height: 180px;
  }

  .blog-summary {
    font-size: 0.85rem;
  }
}


/* Pi Network Latest News Section */
.pi-news-section {
  background: #1a1a1a;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #333;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.pi-news-section .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.pi-news-section h2 {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.pi-news-section .section-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 1rem;
}

.pi-news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.pi-news-card {
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f5a105;
}

.pi-news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(240, 185, 11, 0.2);
}

.news-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.news-title {
  font-size: 1.2rem;
  color: #f0b90b;
  margin: 1rem;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.news-link:hover .news-title {
  color: #ff6b35;
}

.news-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.news-link:hover .news-image {
  transform: scale(1.05);
}

.news-summary {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
  padding: 0 1rem 1rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .pi-news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .pi-news-section {
    padding: 1rem 0.5rem;
  }

  .pi-news-section h2 {
    font-size: 2rem;
  }

  .pi-news-section .section-subtitle {
    font-size: 1rem;
  }

  .pi-news-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .news-title {
    font-size: 1.1rem;
  }

  .news-image {
    height: 120px;
  }

  .news-summary {
    font-size: 0.9rem;
  }
}

/* Network Status Section */
.network-status-section {
  background: #1a1a1a;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #333;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.network-status-section .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.network-status-section h2 {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.network-status-section .section-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 2rem;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto 2rem;
}

.status-card {
  background: #000;
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid #eb9b08;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.status-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(240, 185, 11, 0.2);
}

.status-card h3 {
  font-size: 1.2rem;
  color: #f0b90b;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.stat-number {
  font-size: 2.5rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.stat-description {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #333;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4ade80, #26a17b);
  transition: width 1.5s ease-in-out;
  border-radius: 4px;
}

.progress-label {
  font-size: 0.8rem;
  color: #ccc;
}

.trend-indicator {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.trend-indicator.positive {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

.status-updated {
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .network-status-section {
    padding: 0.5rem 0.5rem;
  }

  .network-status-section h2 {
    font-size: 2rem;
  }

  .network-status-section .section-subtitle {
    font-size: 1rem;
  }

  .status-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}


/* Analysis & Perspectives Section */
.ap-section {
  background: #1a1a1a;
  padding: 0.5rem 0!important;
  border-bottom: 1px solid #333;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.ap-section .ap-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.ap-section h2 {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.ap-section .ap-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 1.5rem; /* Réduit pour compacter */
}

.ap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Réduit de 350px à 300px */
  gap: 1.2rem; /* Réduit de 1.5rem à 1.2rem */
  max-width: 1400px;
  margin: 2rem auto;
}

.ap-card {
  background: #000;
  border-radius: 10px;
  padding: 1rem; /* Réduit de 1.5rem à 1rem */
  border: 1px solid #f0a608 !important;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ap-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(240, 185, 11, 0.2);
}

.ap-card h3 {
  font-size: 1.2rem; /* Réduit de 1.3rem */
  color: #f0b90b;
  margin-bottom: 0.8rem; /* Réduit de 1rem */
  font-weight: 600;
}

.ap-image {
  width: 100%;
  height: 180px; /* Réduit de 200px */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.8rem; /* Réduit de 1rem */
  border: 1px solid #333;
}

.ap-text {
  font-size: 0.9rem; /* Réduit de 0.95rem */
  color: #ccc;
  line-height: 1.4; /* Réduit de 1.5 pour compacter */
  margin-bottom: 0.8rem; /* Réduit de 1rem */
}

.ap-transfer-steps {
  background: #2a2a2a;
  padding: 0.8rem; /* Réduit de 1rem */
  border-radius: 5px;
  margin-top: 0.8rem; /* Réduit de 1rem */
}

.ap-transfer-steps ol {
  margin: 0;
  padding-left: 1rem; /* Réduit de 1.2rem */
  color: #ccc;
  font-size: 0.85rem; /* Réduit de 0.9rem */
}

.ap-transfer-steps li {
  margin-bottom: 0.4rem; /* Réduit de 0.5rem */
  line-height: 1.3; /* Réduit de 1.4 */
}

/* Desktop: Force 2 columns */
@media (min-width: 769px) {
  .ap-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem; /* Conserve 1.5rem sur desktop pour lisibilité */
  }
}

/* Responsive */
@media (max-width: 768px) {
  .ap-section {
    padding: 0.5rem 0;
  }

  .ap-section h2 {
    font-size: 1.8rem; /* Réduit de 2rem */
  }

  .ap-section .ap-subtitle {
    font-size: 0.95rem; /* Réduit de 1rem */
    margin-bottom: 1rem; /* Réduit de 1.5rem */
  }

  .ap-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ap-card h3 {
    font-size: 1.1rem; /* Réduit de 1.2rem */
  }

  .ap-text {
    font-size: 0.85rem; /* Réduit de 0.9rem */
  }

  .ap-image {
    height: 150px; /* Réduit de 180px */
  }

  .ap-transfer-steps {
    padding: 0.6rem; /* Réduit de 0.8rem */
  }

  .ap-transfer-steps ol {
    padding-left: 0.8rem; /* Réduit de 1rem */
  }
}


/* Multimedia Carousel Section */
.multimedia-section {
  background: #1a1a1a;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #333;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.multimedia-section .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.multimedia-section h2 {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.multimedia-section .section-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 2rem;
}

.multimedia-section .multimedia-carousel-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.multimedia-section .multimedia-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 20px; /* Gap between cards */
  padding: 0 10px; /* Center content */
}

.multimedia-section .multimedia-carousel::-webkit-scrollbar {
  height: 4px; /* Thin scrollbar */
}

.multimedia-section .multimedia-carousel::-webkit-scrollbar-track {
  background: #333; /* Track color */
  border-radius: 2px;
}

.multimedia-section .multimedia-carousel::-webkit-scrollbar-thumb {
  background: #f0b90b; /* Thumb color */
  border-radius: 2px;
}

.multimedia-section .multimedia-carousel::-webkit-scrollbar-thumb:hover {
  background: #e0a00a; /* Hover color */
}

.multimedia-section .multimedia-carousel {
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #f0b90b #333; /* Firefox: thumb and track */
}

.multimedia-section .multimedia-card {
  flex: 0 0 calc(25% - 15px); /* 4 cards per view on desktop */
  scroll-snap-align: start;
  text-align: center;
}

.multimedia-section .carousel-video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #f0b90b;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.multimedia-section .carousel-video:hover {
  transform: scale(1.05);
}

.multimedia-section .video-desc {
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 0.5rem;
  line-height: 1.4;
}

.multimedia-section .multimedia-carousel.grabbing {
  cursor: grabbing;
}

/* Responsive */
@media (max-width: 767px) {
  .multimedia-section {
    padding: 0.5rem 0.5rem;
  }

  .multimedia-section h2 {
    font-size: 2rem;
  }

  .multimedia-section .section-subtitle {
    font-size: 1rem;
  }

  .multimedia-section .multimedia-card {
    flex: 0 0 calc(100% - 20px); /* Larger width, smaller margins */
    margin-left: 10px;
    margin-right: 10px;
    scroll-snap-align: center; /* Center each card */
  }

  .multimedia-section .carousel-video {
    height:200px; /* Slightly taller for mobile */
    width: 300px;
  }

  .multimedia-section .video-desc {
    font-size: 0.85rem;
  }
}

/* Pi Network Adoption Section */
.pi-adoption-section {
  padding: 10px 0;
  background: #1a1a1a;
  color: #fff;
}

.pi-adoption-section .adoption-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.pi-adoption-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #f0b90b;
}

.pi-adoption-section .adoption-subtitle {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #ccc;
  opacity: 0.9;
}

.pi-adoption-section .adoption-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px; /* Aligné avec .adoption-container */
  margin: 2rem auto; /* Centré, remplace margin: 2rem */
}

.pi-adoption-section .adoption-column {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 0.5rem;
  border: 1px solid #e08a08;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.pi-adoption-section .adoption-column h3 {
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pi-adoption-section .adoption-column.green h3 {
  color: #4ade80;
}

.pi-adoption-section .adoption-column.yellow h3 {
  color: #f0b90b;
}

.pi-adoption-section .adoption-column.red h3 {
  color: #f87171;
}

.pi-adoption-section .country-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pi-adoption-section .country-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #333;
  transition: background 0.3s ease;
  cursor: pointer;
}

.pi-adoption-section .country-list li:hover {
  background: rgba(255, 255, 255, 0.05);
}

.pi-adoption-section .country-list li:last-child {
  border-bottom: none;
}

.pi-adoption-section .country-name {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
}

.pi-adoption-section .percent {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .pi-adoption-section .adoption-container {
    padding: 0 1rem; /* Réduit de 20px à 1rem */
  }

  .pi-adoption-section .adoption-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 100%; /* Évite débordement */
    margin: 0; /* Supprime marge pour centrage */
  }

  .pi-adoption-section .adoption-column {
    width: 100%; /* Occupe tout l’espace */
    margin: 0 auto; /* Centré */
  }

  .pi-adoption-section h2 {
    font-size: 2rem;
  }

  .pi-adoption-section .country-list li {
    font-size: 0.9rem;
  }
}



/* SidraChain News Section */
.sidra-news-section {
  background: #1a1a1a;
  padding: 7rem 1rem;
  border-bottom: 1px solid #333;
  margin-bottom: -100px;
}

.sidra-news-section h2 {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 2rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.news-card {
  background: #000;
  border: 2px solid #f0b90b;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: #fff;
  display: block;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(240, 185, 11, 0.2);
}

.news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(45deg, #1a1a1a, #333);
}

.news-content {
  padding: 1.5rem;
}

.news-title {
  font-size: 1.3rem;
  color: #f0b90b;
  margin: 0 0 0.8rem;
  font-weight: 600;
  line-height: 1.4;
}

.news-description {
  font-size: 1rem;
  color: #ccc;
  margin: 0 0 1rem;
  line-height: 1.5;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #888;
}

.news-date {
  font-style: italic;
}

.news-source {
  color: #f0b90b;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .sidra-news-section {
    padding: 7rem 0; /* Supprime les padding latéraux pour utiliser tout l'espace */
    margin-left: 0;
    width: 100%;
  }

  .sidra-news-section h2 {
    font-size: 2rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0; /* Supprime le padding interne pour éviter les décalages */
    margin: 0 auto; /* Centre la grille */
    width: 100%; /* Utilise toute la largeur */
    max-width: 100%; /* Pas de restriction de largeur */
  }

  .news-card {
    transform: none; /* Pas de hover lift sur mobile */
    margin: 0 auto; /* Centre chaque carte */
    width: 100%; /* Utilise toute la largeur disponible */
    max-width: 350px; /* Limite maximale pour éviter trop d'étirement */
    display: block; /* Assure un affichage cohérent */
    box-sizing: border-box; /* Inclut padding/border dans la largeur */
  }

  .news-image {
    height: 150px; /* Réduit la hauteur sur mobile pour mieux s'adapter */
  }

  .news-title {
    font-size: 1.1rem;
  }

  .news-description {
    font-size: 0.95rem;
  }
}


/* SidraChain Tweets Section */
.sidra-tweets-section {
  padding: 0.5rem 1rem;
  background: #1a1a1a;
  color: #fff;
  border-bottom: 1px solid #333;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.sidra-tweets-section .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.sidra-tweets-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #f0b90b;
  font-weight: 700;
}

.sidra-tweets-section .section-subtitle {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #ccc;
}

.sidra-tweets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.sidra-tweet-card {
  background: #2a2a2a;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #333;
}

.sidra-tweet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(240, 185, 11, 0.2);
}

.sidra-tweet-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f0b90b;
  flex-shrink: 0;
}

.sidra-tweet-content {
  flex: 1;
}

.sidra-tweet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.sidra-tweet-header strong {
  font-size: 1rem;
  color: #f0b90b;
  font-weight: 600;
}

.sidra-tweet-time {
  font-size: 0.8rem;
  color: #ccc;
}

.sidra-tweet-content p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #fff;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .sidra-tweets-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .sidra-tweets-section {
    padding: 0.5rem 0.5rem;
  }

  .sidra-tweets-section h2 {
    font-size: 2rem;
  }

  .sidra-tweets-section .section-subtitle {
    font-size: 1rem;
  }

  .sidra-tweets-grid {
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 1rem;
  }

  .sidra-tweet-card {
    padding: 1rem;
  }

  .sidra-tweet-avatar {
    width: 32px;
    height: 32px;
  }

  .sidra-tweet-header strong {
    font-size: 0.9rem;
  }

  .sidra-tweet-time {
    font-size: 0.75rem;
  }

  .sidra-tweet-content p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .sidra-tweets-grid {
    grid-template-columns: 1fr;
  }
}

/* SidraChain Article Cards Section */
.sidra-article-cards-section {
  background: #1a1a1a;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #333;
  box-sizing: border-box;
}

.sidra-article-cards-section h2 {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.sidra-article-cards-section .section-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 2rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.article-card {
  background: #000;
  border: 1px solid #333;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(240, 185, 11, 0.2);
}

.article-title {
  font-size: 1.3rem;
  color: #f0b90b;
  margin: 1rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(45deg, #1a1a1a, #333);
}

.article-summary {
  font-size: 1rem;
  color: #ccc;
  margin: 1rem;
  line-height: 1.5;
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sidra-article-cards-section {
    padding: 0.5rem 0; /* Supprime padding latéral */
  }

  .article-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 100%; /* Évite débordement */
    margin: 2rem 0; /* Réduit marge et supprime latéral */
  }

  .article-card {
    width: 100%; /* Occupe tout l’espace */
    margin: 0 auto; /* Centré */
    transform: none; /* Pas de hover lift sur mobile */
  }

  .article-title {
    font-size: 1.1rem;
  }

  .article-summary {
    font-size: 0.95rem;
  }
}


/* Écosystème & Partenariats Section */
.sidra-ecosystem-section {
  background: #1a1a1a;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #333;
}

.sidra-ecosystem-section h2 {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.sidra-ecosystem-section .section-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 2rem;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.ecosystem-column {
  background: #000;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 1.5rem;
}

.ecosystem-column h3 {
  font-size: 1.5rem;
  color: #f0b90b;
  margin-bottom: 1rem;
  text-align: center;
}

.project-item, .partnership-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: #2a2a2a;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.project-item:hover, .partnership-item:hover {
  background: #333;
}

.project-logo, .partnership-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: contain;
  border: 2px solid #f0b90b;
}

.project-item h4, .partnership-item h4 {
  font-size: 1.1rem;
  color: #f0b90b;
  margin: 0 0 0.5rem;
}

.project-item p, .partnership-item p {
  font-size: 0.9rem;
  color: #ccc;
  margin: 0;
  flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .sidra-ecosystem-section {
    padding: 0.5rem 0.5rem;
  }

  .sidra-ecosystem-section h2 {
    font-size: 2rem;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ecosystem-column {
    padding: 1rem;
  }

  .project-item, .partnership-item {
    flex-direction: column;
    text-align: center;
  }

  .project-logo, .partnership-logo {
    width: 50px;
    height: 50px;
  }
}


/* SidraChain Network Status Section */
.sidra-network-section {
  background: #1a1a1a;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #333;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.sidra-network-section .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.sidra-network-section h2 {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.sidra-network-section .section-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 2rem;
}

.sidra-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto 2rem;
}

.sidra-status-card {
  background: #000;
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid #333;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sidra-status-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(240, 185, 11, 0.2);
}

.sidra-status-card h3 {
  font-size: 1.2rem;
  color: #f0b90b;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.stat-number {
  font-size: 2.5rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.stat-description {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #333;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4ade80, #26a17b);
  transition: width 1.5s ease-in-out;
  border-radius: 4px;
}

.progress-label {
  font-size: 0.8rem;
  color: #ccc;
}

.trend-indicator {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.trend-indicator.positive {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

.sidra-status-updated {
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .sidra-network-section {
    padding: 0.5rem 0.5rem;
  }

  .sidra-network-section h2 {
    font-size: 2rem;
  }

  .sidra-network-section .section-subtitle {
    font-size: 1rem;
  }

  .sidra-status-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}


/* SidraChain Adoption by Country Section */
.sidra-adoption-section {
  background: #1a1a1a;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #333;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.sidra-adoption-section .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.sidra-adoption-section h2 {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.sidra-adoption-section .section-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 2rem;
}

.sidra-adoption-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto 2rem;
}

.sidra-adoption-column {
  background: #000;
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid #333;
  text-align: center;
  transition: transform 0.3s ease;
}

.sidra-high-adoption {
  border-left: 5px solid #4ade80; /* Green */
}

.sidra-high-adoption h3 {
  color: #4ade80; /* Green for >50% */
}

.sidra-medium-adoption {
  border-left: 5px solid #facc15; /* Yellow */
}

.sidra-medium-adoption h3 {
  color: #facc15; /* Yellow for <50% */
}

.sidra-low-adoption {
  border-left: 5px solid #ef4444; /* Red */
}

.sidra-low-adoption h3 {
  color: #ef4444; /* Red for <20% */
}

.sidra-adoption-column h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.sidra-adoption-list {
  list-style: none;
  padding: 0;
}

.sidra-adoption-list li {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.sidra-adoption-updated {
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .sidra-adoption-section {
    padding: 0.5rem 0.5rem;
  }

  .sidra-adoption-section h2 {
    font-size: 2rem;
  }

  .sidra-adoption-section .section-subtitle {
    font-size: 1rem;
  }

  .sidra-adoption-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .sidra-adoption-column {
    padding: 1rem;
  }
}




/* Floating Contact Icon */
.contact-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000; /* Above other content, below modals */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #f0b90b; /* Gold accent */
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

.contact-icon:hover {
  background: #ff6b35; /* Orange accent on hover */
  transform: scale(1.1);
}

.contact-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.contact-tooltip {
  position: absolute;
  right: 70px; /* Position to the left of the icon */
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  border: 1px solid #f0b90b;
  box-shadow: 0 4px 12px rgba(240, 185, 11, 0.3);
}

.contact-icon:hover .contact-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-icon {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }

  .contact-icon-img {
    width: 40px !important;
    height: 40px !important;
  }

  .contact-tooltip {
    font-size: 0.8rem;
    padding: 6px 10px;
    right: 60px;
  }
}

@media (max-width: 480px) {
  .contact-icon {
    width: 45px;
    height: 45px;
    bottom: 10px;
    right: 10px;
  }

  .contact-icon-img {
    width: 40px !important;
    height: 40px !important;
  }

  .contact-tooltip {
    font-size: 0.75rem;
    padding: 5px 8px;
    right: 50px;
  }
}



/* Bitcoin News Header Section */
.bitcoin-news-header {
  background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
  padding: 3rem 1rem;
  text-align: center;
  margin-top: 89px; /* 64px header + 25px announcement bar */
  position: relative;
  z-index: 99;
}

.news-header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem; /* Réduit l'espace entre le logo et le titre */
  max-width: 1200px;
  margin: 5px auto;
  margin-bottom: -40px;
  min-height: 80px;
}

.bitcoin-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: contain;
  background: #1a1a1a;
  box-shadow: 0 8px 16px rgba(240, 185, 11, 0.5);
  padding: 0.5rem;
  margin-right: 0; /* Assure que le logo est collé au titre */
}

.news-header-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Alignement à gauche pour coller au logo */
}

.news-header-text h1 {
  font-size: 2.5rem;
  color: #f0b90b;
  font-weight: 700;
  margin: 0;
}

.news-header-text .section-subtitle {
  font-size: 1.2rem;
  color: #ccc;
  margin: 0.5rem 0 0;
}

@media (max-width: 768px) {
  .bitcoin-news-header {
    margin-top: 82px; /* 64px header + 18px announcement bar */
    padding: 3rem 1rem; /* Réduit légèrement le padding vertical */
  }

  .news-header-content {
    display: flex;
    align-items: center;
    justify-content: center; /* Centre tout le contenu */
    gap: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 0px;
    min-height: 60px; /* Réduit la hauteur minimale pour compacter */
    padding: 0; /* Supprime le padding-left pour éviter le décalage */
  }

  .news-header-text {
    display: flex;
    flex-direction: row; /* Alignement horizontal du titre et sous-titre */
    align-items: center; /* Centre verticalement le texte avec le logo */
    gap: 0.5rem; /* Espace entre titre et sous-titre */
  }

  .bitcoin-logo {
    width: 40px; /* Réduit légèrement la taille du logo */
    height: 40px;
    padding: 0.3rem;
  }

  .news-header-text h1 {
    font-size: 1.8rem; /* Réduit la taille pour compacter */
    margin: 0;
  }

  .news-header-text .section-subtitle {
    font-size: 0.9rem; /* Réduit la taille pour compacter */
    margin: 0; /* Supprime la marge pour un alignement serré */
    padding-right: 1rem; /* Petit décalage pour l'esthétique */
  }
}

/* Bitcoin Article Section */
.bitcoin-article-section {
  background: #000;
  padding: 1rem 1rem;
  position: relative;
  z-index: 997;
}

.article-content {
  display: flex;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.article-image {
  width: 550px; /* Largeur augmentée */
  height: 200px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(240, 185, 11, 0.5);
  object-fit: cover;
  flex-shrink: 0; /* Empêche l'image de rétrécir */
}

.article-text {
  flex: 1; /* Le texte prend l'espace restant, mais pas plus que l'image */
  max-width: 550px; /* Limite la largeur du texte pour équilibrer avec l'image */
}

.article-text h2 {
  font-size: 2rem;
  color: #f0b90b;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.article-text p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .bitcoin-article-section {
    padding: 0; /* Supprime tout padding vertical et latéral */
  }

  .article-content {
    flex-direction: column;
    gap: 0.5rem; /* Réduit l'espace entre l'image et le texte */
    padding: 0; /* Supprime tout padding */
    margin: 0 auto; /* Centre le conteneur */
    width: 100%; /* Assure que le conteneur prend toute la largeur disponible */
    box-sizing: border-box; /* Inclut padding et bordures dans la largeur */
  }

  .article-image {
    width: 100%;
    max-width: 400px;
    height: 200px;
    margin: 0 auto; /* Centre l'image horizontalement */
    display: block; /* Assure que l'image est un bloc centré */
    padding: 0; /* Supprime tout padding résiduel */
  }

  .article-text {
    max-width: 100%; /* Le texte prend toute la largeur sur mobile */
    padding: 0 1rem; /* Léger padding pour le texte, mais pas pour l'image */
  }

  .article-text h2 {
    font-size: 1.8rem;
  }

  .article-text p {
    font-size: 0.8rem;
  }
}


/* Bitcoin Cart Articles Section */
.bitcoin-cart-section {
  background: #000 !important;
  padding: 0.5rem 1rem !important;
  margin-top: -40px !important;
  max-width: 100% !important;
}

.bitcoin-cart-section .container {
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.bitcoin-cart-section h2 {
  font-size: 2.5rem !important;
  color: #f0b90b !important;
  text-align: center !important;
  margin-bottom: 0.5rem !important;
  font-weight: 700 !important;
}

.bitcoin-cart-section .section-subtitle {
  font-size: 1.1rem !important;
  color: #ccc !important;
  text-align: center !important;
  margin-bottom: 1.5rem !important;
}

.cart-articles-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.5rem !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.cart-article-card {
  background: #1a1a1a !important;
  border-radius: 10px !important;
  padding: 1rem !important; /* Reduced padding to shorten height */
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  min-width: 300px !important; /* Increased width for desktop */
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.cart-article-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 20px rgba(240, 185, 11, 0.2) !important;
}

.cart-article-link {
  display: block !important;
  text-decoration: none !important;
  color: inherit !important;
}

.cart-article-link h3 {
  font-size: 1.2rem !important;
  color: #f0b90b !important;
  margin: 0 0 0.8rem !important; /* Reduced margin */
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  transition: color 0.3s ease !important;
}

.cart-article-link:hover h3 {
  color: #ff6b35 !important;
}

.cart-article-image {
  width: 100% !important;
  height: 140px !important; /* Reduced height */
  object-fit: cover !important;
  border-radius: 8px !important;
  margin: 0 auto 0.8rem !important; /* Reduced margin */
  display: block !important;
  transition: transform 0.3s ease !important;
}

.cart-article-link:hover .cart-article-image {
  transform: scale(1.05) !important;
}

.cart-article-summary {
  font-size: 0.9rem !important;
  color: #ccc !important;
  line-height: 1.4 !important; /* Slightly tighter line height */
  margin: 0 !important;
  text-align: center !important;
}

/* Responsive */
@media (max-width: 768px) {
  .bitcoin-cart-section {
    padding: 0.5rem 0 !important; /* Réduit le padding latéral à 0 */
  }

  .bitcoin-cart-section h2 {
    font-size: 2rem !important;
  }

  .cart-articles-grid {
    grid-template-columns: 1fr !important; /* Une seule colonne sur mobile */
    gap: 1rem !important;
  }

  .cart-article-card {
    width: 90% !important; /* Augmente la largeur des cartes */
    min-width: 340px !important; /* Largeur minimale augmentée */
    max-width: 400px !important; /* Limite maximale pour éviter un étirement excessif */
    margin: 0 auto !important; /* Centre les cartes */
    padding: 0.8rem !important; /* Padding réduit */
  }

  .cart-article-link h3 {
    font-size: 1.1rem !important;
  }

  .cart-article-image {
    height: 120px !important; /* Hauteur réduite pour mobile */
  }

  .cart-article-summary {
    font-size: 0.85rem !important;
  }
}


/* Technical Analysis & Predictions Section */
.technical-analysis-section {
  background: #000 !important;
  padding: 0.5rem 1rem !important;
  border-bottom: 1px solid #333 !important;
  margin-bottom: -10px;
  margin-top: -30px;
  max-width: 100% !important;
}

.technical-analysis-section .container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 1rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  left: 0 !important;
  right: 0 !important;
}

.technical-analysis-section h2 {
  font-size: 2.5rem !important;
  color: #f0b90b !important;
  text-align: center !important;
  margin-bottom: 0.5rem !important;
  font-weight: 700 !important;
}

.technical-analysis-section .section-subtitle {
  font-size: 1.1rem !important;
  color: #ccc !important;
  text-align: center !important;
  margin-bottom: 1.5rem !important;
}

.analysis-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1.5rem !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  width: 100% !important;
  justify-content: center !important;
}

.analysis-card {
  background: #1a1a1a !important;
  border-radius: 10px !important;
  padding: 1rem !important;
  border: 1px solid #333 !important;
  transition: transform 0.3s ease !important;
  min-width: 280px !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

.analysis-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 20px rgba(240, 185, 11, 0.2) !important;
}

.analysis-card h3 {
  font-size: 1.3rem !important;
  color: #f0b90b !important;
  margin-bottom: 0.5rem !important;
  font-weight: 600 !important;
}

.analysis-card p {
  font-size: 0.9rem !important;
  color: #ccc !important;
  line-height: 1.4 !important;
  margin: 0 0 1rem !important;
}

.trading-guide {
  list-style: none !important;
  padding: 0 !important;
  text-align: left !important;
  margin: 0 0 1rem !important;
}

.trading-guide li {
  font-size: 0.9rem !important;
  color: #ccc !important;
  margin-bottom: 0.5rem !important;
  position: relative !important;
  padding-left: 1rem !important;
}

.trading-guide li:before {
  content: "➡️" !important;
  position: absolute !important;
  left: 0 !important;
  color: #f0b90b !important;
}

.illustration {
  font-size: 0.85rem !important;
  color: #f0b90b !important;
  background: #111 !important;
  padding: 0.5rem !important;
  border-radius: 5px !important;
  margin-top: 1rem !important;
  text-align: center !important;
  white-space: pre-wrap !important;
}

/* Responsive */
@media (max-width: 768px) {
  .technical-analysis-section {
    padding: 1rem 0.5rem !important;
  }

  .technical-analysis-section h2 {
    font-size: 2rem !important;
  }

  .analysis-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .analysis-card {
    min-width: 90vw !important;
    padding: 0.8rem !important;
  }

  .analysis-card h3 {
    font-size: 1.1rem !important;
  }

  .analysis-card p {
    font-size: 0.85rem !important;
  }

  .trading-guide li {
    font-size: 0.8rem !important;
  }

  .illustration {
    font-size: 0.75rem !important;
  }
}


/* Adoption & Global Economy Section */
.adoption-section {
  background: #000;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #333;
  margin-top: -10px;
  max-width: 100%;
}

.adoption-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  left: 0;
  right: 0;
}

.adoption-section h2 {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.adoption-section .section-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 1.5rem;
}

.adoption-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  justify-content: center;
}

.adoption-card {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 1rem;
  border: 1px solid #333;
  transition: transform 0.3s ease;
  min-width: 250px;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.adoption-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(240, 185, 11, 0.2);
}

.adoption-card h3 {
  font-size: 1.2rem;
  color: #f0b90b;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.adoption-card p {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.4;
  margin: 0;
}

.wallet-graph-container {
  margin-top: 2rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.wallet-graph-container h3 {
  font-size: 1.5rem;
  color: #f0b90b;
  margin-bottom: 0.5rem;
}

.wallet-growth-chart {
  max-width: 100%;
  height: auto;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 10px;
}

.graph-annotations {
  margin-top: 1rem;
  text-align: center;
}

.graph-annotations p {
  font-size: 0.9rem;
  color: #ccc;
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .adoption-section {
    padding: 1rem 0.5rem;
  }

  .adoption-section h2 {
    font-size: 2rem;
  }

  .adoption-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .adoption-card {
    min-width: 90vw;
    padding: 0.8rem;
  }

  .adoption-card h3 {
    font-size: 1.1rem;
  }

  .adoption-card p {
    font-size: 0.85rem;
  }

  .wallet-graph-container {
    margin-top: 1rem;
  }

  .wallet-growth-chart {
    width: 100%;
    height: 300px;
  }
}


/* Blockchain and Innovation Section */
.innovation-section {
  background: #000;
  padding: -0.5rem 1rem;
  border-bottom: 1px solid #333;
  max-width: 100%;
  
}

.innovation-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  left: 0;
  right: 0;
}

.innovation-section h2 {
  font-size: 2.5rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.innovation-section .section-subtitle {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 1.5rem;
}

.innovation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  justify-content: center;
}

.innovation-card {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 1rem;
  border: 1px solid #333;
  transition: transform 0.3s ease;
  min-width: 250px;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.innovation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(240, 185, 11, 0.2);
}

.innovation-card h3 {
  font-size: 1.2rem;
  color: #f0b90b;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.innovation-card p {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.4;
  margin: 0;
}

.visual-explanations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto 0;
  width: 100%;
  justify-content: center;
}

.visual-explanation {
  text-align: center;
}

.visual-explanation h3 {
  font-size: 1.3rem;
  color: #f0b90b;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.visual-explanation p {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.transaction-chart, .lightning-chart {
  max-width: 100%;
  height: auto;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .innovation-section {
    padding: 1rem 0.5rem;
  }

  .innovation-section h2 {
    font-size: 2rem;
  }

  .innovation-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .innovation-card {
    min-width: 90vw;
    padding: 0.8rem;
  }

  .innovation-card h3 {
    font-size: 1.1rem;
  }

  .innovation-card p {
    font-size: 0.85rem;
  }

  .visual-explanations {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .transaction-chart, .lightning-chart {
    width: 100%;
    height: 200px;
  }
}


/* Post Page */
.post-page {
  background: #0a0a0a;
  padding: 2rem 1rem;
  min-height: calc(100vh - 107px); /* Header (64px) + announcement bar (25px) + margin */
  margin-top: 107px; /* Prevents overlap with announcement bar */
  position: relative;
  z-index: 995; /* Below announcement bar (999) */
  box-sizing: border-box;
}

.post-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Article Banner */
.post-banner {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2.5rem;
   transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(238, 184, 5, 0.644);
}

.post-banner h1 {
  font-size: 3rem;
  color: #f0b90b;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 auto 0.5rem;
  max-width: 1100px;
}

.post-banner .post-subtitle {
  font-size: 1.4rem;
  color: #ccc;
  margin-bottom: 1rem;
  max-width: 1100px;
  line-height: 1.5;
}

.post-banner .post-meta {
  font-size: 1.1rem;
  color: #ccc;
}

.post-banner .post-meta span {
  margin: 0 0.75rem;
}

/* Post Content */
.post-content {
  max-width: 1100px;
  margin: 0 auto;
  color: #e0e0e0;
  line-height: 1.7;
  font-size: 1.15rem;
  text-align: left;
}

.post-content h2 {
  font-size: 2.2rem;
  color: #f0b90b;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
  text-align: left;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content strong {
  color: #ff8c00;
  font-weight: 600;
}

.post-content-image {
  width: 100%;
  max-width: 1000px;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  margin: 1rem auto;
  display: block;
   transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(238, 184, 5, 0.644);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-content-image:hover {
  /* ✅ ZOOM +2% */
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 30px rgba(255, 140, 0, 0.6);
}

/* ✅ DESKTOP SEULEMENT : Image décalée à gauche */
@media (min-width: 769px) {
  .post-content-image {
    margin-left: 0;
    margin-right: auto;
  }
}

.post-cta {
  color: #f0b90b;
  text-decoration: none;
  border-bottom: 2px solid #f0b90b; /* Decorative underline */
  font-weight: 500;
  padding-bottom: 2px;
  transition: border-bottom 0.3s ease, color 0.3s ease;
}

.post-cta:hover {
  color: #ff8c00;
  border-bottom: 2px solid #ff8c00; /* Decorative underline on hover */
}

/* Comments Section */
.post-comments {
  max-width: 800px; /* Reduced width */
  margin: 3rem auto;
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.post-comments h3 {
  font-size: 1.8rem;
  color: #f0b90b;
  margin-bottom: 1.5rem;
}

.post-comment-list {
  margin-bottom: 2rem;
}

.post-comment-item {
  background: #2a2a2a;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.2rem;
  transition: background 0.3s ease;
}

.post-comment-item:hover {
  background: #333;
}

.post-comment-header {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.post-comment-author {
  font-weight: 600;
  color: #f0b90b;
}

.post-comment-rating {
  color: #f0b90b;
  font-size: 1rem;
}

.post-comment-text {
  font-size: 1.1rem;
  color: #e0e0e0;
}

.post-comment-form {
  margin-top: 2rem;
}

.post-comment-form h4 {
  font-size: 1.4rem;
  color: #f0b90b;
  margin-bottom: 1.2rem;
}

.post-comment-form input,
.post-comment-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.2rem;
  border: 1px solid #444;
  border-radius: 6px;
  background: #1a1a1a;
  color: #e0e0e0;
  font-size: 1.1rem;
  box-sizing: border-box;
}

.post-comment-form textarea {
  min-height: 140px;
  resize: vertical;
}

.post-comment-form .post-comment-rating-input {
  margin-bottom: 1.2rem;
}

.post-comment-form select {
  padding: 0.8rem;
  border: 1px solid #444;
  border-radius: 6px;
  background: #1a1a1a;
  color: #e0e0e0;
  font-size: 1.1rem;
}

.post-comment-submit {
  background: #f0b90b;
  color: #000;
  padding: 1rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.post-comment-submit:hover {
  background: #ff8c00;
  transform: translateY(-3px);
}

/* Social Sharing */
.post-sharing {
  max-width: 800px; /* Aligned with comments section */
  margin: 3rem auto;
}

.post-sharing h3 {
  font-size: 1.8rem;
  color: #f0b90b;
  margin-bottom: 1.2rem;
}

.post-social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.post-social-icon {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.post-social-icon:hover {
  transform: scale(1.2);
  opacity: 0.9;
}

/* Related Articles */
.post-related {
  max-width: 1200px;
  margin: 0.2rem auto; /* Reduced to minimize empty space */
}

.post-related h3 {
  font-size: 2rem;
  color: #f0b90b;
  text-align: center;
  margin-bottom: 1.5rem;
}

.post-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; /* Reduced from 2rem */
}

.post-related-card {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(240, 185, 11, 0.25);
}

.post-related-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
  /* ✅ AJOUTÉ : Effet ZOOM + Box-shadow change */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-related-image:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(255, 140, 0, 0.5);
}

.post-related-card h4 {
  font-size: 1.3rem;
  color: #f0b90b;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.post-related-card p {
  font-size: 0.95rem;
  color: #ccc;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .post-content,
  .post-sharing,
  .post-comments,
  .post-related {
    max-width: 100%;
    padding: 0 1rem;
  }

  .post-content-image {
    max-width: 100%;
    height: 250px; /* Slightly reduced for smaller screens */
     transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(238, 184, 5, 0.644);
  /* ✅ AJOUTÉ : Effet ZOOM (toutes tailles) */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
}

@media (max-width: 768px) {
  .post-page {
    margin-top: 100px; /* Header (64px) + announcement bar (18px) + margin */
    padding: 1.5rem 0.5rem;
  }

  .post-banner h1 {
    font-size: 2.4rem;
  }

  .post-banner .post-subtitle {
    font-size: 1.2rem;
  }

  .post-content h2 {
    font-size: 1.9rem;
  }

  .post-content p {
    font-size: 1rem;
  }

  .post-content-image {
    height: 200px; /* Reduced for mobile */
    /* ✅ Effet ZOOM fonctionne AUSSI mobile */
  }

  .post-related-grid {
    grid-template-columns: 1fr;
  }

  .post-related-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .post-social-links {
    gap: 1.5rem;
  }

  .post-social-icon {
    width: 36px;
    height: 36px;
  }

  .post-comments,
  .post-sharing {
    max-width: 90%; /* Adjusted for mobile */
  }

  .post-related {
    margin: 0.2rem auto; /* Reduced for mobile */
  }

  .post-related-grid {
    gap: 1rem; /* Reduced for mobile */
  }
}

@media (max-width: 480px) {
  .post-banner h1 {
    font-size: 2rem;
  }

  .post-banner .post-subtitle {
    font-size: 1rem;
  }

  .post-content h2 {
    font-size: 1.6rem;
  }

  .post-content p {
    font-size: 0.95rem;
  }

  .post-content-image {
    height: 150px; /* Further reduced for small screens */
  }

  .post-comment-form input,
  .post-comment-form textarea,
  .post-comment-form select {
    font-size: 0.95rem;
  }

  .post-comment-submit {
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
  }
}



/* Privacy Policy Page Styles - 100% RESPONSIVE MOBILE-FIRST - CENTRÉ PARFAIT */
.privacy-page {
  background: #0a0a0a;
  padding: 1rem 0; /* ← SUPPRIMÉ les 0.5rem latéraux */
  min-height: calc(100vh - 107px);
  margin-top: 5px;
  margin-bottom: -50px;
  color: #e0e0e0;
}

.privacy-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem; /* ← UN SEUL padding symétrique */
}

/* MOBILE BANNER */
.privacy-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  box-shadow: 0 8px 32px rgba(240, 185, 11, 0.1);
  text-align: center;
}

.privacy-banner h1 {
  font-size: 2rem;
  color: #f0b90b;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.privacy-subtitle {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.policy-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #b0b0b0;
  text-align: center;
}

.policy-meta a {
  color: #f0b90b;
  text-decoration: none;
}

/* MOBILE CONTENT LAYOUT */
.privacy-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.privacy-toc {
  background: #1a1a1a;
  padding: 1rem;
  border-radius: 10px;
  order: 2;
}

.privacy-toc h2 {
  color: #f0b90b;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  text-align: center;
}

.toc-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.toc-list li {
  margin: 0;
  flex: 1 1 45%;
}

.toc-list a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  display: block;
  text-align: center;
  border-radius: 4px;
  transition: all 0.3s;
}

.toc-list a:hover {
  color: #f0b90b;
  background: #333;
}

.privacy-article {
  background: #1a1a1a;
  padding: 1.5rem 1rem;
  border-radius: 10px;
  line-height: 1.6;
  order: 1;
}

.privacy-article h2 {
  color: #f0b90b;
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
  border-bottom: 2px solid #333;
  padding-bottom: 0.5rem;
}

.privacy-article h2:first-child {
  margin-top: 0;
}

.privacy-article h3 {
  color: #ff8c00;
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem;
}

/* NOUVEAUX TABLEAUX MOBILE-PARFAITS */
.privacy-table {
  width: 100%;
  margin: 1.5rem 0;
  background: #2a2a2a;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #444;
}

/* MOBILE : CARDS VERTICALES */
@media (max-width: 768px) {
  .privacy-table {
    border-collapse: collapse;
  }

  .privacy-page {
    background: #0a0a0a;
    padding: 1rem 0; /* ← SYMÉTRIQUE */
    min-height: calc(100vh - 107px);
    margin-top: 70px;
    margin-bottom: -30px;
    color: #e0e0e0;
  }
  
  .privacy-table thead {
    display: none;
  }
  
  .privacy-table tr {
    display: block;
    margin-bottom: 1rem;
    border-radius: 6px;
    background: #2a2a2a;
    border: 1px solid #444;
  }
  
  .privacy-table td {
    display: block;
    text-align: right !important;
    padding: 0.75rem !important;
    border: none !important;
    position: relative;
    font-size: 0.9rem;
  }
  
  .privacy-table td:before {
    content: attr(data-label) ": ";
    float: left;
    font-weight: bold;
    color: #f0b90b;
    width: 40%;
    text-align: left;
    background: #333;
    padding: 0.5rem;
    margin-right: 1rem;
    border-radius: 4px;
  }
  
  .privacy-table td:last-child {
    border-bottom: none;
  }
}

/* TABLETTE */
@media (min-width: 481px) and (max-width: 768px) {
  .privacy-page {
    padding: 1.5rem 0; /* ← SYMÉTRIQUE */
  }
  
  .privacy-banner {
    padding: 2.5rem 1.5rem;
  }
  
  .privacy-banner h1 {
    font-size: 2.2rem;
  }
  
  .privacy-toc {
    padding: 1.25rem;
  }
  
  .toc-list li {
    flex: 1 1 30%;
  }
  
  .privacy-article {
    padding: 1.75rem 1.25rem;
  }
}

/* DESKTOP */
@media (min-width: 769px) {
  .privacy-page {
    padding: 2rem 0; /* ← SYMÉTRIQUE */
  }
  
  .privacy-banner {
    padding: 3rem 2rem;
  }
  
  .privacy-banner h1 {
    font-size: 3rem;
  }
  
  .privacy-subtitle {
    font-size: 1.2rem;
  }
  
  .policy-meta {
    flex-direction: row;
    gap: 2rem;
    font-size: 0.95rem;
  }
  
  .privacy-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
  }
  
  .privacy-toc {
    order: 0;
    position: sticky;
    top: 20px;
    height: fit-content;
    padding: 1.5rem;
  }
  
  .privacy-toc h2 {
    text-align: left;
    font-size: 1.3rem;
  }
  
  .toc-list {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .toc-list li {
    flex: none;
  }
  
  .toc-list a {
    padding: 0;
    text-align: left;
    font-size: 0.95rem;
  }
  
  .privacy-article {
    order: 0;
    padding: 2rem;
  }
  
  .privacy-article h2 {
    font-size: 1.8rem;
  }
  
  .privacy-article h3 {
    font-size: 1.4rem;
  }
  
  .privacy-table {
    border-collapse: collapse;
  }
  
  .privacy-table th,
  .privacy-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #444;
    font-size: 1rem;
  }
  
  .privacy-table th {
    background: #333;
    color: #f0b90b;
    font-weight: 600;
  }
  
  .privacy-table tr:hover {
    background: #3a3a3a;
  }
}

.contact-info {
  background: #2a2a2a;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #f0b90b;
  margin-top: 1rem;
}

.contact-info p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.contact-info a {
  color: #f0b90b;
  text-decoration: none;
}

/* LARGE DESKTOP */
@media (min-width: 1025px) {
  .privacy-container {
    padding: 0 2rem; /* ← PLUS D'ESPACE UTILISÉ */
  }
}


/* Terms of Service Page Styles - Mobile-First, Perfectly Centered */
.terms-page {
  background: #0a0a0a;
  padding: 1rem 0;
  min-height: calc(100vh - 107px);
  margin-top: 5px;
  margin-bottom: -50px;
  color: #e0e0e0;
}

.terms-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Mobile Banner */
.terms-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  box-shadow: 0 8px 32px rgba(240, 185, 11, 0.1);
  text-align: center;
}

.terms-banner h1 {
  font-size: 2rem;
  color: #f0b90b;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.terms-subtitle {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.policy-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #b0b0b0;
  text-align: center;
}

.policy-meta a {
  color: #f0b90b;
  text-decoration: none;
}

/* Mobile Content Layout */
.terms-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.terms-toc {
  background: #1a1a1a;
  padding: 1rem;
  border-radius: 10px;
  order: 2;
}

.terms-toc h2 {
  color: #f0b90b;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  text-align: center;
}

.toc-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.toc-list li {
  margin: 0;
  flex: 1 1 45%;
}

.toc-list a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  display: block;
  text-align: center;
  border-radius: 4px;
  transition: all 0.3s;
}

.toc-list a:hover {
  color: #f0b90b;
  background: #333;
}

.terms-article {
  background: #1a1a1a;
  padding: 1.5rem 1rem;
  border-radius: 10px;
  line-height: 1.6;
  order: 1;
}

.terms-article h2 {
  color: #f0b90b;
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
  border-bottom: 2px solid #333;
  padding-bottom: 0.5rem;
}

.terms-article h2:first-child {
  margin-top: 0;
}

.terms-article h3 {
  color: #ff8c00;
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem;
}

.terms-article a {
  color: #f0b90b;
  text-decoration: none;
}

.terms-article a:hover {
  text-decoration: underline;
}

/* Mobile-Optimized Tables */
.terms-table {
  width: 100%;
  margin: 1.5rem 0;
  background: #2a2a2a;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #444;
}

/* Mobile: Vertical Card Layout for Tables */
@media (max-width: 768px) {
  .terms-table {
    border-collapse: collapse;
  }

  .terms-page {
    padding: 1rem 0;
    min-height: calc(100vh - 107px);
    margin-top: 70px;
    margin-bottom: -30px;
  }
  
  .terms-table thead {
    display: none;
  }
  
  .terms-table tr {
    display: block;
    margin-bottom: 1rem;
    border-radius: 6px;
    background: #2a2a2a;
    border: 1px solid #444;
  }
  
  .terms-table td {
    display: block;
    text-align: right !important;
    padding: 0.75rem !important;
    border: none !important;
    position: relative;
    font-size: 0.9rem;
  }
  
  .terms-table td:before {
    content: attr(data-label) ": ";
    float: left;
    font-weight: bold;
    color: #f0b90b;
    width: 40%;
    text-align: left;
    background: #333;
    padding: 0.5rem;
    margin-right: 1rem;
    border-radius: 4px;
  }
  
  .terms-table td:last-child {
    border-bottom: none;
  }
}

/* Tablet */
@media (min-width: 481px) and (max-width: 768px) {
  .terms-page {
    padding: 1.5rem 0;
  }
  
  .terms-banner {
    padding: 2.5rem 1.5rem;
  }
  
  .terms-banner h1 {
    font-size: 2.2rem;
  }
  
  .terms-toc {
    padding: 1.25rem;
  }
  
  .toc-list li {
    flex: 1 1 30%;
  }
  
  .terms-article {
    padding: 1.75rem 1.25rem;
  }
}

/* Desktop */
@media (min-width: 769px) {
  .terms-page {
    padding: 2rem 0;
  }
  
  .terms-banner {
    padding: 3rem 2rem;
  }
  
  .terms-banner h1 {
    font-size: 3rem;
  }
  
  .terms-subtitle {
    font-size: 1.2rem;
  }
  
  .policy-meta {
    flex-direction: row;
    gap: 2rem;
    font-size: 0.95rem;
  }
  
  .terms-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
  }
  
  .terms-toc {
    order: 0;
    position: sticky;
    top: 20px;
    height: fit-content;
    padding: 1.5rem;
  }
  
  .terms-toc h2 {
    text-align: left;
    font-size: 1.3rem;
  }
  
  .toc-list {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .toc-list li {
    flex: none;
  }
  
  .toc-list a {
    padding: 0;
    text-align: left;
    font-size: 0.95rem;
  }
  
  .terms-article {
    order: 0;
    padding: 2rem;
  }
  
  .terms-article h2 {
    font-size: 1.8rem;
  }
  
  .terms-article h3 {
    font-size: 1.4rem;
  }
  
  .terms-table {
    border-collapse: collapse;
  }
  
  .terms-table th,
  .terms-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #444;
    font-size: 1rem;
  }
  
  .terms-table th {
    background: #333;
    color: #f0b90b;
    font-weight: 600;
  }
  
  .terms-table tr:hover {
    background: #3a3a3a;
  }
}

.contact-info {
  background: #2a2a2a;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #f0b90b;
  margin-top: 1rem;
}

.contact-info p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.contact-info a {
  color: #f0b90b;
  text-decoration: none;
}

/* Large Desktop */
@media (min-width: 1025px) {
  .terms-container {
    padding: 0 2rem;
  }
}



/* Contact Page Styles - Mobile-First, Perfectly Centered */
.contact-page {
  background: #0a0a0a;
  padding: 3rem 0 !important;
  min-height: calc(100vh - 107px);
  margin-top: 30px !important;
  margin-bottom: -20px !important;
  color: #e0e0e0;
}

.contact-container {
  max-width: 1500px;
  margin: 0 auto;
  box-shadow: 0 6px 24px rgba(255, 100, 20, 0.4);
  padding: 0 0.5rem;
}

.contact-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  box-shadow: 0 8px 32px rgba(240, 185, 11, 0.1);
  text-align: center;
}

.contact-banner h1 {
  font-size: 1.8rem;
  color: #f0b90b;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.contact-subtitle {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 0.75rem;
}

.policy-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #b0b0b0;
  text-align: center;
}

.policy-meta a {
  color: #f0b90b;
  text-decoration: none;
}

.contact-content {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.contact-form {
  background: #1a1a1a;
  padding: 0.75rem;
  border-radius: 8px;
  width: 100%;
  max-width: 100%;
  box-shadow: 0 6px 24px rgba(255, 100, 20, 0.4);
  box-sizing: border-box;
}

.form-group {
  margin-bottom: 0.75rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: #ff8c00;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.4rem;
  border: 1px solid #444;
  border-radius: 5px;
  background: #2a2a2a;
  color: #e0e0e0;
  font-size: 0.85rem;
  box-sizing: border-box;
}

.form-group.error input,
.form-group.error textarea {
  border: 2px solid #ff4444;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.submit-button {
  background: #f0b90b;
  color: #0a0a0a;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.submit-button:hover {
  background: #ff8c00;
}

.submit-button:disabled {
  background: #666;
  cursor: not-allowed;
}

.spinner {
  margin-left: 10px;
}

#form-notification {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #333;
  color: #f0b90b;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  font-size: 16px;
  font-weight: 500;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#form-notification.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

#form-notification.error {
  color: #ff4444;
}

@media (max-width: 480px) {
  .contact-page {
    padding: 1rem 0 !important;
    margin-top: 70px !important;
  }
  .contact-container {
    padding: 0 0.5rem;
  }
  .contact-banner {
    padding: 0.5rem;
  }
  .contact-banner h1 {
    font-size: 1.6rem;
  }
  .contact-subtitle {
    font-size: 0.85rem;
  }
  .policy-meta {
    font-size: 0.75rem;
  }
  .contact-form {
    padding: 0.5rem;
    border: 1px solid #333;
  }
  .form-group input,
  .form-group textarea {
    padding: 0.3rem;
    font-size: 0.8rem;
    border-radius: 4px;
  }
  .submit-button {
    padding: 0.5rem;
    font-size: 0.85rem;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .contact-page {
    padding: 1.5rem 0 !important;
  }
  .contact-banner {
    padding: 2.5rem 1.5rem;
  }
  .contact-banner h1 {
    font-size: 2.2rem;
  }
  .contact-form {
    padding: 1.5rem;
    max-width: 600px;
  }
  .form-group input,
  .form-group textarea {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
}

@media (min-width: 769px) {
  .contact-page {
    padding: 0.5rem 0 !important;
  }
  .contact-banner {
    padding: 3rem 2rem;
  }
  .contact-banner h1 {
    font-size: 3rem;
  }
  .contact-subtitle {
    font-size: 1.2rem;
  }
  .policy-meta {
    flex-direction: row;
    gap: 2rem;
    font-size: 0.95rem;
  }
  .contact-form {
    padding: 2rem;
    max-width: 600px;
  }
  .form-group label {
    font-size: 1rem;
  }
  .form-group input,
  .form-group textarea {
    font-size: 1rem;
    padding: 0.75rem;
  }
  .submit-button {
    font-size: 1.1rem;
    width: auto;
  }
}

@media (min-width: 1025px) {
  .contact-container {
    padding: 0 2rem;
  }
}


/* Search Icon and Bar */
.search-toggle {
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  transition: transform 0.3s ease !important;
}

.search-toggle:hover {
  transform: scale(1.1) !important;
}

.search-icon {
  width: 24px !important;
  height: 24px !important;
}

.search-bar {
  position: absolute !important;
  top: 64px !important;
  left: 0 !important;
  right: 0 !important;
  background: #1a1a1a !important;
  padding: 10px 16px !important;
  display: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  z-index: 999 !important;
  border-bottom: 1px solid #333 !important;
}

.search-bar.active {
  display: flex !important;
  justify-content: center !important;
}

#search-input {
  width: 100% !important;
  max-width: 500px !important;
  padding: 8px 12px !important;
  background: #000 !important;
  border: 2px solid #f0b90b !important;
  border-radius: 5px !important;
  color: #fff !important;
  font-size: 0.95rem !important;
  outline: none !important;
  box-shadow: 0 2px 8px rgba(240, 185, 11, 0.2) !important;
}

#search-input:focus {
  border-color: #ff6b35 !important;
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.3) !important;
}

.search-suggestions {
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100% !important;
  max-width: 500px !important;
  background: #1a1a1a !important;
  border-radius: 5px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  max-height: 300px !important;
  overflow-y: auto !important;
  z-index: 1000 !important;
  display: none !important;
}

.search-suggestions.active {
  display: block !important;
}

.suggestion-item {
  padding: 12px 16px !important;
  color: #fff !important;
  font-size: 0.95rem !important;
  cursor: pointer !important;
  border-bottom: 1px solid #333 !important;
  transition: background 0.3s ease !important;
}

.suggestion-item:last-child {
  border-bottom: none !important;
}

.suggestion-item:hover {
  background: #f0b90b !important;
  color: #000 !important;
}

.suggestion-item span {
  display: block !important;
  font-size: 0.85rem !important;
  color: #ccc !important;
}

.suggestion-item:hover span {
  color: #000 !important;
}

/* Desktop Layout - Barre + Input plus longs */
@media (min-width: 769px) {
  .site-header {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .search-toggle {
    margin-left: 8px !important;
    order: 2 !important;
  }

  .logo {
    order: 1 !important;
    position: static !important;
    transform: none !important;
  }

  .nav-menu {
    order: 3 !important;
    margin-left: auto !important;
  }

  .search-bar {
    top: 64px !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 5px 2px !important;
  }

  #search-input {
    max-width: 780px !important;
    font-size: 1rem !important;
    padding: 10px 16px !important;
  }

  .search-suggestions {
    max-width: 780px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

/* Mobile Layout - CORRIGÉ : Icône fixe, pas de descente */
@media (max-width: 768px) {
  .search-toggle {
    position: absolute !important;
    left: 56px !important;
    top: 20px !important;           /* FIXE : au lieu de top: 50% */
    transform: none !important;     /* SUPPRIMÉ : translateY(-50%) */
    margin-top: 0 !important;
  }

  .search-bar {
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    justify-content: center !important;
    padding: 3px 2px !important;
  }

  .search-suggestions {
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 24px) !important;
    max-width: 500px !important;
  }
}


/* Affiliate Point Component */
.affiliate-point-wrapper {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  z-index: 100; /* Au-dessus des autres éléments */
}

.affiliate-point {
  position: relative;
  display: flex;
  border: 2px solid #fff; 
  box-shadow: 0 2px 4px rgba(240, 185, 11, 0.2);
  align-items: center;
  border-radius: 50%;
  text-decoration: none;
}

.affiliate-dot {
  width: 15px;
  height: 15px;
  background: #f0b90b;
  border-radius: 50%;
  border: 2px solid #ff6b35; 
  box-shadow: 0 2px 4px rgba(240, 185, 11, 0.2);
  animation: pulse 1.5s infinite ease-in-out;
}

.affiliate-text {
  display: none;
  position: absolute;
  left: 20px;
  color: #f0b90b;
  font-size: 1rem;
  font-weight: 600;
  background: #1a1a1a;
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 4px rgba(240, 185, 11, 0.2) !important;
  border-radius: 25px;
  border: 1px solid #f0b90b;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.affiliate-point:hover .affiliate-text {
  display: block;
  opacity: 1;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(240, 185, 11, 0.6);
  }
  50% {
    transform: scale(1.4);
    box-shadow: 0 0 20px rgba(240, 185, 11, 0.9);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(240, 185, 11, 0.6);
  }
}

@media (max-width: 768px) {
  .affiliate-point-wrapper {
    left: 10px;
  }

  .affiliate-dot {
    width: 12px;
    height: 12px;
  }

  .affiliate-text {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
}




/* Snow Effect Section */
#snow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* Utiliser 100vh pour couvrir toute la hauteur de la fenêtre */
  pointer-events: none;
  z-index: 10000; /* Augmenter le z-index pour être au-dessus de tout */
  overflow: hidden;
}

.snowflake {
  position: absolute;
  top: -10px; /* Commencer légèrement au-dessus pour une apparition naturelle */
  color: #f0b90b !important; /* Couleur or principale */
  user-select: none;
  z-index: 10001; /* Légèrement supérieur au conteneur pour éviter tout conflit */
  pointer-events: none;
  animation: snowfall linear infinite;
}

.snowflake::before {
  content: "❄";
  font-size: 4px;
  line-height: 1;
}

@keyframes snowfall {
  to {
    transform: translateY(calc(100vh + 10px)) rotate(360deg); /* Ajuster pour couvrir toute la hauteur */
  }
}

/* Variantes pour plus de réalisme */
.snowflake:nth-child(odd) {
  color: #fff;
  animation-duration: 8s;
}

.snowflake:nth-child(even) {
  color: #ccc;
  animation-duration: 6s;
}

/* Responsive */
@media (max-width: 768px) {
  .snowflake::before {
    font-size: 3px;
  }
}


/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border: 2px solid #333; /* Added border */
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 0 12px rgba(240, 185, 11, 0.5); /* Brighter #f0b90b shadow */
  z-index: 1000;
  color: #fff;
}

.cookie-content h3 {
  color: #f0b90b;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.cookie-content p {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accept-btn {
  background: linear-gradient(90deg, #f0b90b, #ff6b35);
  color: #000;
}

.accept-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(240, 185, 11, 0.3);
}

.customize-btn {
  background: transparent;
  border: 2px solid #f0b90b;
  color: #f0b90b;
}

.customize-btn:hover {
  background: rgba(240, 185, 11, 0.1);
  transform: translateY(-2px);
}

/* Cookie Modal Styles */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border: 2px solid #333; /* Added border */
  border-radius: 10px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 0 12px rgba(240, 185, 11, 0.5); /* Brighter #f0b90b shadow */
  color: #fff;
}

.cookie-modal-content h3 {
  color: #f0b90b;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.cookie-option {
  margin: 1rem 0;
}

.cookie-option label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ccc;
  font-size: 1rem;
}

.cookie-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #f0b90b;
}

.cookie-modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.save-btn {
  background: linear-gradient(90deg, #f0b90b, #ff6b35);
  color: #000;
}

.save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(240, 185, 11, 0.3);
}

.cancel-btn {
  background: transparent;
  border: 2px solid #f0b90b;
  color: #f0b90b;
}

.cancel-btn:hover {
  background: rgba(240, 185, 11, 0.1);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-banner {
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 1rem;
  }

  .cookie-content h3 {
    font-size: 1.2rem;
  }

  .cookie-content p {
    font-size: 0.9rem;
  }

  .cookie-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .cookie-btn {
    width: 100%;
  }

  .cookie-modal-content {
    padding: 1.5rem;
  }
}


/* Tech Light Animation Styles */
.tech-light {
  position: fixed;
  top: 0; /* Ensure lights start at the top */
  width: 5px; /* Slightly thicker for more presence */
  height: 100px; /* Match JS height for desktop */
  background: linear-gradient(180deg, rgba(255, 210, 80, 0.5), rgba(255, 210, 80, 1), rgba(255, 210, 80, 0.5)); /* Vibrant gradient */
  box-shadow: 
    0 0 50px 10px rgba(255, 210, 80, 1), /* Strong inner glow */
    0 0 100px 20px rgba(255, 210, 80, 0.95); /* Wide outer glow */
  filter: brightness(3); /* Maximum brightness for eye-catching effect */
  z-index: 999; /* Ensure visibility below header */
  transition: transform 0.4s ease-out, box-shadow 0.3s ease-out; /* Smooth transitions */
  opacity: 1; /* Full opacity */
}

.left-light {
  left: 0;
}

.right-light {
  right: 0;
}

/* Pulsating Animation */
@keyframes pulse {
  0% { 
    box-shadow: 
      0 0 50px 10px rgba(255, 210, 80, 1), 
      0 0 100px 20px rgba(255, 210, 80, 0.95); 
  }
  50% { 
    box-shadow: 
      0 0 70px 15px rgba(255, 210, 80, 1), 
      0 0 140px 30px rgba(255, 210, 80, 1); /* More intense peak glow */
  }
  100% { 
    box-shadow: 
      0 0 50px 10px rgba(255, 210, 80, 1), 
      0 0 100px 20px rgba(255, 210, 80, 0.95); 
  }
}

.tech-light {
  animation: pulse 1.8s infinite ease-in-out; /* Fast, dynamic pulse */
}

/* Responsive Design */
@media (max-width: 768px) {
  .tech-light {
    width: 4px;
    height: 80px; /* Match JS height for mobile */
    background: linear-gradient(180deg, rgba(255, 210, 80, 0.5), rgba(255, 210, 80, 1), rgba(255, 210, 80, 0.5));
    box-shadow: 
      0 0 35px 8px rgba(255, 210, 80, 1), 
      0 0 70px 15px rgba(255, 210, 80, 0.95);
    filter: brightness(3);
  }

  @keyframes pulse {
    0% { 
      box-shadow: 
        0 0 35px 8px rgba(255, 210, 80, 1), 
        0 0 70px 15px rgba(255, 210, 80, 0.95); 
    }
    50% { 
      box-shadow: 
        0 0 50px 10px rgba(255, 210, 80, 1), 
        0 0 100px 20px rgba(255, 210, 80, 1); 
    }
    100% { 
      box-shadow: 
        0 0 35px 8px rgba(255, 210, 80, 1), 
        0 0 70px 15px rgba(255, 210, 80, 0.95); 
    }
  }
}



/* Header Glow Animation Styles */
.header-glow {
  position: fixed;
  top: 0; /* Positioned at the top of the viewport */
  left: 100%; /* Start off-screen to the right */
  width: 1500px; /* Width of the glow */
  height: 2px; /* Thin horizontal line */
  background: linear-gradient(
    90deg,
    rgba(255, 210, 80, 0.3), /* Faded start */
    rgba(255, 210, 80, 1), /* Solid yellow */
    rgba(255, 210, 80, 0.3) /* Faded end */
  );
  box-shadow: 
    0 0 50px 15px rgba(255, 210, 80, 1), /* Strong inner glow */
    0 0 100px 30px rgba(255, 210, 80, 0.9); /* Wide outer glow */
  filter: brightness(3); /* Very bright */
  z-index: 1000; /* Above header */
  animation: 
    moveHorizontal 10s linear infinite, /* Horizontal movement */
    pulseGlow 1.5s ease-in-out infinite; /* Vibrant pulsation */
}

/* Horizontal movement animation */
@keyframes moveHorizontal {
  0% {
    left: 100%; /* Start off-screen to the right */
  }
  100% {
    left: -80px; /* Move off-screen to the left (width of element) */
  }
}

/* Pulsating animation for vibrant effect */
@keyframes pulseGlow {
  0% {
    box-shadow: 
      0 0 50px 15px rgba(255, 210, 80, 1),
      0 0 100px 30px rgba(255, 210, 80, 0.9);
    transform: scaleX(1);
  }
  50% {
    box-shadow: 
      0 0 70px 20px rgba(255, 210, 80, 1), /* Stronger glow */
      0 0 120px 40px rgba(255, 210, 80, 1); /* Wider glow */
    transform: scaleX(1.2); /* Slight horizontal stretch */
  }
  100% {
    box-shadow: 
      0 0 50px 15px rgba(255, 210, 80, 1),
      0 0 100px 30px rgba(255, 210, 80, 0.9);
    transform: scaleX(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-glow {
    width: 1000px; /* Smaller width for mobile */
    height: 2px; /* Thinner line for mobile */
    background: linear-gradient(
      90deg,
      rgba(255, 210, 80, 0.3),
      rgba(255, 210, 80, 1),
      rgba(255, 210, 80, 0.3)
    );
    box-shadow: 
      0 0 30px 10px rgba(255, 210, 80, 1),
      0 0 60px 20px rgba(255, 210, 80, 0.9);
    filter: brightness(3);
  }

  @keyframes pulseGlow {
    0% {
      box-shadow: 
        0 0 30px 10px rgba(255, 210, 80, 1),
        0 0 60px 20px rgba(255, 210, 80, 0.9);
      transform: scaleX(1);
    }
    50% {
      box-shadow: 
        0 0 40px 15px rgba(255, 210, 80, 1),
        0 0 80px 25px rgba(255, 210, 80, 1);
      transform: scaleX(1.2);
    }
    100% {
      box-shadow: 
        0 0 30px 10px rgba(255, 210, 80, 1),
        0 0 60px 20px rgba(255, 210, 80, 0.9);
      transform: scaleX(1);
    }
  }
}


/* Expert Banner Slider */
.expert-banner-slider {
  position: relative;
  height: 450px;
  overflow: hidden;
  margin-top: 90px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.expert-banner-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.expert-banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.expert-banner-slide.active {
  opacity: 1;
}

.expert-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.expert-banner-slide h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #f0b90b;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 8px 16px rgba(240, 185, 11, 0.5) !important;
  border-radius: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.expert-banner-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.expert-banner-indicator {
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.expert-banner-indicator.active {
  background: #f0b90b;
}

@media (max-width: 768px) {
  .expert-banner-slider {
    height: 400px;
    margin-top: 80px;
  }

  .expert-banner-slide h1 {
    font-size: 1.8rem;
    padding: 0.4rem 0.8rem;
    width: 90%;
    line-height: 1.3;
  }

  .expert-banner-indicators {
    bottom: 12px;
    gap: 8px;
  }

  .expert-banner-indicator {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .expert-banner-slider {
    height: 350px;
    margin-top: 70px;
  }

  .expert-banner-slide h1 {
    font-size: 1.4rem;
    padding: 0.3rem 0.6rem;
    width: 85%;
  }

  .expert-banner-indicators {
    bottom: 10px;
    gap: 6px;
  }

  .expert-banner-indicator {
    width: 8px;
    height: 8px;
  }
}


/* Experts Products Section */
.experts-products-section {
  padding: 5px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.experts-products-section .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.experts-products-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
  color: #f0b90b;
}

.experts-products-section .section-subtitle {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 40px;
  color: #cccccc;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background-color: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid #f0b90b;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(240, 185, 11, 0.5);
}

.product-title {
  font-size: 1.2rem;
  text-align: center;
  padding: 20px;
  margin: 0;
  color: #ffffff;
}

/* === SLIDER + FLÈCHES === */
.product-slider {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  user-select: none;
  cursor: grab;
}

.product-slider:active {
  cursor: grabbing;
}

.product-slider-images {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.4s ease;
}

.product-slider-image {
  width: 33.333%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-slider-image.active {
  opacity: 1;
}

/* === FLÈCHES === */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #f0b90b;
  border: none;
  background: none !important;
  width: 30px;
  height: 30px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background: none !important;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

/* === DESCRIPTION === */
.product-description {
  padding: 20px;
  font-size: 1rem;
  color: #cccccc;
}

.description-text {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  transition: all 0.3s ease;
}

.description-text.expanded {
  -webkit-line-clamp: unset;
}

.read-more, .read-less {
  color: #f0b90b;
  cursor: pointer;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
}

.read-less {
  display: none;
}

/* === BOUTON CTA - CENTRÉ PARFAITEMENT (TOUS ÉCRANS) === */
.product-card .cta-button {
  display: block !important;
  width: fit-content !important;
  margin: 20px auto !important;           /* ← CENTRAGE ABSOLU */
  text-align: center !important;
  padding: 12px 30px !important;
  background-color: #f0b90b !important;
  color: #1a1a1a !important;
  text-decoration: none !important;
  font-weight: bold !important;
  border-radius: 30px !important;
  border: 2px solid #fff !important;
  transition: background-color 0.3s ease !important;
  box-sizing: border-box !important;
}

.product-card .cta-button:hover {
  background-color: #d4a00a !important;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .experts-products-section .container {
    padding: 5px;
  }

  .experts-products-section h2 {
    font-size: 1.5rem;
    padding: 0 10px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }

  .product-slider {
    height: 160px;
  }

  .product-title {
    font-size: 1.2rem;
    padding: 18px;
  }

  .slider-arrow {
    width: 20px;
    height: 20px;
    font-size: 1rem;
  }

  .left-arrow { left: 8px; }
  .right-arrow { right: 8px; }

  /* === MOBILE : BOUTON LARGE + CENTRÉ === */
  .product-card .cta-button {
    width: calc(100% - 40px) !important;   /* Pleine largeur - marges */
    margin: 15px auto !important;          /* ← Toujours centré */
    padding: 14px 20px !important;
    font-size: 1rem !important;
  }
}



/* Authentication Icon */
.auth-icon {
  display: flex;
  align-items: center;
  margin-left: 12px;
  transition: opacity 0.3s ease;
}
.auth-icon-svg {
  transition: transform 0.3s ease;
}
.auth-icon:hover .auth-icon-svg {
  transform: scale(1.1);
}
.auth-menu-item {
  display: none;
}
/* Auth Banner for Signup, Login, and Profile Pages */
.auth-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  box-shadow: 0 8px 32px rgba(240, 185, 11, 0.1);
  text-align: center;
}
/* Signup Section */
.signup-section {
  padding: 10px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  color: #fff;
  margin-top: 100px;
}
.signup-section .container {
  max-width: 1600px !important;
  margin: 0 auto;
  padding: 0 20px;
  box-shadow: 0 4px 12px rgba(255, 69, 0, 0.15);
  box-sizing: border-box;
}
.signup-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #f0b90b;
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
}
.signup-section .section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #b0b0b0;
  margin-bottom: 30px;
}
.signup-section .signup-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #2a2a2a;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 69, 0, 0.15);
  border: 1px solid #3a3a3a;
}
.signup-section .form-group {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(255, 69, 0, 0.15);
}
.signup-section .form-group label {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #f0b90b;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.signup-section .form-group input {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #f0b90b;
  border-radius: 5px;
  background: #252525;
  color: #fff;
  transition: border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
}
.signup-section .form-group input:focus {
  outline: none;
  border-color: #fff;
}
.signup-section .signup-btn {
  background: linear-gradient(90deg, #f0b90b, #d4a017);
  color: #1a1a1a;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.signup-section .signup-btn:hover {
  background: linear-gradient(90deg, #d4a017, #f0b90b);
  transform: scale(1.05);
}
.signup-section .signup-message {
  text-align: center;
  margin-top: 15px;
  font-size: 1rem;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  background: #333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: none;
}
.signup-section .signup-message.show {
  display: block;
  opacity: 1;
}
.signup-section .signup-message.error {
  background: #ff4d4d;
  color: #fff;
}
.signup-section .login-prompt {
  text-align: center;
  margin-top: 15px;
  font-size: 0.9rem;
  color: #b0b0b0;
}
.signup-section .login-prompt a {
  color: #f0b90b;
  text-decoration: none;
}
.signup-section .login-prompt a:hover {
  text-decoration: underline;
}
/* Login Section */
.login-section {
  padding: 10px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  color: #fff;
  margin-top: 100px;
}
.login-section .container {
  max-width: 1600px !important;
  margin: 0 auto;
  padding: 0 20px;
  box-shadow: 0 4px 12px rgba(255, 69, 0, 0.15);
  box-sizing: border-box;
}
.login-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #f0b90b;
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
}
.login-section .section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #b0b0b0;
  margin-bottom: 30px;
}
.login-section .login-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #2a2a2a;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 69, 0, 0.15);
  border: 1px solid #3a3a3a;
}
.login-section .form-group {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(255, 69, 0, 0.15);
}
.login-section .form-group label {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #f0b90b;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.login-section .form-group input {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #f0b90b;
  border-radius: 5px;
  background: #252525;
  color: #fff;
  transition: border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
}
.login-section .login-btn {
  background: linear-gradient(90deg, #f0b90b, #d4a017);
  color: #1a1a1a;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.login-section .login-btn:hover {
  background: linear-gradient(90deg, #d4a017, #f0b90b);
  transform: scale(1.05);
}
.login-section .login-message {
  text-align: center;
  margin-top: 15px;
  font-size: 1rem;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  background: #333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: none;
}
.login-section .login-message.show {
  display: block;
  opacity: 1;
}
.login-section .login-message.error {
  background: #ff4d4d;
  color: #fff;
}
.login-section .signup-prompt {
  text-align: center;
  margin-top: 15px;
  font-size: 0.9rem;
  color: #b0b0b0;
}
.login-section .signup-prompt a {
  color: #f0b90b;
  text-decoration: none;
}
.login-section .signup-prompt a:hover {
  text-decoration: underline;
}
/* Password Toggle Icon */
.password-container {
  position: relative;
}
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.password-wrapper input {
  width: 100%;
  padding-right: 40px; /* Espace pour l'icône */
  height: 40px; /* Standardiser la hauteur pour un meilleur alignement */
  box-sizing: border-box;
}
.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%; /* Centrer verticalement */
  transform: translateY(-50%) !important; /* Ajuster pour aligner au centre */
  background: none !important; /* Fond gris foncé pour le bouton */
  border: none;
  cursor: pointer;
  padding: 4px; /* Petit padding pour le fond */
  border-radius: 4px; /* Coins arrondis pour le fond */
  display: flex;
  align-items: center;
  justify-content: center;
}
.toggle-password .eye-icon,
.toggle-password .eye-icon-off {
  width: 24px;
  height: 24px;
  fill: #ffffff !important; /* Couleur blanche pour l'icône */
  transition: transform 0.3s ease;
}
.toggle-password:hover .eye-icon,
.toggle-password:hover .eye-icon-off {
  transform: scale(1.1) !important;
}
/* Profile Section */
.profile-section {
  padding: 10px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  color: #fff;
  min-height: calc(100vh - 200px);
  margin-top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0; /* Ajouté pour supprimer l'espace vide en bas sur desktop */
}
.profile-section .container {
  max-width: 1600px !important;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.profile-section h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #f0b90b;
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
}
.profile-section .section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #b0b0b0;
  margin-bottom: 30px;
}
.profile-section .profile-details {
  background: linear-gradient(135deg, #2a2a2a 0%, #2f2f2f 100%);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(255, 69, 0, 0.2);
  border: 1px solid #3a3a3a;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 100%;
  box-sizing: border-box;
}
.profile-section .profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  justify-content: center;
}
.profile-section .profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #f0b90b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #1a1a1a;
  font-weight: bold;
  border: 2px solid #fff;
  background-size: cover;
}
.profile-section .profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}
.profile-section .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: #333333;
  border-radius: 8px;
  border: 1px solid #444;
  transition: transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(255, 69, 0, 0.15);
  overflow: hidden;
}
.profile-section .form-group:hover {
  transform: translateY(-2px);
}
.profile-section .form-group label {
  font-size: 1rem;
  color: #f0b90b;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.profile-section .profile-value {
  font-size: 1rem;
  color: #fff;
  background: #252525;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #444;
  overflow-wrap: break-word;
  word-break: break-all;
  max-width: 100%;
}
.wallet-container {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  overflow: hidden;
}
.copy-button {
  background: #fff !important; /* Changé : Nouvelle couleur de fond (vert) */
  border: none;
  cursor: pointer;
  padding: 5px;
  transition: transform 0.3s ease, background 0.3s ease;
  border-radius: 5px;
}
.copy-button:hover {
  transform: scale(1.1);
  background: #ff6b35 !important; /* Changé : Variation plus sombre au survol */
}
.copy-button svg {
  vertical-align: middle;
  fill: #f0b90b !important; /* Changé : Nouvelle couleur de l'icône (jaune) */
}
/* Ajustement du message "Wallet address copied" */
.profile-section .profile-message {
  text-align: center;
  margin-top: 10px; /* Réduit pour remonter le message */
  font-size: 1rem;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  background: #333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: none;
  position: relative; /* Ajouté pour un meilleur contrôle du positionnement */
}
.profile-section .profile-message.show {
  display: block;
  opacity: 1;
}
.profile-section .profile-message.error {
  background: #ff4d4d;
  color: #fff;
}
.profile-section .cta-button {
  background: linear-gradient(90deg, #f0b90b, #d4a017);
  color: #1a1a1a;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  margin: 20px auto 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.profile-section .cta-button:hover {
  background: linear-gradient(90deg, #d4a017, #f0b90b);
  transform: scale(1.05);
}
.profile-section .edit-button {
  background: transparent;
  border: 2px solid #f0b90b;
  color: #f0b90b;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  margin: 10px auto;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.profile-section .edit-button:hover {
  background: #f0b90b;
  color: #1a1a1a;
  transform: scale(1.05);
}
/* Edit Profile Form */
.profile-section .edit-profile-form {
  max-width: 500px !important;
  margin: 20px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #2a2a2a;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3a3a3a;
}
.profile-section .edit-profile-form .form-group {
  display: flex;
  flex-direction: column;
  border: none;
  max-width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(255, 69, 0, 0.15);
}
.profile-section .edit-profile-form label {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #f0b90b;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-section .edit-profile-form input[type="text"],
.profile-section .edit-profile-form input[type="file"] {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #f0b90b;
  border-radius: 5px;
  background: #252525;
  color: #fff;
  transition: border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
}
.profile-section .edit-profile-form input[type="file"] {
  padding: 5px;
}
.profile-section .edit-profile-form input:focus {
  outline: none;
  border-color: #fff;
}
.profile-section .edit-profile-form .cta-button {
  margin-top: 10px;
}
.profile-section .edit-profile-form .edit-button {
  background: transparent;
  border: 2px solid #ff4d4d;
  color: #ff4d4d;
}
.profile-section .edit-profile-form .edit-button:hover {
  background: #ff4d4d;
  color: #fff;
}
/* Responsive Adjustments */
@media (max-width: 480px) {
  .auth-banner {
    padding: 0.5rem;
  }
  .auth-banner h2 {
    font-size: 1.6rem;
  }
  .auth-banner .section-subtitle {
    font-size: 0.85rem;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .auth-banner {
    padding: 1rem 1.5rem;
  }
  .auth-banner h2 {
    font-size: 1.8rem;
  }
  .auth-banner .section-subtitle {
    font-size: 1rem;
  }
}
@media (min-width: 769px) {
  .auth-icon {
    order: 3;
    margin-left: 10px;
  }
  .auth-banner {
    padding: 2rem;
  }
  .auth-banner h2 {
    font-size: 2.2rem;
  }
  .auth-banner .section-subtitle {
    font-size: 1.2rem;
  }
}
@media (max-width: 768px) {
  .auth-icon {
    display: none;
    opacity: 0;
  }
  .auth-menu-item {
    display: flex;
    align-items: center;
    order: 999;
  }
  .auth-menu-item .auth-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    padding: 12px;
    transition: color 0.3s ease;
  }
  .auth-menu-item .auth-link:hover {
    color: #f0b90b;
  }
  .profile-section {
    padding: 20px 0;
    margin-top: 100px; /* Augmenté pour descendre la section et éviter la barre d'annonce */
  }
  .profile-section .container {
    padding: 0; /* Supprime le padding pour maximiser la largeur */
  }
  .profile-section .profile-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .profile-section .profile-header {
    flex-direction: column;
    align-items: center;
  }
  .profile-section .profile-avatar {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
  }
  .profile-section h2 {
    font-size: 1.8rem;
  }
  .profile-section .section-subtitle {
    font-size: 1rem;
  }
  .profile-section .edit-profile-form {
    max-width: 100% !important;
    width: 100% !important;
    padding: 15px;
    margin: 0; /* Supprime les marges pour éviter le décalage */
  }
  .profile-section .form-group {
    padding: 10px;
  }
  .profile-section .profile-value {
    font-size: 0.9rem;
    padding: 6px;
  }
  .wallet-container {
    flex-wrap: wrap;
  }
  .profile-section .profile-message {
    margin-top: 8px; /* Réduit légèrement pour mobile */
  }
  .signup-section,
  .login-section {
    padding: 20px 0;
    margin-top: 100px; /* Ajusté pour cohérence avec .profile-section */
  }
  .signup-section .container,
  .login-section .container {
    padding: 0; /* Supprime le padding pour maximiser la largeur */
  }
  .signup-section .signup-form,
  .login-section .login-form {
    max-width: 100% !important; /* Utiliser toute la largeur disponible */
    width: 100% !important; /* Inspiré de .converter-form */
    padding: 15px;
    margin: 0 auto; /* Centre les formulaires */
    box-sizing: border-box; /* Assure que le padding ne dépasse pas */
  }
  .password-wrapper input {
    padding-right: 35px; /* Ajustement pour mobile */
    height: 36px; /* Hauteur légèrement réduite pour mobile */
  }
  .toggle-password {
    right: 8px;
    top: 50%; /* Centrer verticalement sur mobile */
    transform: translateY(-50%) !important; /* Ajuster pour aligner au centre */
    background: none !important; /* Fond gris foncé pour mobile */
    padding: 3px; /* Padding réduit pour mobile */
  }
  .toggle-password .eye-icon,
  .toggle-password .eye-icon-off {
    width: 20px;
    height: 20px;
    fill: #ffffff !important; /* Couleur blanche pour l'icône sur mobile */
  }
}
@media (min-width: 1025px) {
  .auth-banner {
    padding: 2rem;
  }
}



/* === SECTION PERSONNALISÉE === */
.custom-crypto-selector-section{
  background:#1a1a1a;
  padding:0.5rem 1rem;               /* réduit le padding vertical */
  border-top:1px solid #333;
  border-bottom:1px solid #333;
}

/* container large */
.custom-crypto-selector-section .container{
  max-width:1400px;
  margin:0 auto;
}

/* titre */
.section-header h2{
  font-size:2.1rem;
  color:#f0b90b;
  font-weight:700;
  text-align:center;
  margin-bottom:1rem;
}

/* BARRE DE RECHERCHE – largeur 100 % */
.crypto-search-bar{
  position:relative;
  margin-bottom:0.4rem;            /* espace très réduit */
}

/* input large */
#crypto-search-input{
  width:100%;
  padding:0.9rem 3rem 0.9rem 1rem; /* place pour l’icône à droite */
  font-size:1rem;
  background:#000;
  border:1px solid #333;
  border-radius:10px;
  color:#fff;
  outline:none;
  transition:border .3s ease;
}
#crypto-search-input:focus{
  border-color:#f0b90b;
}

/* ICÔNE DE RECHERCHE – cliquable */
#crypto-search-icon{
  position:absolute;
  right:0.9rem;
  top:50%;
  transform:translateY(-50%);
  width:22px;
  height:22px;
  color:#bbb;
  cursor:pointer;
  pointer-events:auto;
}
#crypto-search-icon:hover{ color:#f0b90b; }

/* DROPDOWN – hauteur raisonnable, pas d’espace inutile */
.crypto-dropdown{
  position:absolute;
  top:100%; left:0; right:0;
  max-height:260px;               /* réduit la hauteur */
  overflow-y:auto;
  background:#000;
  border:1px solid #333;
  border-top:none;
  border-radius:0 0 10px 10px;
  z-index:10;
  display:none;
  box-shadow:0 8px 16px rgba(0,0,0,.3);
}
.crypto-dropdown.active{display:block;}

/* items du dropdown */
.crypto-item{
  display:flex;
  align-items:center;
  gap:.7rem;
  padding:.3rem .9rem;
  cursor:pointer;
  transition:background .2s;
  border-bottom:1px solid #222;
}
.crypto-item:hover{background:#1a1a1a;}
.crypto-item img{
  width:26px;height:26px;border-radius:50%;flex-shrink:0;
}
.crypto-item .crypto-name{
  flex:1;font-size:.94rem;color:#fff;
}
.crypto-item input[type="checkbox"]{
  accent-color:#f0b90b;transform:scale(1.3);cursor:pointer;
}

/* TAGS SÉLECTIONNÉS */
.selected-cryptos{
  display:flex;flex-wrap:wrap;gap:.5rem;
  margin-bottom:1rem;min-height:38px;
}
.selected-tag{
  display:flex;align-items:center;gap:.4rem;
  background:#2a2a2a;color:#fff;
  padding:.45rem .8rem;border-radius:25px;
  font-size:.88rem;border:1px solid #444;
}
.selected-tag img{width:18px;height:18px;border-radius:50%;flex-shrink:0;}
.remove-tag{cursor:pointer;color:#f6465d;font-weight:bold;font-size:1.2rem;margin-left:.2rem;}

/* BOUTON */
.view-results-wrapper{text-align:center;margin:1.5rem 0;}

/* RÉSULTATS */
.results-container{margin-top:1.5rem;}
.results-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem;}
.result-card{background:#000;border:1px solid #333;border-radius:12px;padding:1.2rem;}
.result-card h3{text-align:center;font-size:1.35rem;margin-bottom:.8rem;font-weight:600;}
.result-card.gainers h3{color:#26a17b;}
.result-card.losers h3{color:#f6465d;}
.crypto-list{display:flex;flex-direction:column;gap:.7rem;}
.crypto-result-item{
  display:flex;align-items:center;justify-content:space-between;
  padding:.7rem .9rem;background:#1a1a1a;
  border-radius:8px;border-left:4px solid;
}
.crypto-result-item.gainer{border-left-color:#26a17b;}
.crypto-result-item.loser{border-left-color:#f6465d;}
.crypto-result-left{display:flex;align-items:center;gap:.7rem;}
.crypto-result-left img{width:32px;height:32px;border-radius:50%;}
.crypto-result-name{font-weight:600;color:#fff;}
.crypto-result-symbol{font-size:.78rem;color:#ccc;}
.crypto-result-change{font-weight:600;font-size:.93rem;}
.crypto-result-change.gain{color:#26a17b;}
.crypto-result-change.loss{color:#f6465d;}

/* PLACEHOLDERS D’IMAGES (fallback) */
img[src*="via.placeholder.com"]{
  background:#333;color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:9px;font-weight:bold;
}

/* RESPONSIVE */
@media (max-width:768px){
  .section-header h2{font-size:1.85rem;}
  .results-grid{grid-template-columns:1fr;}
  .crypto-result-item{flex-direction:column;align-items:flex-start;gap:.4rem;}
  .crypto-result-change{align-self:flex-end;}
}