/* CrazyTower Casino - Custom Styles */
/* Animation: 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;
  -webkit-background-clip: text;
  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-slow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

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

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

.float-delay-1 {
  animation-delay: 0.5s;
}

.float-delay-2 {
  animation-delay: 1s;
}

.float-delay-3 {
  animation-delay: 1.5s;
}

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

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

/* Countdown fade animation */
@keyframes fade-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.countdown-active {
  animation: fade-pulse 0.5s ease-in-out;
}

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

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

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

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

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

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

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(251, 191, 36, 0.15);
}

/* Tab active state */
.tab-active {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #000;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

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

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

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

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

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

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

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

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

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

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

/* Mobile menu animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-open {
  animation: slideDown 0.3s ease-out forwards;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #fbbf24 0%, #fef08a 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glass effect */
.glass {
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ===== COLORFUL HERO STYLES ===== */

/* Hero card — deep blue-indigo gradient matching the castle-sky hero image */
.hero-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 35%, #150e2d 65%, #0c1a2e 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow:
    0 0 60px rgba(109, 40, 217, 0.12),
    0 0 120px rgba(251, 191, 36, 0.05);
}

/* Colorful section glows */
.section-blue-glow {
  background: linear-gradient(180deg, #0a0a0a 0%, #0d1b3e 50%, #0a0a0a 100%);
}

.section-purple-glow {
  background: linear-gradient(180deg, #0a0a0a 0%, #180d30 50%, #0a0a0a 100%);
}

/* Rainbow animated text (for headings) */
@keyframes rainbow-shift {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.rainbow-text {
  background: linear-gradient(
    90deg,
    #fbbf24 0%,
    #f97316 18%,
    #ec4899 36%,
    #8b5cf6 54%,
    #3b82f6 72%,
    #fbbf24 90%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow-shift 5s linear infinite;
}

/* ===== REVIEW SECTION ===== */

.review-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #1e3a8a 70%, #0f172a 100%);
  border: 1px solid rgba(99, 102, 241, 0.45);
  box-shadow: 0 0 80px rgba(99, 102, 241, 0.08);
}

/* Score bars */
.score-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6d28d9, #fbbf24);
  border-radius: 9999px;
}

/* Review accordion */
.review-accordion {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.review-accordion[open] {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.07);
}

.review-accordion > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  gap: 1rem;
  user-select: none;
}

.review-accordion > summary::-webkit-details-marker {
  display: none;
}

.review-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.review-chevron {
  width: 1.25rem;
  height: 1.25rem;
  color: #fbbf24;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.review-accordion[open] .review-chevron {
  transform: rotate(180deg);
}

.review-body {
  padding: 0 1.5rem 1.5rem;
  color: #d1d5db;
  line-height: 1.75;
}

.review-body p + p {
  margin-top: 0.875rem;
}

.review-body ul {
  margin-top: 1rem;
  space-y: 0.5rem;
}

.review-body strong {
  color: #ffffff;
}
