/* Custom animations and overrides for LuckyWagerz Hugo Theme */

/* Jackpot Bloom Theme Colors */
:root {
  --violet: #8b5cf6;
  --fuchsia: #d946ef;
  --gold: #fbbf24;
  --velvet-black: #0f0f0f;
}

.bg-velvet-black { background-color: #0f0f0f !important; }

/* Keyframe Animations */
@keyframes bloom-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(217, 70, 239, 0.5);
  }
}

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

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

@keyframes tilt-float {
  0%,
  100% {
    transform: rotate(-2deg) translateY(0px);
  }
  50% {
    transform: rotate(2deg) translateY(-10px);
  }
}

/* Animation Classes */
.bloom-pulse {
  animation: bloom-pulse 3s ease-in-out infinite;
}

.confetti-burst::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  animation: confetti-burst 2s ease-out infinite;
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
}

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

.tilt-float {
  animation: tilt-float 6s ease-in-out infinite;
}

/* Prose Styling for Readability */
.prose {
  max-width: 100%;
  line-height: 1.6;
  color: #e5e7eb;
}

.prose h2 {
  color: var(--fuchsia);
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid rgba(217, 70, 239, 0.3);
  padding-bottom: 0.5rem;
}

.prose h3 {
  color: var(--violet);
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose p {
  margin-bottom: 1.25rem;
  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::marker {
  color: var(--gold);
}

.prose ol li::marker {
  color: var(--fuchsia);
  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 rgba(139, 92, 246, 0.3);
  text-align: left;
  white-space: normal;
}

.prose th {
  background: rgba(139, 92, 246, 0.15);
  color: var(--violet);
  font-weight: 600;
  font-size: 1.1rem;
}

.prose td {
  background: rgba(15, 15, 15, 0.5);
}

.prose blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #d1d5db;
  background: rgba(251, 191, 36, 0.05);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

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

.prose strong {
  color: var(--gold);
  font-weight: 600;
}

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

/* 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;
  }

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

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

/* Custom Components */
.bonus-badge {
  background: linear-gradient(135deg, var(--violet), var(--fuchsia));
  border: 2px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.bonus-badge::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
  animation: bloom-pulse 4s ease-in-out infinite;
}

.game-card {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(217, 70, 239, 0.3);
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(217, 70, 239, 0.2);
}

.step-badge {
  background: var(--gold);
  color: var(--velvet-black);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
}

.payment-icon {
  width: 40px;
  height: 40px;
  background: rgba(251, 191, 36, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

/* Responsive Utilities */
@media (max-width: 1023px) {
  .mobile-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .mobile-menu.open {
    transform: translateX(0);
  }
}

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

body {
  overflow: auto;
}
