/* ==== GLOBAL LAYOUT ==== */
body {
  background-color: #170000 !important;
  color: #ffffff;
}

/* ==== STOCK STATUS ==== */
.stock-status span {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 0.5rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  text-shadow: 0 0 5px rgba(255,255,255,0.1);
  transition: background 0.3s, box-shadow 0.3s;
  position: relative;
  backdrop-filter: blur(4px);
}

.stock-status span::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 6px currentColor;
}

.stock-status .text-danger {
  color: #ff4d6d !important;
}
.stock-status .text-danger::before {
  background-color: #ff4d6d !important;
}

.stock-status .text-success {
  color: #68ffb5 !important;
}
.stock-status .text-success::before {
  background-color: #68ffb5 !important;
}

.stock-status .text-warning {
  color: #ffc864 !important;
}
.stock-status .text-warning::before {
  background-color: #ffc864 !important;
}

/* ==== PRICES ==== */
.price {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
}

/* ==== MODAL BACKGROUND ==== */
.modal-content {
  background: linear-gradient(145deg, rgba(45, 5, 10, 0.96), rgba(16, 2, 6, 0.97));
  border-radius: 1rem;
  border: 1px solid rgba(255, 64, 64, 0.18);
  color: white;
  box-shadow: 0 0 40px rgba(255, 64, 64, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: fadeInUp 0.5s ease both;
}

@keyframes fadeInUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ==== MODAL TITLE ==== */
.modal-title {
  width: 100%;
  text-align: center;
  color: #ffffff;
  position: relative;
  padding-bottom: 10px;
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
}

.modal-title::after {
  content: "";
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, #ff0000, #ff3333);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: gradient-glow 3s infinite ease-in-out;
}

@keyframes gradient-glow {
  0% { box-shadow: 0 0 6px #ff0000; }
  50% { box-shadow: 0 0 12px #ff3333; }
  100% { box-shadow: 0 0 6px #ff0000; }
}

/* ==== MODAL PRODUCT CARD ==== */
.modal-product-card {
  background: linear-gradient(145deg, rgba(90, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.2);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 16px rgba(255, 50, 50, 0.6);
}

/* ==== MODAL CARD TITLE ==== */
.modal .product-card .card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

/* ==== DISCORD BUTTON GLOW STYLE ==== */
.btn.btn-primary {
  background: linear-gradient(135deg, #ff0000, #ff0000);
  border: none;
  box-shadow: 0 0 10px rgba(255, 64, 64, 0.4);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 64, 64, 0.6);
}

/* ==== STOCK STATUS CLEAN PRO ==== */
.stock-status {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.stock-status span {
  display: inline-block;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  transition: all 0.2s ease-in-out;
  box-shadow: inset 0 0 6px rgba(255,255,255,0.05);
}

.stock-status .text-success {
  color: #00d687;
  background: rgba(0, 214, 135, 0.15);
  border-color: rgba(0, 214, 135, 0.3);
  box-shadow: 0 0 6px rgba(0, 214, 135, 0.2);
}

.stock-status .text-warning {
  color: #3faaff;
  background: rgba(63, 170, 255, 0.15);
  border-color: rgba(63, 170, 255, 0.3);
  box-shadow: 0 0 6px rgba(63, 170, 255, 0.2);
}

.stock-status .text-danger {
  color: #ff4d6d;
  background: rgba(255, 77, 109, 0.15);
  border-color: rgba(255, 77, 109, 0.3);
  box-shadow: 0 0 6px rgba(255, 77, 109, 0.2);
}


/* ==== PRODUCT REFLECT EFFECT ==== */
.product-card-reflect {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

.product-card-reflect::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 2;
  filter: blur(1px);
  opacity: 0;
  transition: left 0.5s ease-out, opacity 0.2s ease;
  border-radius: inherit;
}

.product-card-reflect:hover::before {
  left: 120%;
  opacity: 1;
}
/* --- Hover Extra Info (Bloc sous la carte) --- */
.hover-extra-info {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease;
  max-height: 0;
  overflow: hidden;
  margin-top: -4px;
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;

  /* 🎨 Nouveau background glassmorphism */
  background: linear-gradient(135deg, rgba(30, 30, 50, 0.6), rgba(10, 10, 20, 0.7));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.02),
    0 0 12px rgba(140, 80, 255, 0.15);
}

.product-card-reflect:hover .hover-extra-info {
  opacity: 1;
  transform: translateY(0);
  max-height: 500px;
}

/* --- Prix Glow / Gradient --- */
.price-glow {
  font-size: 1.1rem;
  color: transparent;
  background: linear-gradient(90deg, #ff4747, #fffffe);
  -webkit-background-clip: text;
  background-clip: text;
  animation: glow-fade 4s ease-in-out infinite;
}

@keyframes glow-fade {
  0%, 100% {
    filter: drop-shadow(0 0 3px rgba(255, 204, 51, 0));
  }
  50% {
    filter: drop-shadow(0 0 6px rgba(255, 51, 194, 0));
  }
}

/* --- Stock amélioré --- */
.group-stock {
  display: inline-block;
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #cfcfcf;
  backdrop-filter: blur(4px);
  box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.03);
}

.group-stock.out-of-stock {
  color: #ff4d4d;
  background: rgba(255, 77, 77, 0.08);
  border-color: rgba(255, 77, 77, 0.2);
  box-shadow: 0 0 6px rgba(255, 77, 77, 0.25);
}

.group-stock.infinite-stock {
  color: #6df9ff;
  background: rgba(109, 249, 255, 0.1);
  border-color: rgba(109, 249, 255, 0.25);
  box-shadow: 0 0 6px rgba(109, 249, 255, 0.2);
}

.group-stock.hidden-stock {
  color: #cccccc;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  font-style: italic;
}

/* --- Hover Lift effet doux sur la carte --- */
.product-card-reflect {
  transition: all 0.3s ease-in-out;
}
.product-card-reflect:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}
.group-title {
  position: relative;
  display: inline-block;
  font-weight: bold;
  font-size: 1.1rem;
  color: white;
}
/* Effet d’arrondis dynamiques */
.product-card-reflect {
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-radius 0.3s ease;
}
.product-card-reflect:hover {
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.product-img {
  border-radius: inherit;
  transition: border-radius 0.3s ease;
}

/* Hover extra info */
.hover-extra-info {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease;
  max-height: 0;
  overflow: hidden;
  margin-top: -4px;
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(50, 30, 30, 0.6), rgba(10, 10, 20, 0.7));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02), 0 0 12px rgba(255, 80, 80, 0.15);
}
.product-card-reflect:hover .hover-extra-info {
  opacity: 1;
  transform: translateY(0);
  max-height: 500px;
}
/* fgehuguhgug */

.gradient-underline {
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  color: white;
}

.gradient-underline::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #ff7a7a, #ffffff, #ff7a7a);
  border-radius: 50px;
  transition: width 0.5s ease;
  box-shadow: 0 0 4px rgba(255, 122, 122, 0.5);
}

.product-card-reflect:hover .gradient-underline::after {
  width: 100%;
}


.product-card-reflect:hover .gradient-underline::after {
  transform: scaleX(1);
  opacity: 1;
}

.product-card-reflect:hover .gradient-underline {
  filter: drop-shadow(0 0 4px rgba(255, 131, 131, 0.4));
}



.product-card-reflect:hover .gradient-underline {
  filter: drop-shadow(0 0 5px rgba(255, 102, 102, 0.4));
}


/* Apparition fluide au hover */
.product-card-reflect:hover .gradient-underline::after {
  transform: scaleX(1);
  opacity: 1;
}

/* Glow sur le texte au hover */
.product-card-reflect:hover .gradient-underline {
  filter: drop-shadow(0 0 5px rgba(255, 113, 113, 0.5));
}


/* Stock visuel */
.group-stock {
  display: inline-block;
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #cfcfcf;
  backdrop-filter: blur(4px);
  box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.03);
}
.group-stock.out-of-stock {
  color: #ff4d4d;
  background: rgba(255, 77, 77, 0.08);
  border-color: rgba(255, 77, 77, 0.2);
  box-shadow: 0 0 6px rgba(255, 77, 77, 0.25);
}
.group-stock.infinite-stock {
  color: #6df9ff;
  background: rgba(109, 249, 255, 0.1);
  border-color: rgba(109, 249, 255, 0.25);
  box-shadow: 0 0 6px rgba(109, 249, 255, 0.2);
}
.group-stock.hidden-stock {
  color: #cccccc;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  font-style: italic;
}
/* Valeurs par défaut (repos) */
.product-card-reflect {
  border-radius: 12px;
  transition: border-radius 0.3s ease;
  overflow: hidden;
}

/* Hover : on accentue uniquement les coins du bas */
.product-card-reflect:hover {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}
.product-card-reflect img {
  border-radius: 12px;
  transition: border-radius 0.3s ease;
}

.product-card-reflect:hover img {
  border-radius: 0px;
}
/* Hover : on accentue uniquement les coins du bas */
.product-card-reflect:hover {
  box-shadow:
    0 0 15px rgba(255, 80, 80, 0.2),
    0 0 30px rgba(255, 80, 80, 0.1),
    0 0 50px rgba(255, 80, 80, 0.05);
}
/* UIHZEFUIHUIGUIOGHEZ */
/* --- Soulignement subtil et doux pour h1 --- */
h1 {
  position: relative;
  display: inline-block;
}

h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #fa8b8b, #fdb5b5); /* violet clair doux */
  border-radius: 2px;
  opacity: 0.6;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

h1:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

/* --- Sous-titre (p italique) --- */
p.italic {
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* --- Soulignement doux sous h2, moins large --- */
h2 {
  position: relative;
  padding-bottom: 5px;
  cursor: default;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: #fa8b8b; /* violet clair */
  border-radius: 2px;
  opacity: 0.7;
  transition: background-color 0.4s ease, opacity 0.4s ease;
}

h2:hover::after {
  background-color: #f65c5c; /* violet un peu plus foncé au hover */
  opacity: 1;
}
.testimonial {
  width: 280px;
  background: rgba(255, 79, 79, 0.85); /* violet semi-transparent */
  color: #fff8d7;
  border-radius: 16px;
  padding: 24px 24px 26px 24px;
  margin: 16px auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  user-select: none;
  position: relative;
}
.testimonial {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  cursor: pointer; /* pour montrer que c'est interactif */
}

.testimonial:hover,
.testimonial:focus {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(255, 111, 111, 0.5);
  background: rgba(255, 111, 111, 0.25);
  border-color: #ff5353;
  outline: none;
}
.variant-card {
  background: rgba(237, 58, 58, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}
.variant-card:hover {
  background: rgba(237, 58, 58, 0.199);
  transform: scale(1.02);
}
.variant-card.active {
  border-color: #ed3a3a;
  background: rgba(237, 58, 58, 0.3);
}
.price {
  font-size: 1.1rem;
}
.old-price {
  font-size: 0.9rem;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.group-stock {
  margin-left: auto; /* pousse vers la droite */
}
/* Glow moderne et discret */
.glow-red {
  box-shadow: 0 0 6px rgba(255, 80, 80, 0.6), 0 0 12px rgba(255, 80, 80, 0.4);
}
.glow-green {
  box-shadow: 0 0 6px rgba(220, 100, 100, 0.6), 0 0 12px rgba(220, 100, 100, 0.4);
}

/* Badge premium, pill, glass et gradient */
.badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 999px;
  color: #fff;
  z-index: 2;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 2px rgba(255,255,255,0.2), 0 1px 3px rgba(0,0,0,0.3);
}

/* Badge OUT OF STOCK - rouge élégant */
.badge-out {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.85), rgba(192, 57, 43, 0.85));
}

/* Badge IN STOCK - vert élégant */
.badge-in {
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.85), rgba(24, 106, 59, 0.85));
}

