/* Wintails Casino - Custom Styles */
/* Animation Styles: Shimmer + Float */

/* ===== KEYFRAMES ===== */

/* Shimmer animation for CTAs and highlights */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Float animation for cards and images */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Pulse glow for CTA buttons */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
  }
  50% {
    box-shadow: 0 0 35px rgba(0, 255, 136, 0.5);
  }
}

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

/* Fade in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.shimmer-bg {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 255, 136, 0.1) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

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

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

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

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

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

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

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

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

.prose-casino {
  line-height: 1.75;
  color: #d1d5db;
}

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

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

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

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

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

.prose-casino a {
  color: #00ff88;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

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

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

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #111111;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #3a3a3a;
}

/* ===== GLOW EFFECTS ===== */

.glow-green {
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
}

.glow-green-strong {
  box-shadow: 0 0 50px rgba(0, 255, 136, 0.4);
}

.border-glow {
  position: relative;
}

.border-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, #00ff88, #00cc6a, #00ff88);
  border-radius: inherit;
  z-index: -1;
  opacity: 0.5;
  filter: blur(8px);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.badge-green {
  background-color: rgba(0, 255, 136, 0.15);
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.badge-gold {
  background-color: rgba(255, 215, 0, 0.15);
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.badge-purple {
  background-color: rgba(147, 51, 234, 0.15);
  color: #a855f7;
  border: 1px solid rgba(147, 51, 234, 0.3);
}

.badge-red {
  background-color: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

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

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

.table-casino th {
  background-color: #1a1a1a;
  color: #9ca3af;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #2a2a2a;
}

.table-casino td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid #1f1f1f;
  font-size: 0.875rem;
}

.table-casino tbody tr:hover {
  background-color: rgba(0, 255, 136, 0.03);
}

/* ===== GRADIENT BACKGROUNDS ===== */

.gradient-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #111111 50%, #0f1f15 100%);
}

.gradient-card {
  background: linear-gradient(180deg, #1a1a1a 0%, #111111 100%);
}

.gradient-cta {
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
}

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

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

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

::selection {
  background-color: rgba(0, 255, 136, 0.3);
  color: #ffffff;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */

@media (prefers-reduced-motion: reduce) {
  .shimmer-bg,
  .shimmer-text,
  .float,
  .float-slow,
  .float-fast,
  .cta-pulse {
    animation: none;
  }
  
  .card-hover:hover {
    transform: none;
  }
}
