/* Custom CSS for Casea Casino Theme */

/* Keyframe Animations */

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

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

/* Pulse glow for CTAs */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.4);
  }
  50% {
    box-shadow: 0 0 35px rgba(250, 204, 21, 0.7);
  }
}

/* Shimmer effect class */
.shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

/* Float effect class */
.float {
  animation: float 4s ease-in-out infinite;
}

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

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

/* CTA pulse glow */
.cta-glow {
  animation: pulse-glow 2.5s ease-in-out infinite;
}

/* Prose readability */
.prose-readable {
  font-size: 1.0625rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

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

.prose-readable h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.prose-readable h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

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

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

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #1a1410;
}

::-webkit-scrollbar-thumb {
  background: #3d2e24;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4d3a2e;
}

/* Tab active state */
.tab-active {
  background-color: #facc15 !important;
  color: #1a1410 !important;
}

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

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

/* Badge shimmer */
.badge-shimmer {
  position: relative;
  overflow: hidden;
}

.badge-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shimmer 2s ease-in-out infinite;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #facc15;
  outline-offset: 2px;
}

/* Mobile menu transition */
.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;
}

/* Star rating */
.star-filled {
  color: #facc15;
}

.star-empty {
  color: #4d3a2e;
}
