/* ============================================
   Winzila Casino - Custom CSS
   Zila Technolume Theme: Green-White Neon Pulses
   ============================================ */

/* === KEYFRAME ANIMATIONS === */

@keyframes particle-float {
  0%,
  100% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-20px) translateX(10px) rotate(90deg);
    opacity: 1;
  }
  50% {
    transform: translateY(-40px) translateX(-10px) rotate(180deg);
    opacity: 0.8;
  }
  75% {
    transform: translateY(-20px) translateX(-15px) rotate(270deg);
    opacity: 0.9;
  }
}

@keyframes neon-pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 2px rgba(16, 185, 129, 0.8)) drop-shadow(0 0 10px rgba(16, 185, 129, 0.6));
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 1)) drop-shadow(0 0 20px rgba(16, 185, 129, 0.8));
  }
}

@keyframes neon-pulse-white {
  0%,
  100% {
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 1)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
  }
}

@keyframes scatter-flare {
  0% {
    box-shadow: 0 0 5px rgba(16, 185, 129, 0.5), 0 0 15px rgba(16, 185, 129, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.8), 0 0 40px rgba(16, 185, 129, 0.6), 0 0 60px rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 5px rgba(16, 185, 129, 0.5), 0 0 15px rgba(16, 185, 129, 0.3);
    transform: scale(1);
  }
}

@keyframes tilt-shake {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-2deg);
  }
  75% {
    transform: rotate(2deg);
  }
}

@keyframes border-glow {
  0%,
  100% {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: inset 0 0 10px rgba(16, 185, 129, 0.2);
  }
  50% {
    border-color: rgba(16, 185, 129, 1);
    box-shadow: inset 0 0 20px rgba(16, 185, 129, 0.5), 0 0 15px rgba(16, 185, 129, 0.5);
  }
}

@keyframes slide-up-fade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === ANIMATION UTILITY CLASSES === */

.animate-particle {
  animation: particle-float 8s ease-in-out infinite;
}

.animate-particle-delay-1 {
  animation: particle-float 8s ease-in-out infinite 1s;
}

.animate-particle-delay-2 {
  animation: particle-float 8s ease-in-out infinite 2s;
}

.animate-neon-pulse {
  animation: neon-pulse 2s ease-in-out infinite;
}

.animate-neon-pulse-white {
  animation: neon-pulse-white 2s ease-in-out infinite;
}

.animate-scatter-flare {
  animation: scatter-flare 3s ease-in-out infinite;
}

.animate-tilt {
  animation: tilt-shake 3s ease-in-out infinite;
}

.animate-border-glow {
  animation: border-glow 2s ease-in-out infinite;
}

.animate-slide-up {
  animation: slide-up-fade 0.8s ease-out forwards;
}

/* === PARTICLE SYSTEM === */

.particle-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.8), rgba(255, 255, 255, 0.6));
  border-radius: 50%;
}

.particle-1 {
  top: 10%;
  left: 10%;
}
.particle-2 {
  top: 20%;
  left: 80%;
}
.particle-3 {
  top: 50%;
  left: 20%;
}
.particle-4 {
  top: 70%;
  left: 70%;
}
.particle-5 {
  top: 85%;
  left: 40%;
}
.particle-6 {
  top: 30%;
  left: 50%;
}

/* === PROSE STYLING FOR READABILITY === */

.prose {
  color: #e5e7eb;
  max-width: 65ch;
  line-height: 1.75;
  font-size: 1rem;
}

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

.prose h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  color: #f3f4f6;
}

.prose h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  color: #f3f4f6;
}

.prose p {
  margin-bottom: 1.25em;
  line-height: 1.8;
}

.prose ul,
.prose ol {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.625em;
}

.prose li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  line-height: 1.7;
}

.prose ul > li {
  position: relative;
  padding-left: 0.375em;
}

.prose ul > li::marker {
  color: #10b981;
}

.prose ol > li::marker {
  color: #10b981;
  font-weight: 600;
}

.prose strong {
  font-weight: 700;
  color: #ffffff;
}

.prose a {
  color: #10b981;
  text-decoration: underline;
  text-decoration-color: rgba(16, 185, 129, 0.4);
  text-underline-offset: 2px;
  transition: all 0.2s;
}

.prose a:hover {
  color: #34d399;
  text-decoration-color: rgba(52, 211, 153, 0.8);
}

.prose blockquote {
  border-left: 4px solid #10b981;
  padding-left: 1em;
  font-style: italic;
  color: #d1d5db;
  margin: 1.6em 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 0.95rem;
}

.prose table th {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #ffffff;
}

.prose table td {
  border: 1px solid rgba(75, 85, 99, 0.5);
  padding: 0.75rem 1rem;
}

.prose table tr:hover {
  background-color: rgba(16, 185, 129, 0.05);
}

/* === CUSTOM OVERRIDES === */

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #059669, #047857);
  border-color: #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #10b981;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: #34d399;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.bonus-badge {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.3));
  border: 2px solid #10b981;
  backdrop-filter: blur(10px);
}

.neon-border {
  border: 2px solid #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5), inset 0 0 10px rgba(16, 185, 129, 0.1);
}

.tech-grid {
  background-image: linear-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

/* === RESPONSIVE TABLE === */

@media (max-width: 768px) {
  .prose table {
    font-size: 0.875rem;
  }

  .prose table th,
  .prose table td {
    padding: 0.5rem 0.75rem;
  }
}