/* Image désaturée si stock=0 */
.grayscale-img img {
  filter: grayscale(100%);
}
.discord-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  margin-top: 25px;
  transition: transform 0.4s ease;
}

.discord-button {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(114,137,218,0.25), rgba(114,137,218,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(114,137,218,0.7), 0 0 30px rgba(114,137,218,0.2);
  transition: transform 0.4s, box-shadow 0.4s;
}

.discord-button img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(114,137,218,0.8));
  transition: filter 0.4s;
}

.discord-link span {
  margin-top: 10px;
  font-size: 1em;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.discord-link:hover .discord-button {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(114,137,218,1), 0 0 40px rgba(114,137,218,0.4);
}

.discord-link:hover img {
  filter: drop-shadow(0 0 10px rgba(114,137,218,1));
}
.why-choose-hero {
  margin-top: 100px; /* ou plus, par ex. 150px */
  padding: 80px 20px;
}
.trust-badge {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(90deg, #800000, #ff0000);
  border-radius: 30px;
  color: white;
  font-weight: 700;
  font-size: 1.2em;
  margin-bottom: 15px;  /* réduire l’écart avec le sous-titre */
  box-shadow: 0 0 20px #800000;
}

.subtitle {
  font-size: 1.3em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 45px;
  display: inline-block;
  position: relative;
}
/* Container */
.why-choose-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 160px 20px 80px; /* plus bas sur la page */
}

/* Main content block */
.why-choose-hero .content {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid;
  border-image: linear-gradient(45deg, #800000, #ff0000) 1;
  border-radius: 25px;
  padding: 50px;
  max-width: 1100px;
  text-align: center;
  box-shadow: 0 0 40px rgba(128, 0, 0, 0.4);
  transition: box-shadow 0.5s;
}

/* Title badge */
.trust-badge {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(90deg, #800000, #ff0000);
  border-radius: 30px;
  color: white;
  font-weight: 700;
  font-size: 1.2em;
  margin-bottom: 15px;
  box-shadow: 0 0 20px #800000;
}

/* Subtitle */
.subtitle {
  font-size: 1.3em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 45px;
  display: inline-block;
  position: relative;
  cursor: default;
}

/* Hover underline */
.subtitle::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #800000, #ff0000);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s ease;
}

.subtitle:hover::after {
  transform: scaleX(1);
}

/* Features grid */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
  margin-bottom: 30px;
}

/* Single feature card */
.feature {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 25px;
  width: 260px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.feature:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.6);
}

