/* Custom animations and overrides */
@keyframes flame-flicker {
  0%,
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  25% {
    opacity: 0.8;
    transform: scale(1.05) rotate(1deg);
  }
  50% {
    opacity: 0.9;
    transform: scale(0.95) rotate(-1deg);
  }
  75% {
    opacity: 0.85;
    transform: scale(1.02) rotate(0.5deg);
  }
}

@keyframes coin-rain {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

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

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

/* Mythic Blaze theme colors and effects */
.flame-gradient {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 25%, #ffcc02 50%, #ff6b35 75%, #d63031 100%);
}

.ember-glow {
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.4), 0 0 40px rgba(247, 147, 30, 0.2);
}

.molten-text {
  background: linear-gradient(45deg, #ff6b35, #f7931e, #ffcc02);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.flame-border {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box, linear-gradient(45deg, #ff6b35, #f7931e) border-box;
}

/* Animation classes */
.flame-flicker {
  animation: flame-flicker 2s ease-in-out infinite;
}

.coin-rain {
  animation: coin-rain 3s linear infinite;
}

.marquee {
  animation: marquee-scroll 20s linear infinite;
}

.parallax-float {
  animation: parallax-float 4s ease-in-out infinite;
}

/* Prose styling for readability */
.prose {
  max-width: 100%;
  line-height: 1.7;
  color: #374151;
  font-size: 1.1rem;
}

.prose h2 {
  color: #1f2937;
  font-weight: 700;
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #ff6b35;
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.prose h3 {
  color: #374151;
  font-weight: 600;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

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

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

.prose ul li::marker {
  color: #ff6b35;
}

.prose ol li::marker {
  color: #ff6b35;
  font-weight: 600;
}

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

.prose table tbody {
  display: table;
  width: 100%;
}

.prose th,
.prose td {
  padding: 1rem 0.75rem;
  border: 1px solid #e5e7eb;
  text-align: left;
  white-space: normal;
}

.prose th {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 100%);
  font-weight: 600;
  color: #1f2937;
}

.prose tr:nth-child(even) {
  background-color: #f9fafb;
}

.prose blockquote {
  border-left: 4px solid #ff6b35;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #6b7280;
  background: rgba(255, 107, 53, 0.05);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

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

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

.prose em {
  color: #6b7280;
}

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

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

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

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

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

/* Bonus badge styling */
.bonus-badge {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffcc02 100%);
  border: 3px solid #fff;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
  position: relative;
  overflow: hidden;
}

.bonus-badge::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  50% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
  100% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
}

/* Game card hover effects */
.game-card {
  transition: all 0.3s ease;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 100%);
}

.game-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.2);
}

/* Payment method styling */
.payment-icon {
  filter: drop-shadow(0 2px 4px rgba(255, 107, 53, 0.2));
}

/* FAQ styling */
.faq-item {
  border-left: 4px solid transparent;
  background: linear-gradient(white, white) padding-box, linear-gradient(45deg, #ff6b35, #f7931e) border-box;
}

/* Responsible gaming badges */
.responsible-badge {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.responsible-badge:hover {
  opacity: 1;
}

/* Responsive utilities */
@media (max-width: 1023px) {
  .mobile-menu-bg {
    background: rgba(31, 41, 55, 0.95) !important;
    backdrop-filter: blur(10px);
  }
}

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

body {
  overflow: auto;
}
