/* Fond boreal rouge-noir qui bouge lentement */
body {
  background: linear-gradient(-45deg, #8B0000, #300000, #000000, #1a0000, #300000, #8B0000);
  background-size: 300% 300%;
  animation: borealGradient 28s ease infinite; /* 28s pour plus lent et chill */
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

@keyframes borealGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Overlay subtil pour vibe boreal sombre/profondeur */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(139,0,0,0.10) 0%, rgba(0,0,0,0.70) 70%);
  pointer-events: none;
  z-index: -1;
  animation: subtlePulse 20s ease-in-out infinite alternate;
}

@keyframes subtlePulse {
  0%   { opacity: 0.45; }
  100% { opacity: 0.75; }
}

/* Smooth scroll fluide avec easing naturel (delay/freine à la fin) */
html {
  scroll-behavior: smooth !important;
}

/* Scrollbar custom rouge/noir – fine et stylée */
html, body {
  scrollbar-width: thin;          /* Firefox/Edge */
  scrollbar-color: #000000 #1a0000;
}

::-webkit-scrollbar {
  width: 10px;                    /* Chrome/Safari */
}

::-webkit-scrollbar-track {
  background: #1a0000;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #ff0000;
  border-radius: 10px;
  border: 3px solid #1a0000;     /* Pour un contour noir clean */
}

::-webkit-scrollbar-thumb:hover {
  background: #ff0000;            /* Rouge plus vif au survol */
}

/* ============================================== */
/* NAVBAR : OPACITÉ PLUS BASSE + EFFET VERRE      */
/* ============================================== */
.navbar, nav.navbar, .navbar-expand-lg, .component[data-component-id="navbar"] {
  background: rgba(0, 0, 0, 0.68) !important; /* Opacité réduite à 68% - plus transparent/gris */
  backdrop-filter: blur(14px) !important;     /* Verre dépoli plus prononcé */
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(255, 0, 0, 0.06) !important; /* Bordure rouge ultra subtile */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
}

/* Contenu reste bien visible */
.navbar-brand, .nav-link, .btn, .cart-icon, .navbar-toggler {
  opacity: 1 !important;
}

/* ============================================== */
/* BOUTONS CLEAN + OPACITÉ ROUGE CLAIR (PAS REMPLI) */
/* ============================================== */
.btn, .btn-primary, .btn-outline-primary, .btn-login, .nav-item .btn {
  border-radius: 8px !important;
  padding: 8px 18px !important;
  font-weight: 600 !important;
  border: 1px solid rgba(255, 0, 0, 0.5) !important; /* Bordure rouge claire */
  background: rgba(255, 0, 0, 0.25) !important; /* Rouge très transparent, pas rempli */
  color: #fff !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(4px) !important;
}

.btn:hover, .btn-primary:hover, .btn-outline-primary:hover, .btn-login:hover, .nav-item .btn:hover {
  background: rgba(255, 0, 0, 0.45) !important; /* Rouge un peu plus opaque au hover */
  border-color: #ff0000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(255,0,0,0.35) !important;
}

/* Bouton Discord spécifique (rouge transparent + hover) */
a[href*="discord.gg"], .discord-menu-btn, .nav-link[href*="discord.gg"] {
  background: rgba(255, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 0, 0, 0.5) !important;
  color: #fff !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

a[href*="discord.gg"]:hover, .discord-menu-btn:hover, .nav-link[href*="discord.gg"]:hover {
  background: rgba(255, 0, 0, 0.45) !important;
  border-color: #ff0000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(255,0,0,0.35) !important;
}

/* Liens normaux du menu (clean) */
.nav-link {
  padding: 8px 16px !important;
  border-radius: 6px !important;
  transition: all 0.3s ease !important;
}

.nav-link:hover {
  background: rgba(255,0,0,0.12) !important;
  color: #ff0000 !important;
}

/* ============================================== */
/* GLOW ROUGE SUBTIL POUR LE TITRE (comme avant)  */
/* ============================================== */
h1, .hero h1, .display-6, .display-5, .main-title, .hero-title, .product-page-title, .section-title h2 {
  text-shadow: 
    0 0 2px rgba(255,0,0,0.5),
    0 0 4px rgba(255,0,0,0.3);
  color: #fff;
  animation: glowPulse 5s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from {
    text-shadow: 
      0 0 2px rgba(255,0,0,0.5),
      0 0 4px rgba(255,0,0,0.3);
  }
  to {
    text-shadow: 
      0 0 4px rgba(255,0,0,0.6),
      0 0 8px rgba(255,0,0,0.4);
  }
}
/* VIRE LES BORDURES NOIRES DES IMAGES PRODUITS - REMPLISSAGE TOTAL */
.product-card .card-img-top,
.product-card img,
.card-img-top img,
.products .card img,
.featured-products img,
img[loading="lazy"] {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;       /* Remplit tout, coupe les bords si besoin */
  object-position: center !important;  /* Centre l'image */
  aspect-ratio: 16 / 9 !important;     /* Force le ratio 16:9 comme les autres cartes */
  border-radius: 5 !important;         /* Enlève les coins arrondis si ça gêne */
}
/* Logo au-dessus + glow violet */
.hero-logo-wrapper {
  text-align: center;
  margin-bottom: 25px;
}

.hero-logo-above {
  width: 140px;
  height: auto;
  filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.8));
  animation: logoPulse 3.5s ease-in-out infinite alternate;
}

