/* For Product Cards */

.product-card-glow {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  padding: 0.5px;
  background: linear-gradient(270deg, #6f42c1, #000000, #6f42c1, #000000, #6f42c1);
  background-size: 400% 400%;
  animation: glowCard 10s linear infinite;
  filter: drop-shadow(0 0 12px #6f42c1);
  z-index: 0;
}

.product-card-glow > a.card {
  border-radius: 0.875rem;
  background-color: #000;
  z-index: 1;
  position: relative;
}

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

/* For Status Cards */

.status-card-glow {
  position: relative;
  padding: 0.5px;
  border-radius: 1rem;
  background: linear-gradient(270deg, #6f42c1, #000, #6f42c1, #000, #6f42c1);
  background-size: 400% 400%;
  animation: glowCard 10s linear infinite;
  filter: drop-shadow(0 0 12px #6f42c1);
  z-index: 0;
}

.status-card-glow > .status-card {
  border-radius: 0.875rem;
  background-color: #000000; /* Adjust to match your theme */
  padding: 1.25rem;
  display: block;
  position: relative;
  z-index: 1;
  color: white;
  text-decoration: none;
  transition: transform 0.3s;
}

.status-card-glow > .status-card:hover {
  transform: translateY(-2px);
}

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

/* Status Card Spacing */

.status-cards {
  display: flex;
  flex-direction: column;
  gap: 16px; /* consistent vertical spacing between cards */
}

.status-group {
  margin-bottom: 24px; /* spacing between groups, optional */
}

.status-card {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(142, 0, 255, 0.6); /* purple glow effect */
  background-color: #000000; /* or your preferred bg color */
  text-decoration: none;
}





/* VIP External */

.text-image-block {
  /* Adjustable max-width with CSS variable and fallback */
  max-width: var(--text-image-block-width, 900px);
  width: 100%;
  background: rgba(0, 0, 0, 0.75); /* 75% black transparent background */
  border-radius: 1rem;
  padding: 2rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;

  /* Glowing purple border using box-shadow */
  box-shadow:
    0 0 8px 2px #6f42c1,
    0 0 15px 4px #6f42c1,
    0 0 25px 6px #6f42c1;
  animation: glowAnim 3.5s ease infinite;
}

@keyframes glowAnim {
  0% {
    box-shadow:
      0 0 8px 2px #6f42c1,
      0 0 15px 4px #6f42c1,
      0 0 25px 6px #6f42c1;
  }
  50% {
    box-shadow:
      0 0 15px 4px #6f42c1,
      0 0 25px 6px #6f42c1,
      0 0 35px 8px #6f42c1;
  }
  100% {
    box-shadow:
      0 0 8px 2px #6f42c1,
      0 0 15px 4px #6f42c1,
      0 0 25px 6px #6f42c1;
  }
}

.text-image-block .section-header-wrapper {
  display: flex;
  justify-content: center; /* center the title horizontally */
  margin-bottom: 1.5rem;
  color: white;
  font-weight: 700;
}

.text-image-block .row {
  align-items: center;
}

/* Image wrapper with glowing purple border */
.text-image-block .image-wrapper {
  max-width: 70%;
  margin: 1 auto;
  border-radius: 1rem;
  position: relative;
  box-shadow:
    0 0 8px 2px #6f42c1,
    0 0 15px 4px #6f42c1,
    0 0 25px 6px #6f42c1;
  animation: glowAnim 3.5s ease infinite;
  overflow: hidden;
}

.text-image-block .img-fluid {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  display: block;
}

/* Content list styles */
.text-image-block .content-list {
  padding-left: 1.25rem;
  list-style-type: disc;
  font-size: 1rem;
  line-height: 1.6;
  color: white;
}

/* Updated button matching navbar's purple theme */

.text-image-block .btn-primary {
  background-color: #6f42c1 !important;
  color: white !important;
  border: none !important;
  border-radius: 6px !important;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  margin: 4px 6px;
  font-size: 1rem;
  min-width: 90px;
  box-shadow: 0 0 12px #6f42c1;
  cursor: pointer;
}

.text-image-block .btn-primary:hover,
.text-image-block .btn-primary:focus {
  background-color: #59359b !important;
  box-shadow: 0 0 16px #59359b;
  color: white !important;
  outline: none;
}

.text-image-block .btn-primary::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.2) 100%
  );
  transform: rotate(25deg) translateX(-100%);
  z-index: 1;
  pointer-events: none;
  transition: transform 0.7s ease;
}

.text-image-block .btn-primary:hover::before {
  transform: rotate(25deg) translateX(100%);
  z-index: 1;
}




/* Feedback Card Glow */

/* Glowing purple animation keyframes */
@keyframes glowAnim {
  0% {
    box-shadow:
      0 0 8px 2px #6f42c1,
      0 0 15px 4px #6f42c1,
      0 0 25px 6px #6f42c1;
  }
  50% {
    box-shadow:
      0 0 15px 4px #6f42c1,
      0 0 25px 6px #6f42c1,
      0 0 35px 8px #6f42c1;
  }
  100% {
    box-shadow:
      0 0 8px 2px #6f42c1,
      0 0 15px 4px #6f42c1,
      0 0 25px 6px #6f42c1;
  }
}

/* Apply glowing purple outline and styling only to testimonial cards */
.testimonial {
  border-radius: 1rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.1); /* 10% transparent black background */
  box-shadow:
    0 0 8px 2px #6f42c1,
    0 0 15px 4px #6f42c1,
    0 0 25px 6px #6f42c1;
  animation: glowAnim 3.5s ease infinite;
}

