/* Betwest Custom CSS - Wild West Casino Theme */

/* ===== ANIMATIONS ===== */

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

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

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

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

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

.animate-shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(236, 72, 153, 0.3) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

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

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

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

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

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

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

.prose-casino h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f3f4f6;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

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

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

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

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

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

/* ===== SMOOTH SCROLL ===== */

html {
  scroll-behavior: smooth;
}

/* ===== CUSTOM SCROLLBAR ===== */

::-webkit-scrollbar {
  width: 10px;
}

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

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

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

/* ===== TAB STYLES ===== */

.tab-btn {
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
  color: white;
}

.tab-content {
  display: none;
}

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

/* ===== 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(236, 72, 153, 0.2);
}

/* ===== BADGE STYLES ===== */

.badge-glow {
  box-shadow: 0 0 10px currentColor;
}

/* ===== GRADIENT BORDERS ===== */

.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(135deg, #ec4899, #fbbf24, #ec4899);
  border-radius: inherit;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask-composite: xor;
  pointer-events: none;
}

/* ===== HERO PANEL ===== */

.hero-panel {
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
  backdrop-filter: blur(10px);
}

/* ===== MOBILE NAV ===== */

.mobile-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mobile-nav.open {
  max-height: 500px;
}

/* ===== TABLE STYLES ===== */

.casino-table {
  border-collapse: separate;
  border-spacing: 0;
}

.casino-table th {
  background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.casino-table td {
  background: rgba(30, 30, 30, 0.8);
  border-bottom: 1px solid rgba(75, 75, 75, 0.3);
}

.casino-table tr:hover td {
  background: rgba(50, 50, 50, 0.9);
}

/* ===== STAR RATING ===== */

.star-filled {
  color: #fbbf24;
}

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

/* ===== REVIEW ANIMATED BARS ===== */

.review-bar,
.payout-bar {
  width: 0%;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== BONUS SLIDER ===== */

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: #2a2a2a;
  border-radius: 3px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #ec4899, #be185d);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(236, 72, 153, 0.5);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #ec4899, #be185d);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 8px rgba(236, 72, 153, 0.5);
}

/* ===== FOCUS STATES ===== */

button:focus-visible,
a:focus-visible {
  outline: 2px solid #ec4899;
  outline-offset: 2px;
}

/* ===== SELECTION ===== */

::selection {
  background: rgba(236, 72, 153, 0.4);
  color: white;
}