/* Icon in feature */
.icon {
  font-size: 2.2em;
  color: #ff0000;
  margin-bottom: 12px;
  animation: pulse 2.5s infinite;
}

/* Title text */
.title {
  font-size: 1.15em;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Description text */
.feature p {
  font-size: 0.96em;
  color: rgba(255,255,255,0.88);
  line-height: 1.5em;
}

/* Discord link block */
.discord-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  margin-top: 25px;
  transition: transform 0.4s ease;
}

.discord-link img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(114, 137, 218, 0.15);
  padding: 10px;
  box-shadow: 0 0 18px rgba(114, 137, 218, 0.8);
  transition: transform 0.4s, box-shadow 0.4s;
}

.discord-link span {
  margin-top: 10px;
  font-size: 1em;
  color: rgba(255,255,255,0.9);
}

.discord-link:hover img {
  transform: scale(1.15);
  box-shadow: 0 0 28px rgba(114, 137, 218, 1);
}

.discord-link:hover {
  transform: translateY(-5px);
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); text-shadow: 0 0 5px #800000; }
  50% { transform: scale(1.1); text-shadow: 0 0 15px #ff0000; }
  100% { transform: scale(1); text-shadow: 0 0 5px #800000; }
}

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

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0px); }
}

/* Classes to trigger animations */
.animate-fade-in {
  animation: fadeIn 1s ease forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-glow {
  animation: pulse 2.5s infinite;
}

.animate-tilt:hover {
  transform: rotateX(2deg) rotateY(2deg) scale(1.05);
}

/* ============================================================= */
/* ===== Animated gradient background (replaces the old image) === */
/* ============================================================= */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -9999;
  overflow: hidden;
  pointer-events: none;
  background-color: #0a0406;
  /* rich, layered red mesh on a deep near-black base */
  background-image:
    radial-gradient(120% 120% at 12% 8%, rgba(120, 0, 20, 0.55) 0%, transparent 55%),
    radial-gradient(120% 120% at 88% 12%, rgba(190, 0, 28, 0.42) 0%, transparent 50%),
    radial-gradient(130% 130% at 78% 92%, rgba(150, 0, 26, 0.45) 0%, transparent 55%),
    radial-gradient(120% 120% at 8% 96%, rgba(80, 0, 16, 0.55) 0%, transparent 55%),
    linear-gradient(160deg, #0a0406 0%, #120408 48%, #0a0406 100%);
}

/* floating blurred orbs — animated with transform only (GPU-friendly) */
.site-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.5;
  will-change: transform;
}
.site-bg__orb--1 {
  width: 46vmax; height: 46vmax;
  left: -14vmax; top: -16vmax;
  background: radial-gradient(circle, rgba(245, 0, 0, 0.55), transparent 68%);
  animation: orbDrift1 28s ease-in-out infinite;
}
.site-bg__orb--2 {
  width: 38vmax; height: 38vmax;
  right: -12vmax; top: 6vh;
  background: radial-gradient(circle, rgba(130, 0, 48, 0.60), transparent 68%);
  animation: orbDrift2 34s ease-in-out infinite;
}
.site-bg__orb--3 {
  width: 34vmax; height: 34vmax;
  left: 26vw; bottom: -16vmax;
  background: radial-gradient(circle, rgba(210, 12, 32, 0.50), transparent 70%);
  animation: orbDrift3 31s ease-in-out infinite;
}
@keyframes orbDrift1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(7vw, 5vh, 0) scale(1.12); }
}
@keyframes orbDrift2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(-6vw, 7vh, 0) scale(1.10); }
}
@keyframes orbDrift3 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(5vw, -6vh, 0) scale(1.15); }
}

