/* Goldspinia Custom CSS */
/* 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 ease-in-out infinite;
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    #fbbf24 0%,
    #fef08a 25%,
    #fbbf24 50%,
    #fef08a 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-delayed {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

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

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

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

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

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

/* Spin Animation for badges */
@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.spin-slow {
  animation: spin-slow 20s linear infinite;
}

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

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

.prose-casino h3 {
  color: #fef3c7;
  font-size: 1.25rem;
  font-weight: 600;
  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-bottom: 1.25rem;
  padding-left: 1.5rem;
}

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

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

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

.prose-casino strong {
  color: #f9fafb;
  font-weight: 600;
}

/* Card 3D Effect */
.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-3d:hover {
  transform: translateY(-4px) rotateX(2deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
              0 0 20px rgba(251, 191, 36, 0.1);
}

/* Glass Effect */
.glass {
  background: rgba(31, 41, 55, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Tab Styles */
.tab-btn {
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #111827;
  font-weight: 600;
}

.tab-content {
  display: none;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}

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

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

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

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

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

/* Live Indicator */
@keyframes live-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.live-dot {
  animation: live-pulse 1.5s ease-in-out infinite;
}

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

.casino-table th {
  background: rgba(251, 191, 36, 0.1);
  border-bottom: 2px solid #fbbf24;
}

.casino-table td {
  border-bottom: 1px solid #374151;
}

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

/* Gradient Border */
.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #fbbf24 100%);
  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;
}
