/* Spinboss Custom Styles */

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

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

.shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(250, 204, 21, 0.3) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2.5s infinite;
}

.shimmer-btn {
  position: relative;
  overflow: hidden;
}

.shimmer-btn::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 infinite;
}

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

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

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

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

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

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

/* Subtle Scale */
@keyframes subtle-scale {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.subtle-scale:hover {
  animation: subtle-scale 1s ease-in-out infinite;
}

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

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

.prose-readable h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: #fcd34d;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

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

.prose-readable ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose-readable ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

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

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

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

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

.card-3d:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(250, 204, 21, 0.15);
}

/* Gradient Border */
.gradient-border {
  position: relative;
  background: #0a0a0a;
}

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

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

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

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

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

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

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

.menu-open {
  animation: slide-down 0.3s ease forwards;
}

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

.star-empty {
  color: #374151;
}

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

.casino-table th {
  background: linear-gradient(135deg, #1f2937, #111827);
  color: #fbbf24;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.casino-table td {
  background: #111827;
  border-bottom: 1px solid #1f2937;
}

.casino-table tr:hover td {
  background: #1a1a2e;
}

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

.bet-row {
  animation: fade-in-row 0.4s ease;
}

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

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

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

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

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

/* Selection Color */
::selection {
  background: #fbbf24;
  color: #0a0a0a;
}