/* faint tech grid, masked toward the center for depth */
.site-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 70, 70, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 70, 70, 0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(circle at 50% 38%, #000 0%, transparent 78%);
          mask-image: radial-gradient(circle at 50% 38%, #000 0%, transparent 78%);
  opacity: 0.55;
}

/* vignette keeps content readable over the bright orbs */
.site-bg__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 32%, transparent 42%, rgba(0, 0, 0, 0.62) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .site-bg__orb { animation: none; }
}

/* ============================================================= */
/* ===== Touch devices: product name/price/stock are hidden ==== */
/* ===== behind :hover, so reveal them by default (no hover) ==== */
/* ============================================================= */
/* Product cards: show the name / price / stock ALWAYS (they used to be
   hidden until hover — bad on mobile and made the cards look empty). */
.product-card-reflect .hover-extra-info {
  opacity: 1;
  max-height: none;
  transform: none;
  margin-top: 0;
  padding: 0.85rem 0.75rem 1rem;
}
.product-card-reflect .gradient-underline::after {
  width: 55%;
}
.product-card-reflect:hover .gradient-underline::after {
  width: 100%;
}

/* Smooth in-site navigation (same tab, no jumpiness) */
html {
  scroll-behavior: smooth;
}

/* Cleaner product-section heading on any page that lists products */
.section-title h2 {
  font-weight: 800;
  letter-spacing: 0.4px;
}

