/* Custom animations and overrides for Monoplay Hugo theme */

/* Keyframe animations */
@keyframes prismFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@keyframes holographicShimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes particleFloat {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translate(100px, -100px) rotate(360deg);
    opacity: 0;
  }
}

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

/* Prism Spin theme styles */
.prism-gradient {
  background: linear-gradient(135deg, #8b5cf6 0%, #c084fc 25%, #e879f9 50%, #f472b6 75%, #ec4899 100%);
}

.holographic-text {
  background: linear-gradient(45deg, #8b5cf6, #c084fc, #e879f9, #f472b6, #ec4899, #8b5cf6);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: holographicShimmer 3s ease-in-out infinite;
}

.crystalline-border {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box, linear-gradient(45deg, #8b5cf6, #c084fc, #e879f9) border-box;
}

.prism-shadow {
  box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.25), 0 0 0 1px rgba(139, 92, 246, 0.1);
}

/* Particle animation container */
.particle-container {
  position: relative;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: linear-gradient(45deg, #8b5cf6, #c084fc);
  border-radius: 50%;
  animation: particleFloat 8s linear infinite;
}

.particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}
.particle:nth-child(2) {
  left: 20%;
  animation-delay: 1s;
}
.particle:nth-child(3) {
  left: 30%;
  animation-delay: 2s;
}
.particle:nth-child(4) {
  left: 40%;
  animation-delay: 3s;
}
.particle:nth-child(5) {
  left: 50%;
  animation-delay: 4s;
}
.particle:nth-child(6) {
  left: 60%;
  animation-delay: 5s;
}
.particle:nth-child(7) {
  left: 70%;
  animation-delay: 6s;
}
.particle:nth-child(8) {
  left: 80%;
  animation-delay: 7s;
}

/* Parallax elements */
.parallax-slow {
  animation: parallaxSlow 20s ease-in-out infinite alternate;
}

/* Floating prism elements */
.floating-prism {
  animation: prismFloat 6s ease-in-out infinite;
}

/* Custom prose styling for readability */
.prose {
  max-width: 100%;
  color: #374151;
  line-height: 1.7;
}

.prose h2 {
  color: #1f2937;
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.prose h3 {
  color: #374151;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.prose p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

.prose ul,
.prose ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.prose li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.prose ul li {
  list-style-type: disc;
}

.prose ol li {
  list-style-type: decimal;
}

.prose table {
  width: 100%;
  max-width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
  white-space: nowrap;
}

.prose table thead {
  display: table-header-group;
}

.prose table tbody {
  display: table-row-group;
}

.prose table tr {
  display: table-row;
  border-bottom: 1px solid #e5e7eb;
}

.prose table th,
.prose table td {
  display: table-cell;
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
  border-right: 1px solid #e5e7eb;
}

.prose table th {
  background-color: #f9fafb;
  font-weight: 600;
  color: #374151;
}

.prose table td {
  color: #6b7280;
}

.prose blockquote {
  border-left: 4px solid #8b5cf6;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #6b7280;
  background-color: #f9fafb;
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.prose img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

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

.prose em {
  font-style: italic;
}

/* Responsive prose adjustments */
@media (max-width: 768px) {
  .prose {
    font-size: 1rem;
  }

  .prose h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
  }

  .prose h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
  }

  .prose p {
    font-size: 1rem;
  }

  .prose table {
    font-size: 0.875rem;
  }

  .prose ul,
  .prose ol {
    padding-left: 1.5rem;
  }
}

.prose-custom {
  line-height: 1.7;
  color: #374151;
}

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

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

.prose-custom ul {
  margin: 1.25rem 0;
  padding-left: 1.5rem;
}

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

/* Mobile burger menu */
.burger-menu {
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(10px);
}

/* Responsive utilities */
@media (max-width: 1023px) {
  .mobile-hidden {
    display: none;
  }
}

@media (min-width: 1024px) {
  .desktop-hidden {
    display: none;
  }
}

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

body {
  overflow: auto;
}

/* Game card hover effects */
.game-card {
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -12px rgba(139, 92, 246, 0.3);
}

/* Bonus badge styling */
.bonus-badge {
  background: linear-gradient(135deg, #8b5cf6 0%, #c084fc 50%, #e879f9 100%);
  position: relative;
  overflow: hidden;
}

.bonus-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: holographicShimmer 2s infinite;
}

/* Payment method icons */
.payment-icon {
  filter: grayscale(1);
  transition: filter 0.3s ease;
}

.payment-icon:hover {
  filter: grayscale(0);
}
