/* Start custom CSS for html, class: .elementor-element-526db35 *//* دکمه اصلی */
.btn-gaming {
  position: relative;
  display: inline-block;
  padding: 12px 22px;
  border: none;
  border-radius: 10px;
  font-weight: 900;
  cursor: pointer;
  color: #06101a;
  letter-spacing: 1px;
  overflow: hidden;
  background: linear-gradient(90deg, #ff00f7, #00eaff, #8b54ff);
  background-size: 300%;
  transition: 0.3s ease;
  text-shadow: 0 0 6px #ff00f7, 0 0 6px #00eaff;
}

/* متن */
.btn-gaming span {
  position: relative;
  z-index: 2;
}

/* لایه‌ها */
.btn-gaming::before,
.btn-gaming::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

/* قبل از هاور */
.btn-gaming::before {
  filter: blur(0);
}

.btn-gaming::after {
  opacity: 0;
  mix-blend-mode: screen;
}

/* هاور */
.btn-gaming:hover,
.btn-gaming:active {
  animation: rgbFlow 4s linear infinite;
  transform: translateY(-2px);
  text-shadow: 0 0 12px #ff00f7, 0 0 12px #00eaff, 0 0 12px #8b54ff;
}

.btn-gaming:hover::before {
  filter: blur(6px);
}

.btn-gaming:hover::after {
  opacity: 1;
  animation: glitch 2.4s infinite;
}

/* انیمیشن حرکت رنگ */
@keyframes rgbFlow {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}

/* انیمیشن گلویچ */
@keyframes glitch {
  0%   { transform: translate(0, 0); opacity: 0.8; }
  20%  { transform: translate(-2px, 2px); opacity: 0.6; }
  40%  { transform: translate(-1px, -1px); opacity: 0.8; }
  60%  { transform: translate(2px, 1px); opacity: 0.6; }
  80%  { transform: translate(1px, -2px); opacity: 0.8; }
  100% { transform: translate(0, 0); opacity: 0.8; }
}/* End custom CSS */