/* Crystal Fortune Theme - Custom Animations & Overrides */

/* Keyframe Animations */


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

@keyframes sparkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

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

@keyframes tilt {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(1deg);
  }
  75% {
    transform: rotate(-1deg);
  }
}

/* Crystal Fortune Color Palette */
:root {
  --crystal-primary: #1e40af; /* Sapphire blue */
  --crystal-secondary: #059669; /* Emerald green */
  --crystal-accent: #7c3aed; /* Amethyst purple */
  --crystal-gold: #f59e0b; /* Chandelier gold */
  --crystal-pearl: #f8fafc; /* Pearl white */
  --crystal-marble: #0f172a; /* Black marble */
  --crystal-rainbow: linear-gradient(45deg, #ef4444, #f97316, #eab308, #22c55e, #3b82f6, #8b5cf6, #ec4899);
}

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

/* Crystal Fortune Styling */
.crystal-bg {
  background: linear-gradient(135deg, var(--crystal-marble) 0%, #1e293b 100%);
}

.crystal-card {
  background: linear-gradient(145deg, rgba(248, 250, 252, 0.1), rgba(248, 250, 252, 0.05));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(248, 250, 252, 0.2);
}

.crystal-shimmer {
  position: relative;
  overflow: hidden;
}

.crystal-shimmer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

.crystal-float {
  animation: float 3s ease-in-out infinite;
}

.crystal-sparkle {
  animation: sparkle 2s ease-in-out infinite;
}

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

.crystal-tilt {
  animation: tilt 4s ease-in-out infinite;
}

/* Bonus Badge Styling */
.bonus-badge {
  background: var(--crystal-rainbow);
  background-size: 200% 200%;
  animation: shimmer 3s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
}

/* Game Card Hover Effects */
.game-card {
  transition: all 0.3s ease;
  transform-style: preserve-3d;
}

.game-card:hover {
  transform: translateY(-5px) rotateY(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Payment Method Icons */
.payment-icon {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: transform 0.2s ease;
}

.payment-icon:hover {
  transform: scale(1.1);
}

/* Prose Styling for Readability */
.prose {
  color: var(--crystal-pearl);
  line-height: 1.7;
  max-width: 100%;
}

.prose h2 {
  color: var(--crystal-gold);
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 1em;
  font-size: 1.5em;
}

.prose h3 {
  color: var(--crystal-primary);
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
  font-size: 1.25em;
}

.prose p {
  margin-bottom: 1.25em;
  font-size: 1rem;
}

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

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

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

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

.prose th,
.prose td {
  padding: 0.75rem;
  border: 1px solid rgba(248, 250, 252, 0.2);
  text-align: left;
  white-space: normal;
}

.prose th {
  background: rgba(248, 250, 252, 0.1);
  font-weight: 600;
  color: var(--crystal-gold);
}

.prose blockquote {
  border-left: 4px solid var(--crystal-gold);
  padding-left: 1em;
  margin: 1.5em 0;
  font-style: italic;
  background: rgba(248, 250, 252, 0.05);
  padding: 1em;
  border-radius: 0.5rem;
}

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

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

  .prose h2 {
    font-size: 1.3em;
  }

  .prose h3 {
    font-size: 1.1em;
  }

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

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

/* Responsive Design Enhancements */
@media (max-width: 1024px) {
  .crystal-tilt {
    animation: none;
  }

  .game-card:hover {
    transform: translateY(-2px);
  }
}

@media (max-width: 768px) {
  .crystal-float {
    animation: none;
  }

  .bonus-badge {
    animation: none;
  }
}

/* Sticky Navigation Enhancement */
.sticky-nav {
  backdrop-filter: blur(20px);
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(248, 250, 252, 0.1);
}

/* Burger Menu Styling */
.burger-menu {
  background: rgba(15, 23, 42, 1) !important;
  backdrop-filter: blur(20px);
}

/* CTA Button Enhancements */
.cta-primary {
  background: var(--crystal-rainbow);
  background-size: 200% 200%;
  animation: shimmer 3s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  transition: all 0.3s ease;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
}

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

.cta-secondary:hover {
  background: var(--crystal-gold);
  color: var(--crystal-marble);
  transform: translateY(-2px);
}
