/* Custom Styles for Krotex Script Store */

/* Smooth custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #07070d;
}
::-webkit-scrollbar-thumb {
  background: #1f1d36;
  border-radius: 4px;
  border: 1px solid rgba(139, 92, 246, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: #7c3aed;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(15, 14, 28, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(139, 92, 246, 0.18);
}

.glass-panel-hover:hover {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 10px 30px -10px rgba(147, 51, 234, 0.25);
}

/* Gradient Borders */
.gradient-border-purple {
  position: relative;
  background: linear-gradient(to right, rgba(139, 92, 246, 0.4), rgba(168, 85, 247, 0.1), rgba(139, 92, 246, 0.4));
  padding: 1px;
}

/* Card Glow Effect */
.card-glow {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-glow:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -5px rgba(124, 58, 237, 0.25);
}

/* Marquee Animation */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  display: flex;
  width: 200%;
  animation: marquee 30s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

/* Sale Pulse */
@keyframes salePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.5);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(168, 85, 247, 0);
  }
}
.animate-sale-pulse {
  animation: salePulse 2s infinite;
}

/* Accordion transition */
.faq-content {
  transition: max-height 0.3s ease-out, opacity 0.2s ease-out;
}
