/* Animations CSS */

/* Text Animation */
.animated-text {
  background: linear-gradient(to right, #7b2cbf, #f72585, #5a189a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: textGradient 5s ease-in-out infinite alternate;
}

@keyframes textGradient {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 100% center;
  }
}

/* Floating Animation */
.float {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Shine Effect */
.shine {
  position: relative;
  overflow: hidden;
}

.shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-25deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  20% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* Card Flip */
.flip-card {
  perspective: 1000px;
  width: 100%;
  height: 300px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.flip-card-front {
  background-color: #bbb;
  color: black;
}

.flip-card-back {
  background-color: #7b2cbf;
  color: white;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  text-align: center;
}

/* Slot Machine */
.slot-animation {
  display: flex;
  justify-content: center;
  gap: 5px;
  font-size: 2rem;
  font-weight: bold;
  margin: 1rem 0;
}

.slot-digit {
  background-color: #1a1a2e;
  color: white;
  width: 50px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.slot-digit-animation {
  position: absolute;
  animation: slot-roll 2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes slot-roll {
  0% {
    transform: translateY(-300%);
  }
  100% {
    transform: translateY(0);
  }
}

/* Jackpot Counter */
.jackpot-counter {
  background-color: #1a1a2e;
  color: white;
  padding: 1rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  margin: 1rem auto;
}

.counter-label {
  font-weight: bold;
  margin-right: 1rem;
}

.counter-value {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: #f72585;
  text-shadow: 0 0 5px rgba(247, 37, 133, 0.5);
  animation: pulsate 1.5s infinite alternate;
}

@keyframes pulsate {
  0% {
    text-shadow: 0 0 5px rgba(247, 37, 133, 0.5);
    transform: scale(1);
  }
  100% {
    text-shadow: 0 0 20px rgba(247, 37, 133, 0.8);
    transform: scale(1.05);
  }
}

/* Shield Animation */
.shield-animation {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: var(--primary-color);
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

.shield-animation::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 44, 191, 0.3) 0%, rgba(123, 44, 191, 0) 70%);
  animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

.shield-animation::after {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 44, 191, 0.5) 0%, rgba(123, 44, 191, 0) 70%);
  animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite 0.5s;
}

.shield-animation i {
  z-index: 1;
  animation: pulse-dot 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  80%, 100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.9);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.9);
  }
}

/* QR Code Animation */
.qr-code {
  font-size: 8rem;
  color: var(--primary-color);
  text-align: center;
  animation: qr-pulse 3s infinite;
}

@keyframes qr-pulse {
  0% {
    color: var(--primary-color);
    transform: scale(1);
  }
  50% {
    color: var(--accent-color);
    transform: scale(1.1);
  }
  100% {
    color: var(--primary-color);
    transform: scale(1);
  }
}

/* Step Number Animation */
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  position: relative;
  z-index: 1;
}

.step-number::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary-gradient);
  z-index: -1;
  opacity: 0.5;
  animation: step-pulse 2s infinite;
}

@keyframes step-pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
}

/* Phone Screen Animations */
.screen-1 {
  background: var(--primary-gradient);
  animation: screen-change 10s infinite;
}

.screen-2 {
  background: var(--accent-gradient);
  animation: screen-change 10s infinite 2.5s;
}

.screen-3 {
  background: linear-gradient(135deg, #38b000 0%, #2d9600 100%);
  animation: screen-change 10s infinite 5s;
}

.screen-4 {
  background: linear-gradient(135deg, #ffbe0b 0%, #fb8500 100%);
  animation: screen-change 10s infinite 7.5s;
}

@keyframes screen-change {
  0%, 20% {
    opacity: 1;
  }
  25%, 95% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}

/* Play Button Animation */
.play-button {
  width: 80px;
  height: 80px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin: 0 auto 1rem;
  position: relative;
  cursor: pointer;
}

.play-button::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--accent-color);
  opacity: 0.7;
  animation: play-pulse 2s infinite;
}

@keyframes play-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}

/* FAQ Accordion Animation */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question i {
  transition: var(--transition);
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-question.active + .faq-answer {
  max-height: 200px;
}

/* Video Placeholder Animation */
.video-placeholder {
  width: 100%;
  height: 300px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.video-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(123, 44, 191, 0.3) 0%, rgba(247, 37, 133, 0.3) 50%, rgba(123, 44, 191, 0.3) 100%);
  background-size: 200% 200%;
  animation: gradient-move 10s ease infinite;
}

.video-placeholder span {
  margin-top: 1rem;
  color: white;
  font-weight: 500;
  z-index: 1;
}

@keyframes gradient-move {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Particles Animation */
#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
} 