/* Optional: Adjust internal styling as needed for testimonial content */
.testimonial .header, 
.testimonial .content, 
.testimonial .footer {
  color: white;
}

/* You can add additional styles for layout or typography as needed */

/* Social Glow */

.socials {
  background-color: transparent !important;
}

.socials .social {
  position: relative;
  display: inline-block;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  color: #6f42c1; /* neon purple text */
  text-decoration: none;
  transition: box-shadow 0.3s ease;
  border: 2px solid #6f42c1;
  box-shadow:
    0 0 5px #6f42c1,
    0 0 10px #6f42c1,
    0 0 20px #6f42c1,
    0 0 40px #a366ff;
  /* You can adjust the colors and intensity here */
}

.socials .social:hover {
  box-shadow:
    0 0 10px #6f42c1,
    0 0 20px #6f42c1,
    0 0 30px #bb00ff,
    0 0 60px #6f42c1;
  color: #6f42c1;
}

/*Feedback Box Outline*/

/* Desktop and larger screens */
.stats-wrapper {
  border: 2px solid #6f42c1;
  box-shadow: 0 0 8px 2px #6f42c1;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  max-width: fit-content;
  margin: 0 auto;
  display: inline-block;
  background: #000000;
  overflow: visible; /* no scroll on desktop */
}

