/* 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, 215, 0, 0.3) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2.5s infinite linear;
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    #fbbf24 0%,
    #fef3c7 25%,
    #fbbf24 50%,
    #fef3c7 75%,
    #fbbf24 100%
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-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-subtle {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(1deg);
  }
}

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

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

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

/* Pulse Glow */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.8), 0 0 60px rgba(251, 191, 36, 0.4);
  }
}

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

/* Flying Banner Animation */
@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;
}

@keyframes bounce-subtle {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.bounce-hover:hover {
  animation: bounce-subtle 0.3s ease-in-out;
}

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

.slot-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(251, 191, 36, 0.3);
}

/* Sugar Rush Jelly Effect */
@keyframes jelly {
  0%, 100% {
    transform: scale(1, 1);
  }
  25% {
    transform: scale(0.95, 1.05);
  }
  50% {
    transform: scale(1.05, 0.95);
  }
  75% {
    transform: scale(0.98, 1.02);
  }
}

.jelly:hover {
  animation: jelly 0.5s ease-in-out;
}

/* Gradient Borders */
.gradient-border {
  position: relative;
  background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
  border-radius: 1.5rem;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b, #fbbf24);
  border-radius: 1.6rem;
  z-index: -1;
  opacity: 0.6;
}

/* Prose Readability */
.prose-readable {
  font-size: 1rem;
  line-height: 1.75;
  color: #d1d5db;
}

.prose-readable h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fbbf24;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose-readable h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fef3c7;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

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

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

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

.prose-readable a {
  color: #fbbf24;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose-readable a:hover {
  color: #fef3c7;
}

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

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

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

::-webkit-scrollbar-thumb {
  background: #fbbf24;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #f59e0b;
}

/* Tab Active State */
.tab-active {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #0a0a0a;
  font-weight: 600;
}

.tab-inactive {
  background: #1f1f1f;
  color: #9ca3af;
}

/* Bento Grid Items */
.bento-item {
  background: linear-gradient(145deg, #141414, #1a1a1a);
  border: 1px solid rgba(251, 191, 36, 0.1);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.bento-item:hover {
  border-color: rgba(251, 191, 36, 0.3);
  box-shadow: 0 8px 32px rgba(251, 191, 36, 0.1);
}

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

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

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

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

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

.casino-table th {
  background: linear-gradient(135deg, #1f1f1f, #171717);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #fbbf24;
  border-bottom: 2px solid #fbbf24;
}

.casino-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #2a2a2a;
  color: #d1d5db;
}

.casino-table tr:hover td {
  background: rgba(251, 191, 36, 0.05);
}

/* Progress Bar */
.progress-bar {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  border-radius: 9999px;
  transition: width 0.5s ease;
}

/* Star Rating */
.star-filled {
  color: #fbbf24;
}

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

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

.quiz-option:hover {
  background: rgba(251, 191, 36, 0.1);
  border-color: #fbbf24;
}

.quiz-option.selected {
  background: rgba(251, 191, 36, 0.2);
  border-color: #fbbf24;
}

/* Live Bets Animation */
@keyframes fade-in-row {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.bet-row-new {
  animation: fade-in-row 0.3s ease-out;
}

/* Mobile Menu */
.mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.open {
  transform: translateX(0);
}

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

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