/* Betwest Casino - Custom Styles */
/* Wild West Dark Theme with 3D Casino Vibes */

/* ========================================
   KEYFRAME ANIMATIONS
   Selected: Shimmer + Float
   ======================================== */

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@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(1deg);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.6);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   ANIMATION UTILITY CLASSES
   ======================================== */

.animate-shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(251, 191, 36, 0.15) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

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

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

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

.animate-fade-in {
  animation: fade-in-up 0.6s ease-out forwards;
}

/* ========================================
   PROSE READABILITY
   ======================================== */

.prose-casino {
  font-size: 1rem;
  line-height: 1.75;
  color: #d1d5db;
}

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

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

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

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

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

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

.prose-casino a:hover {
  color: #fcd34d;
}

/* ========================================
   CUSTOM COMPONENTS
   ======================================== */

/* Glass morphism panels */
.glass-panel {
  background: linear-gradient(135deg, rgba(30, 20, 10, 0.9) 0%, rgba(45, 30, 15, 0.85) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(251, 191, 36, 0.2);
}

/* Wild West themed border */
.western-border {
  border: 2px solid transparent;
  background: 
    linear-gradient(rgba(20, 15, 10, 1), rgba(20, 15, 10, 1)) padding-box,
    linear-gradient(135deg, #b45309, #fbbf24, #92400e) border-box;
}

/* Golden glow effect */
.golden-glow {
  box-shadow: 
    0 4px 20px rgba(251, 191, 36, 0.25),
    0 0 60px rgba(251, 191, 36, 0.1);
}

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

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

/* CTA Button styles */
.btn-primary {
  background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #f59e0b 100%);
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(217, 119, 6, 0.5);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #fbbf24;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(251, 191, 36, 0.15);
}

/* Navigation pills/chips */
.nav-chip {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  transition: all 0.3s ease;
}

.nav-chip:hover {
  background: rgba(251, 191, 36, 0.2);
  border-color: #fbbf24;
}

/* Game card overlay */
.game-card-overlay {
  background: linear-gradient(
    to top,
    rgba(15, 10, 5, 0.95) 0%,
    rgba(15, 10, 5, 0.7) 40%,
    transparent 100%
  );
}

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

.badge-jackpot {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

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

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

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

.tab-btn.active {
  background: linear-gradient(135deg, #b45309, #d97706);
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Trust badge styling */
.trust-badge {
  filter: grayscale(0.3);
  transition: filter 0.3s ease;
}

.trust-badge:hover {
  filter: grayscale(0);
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #92400e, #b45309);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #b45309, #d97706);
}

/* Selection styling */
::selection {
  background: rgba(251, 191, 36, 0.3);
  color: #fef3c7;
}

/* Focus states for accessibility */
:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

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

/* Star rating */
.star-rating {
  color: #fbbf24;
  letter-spacing: 2px;
}

/* Quiz styling */
.quiz-option {
  cursor: pointer;
  transition: all 0.3s ease;
}

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

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

/* Bento grid creative layout */
.bento-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(120px, auto);
  }
  
  .bento-wide {
    grid-column: span 2;
  }
  
  .bento-tall {
    grid-row: span 2;
  }
  
  .bento-large {
    grid-column: span 2;
    grid-row: span 2;
  }
}

/* Spotlight glow border */
.spotlight-glow {
  position: relative;
}

.spotlight-glow::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706, #fbbf24);
  border-radius: inherit;
  z-index: -1;
  animation: pulse-glow 2s ease-in-out infinite;
}
