#products {
  margin-bottom: 15rem;
}




/* Groupe / Product card (Global) */
.group-card {
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 300ms ease;
  border-radius: 0.5rem;
  /* Default colors, will be overridden by JS */
  --card-color: rgb(var(--cl-accent));
  --card-color-rgb: var(--cl-accent);
}
.group-card:hover { border-color: var(--card-color); }
.group-card img {
  transition: transform 400ms cubic-bezier(.2,.8,.2,1);
  display: block;
  width: 100%;
}
.group-card:hover img { transform: scale(1.08); }

/* Overlay sombre centré */
.group-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.75rem;
  background: rgba(0, 0, 0, 0);
  transition: background 300ms ease;
}
.group-card:hover .group-card-overlay {
  background: rgba(0, 0, 0, 0.25);
}

/* Capsule label */
.group-card-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  background: var(--card-color);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 9999px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  box-shadow: 0 0 16px rgba(var(--card-color-rgb), 0.5);
  /* Invisible par défaut */
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 300ms cubic-bezier(.2,.8,.2,1),
              transform 300ms cubic-bezier(.2,.8,.2,1),
              box-shadow 300ms ease;
}
.group-card:hover .group-card-label {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 28px rgba(var(--card-color-rgb), 0.85);
}
/* Download / Status Item Style */
.download-item {
  background: rgba(14, 14, 16, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.download-item::before {
  content: none;
}

.download-item:hover {
  border-color: rgba(var(--cl-accent), 0.5);
}

.item-info {
  flex: 1;
}

.item-name {
  font-size: 15px;
  font-weight: 700;
  color: #f0f0f0;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.item-details {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.05);
}

.download-btn {
  background: transparent;
  color: rgb(var(--cl-accent));
  border: 1px solid rgba(var(--cl-accent), 0.4);
  padding: 9px 20px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 1.5px;
  text-decoration: none;
  display: inline-block;
  position: relative;
  z-index: 1;
}

.download-btn:hover {
  background: rgb(var(--cl-accent));
  color: #ffffff;
  border-color: rgb(var(--cl-accent));
}

/* Titre de section pour Download / Statut */
.section-title-download {
  font-size: 13px;
  font-weight: 800;
  color: rgb(var(--cl-accent));
  margin-bottom: 12px;
  margin-top: 32px;
  text-transform: uppercase;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title-download::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 14px;
  background: rgb(var(--cl-accent));
  border-radius: 2px;
}

.section-title-download::after {
  content: none;
}

@media (max-width: 768px) {
  .download-item {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .item-details {
    justify-content: center;
    flex-wrap: wrap;
  }
  .section-title-download::after {
    display: none;
  }
}

/* Animated button utility class */
.btn-animated {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease-out, background-color 0.2s ease-out, border-color 0.2s ease-out !important;
}
.btn-animated:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px -6px rgba(var(--cl-accent), 0.4);
}
.btn-animated:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 10px -4px rgba(var(--cl-accent), 0.3);
}

/* Navbar Link Animated Underline */
.nav-link-animated {
  position: relative;
  display: inline-block;
}
.nav-link-animated::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: rgb(var(--cl-accent)) !important;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
.nav-link-animated:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* ==========================================
   SCROLLBAR SUR-MESURE (PREMIUM)
   ========================================== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #09090b; /* Correspond au bg-background de ton thème */
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background: #27272a; /* Une nuance un peu plus claire pour le pouce */
  border-radius: 10px;
  border: 2px solid #09090b; /* Crée un petit effet de padding autour */
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgb(var(--cl-accent));
}

/* ==========================================
   SÉLECTION DE TEXTE SUR-MESURE
   ========================================== */
::selection {
  background-color: rgb(var(--cl-accent));
  color: #ffffff;
}

::-moz-selection {
  background-color: rgb(var(--cl-accent));
  color: #ffffff;
}