/* ===================================
   LuckyMinning Casino Custom Styles
   Dark Blue & Gold Digger Theme
   =================================== */

/* ========== KEYFRAME ANIMATIONS ========== */

/* Pulsating CTA Effect */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.8), 0 0 60px rgba(212, 175, 55, 0.4);
  }
}

.cta-pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Parallax Slow Movement */
@keyframes parallax-slow {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

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

/* Floating Hero Section */
@keyframes float-hero {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.01);
  }
}

.floating-hero {
  animation: float-hero 8s ease-in-out infinite;
}

/* Marquee Scroll Animation */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-container .marquee-content {
  animation: marquee-scroll 30s linear infinite;
  width: max-content;
}

.marquee-container {
  display: flex;
  overflow: hidden;
}

/* Fade Animation for Dynamic Content */
@keyframes fade-in-out {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

.fade-animation {
  animation: fade-in-out 1s ease-in-out infinite;
}

/* Glow Border for Featured Items */
@keyframes glow-border {
  0%, 100% {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
  }
  50% {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.8), 0 0 45px rgba(212, 175, 55, 0.4);
  }
}

.glow-border {
  animation: glow-border 2s ease-in-out infinite;
}

/* Game Card Hover Effects */
.game-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card:hover {
  transform: translateY(-8px) scale(1.03);
}

/* ========== PROSE STYLING FOR READABILITY ========== */

.prose-custom {
  color: #e5e7eb;
  line-height: 1.75;
}

.prose-custom h1,
.prose-custom h2,
.prose-custom h3,
.prose-custom h4,
.prose-custom h5,
.prose-custom h6 {
  color: #D4AF37;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 2em;
  margin-bottom: 1em;
}

.prose-custom h1 {
  font-size: 2.25em;
}

.prose-custom h2 {
  font-size: 1.875em;
}

.prose-custom h3 {
  font-size: 1.5em;
}

.prose-custom h4 {
  font-size: 1.25em;
}

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

.prose-custom a {
  color: #D4AF37;
  text-decoration: underline;
  transition: color 0.2s;
}

.prose-custom a:hover {
  color: #F4D03F;
}

.prose-custom ul,
.prose-custom ol {
  margin: 1.25em 0;
  padding-left: 1.5em;
}

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

.prose-custom strong {
  color: #D4AF37;
  font-weight: 700;
}

.prose-custom code {
  background-color: rgba(212, 175, 55, 0.1);
  color: #F4D03F;
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.prose-custom pre {
  background-color: rgba(10, 22, 40, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 0.5rem;
  padding: 1em;
  overflow-x: auto;
  margin: 1.5em 0;
}

.prose-custom blockquote {
  border-left: 4px solid #D4AF37;
  padding-left: 1em;
  font-style: italic;
  color: #9ca3af;
  margin: 1.5em 0;
}

.prose-custom table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

.prose-custom th {
  background-color: rgba(212, 175, 55, 0.2);
  color: #D4AF37;
  font-weight: 700;
  padding: 0.75em;
  text-align: left;
  border-bottom: 2px solid rgba(212, 175, 55, 0.4);
}

.prose-custom td {
  padding: 0.75em;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.prose-custom img {
  border-radius: 0.5rem;
  max-width: 100%;
  height: auto;
  margin: 1.5em 0;
}

.prose-custom hr {
  border: none;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  margin: 2em 0;
}

/* ========== CUSTOM SCROLLBAR ========== */

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #0A1628;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #D4AF37, #F4D03F);
  border-radius: 6px;
  border: 2px solid #0A1628;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #F4D03F, #FFB84D);
}

/* ========== UTILITY CLASSES ========== */

/* Text gradient gold */
.text-gradient-gold {
  background: linear-gradient(135deg, #D4AF37, #F4D03F, #FFB84D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Backdrop blur enhancement */
.backdrop-enhanced {
  backdrop-filter: blur(12px) saturate(180%);
}

/* Smooth transitions */
.transition-smooth {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gold border gradient */
.border-gradient-gold {
  border-image: linear-gradient(135deg, #D4AF37, #F4D03F) 1;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */

@media (max-width: 768px) {
  .parallax-slow,
  .floating-hero {
    animation: none;
  }
  
  .prose-custom {
    font-size: 0.95em;
  }
  
  .prose-custom h1 {
    font-size: 1.75em;
  }
  
  .prose-custom h2 {
    font-size: 1.5em;
  }
}

/* ========== ACCESSIBILITY ========== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #D4AF37;
  outline-offset: 2px;
}

/* ========== PRINT STYLES ========== */

@media print {
  .sticky,
  header,
  footer,
  nav,
  #ctaBanner {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
}