/* ============================================================= */
/* ===== Scroll-reveal for product grids (any products page) === */
/* progressive enhancement: .js-reveal-grid is added by JS, so   */
/* the cards stay visible if JavaScript is disabled.             */
/* ============================================================= */
.js-reveal-grid > div {
  opacity: 0;
  transform: translateX(70px) translateY(14px) scale(0.96);
  transition: opacity 0.6s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.js-reveal-grid > div.revealed {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal-grid > div {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================= */
/* ===== Products search + filter toolbar ====================== */
/* ============================================================= */
.products-toolbar {
  max-width: 760px;
  margin: 0 auto 2.6rem;
  padding: 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: center;
  background: rgba(28, 6, 11, 0.5);
  border: 1px solid rgba(255, 70, 70, 0.2);
  border-radius: 22px;
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}
.products-search {
  position: relative;
  width: 100%;
}
.products-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 120, 120, 0.85);
  pointer-events: none;
}
.products-search-input {
  width: 100%;
  padding: 1rem 3rem 1rem 3.1rem;
  border-radius: 16px;
  border: 1.5px solid rgba(255, 90, 90, 0.4);
  background: rgba(48, 10, 16, 0.72);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.products-search-input::placeholder { color: rgba(255, 215, 215, 0.65); font-weight: 400; }
.products-search-input:focus {
  border-color: rgba(255, 70, 70, 0.9);
  box-shadow: 0 0 0 4px rgba(245, 0, 0, 0.15), 0 0 30px rgba(245, 0, 0, 0.3);
  background: rgba(58, 12, 20, 0.8);
}
.products-search-icon { font-size: 1.05rem; left: 20px; }
.products-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.products-search-clear:hover { background: rgba(245, 0, 0, 0.55); }

.products-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.filter-chip {
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.filter-chip:hover {
  color: #fff;
  border-color: rgba(255, 60, 60, 0.5);
  transform: translateY(-2px);
}
.filter-chip.is-active {
  background: linear-gradient(135deg, #ff2b2b, #b00018);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgba(245, 0, 0, 0.35);
}
.products-empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  padding: 2rem 0 3rem;
}
.products-count {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.3px;
}
.products-count b { color: #ff7a7a; }

/* Bigger, clearer product cards */
.product-cell .card-img-top { min-height: 150px; }
.product-cell .hover-extra-info .group-title { font-size: 1.15rem; }

/* ============================================================= */
/* ===== 3D group preview (reveals the products in a group) ==== */
/* ============================================================= */
.group-preview {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(18, 2, 6, 0.97), rgba(42, 4, 12, 0.98));
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 60, 60, 0.35);
  padding: 0.9rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  opacity: 0;
  transform: perspective(900px) rotateX(-90deg);
  transform-origin: top center;
  transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.34, 1.3, 0.5, 1);
  pointer-events: none;
  z-index: 6;
}
.product-card-reflect:hover .group-preview {
  opacity: 1;
  transform: perspective(900px) rotateX(0deg);
}
.group-preview-head {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ff6b6b;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}
.group-preview-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.gp-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  padding: 0.5rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.gp-item:hover { background: rgba(245, 0, 0, 0.18); transform: translateX(3px); }
.gp-thumb {
  width: 62px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 120, 120, 0.7);
  font-size: 1.05rem;
}
.gp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gp-name { color: #fff; flex: 1; min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-price { color: #ff9a9a; font-weight: 700; font-size: 0.95rem; flex-shrink: 0; }
.group-preview-cta {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff2b2b, #b00018);
  padding: 0.55rem;
  border-radius: 8px;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}
.group-preview-list::-webkit-scrollbar { width: 5px; }
.group-preview-list::-webkit-scrollbar-thumb { background: rgba(255, 60, 60, 0.4); border-radius: 3px; }
@media (prefers-reduced-motion: reduce) {
  .group-preview, .product-card-reflect:hover .group-preview { transform: none; }
}

/* ============================================================= */
/* ===== Status page: detailed 3D card grid =================== */
/* ============================================================= */
.status-cards {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.status-group > h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 1.2rem;
  padding-bottom: 0.4rem;
  display: inline-block;
}
.status-group > .status-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.1rem;
}
.status-card {
  display: flex !important;
  flex-direction: column;
  padding: 0;
  border-radius: 16px;
  text-decoration: none;
  background: linear-gradient(150deg, rgba(44, 7, 13, 0.62), rgba(14, 3, 6, 0.7));
  border: 1px solid rgba(255, 70, 70, 0.18);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
  transition: transform 0.15s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
  overflow: hidden;
}
.status-card:hover {
  border-color: rgba(255, 70, 70, 0.55);
  box-shadow: 0 18px 42px rgba(245, 0, 0, 0.25);
}
.status-card-thumb {
  position: relative;
  width: 100%;
  height: 130px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 110, 110, 0.6);
  font-size: 2rem;
}
.status-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.status-card:hover .status-card-thumb img { transform: scale(1.07); }
.status-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(14, 3, 6, 0.9) 100%);
}
.status-card-body {
  padding: 0.95rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.status-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}