@keyframes logoPulse {
  from { transform: scale(1); opacity: 0.9; }
  to   { transform: scale(1.06); opacity: 1; }
}

.hero-main-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 25px;
  text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.gradient-violet {
  background: linear-gradient(90deg, #f75555, #fc8484, #ce2222);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-logo-above { width: 100px; margin-bottom: 15px; }
  .hero-main-title { font-size: 2.8rem; }
}
/* Stats en bas du titre - plus petit, sans emoji, sans agrandissement */
.hero-stats {
  margin: 20px auto 0;
  text-align: center;
}

.stats-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 600px;
}

.stat-btn {
  background: rgba(255, 0, 0, 0.18);
  border: 1px solid rgba(255, 0, 0, 0.45);
  border-radius: 50px;
  padding: 8px 18px; /* plus petit */
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem; /* texte réduit */
  backdrop-filter: blur(8px);
  transition: all 0.35s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.stat-btn:hover {
  background: rgba(255, 0, 0, 0.32);
  border-color: #ff0000;
  transform: translateY(-2px); /* juste un micro soulèvement */
  box-shadow: 0 6px 18px rgba(255, 0, 0, 0.35); /* ombre rouge discrète */
}

.stat-btn .value {
  font-size: 1.1rem;
  font-weight: 700;
}

.stat-btn .label {
  font-size: 0.85rem;
  color: #d1d5db;
  opacity: 0.9;
}

/* Responsive - encore plus compact sur mobile */
@media (max-width: 768px) {
  .stats-buttons { gap: 10px; }
  .stat-btn { padding: 7px 16px; font-size: 0.85rem; }
  .stat-btn .value { font-size: 1rem; }
}
/* Logo au-dessus + glow rouge */
.hero-logo-wrapper {
  text-align: center;
  margin-bottom: 20px;
}

.hero-logo-above {
  width: 120px; /* petit comme OD */
  height: auto;
  filter: drop-shadow(0 0 12px rgba(255, 0, 0, 0.6));
}

/* Titre avec rouge gradiant sur "Cheapest Tools" */
.hero-main-title {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 20px;
  text-shadow: 0 0 18px rgba(255, 0, 0, 0.5);
}

.gradient-red {
  background: linear-gradient(90deg, #ff416c, #ff4b2b, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Stats petites, centrées, rouge, sans agrandissement */
.hero-stats {
  margin: 20px auto 0;
  text-align: center;
}

.stats-buttons {
  display: flex;
  justify-content: center !important;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}

.stat-btn {
  background: rgba(255, 0, 0, 0.18);
  border: 1px solid rgba(255, 0, 0, 0.45);
  border-radius: 50px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
  transition: all 0.35s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  transform: scale(1) !important;
}

.stat-btn:hover {
  background: rgba(255, 0, 0, 0.32);
  border-color: #ff0000;
  transform: translateY(-2px) !important; /* juste soulèvement vertical */
  box-shadow: 0 6px 18px rgba(255, 0, 0, 0.35);
  scale: 1 !important; /* bloque tout agrandissement */
}

.stat-btn .value {
  font-size: 1.1rem;
  font-weight: 700;
}

.stat-btn .label {
  font-size: 0.85rem;
  color: #d1d5db;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .stats-buttons { gap: 10px; }
  .stat-btn { padding: 7px 16px; font-size: 0.85rem; }
  .stat-btn .value { font-size: 1rem; }
  .hero-logo-above { width: 90px; }
  .hero-main-title { font-size: 2.8rem; }
}
/* Petits pointillés en arrière-plan comme OD Services */
body::after,
.hero::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2; /* derrière tout le contenu mais devant le fond */
  background-image: 
    radial-gradient(circle 1px at 20% 30%, rgba(255, 0, 0, 0.4) 1px, transparent 1px),
    radial-gradient(circle 1px at 50% 60%, rgba(255, 0, 0, 0.3) 1px, transparent 1px),
    radial-gradient(circle 1px at 80% 40%, rgba(255, 0, 0, 0.35) 1px, transparent 1px),
    radial-gradient(circle 1px at 10% 80%, rgba(255, 0, 0, 0.4) 1px, transparent 1px),
    radial-gradient(circle 1px at 70% 20%, rgba(255, 0, 0, 0.3) 1px, transparent 1px),
    radial-gradient(circle 1px at 30% 70%, rgba(255, 0, 0, 0.35) 1px, transparent 1px);
  background-size: 80px 80px; /* espacement des points - ajuste si tu veux plus serré ou plus large */
  opacity: 0.25; /* transparence légère pour pas que ça prenne le dessus */
  animation: dotsFloat 40s linear infinite; /* petit mouvement lent */
}

@keyframes dotsFloat {
  0%   { background-position: 0 0; }
  100% { background-position: 100px 100px; } /* mouvement diagonal très lent */
}

/* Option : plus de points + plus aléatoire */
body::before,
.hero::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image: 
    radial-gradient(circle 1.2px at 15% 25%, rgba(255, 0, 0, 0.3) 1px, transparent 1px),
    radial-gradient(circle 0.8px at 45% 55%, rgba(255, 0, 0, 0.25) 1px, transparent 1px),
    radial-gradient(circle 1px at 85% 35%, rgba(255, 0, 0, 0.35) 1px, transparent 1px),
    radial-gradient(circle 1.5px at 5% 75%, rgba(255, 0, 0, 0.3) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.15;
  animation: dotsFloat2 60s linear infinite reverse;
}

@keyframes dotsFloat2 {
  0%   { background-position: 0 0; }
  100% { background-position: -120px -120px; }
}
/* Bloc description : tout noir + un peu transparent + contour rouge smooth */
.product-description-block,
.editor,
.product-tabs .content > div {
  background: rgba(0, 0, 0, 0.274) !important; /* tout noir semi-transparent */
  border: 1px solid rgba(255, 0, 0, 0.55) !important; /* contour rouge plus visible */
  border-radius: 10px !important;
  padding: 20px 24px !important;
  margin: 20px 0 !important;
  color: #e0e0e0 !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6) !important;
  backdrop-filter: blur(6px) !important; /* petit flou pour le côté transparent premium */
  transition: all 0.3s ease !important;
}

.product-description-block:hover,
.editor:hover,
.product-tabs .content > div:hover {
  border-color: rgba(255, 0, 0, 0.8) !important;
  box-shadow: 0 8px 25px rgba(255, 51, 51, 0.3) !important;
}
/* Contour rouge smooth autour des cartes produits */
.card, .product-card {
  border: 1px solid rgba(255, 0, 0, 0.35) !important; /* contour rouge subtil */
  border-radius: 12px !important;
  overflow: hidden;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;
  background: rgba(2, 2, 2, 0.459) !important; /* fond légèrement plus sombre pour le contraste */
}

.card:hover, .product-card:hover {
  border-color: rgba(255, 0, 0, 0.75) !important;
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.25) !important;
  transform: translateY(-4px) !important; /* petit soulèvement au hover */
}

/* Option : contour plus visible même sans hover */
.card, .product-card {
  border-color: rgba(255, 0, 0, 0.5) !important;
}

/* Si tu veux un glow rouge autour */
.card, .product-card {
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.2) !important;
}

.card:hover, .product-card:hover {
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.4) !important;
}

/* Responsive : contour un peu moins épais sur mobile */
@media (max-width: 768px) {
  .card, .product-card {
    border-width: 1px !important;
  }
}