/* AlterSpin Custom CSS - 8-bit Casino Vibe */

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

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

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

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

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

/* Countdown fade */
@keyframes countdownFade {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

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

.shimmer-bg {
  background: linear-gradient(
    90deg,
    rgba(168, 85, 247, 0) 0%,
    rgba(168, 85, 247, 0.3) 50%,
    rgba(168, 85, 247, 0) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s infinite linear;
}

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

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

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

.fade-in {
  animation: fadeIn 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: #f3f4f6;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(168, 85, 247, 0.3);
}

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

.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: #a855f7;
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

/* ===== 8-BIT STYLING ===== */

.pixel-border {
  box-shadow: 
    4px 0 0 0 #a855f7,
    -4px 0 0 0 #a855f7,
    0 4px 0 0 #a855f7,
    0 -4px 0 0 #a855f7;
}

.retro-shadow {
  box-shadow: 
    4px 4px 0 0 rgba(168, 85, 247, 0.5),
    8px 8px 0 0 rgba(168, 85, 247, 0.25);
}

/* ===== TABS STYLING ===== */

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

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

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

/* ===== 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(168, 85, 247, 0.3);
}

/* ===== MOBILE MENU ===== */

.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* ===== SCROLLBAR STYLING ===== */

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #a855f7, #ec4899);
  border-radius: 4px;
}

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

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

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

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

.badge-popular {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
}

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

.star-filled {
  color: #f59e0b;
}

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

/* ===== COUNTDOWN ANIMATION ===== */

.countdown-number {
  animation: countdownFade 1s ease-in-out;
}

/* ===== GLOW BORDER ===== */

.glow-border {
  box-shadow: 
    0 0 20px rgba(168, 85, 247, 0.5),
    0 0 40px rgba(236, 72, 153, 0.3),
    inset 0 0 20px rgba(168, 85, 247, 0.1);
}