.status-card .status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.status-card .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 8px currentColor;
}
.status-card .pulsating {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: statusPulse 1.8s ease-out infinite;
}
@keyframes statusPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0; }
}
.status-card .label {
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* ============================================================= */
/* ===== Reviews: 3D testimonial cards ======================== */
/* ============================================================= */
.testimonials.row { row-gap: 1.6rem; }
.testimonials .testimonial {
  width: 100% !important;
  margin: 0 !important;
  height: 100%;
  background: linear-gradient(150deg, rgba(44, 7, 13, 0.62), rgba(16, 3, 7, 0.68)) !important;
  border: 1px solid rgba(255, 70, 70, 0.2) !important;
  border-radius: 18px;
  padding: 1.55rem 1.5rem !important;
  color: #eee !important;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease !important;
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}
.testimonials .testimonial:hover {
  border-color: rgba(255, 70, 70, 0.5) !important;
  box-shadow: 0 18px 40px rgba(245, 0, 0, 0.22) !important;
  background: linear-gradient(150deg, rgba(54, 9, 16, 0.68), rgba(20, 4, 9, 0.74)) !important;
}
.testimonial .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}
.testimonial .quote { width: 34px; height: 34px; color: rgba(255, 70, 70, 0.55); }
.testimonial .stars { display: flex; gap: 2px; }
.testimonial .stars svg { width: 18px; height: 18px; }
.testimonial .content { flex: 1; }
.testimonial .message p { color: #f1eaea; font-size: 0.95rem; line-height: 1.6; margin: 0; }
.testimonial .reply {
  margin-top: 0.9rem;
  padding: 0.75rem 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid rgba(255, 70, 70, 0.5);
  border-radius: 8px;
}
.testimonial .reply .text { font-size: 0.87rem; color: #ddd; margin: 0 0 0.3rem; }
.testimonial .reply .author { font-size: 0.74rem; color: rgba(255, 255, 255, 0.5); margin: 0; }
.testimonial .footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  margin-top: 1.05rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}
.testimonial .footer .items {
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 70, 70, 0.18);
  padding: 0.45rem 0.75rem 0.45rem 0.45rem;
  border-radius: 12px;
}
/* show the full product name (wrap if long) instead of cutting it off */
.testimonial .footer .items span { font-size: 0.85rem; line-height: 1.35; color: #fff; word-break: break-word; }
.feedback-product-img { width: 54px; height: 38px; border-radius: 8px; object-fit: cover; flex-shrink: 0; border: 1px solid rgba(255, 255, 255, 0.14); }
.testimonial .footer .date { color: rgba(255, 255, 255, 0.5); font-size: 0.75rem; align-self: flex-end; }

/* ============================================================= */
/* ===== Smooth page entrance (background stays persistent) ==== */
/* opacity only — no transform, so the sticky navbar isn't broken */
.flex-wrapper { animation: pageFadeIn 0.4s ease; }
@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .flex-wrapper { animation: none; } }

