/* Bearo Casino - 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, 255, 255, 0.4) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2.5s infinite;
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    #ff6b9d 0%,
    #ffd93d 25%,
    #6bcf63 50%,
    #4d9de0 75%,
    #ff6b9d 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);
  }
}

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

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

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

.float-delay-1 {
  animation-delay: 0.5s;
}

.float-delay-2 {
  animation-delay: 1s;
}

.float-delay-3 {
  animation-delay: 1.5s;
}

/* Pulse Glow */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.4),
                0 0 40px rgba(255, 107, 157, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 107, 157, 0.6),
                0 0 60px rgba(255, 107, 157, 0.4);
  }
}

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

/* Flying Banner */
@keyframes slide-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.flying-banner {
  animation: slide-up 0.4s ease-out forwards;
}

.flying-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
}

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

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

/* 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.3),
    transparent
  );
  animation: shimmer 2s 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;
  line-height: 1.3;
}

.prose-readable h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

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

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

/* Sugar Rush Gradient Backgrounds */
.sugar-gradient {
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 50%, #1a0a2e 100%);
}

.sugar-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
}

.candy-gradient {
  background: linear-gradient(135deg, #ff6b9d 0%, #ffd93d 50%, #ff6b9d 100%);
}

.rainbow-border {
  background: linear-gradient(90deg, #ff6b9d, #ffd93d, #6bcf63, #4d9de0, #9b59b6, #ff6b9d);
  background-size: 300% 100%;
  animation: shimmer 4s linear infinite;
}

/* Tab Active States */
.tab-btn {
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: linear-gradient(135deg, #ff6b9d 0%, #ff8a65 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

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

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

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

/* Quiz Styles */
.quiz-option {
  transition: all 0.2s ease;
}

.quiz-option:hover {
  transform: scale(1.02);
}

.quiz-option.selected {
  border-color: #ff6b9d;
  background: rgba(255, 107, 157, 0.2);
}

/* Bento Grid Items */
.bento-item {
  transition: all 0.3s ease;
}

.bento-item:hover {
  transform: scale(1.01);
}

/* Progress Bar Animation */
@keyframes progress-fill {
  from {
    width: 0%;
  }
}

.progress-animate {
  animation: progress-fill 1.5s ease-out forwards;
}

/* Star Rating */
.star-rating {
  color: #ffd93d;
  text-shadow: 0 0 10px rgba(255, 217, 61, 0.5);
}

/* Mobile Menu Animation */
@keyframes menu-slide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-animate {
  animation: menu-slide 0.3s ease-out forwards;
}

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .shimmer,
  .shimmer-text,
  .float,
  .float-slow,
  .pulse-glow,
  .flying-banner,
  .card-hover,
  .badge-shimmer::after {
    animation: none;
  }
  
  .card-hover:hover {
    transform: none;
  }
}
