/* Promo Realplay Template Styles */
body.single-promo-realplay,
body.single-promo-realplay .promo-realplay-page {
  position: relative;
}

body.single-promo-realplay .promo-realplay-page {
  background-image: url('../images/promo-realplay/Body.svg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  border-radius: 0 0 16px 16px;
}

body {
  background-color: #17161C !important;
}

/* Fixed Button Styles */
.promo-realplay-fixed-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  animation: fadeInUp 0.5s ease-out;
}

.promo-realplay-fixed-button__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 10px solid #ffcd29c0;
  border-radius: 14px;
  opacity: 0;
  pointer-events: none;
}

.promo-realplay-fixed-button__ring--1 {
  width: calc(100% + 15px);
  height: calc(100% + 15px);
  animation: pulseRing 2s ease-in-out infinite;
  animation-delay: 0s;
  border: 10px solid #ffcd29a8;
}

.promo-realplay-fixed-button__ring--2 {
  width: calc(100% + 30px);
  height: calc(100% + 30px);
  animation: pulseRing 2s ease-in-out infinite;
  animation-delay: 0.5s;
  border-radius: 20px;
  border: 25px solid #ffcd2969;
}

.promo-realplay-fixed-button__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  background-color: #FFCC29;
  color: #000000;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.promo-realplay-fixed-button__icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.promo-realplay-fixed-button__link:hover {
  background-color: #FFCC29;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
}

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

@keyframes pulseRing {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

@media screen and (max-width: 768px) {
  .promo-realplay-fixed-button {
    bottom: 16px;
    right: 16px;
  }
  
  .promo-realplay-fixed-button__link {
    padding: 14px 24px;
    font-size: 14px;
  }
}