/* Perf: defer rendering of the (always below-the-fold) footer until needed */
.footer-modern {
  content-visibility: auto;
  contain-intrinsic-size: 1px 520px;
}

/* ============================================================= */
/* ===== Mobile / responsive hardening ======================== */
/* ============================================================= */

/* Never allow sideways scrolling. `clip` (not hidden) keeps the sticky
   navbar working, unlike overflow:hidden. */
html { overflow-x: clip; }
body { overflow-x: clip; max-width: 100%; }
img, svg, video { max-width: 100%; }

/* On touch devices the hover-only 3D group preview can't be triggered
   (a tap opens the product modal instead) — hide it so it never sticks open. */
@media (hover: none), (pointer: coarse) {
  .group-preview { display: none !important; }
}

@media (max-width: 768px) {
  /* Sections breathe but use the full width */
  .container, .container-fluid { padding-left: 16px; padding-right: 16px; }

  /* Headings scale down so they never overflow */
  .section-title h1 { font-size: 1.7rem; }
  .section-title h2 { font-size: 1.5rem; }

  /* Products: search / filter toolbar */
  .products-toolbar { padding: 1rem; border-radius: 18px; margin-bottom: 1.6rem; }
  .products-search-input { font-size: 16px; padding: 0.8rem 2.6rem 0.8rem 2.8rem; }
  .products-filters { gap: 0.45rem; }
  .filter-chip { padding: 0.45rem 0.9rem; font-size: 0.8rem; }

  /* Products grid: two clear cards per row on phones */
  .row.products > .product-cell { flex: 0 0 50%; max-width: 50%; }
  .product-cell .hover-extra-info { padding: 0.7rem 0.5rem 0.8rem; }
  .product-cell .hover-extra-info .group-title { font-size: 0.95rem; }
  .price-glow { font-size: 0.95rem; }

  /* Status: one comfortable column with the game banner */
  .status-group > .status-cards { grid-template-columns: 1fr; gap: 1rem; }
  .status-group > h2 { font-size: 1.25rem; }
  .status-card-thumb { height: 120px; }

  /* Reviews: roomy single-column cards */
  .testimonials .testimonial { padding: 1.25rem 1.15rem !important; }
}

@media (max-width: 480px) {
  .container, .container-fluid { padding-left: 12px; padding-right: 12px; }
  .section-title h1 { font-size: 1.5rem; }
  .section-title h2 { font-size: 1.35rem; }
  .filter-chip { padding: 0.4rem 0.8rem; font-size: 0.78rem; }
  .status-card-thumb { height: 108px; }
  .gp-thumb { width: 54px; height: 36px; }
  /* keep card text tidy when very narrow */
  .product-cell .hover-extra-info .group-title { font-size: 0.9rem; }
}