.stats {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.stats > div {
  background: rgba(0, 0, 0, 0.05);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  min-width: 90px;
  text-align: center;
  box-sizing: border-box;
  color: white;
  font-size: 0.9rem;
  flex-shrink: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

/* Mobile styles - applied only below 768px width */
@media (max-width: 767px) {
  .stats-wrapper {
    padding: 0.3rem 0.6rem;
    max-width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .stats {
    gap: 0.6rem;
    justify-content: flex-start;
    white-space: nowrap;
    padding-bottom: 0.3rem;
  }
  
  .stats > div {
    padding: 0.25rem 0.6rem;
    min-width: 80px;
    max-width: 120px;
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Optional scrollbar styling on mobile */
  .stats-wrapper::-webkit-scrollbar {
    height: 6px;
  }
  .stats-wrapper::-webkit-scrollbar-thumb {
    background-color: #6f42c1;
    border-radius: 3px;
  }
}






/* Prevent horizontal scroll on the entire page */
html, body {
  overflow-x: hidden;
  margin: 0; /* remove default margins */
  padding: 0;
  width: 100vw;
}




/*Status Cards*/

.status-card {
  position: relative;
  display: block;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(145deg, #0e1f47, #0a1530);
  color: white;
  box-shadow: 0 0 12px rgba(0, 119, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
  background-clip: padding-box;
  overflow: hidden;
  z-index: 0;
}

.status-card::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(90deg, #0059ff2a, #6f42c1, #6f42c1);
  z-index: -1;
  border-radius: 18px;
  background-size: 200% 200%;
  animation: borderGlow 4s linear infinite;
}

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

.status-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 0 18px rgba(131, 2, 206, 0.918);
}






.social {
  background: #0f0f0f;
  border: 2px solid #6f42c1;
  border-radius: 16px;
  box-shadow: 0 0 15px #6f42c1;
  padding: 1rem 1.5rem;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: box-shadow 0.3s ease;
  text-decoration: none;
}

.social:hover {
  box-shadow: 0 0 25px 4px #6f42c1;
}





/* ===== Buttons Styled Like Navbar ===== */
.buy-buttons .btn,
.input-group-btn,
.btn-addon-add,
.btn-addon-remove {
  background-color: #6f42c1 !important;
  color: white !important;
  border: none !important;
  border-radius: 6px !important;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  margin: 4px 6px;
  font-size: 1rem;
  min-width: 90px;
  box-shadow: 0 0 12px #6f42c1;
  cursor: pointer;
}

/* Hover Effect */
.buy-buttons .btn:hover,
.input-group-btn:hover:not(:disabled),
.btn-addon-add:hover:not(:disabled),
.btn-addon-remove:hover:not(:disabled) {
  background-color: #59359b !important;
  box-shadow: 0 0 16px #59359b;
  color: white !important;
  outline: none;
}

/* Gradient Slide Animation */
.buy-buttons .btn::before,
.input-group-btn::before,
.btn-addon-add::before,
.btn-addon-remove::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.2) 100%
  );
  transform: rotate(25deg) translateX(-100%);
  z-index: 1;
  pointer-events: none;
  transition: transform 0.7s ease;
}

.buy-buttons .btn:hover::before,
.input-group-btn:hover::before,
.btn-addon-add:hover::before,
.btn-addon-remove:hover::before {
  transform: rotate(25deg) translateX(100%);
}

/* Disabled Buttons */
.buy-buttons .btn:disabled,
.input-group-btn:disabled,
.btn-addon-add:disabled,
.btn-addon-remove:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

/* Loading Spinner */
.size-5 {
  width: 1.25rem;
  height: 1.25rem;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== Variant Buttons Small, Left-Aligned, Name + Price ===== */
.variants .variant {
  background-color: #6f42c1 !important;
  color: white !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 0.6rem 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 2px 4px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  min-width: 140px;
  height: 40px; /* Adjusted height for better alignment */
}

/* Variant Name slightly bigger */
.variants .variant .name {
  font-size: 1rem;
  margin: 0;
  flex-shrink: 0;
}

/* Hide Stock Text */
.variants .variant .stock {
  display: none !important;
}

/* Price text */
.variants .variant .price {
  color: white !important;
  font-size: 0.9rem;
  margin: 0;
  flex-shrink: 0;
}

/* Add dash automatically between name and price */
.variants .variant .price::before {
  content: " - ";
  margin-right: 2px;
  color: white;
}

/* Responsive Adjustments */
@media (max-width: 575.98px) {
  .buy-buttons .btn,
  .input-group-btn,
  .btn-addon-add,
  .btn-addon-remove {
    font-size: 0.9rem;
    padding: 6px 12px;
    min-width: 70px;
  }

  .variants .variant {
    font-size: 0.85rem;
    padding: 0.5rem 0.6rem;
    min-width: 120px;
    height: 36px;
  }

  .variants .variant .name {
    font-size: 0.95rem;
  }
}