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

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

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.6), 0 0 60px rgba(232, 121, 249, 0.4);
  }
}

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

@keyframes grid-pulse {
  0%,
  100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.3;
  }
}

/* Animation Classes */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

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

.bonus-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* Holographic Grid Background */
.holographic-grid {
  background-image: linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-pulse 4s ease-in-out infinite;
}

/* Marquee Animation */
.marquee-container {
  position: relative;
  width: 100%;
}

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

.marquee-content::after {
  content: "";
  display: flex;
  gap: 1.5rem;
  margin-left: 1.5rem;
}

/* Duplicate content for seamless loop */
.marquee-content::before {
  content: "NetEnt Microgaming Pragmatic Play Evolution Gaming Play'n GO Yggdrasil Red Tiger Quickspin Thunderkick Big Time Gaming Betsoft ELK Studios Nolimit City Push Gaming Relax Gaming";
  display: flex;
  gap: 1.5rem;
  white-space: nowrap;
}

.marquee-content span {
  flex-shrink: 0;
}

/* Prose Styling for Readability */
.prose-custom {
  font-size: 1rem;
  line-height: 1.75;
}

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

.prose-custom h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #00d4ff, #e879f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.prose-custom ul,
.prose-custom ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}

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

.prose-custom a {
  color: #00d4ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.prose-custom a:hover {
  color: #e879f9;
}

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

.prose-custom code {
  background-color: rgba(30, 27, 75, 0.5);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  color: #00d4ff;
}

.prose-custom blockquote {
  border-left: 4px solid #00d4ff;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #9ca3af;
}

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

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

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

::-webkit-scrollbar-track {
  background: #0a0e27;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #00d4ff, #e879f9);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #0ea5e9, #d946ef);
}

/* Parallax Layer */
.parallax-layer {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* Details/Summary Styling */
details summary {
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

/* Focus States */
a:focus,
button:focus,
details:focus {
  outline: 2px solid #00d4ff;
  outline-offset: 2px;
}

/* Selection Color */
::selection {
  background-color: rgba(0, 212, 255, 0.3);
  color: #ffffff;
}

::-moz-selection {
  background-color: rgba(0, 212, 255, 0.3);
  color: #ffffff;
}
