/* Casea Custom Styles */
/* Animations: Shimmer + Float */

/* Shimmer Animation */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 215, 0, 0.3) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2.5s ease-in-out infinite;
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    #ffd700 0%,
    #fff5cc 25%,
    #ffd700 50%,
    #fff5cc 75%,
    #ffd700 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

/* Float Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

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

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

.float-delay {
  animation: float 4s ease-in-out infinite;
  animation-delay: 1s;
}

/* Pulse Glow */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.7);
  }
}

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

/* Subtle Scale */
@keyframes subtle-scale {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.subtle-scale {
  animation: subtle-scale 3s ease-in-out infinite;
}

/* Prose Readability */
.prose-custom {
  line-height: 1.75;
  font-size: 1.0625rem;
}

.prose-custom h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.prose-custom h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

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

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

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

/* Card Hover Effects */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Gold Gradient Button */
.btn-gold {
  background: linear-gradient(135deg, #ffd700 0%, #ffb700 50%, #ffa500 100%);
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #ffe44d 0%, #ffc933 50%, #ffb732 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Tab Active State */
.tab-active {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  color: #1a0a2e;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #2d1b4e;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ffd700, #ffa500);
  border-radius: 4px;
}

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

/* Badge Styles */
.badge-rtp {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.badge-jackpot {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.badge-bonus {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.badge-popular {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Glass Effect */
.glass {
  background: rgba(45, 27, 78, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Star Rating */
.star-gold {
  color: #ffd700;
}

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #ffd700;
  outline-offset: 2px;
}

/* Mobile Menu Animation */
.mobile-menu {
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.mobile-menu.open {
  max-height: 500px;
  opacity: 1;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Table Styles */
.table-casino {
  border-collapse: separate;
  border-spacing: 0;
}

.table-casino th {
  background: linear-gradient(135deg, #3d2a5c 0%, #2d1b4e 100%);
}

.table-casino tr:hover td {
  background: rgba(255, 215, 0, 0.05);
}
