/* Blaze Horizon Theme - Custom Animations & Overrides */

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

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

@keyframes flameGlow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 87, 34, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 87, 34, 0.6);
  }
}

@keyframes emberPulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Parallax Animation Class */
.parallax-float {
  animation: parallaxFloat 6s ease-in-out infinite;
}

/* Marquee Animation */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-scroll {
  display: inline-block;
  animation: marqueeScroll 30s linear infinite;
}

/* Blaze Horizon Color Overrides */
.bg-flame-gradient {
  background: linear-gradient(135deg, #b71c1c 0%, #d84315 25%, #ff5722 50%, #ff9800 75%, #ffc107 100%);
}

.bg-ember-glow {
  background: linear-gradient(45deg, #ff5722, #ff9800);
  animation: flameGlow 3s ease-in-out infinite;
}

.text-flame {
  color: #ff5722;
}

.text-ember {
  color: #ff9800;
}

.border-flame {
  border-color: #ff5722;
}

/* Enhanced prose styling for markdown content with responsive design */
.prose {
  max-width: 100%;
  line-height: 1.6;
  color: #374151;
}

.prose h2 {
  color: #1f2937;
  font-weight: 700;
  font-size: 1.875rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

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

.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%;
  border-collapse: collapse;
  margin: 2rem 0;
  overflow-x: auto;
  display: block;
  white-space: nowrap;
}

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

.prose th {
  background-color: #f9fafb;
  font-weight: 600;
  color: #1f2937;
}

.prose blockquote {
  border-left: 0.25rem solid #ff5722;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #6b7280;
}

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

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

.prose em {
  font-style: italic;
}

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

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

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

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

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

/* Custom Button Styles */
.btn-flame {
  background: linear-gradient(45deg, #ff5722, #ff9800);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-flame:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 87, 34, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #ff5722;
  border: 2px solid #ff5722;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #ff5722;
  color: white;
}

/* Responsive Utilities */
@media (max-width: 1024px) {
  .mobile-menu {
    display: block;
  }

  .desktop-menu {
    display: none;
  }
}

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

  .desktop-menu {
    display: block;
  }
}

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

body {
  overflow: auto;
}

/* Game Card Hover Effects */
.game-card {
  transition: all 0.3s ease;
  animation: emberPulse 4s ease-in-out infinite;
}

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

/* Bonus Badge Styling */
.bonus-badge {
  background: linear-gradient(135deg, #b71c1c, #ff5722);
  border-radius: 1rem;
  padding: 2rem;
  color: white;
  text-align: center;
  box-shadow: 0 10px 30px rgba(183, 28, 28, 0.3);
  animation: flameGlow 4s ease-in-out infinite;
}

/* Step Guide Styling */
.step-badge {
  background: linear-gradient(45deg, #ff9800, #ffc107);
  color: white;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
}

/* Payment Method Icons */
.payment-icon {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

/* FAQ Styling */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 1.5rem 0;
}

.faq-question {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.faq-answer {
  color: #6b7280;
  line-height: 1.6;
}
