/* Dragon's Fortune Theme - Custom Animations & Styling */

/* Keyframe Animations */
@keyframes dragonFlame {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1) rotate(2deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.8;
  }
}

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

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

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

/* Dragon's Fortune Color Palette */
:root {
  --flame-red: #dc2626;
  --molten-gold: #fbbf24;
  --crimson-amber: #b91c1c;
  --sapphire-blue: #1e40af;
  --treasure-bronze: #92400e;
  --smoke-gray: #374151;
}

/* Base Styling */
body,
html {
  overflow: auto !important;
  scroll-behavior: smooth;
}

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

.prose h2 {
  color: var(--flame-red);
  font-weight: 700;
  font-size: 1.875rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.2;
  border-bottom: 2px solid var(--molten-gold);
  padding-bottom: 0.5rem;
}

.prose h3 {
  color: var(--sapphire-blue);
  font-weight: 600;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

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

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

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

.prose ul li::marker {
  color: var(--molten-gold);
}

.prose ol li::marker {
  color: var(--flame-red);
  font-weight: 600;
}

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

.prose table thead {
  background: linear-gradient(135deg, var(--flame-red), var(--crimson-amber));
}

.prose table th {
  color: white;
  font-weight: 600;
  padding: 1rem;
  text-align: left;
  border: 1px solid var(--molten-gold);
}

.prose table td {
  padding: 0.875rem 1rem;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.prose table tr:nth-child(even) td {
  background: #f3f4f6;
}

.prose blockquote {
  border-left: 4px solid var(--molten-gold);
  background: #fef3c7;
  padding: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--smoke-gray);
}

.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 {
  color: var(--flame-red);
  font-weight: 700;
}

.prose em {
  color: var(--sapphire-blue);
}

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

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

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

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

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

/* Dragon Theme Elements */
.dragon-flame {
  animation: dragonFlame 3s ease-in-out infinite;
}

.gold-shimmer {
  background: linear-gradient(90deg, var(--molten-gold) 0%, #fde047 50%, var(--molten-gold) 100%);
  background-size: 200% 100%;
  animation: goldShimmer 2s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.parallax-element {
  animation: parallaxFloat 6s ease-in-out infinite;
}

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

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--molten-gold);
  border-radius: 50%;
  animation: floatingParticles 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;
}

/* Bonus Badge Styling */
.bonus-badge {
  background: linear-gradient(135deg, var(--flame-red), var(--crimson-amber));
  border: 3px solid var(--molten-gold);
  box-shadow: 0 0 30px rgba(220, 38, 38, 0.5);
}

/* CTA Button Styling */
.cta-primary {
  background: linear-gradient(135deg, var(--molten-gold), #f59e0b);
  border: 2px solid var(--treasure-bronze);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

.cta-secondary {
  border: 2px solid var(--sapphire-blue);
  color: var(--sapphire-blue);
  transition: all 0.3s ease;
}

.cta-secondary:hover {
  background: var(--sapphire-blue);
  color: white;
}

/* Game Card Styling */
.game-card {
  border: 2px solid var(--molten-gold);
  background: linear-gradient(145deg, #1f2937, #111827);
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.2);
}

/* Payment Method Table */
.payment-table {
  border: 1px solid var(--molten-gold);
}

.payment-table th {
  background: linear-gradient(135deg, var(--flame-red), var(--crimson-amber));
  color: white;
}

.payment-table td {
  border-bottom: 1px solid #e5e7eb;
}

/* Mobile Burger Menu */
.burger-menu {
  background: rgba(17, 24, 39, 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;
  }
}

/* FAQ Schema Styling */
.faq-item {
  border-left: 4px solid var(--molten-gold);
  background: #f9fafb;
}

/* Step Guide Styling */
.step-badge {
  background: var(--molten-gold);
  color: var(--smoke-gray);
  font-weight: bold;
}

/* Footer Styling */
.footer-dragon {
  background: linear-gradient(135deg, #111827, #1f2937);
  border-top: 3px solid var(--molten-gold);
}
