/* Custom animations and prose styling */

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(239, 68, 116, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(239, 68, 116, 0.9);
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes slide-in {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

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

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

@keyframes tilt {
  0%,
  100% {
    transform: rotate(-1deg);
  }
  50% {
    transform: rotate(1deg);
  }
}

@keyframes particle-float {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(100px, -100px) scale(0);
    opacity: 0;
  }
}

/* Floating animation */
.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* Pulse glow for CTAs */
.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Marquee animation */
.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
}

.marquee-content {
  display: flex;
  animation: marquee 30s linear infinite;
}

/* Tilt animation */
.tilt-animation {
  animation: tilt 2s ease-in-out infinite;
}

/* Gradient backgrounds */
.gradient-pink {
  background: linear-gradient(135deg, #ff6b9d 0%, #ef4474 50%, #c9184a 100%);
}

.gradient-dark {
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f1419 100%);
}

.gradient-candy {
  background: linear-gradient(135deg, #ff6b9d 0%, #ef4474 25%, #ffd93d 50%, #6bcf7f 75%, #4d96ff 100%);
}

/* Card styles */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(239, 68, 116, 0.3);
}

/* Prose styling for readability */
.prose {
  color: #e0e0e0;
  line-height: 1.75;
}

.prose h2 {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose strong {
  color: #ef4474;
  font-weight: 600;
}

/* Candy dots pattern */
.candy-pattern {
  background-color: #2a2a3e;
  background-image: radial-gradient(circle at 20% 50%, rgba(239, 68, 116, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(107, 207, 127, 0.1) 0%, transparent 50%);
}

/* Lollipop shape */
.lollipop-shape {
  position: relative;
}

.lollipop-shape::before {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff6b9d, #ef4474, #ffd93d);
  opacity: 0.3;
  top: -30px;
  right: -30px;
  z-index: -1;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
  background: #ef4474;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff6b9d;
}

/* Badge styles */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-rtp {
  background: linear-gradient(135deg, #ffd93d, #ffb703);
  color: #1a1a2e;
}

.badge-jackpot {
  background: linear-gradient(135deg, #ff6b9d, #ef4474);
  color: #ffffff;
}

.badge-bonus {
  background: linear-gradient(135deg, #6bcf7f, #4d96ff);
  color: #ffffff;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(26, 26, 46, 0.98);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateY(0);
}

/* Countdown animation */
@keyframes countdown-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.countdown {
  animation: countdown-pulse 1s ease-in-out infinite;
}

/* Wheel spinner */
.wheel-container {
  position: relative;
  width: 300px;
  height: 300px;
}

.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  transform-origin: center;
  transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

/* Particle effects */
.particle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4474;
  animation: particle-float 3s ease-out infinite;
}

/* Table styling */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th {
  background: rgba(239, 68, 116, 0.2);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #ffffff;
}

table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
}

table tr:hover {
  background: rgba(239, 68, 116, 0.05);
}

/* Sticky CTA banner */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  animation: float 3s ease-in-out infinite;
}

@media (max-width: 768px) {
  .sticky-cta {
    bottom: 0;
    right: 0;
    left: 0;
    border-radius: 0;
    animation: none;
  }
}

/* 3D button effect */
.btn-3d {
  position: relative;
  transition: all 0.1s ease;
  box-shadow: 0 6px 0 #c9184a, 0 8px 8px rgba(0, 0, 0, 0.3);
}

.btn-3d:hover {
  transform: translateY(2px);
  box-shadow: 0 4px 0 #c9184a, 0 6px 6px rgba(0, 0, 0, 0.3);
}

.btn-3d:active {
  transform: translateY(6px);
  box-shadow: 0 0 0 #c9184a, 0 2px 4px rgba(0, 0, 0, 0.3);
}
