/* Atefia Casino - Custom Styles */
/* Animations: Shimmer + Float */

:root {
  --color-bg-dark: #0a1628;
  --color-bg-card: #0f2847;
  --color-accent-green: #00ff88;
  --color-accent-green-dim: #00cc6a;
  --color-gold: #ffd700;
}

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

/* Prose readability */
.prose-readable {
  font-size: 1.05rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

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

.prose-readable h2,
.prose-readable h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

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

.shimmer-text {
  background: linear-gradient(
    90deg,
    #00ff88 0%,
    #00ffcc 25%,
    #ffffff 50%,
    #00ffcc 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 */
@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 4s ease-in-out infinite;
}

.float-slow {
  animation: float-slow 6s 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 20px rgba(0, 255, 136, 0.4),
                0 0 40px rgba(0, 255, 136, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.6),
                0 0 60px rgba(0, 255, 136, 0.3);
  }
}

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

/* Slide up for flying banner */
@keyframes slide-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.slide-up {
  animation: slide-up 0.4s ease-out forwards;
}

/* 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(0, 255, 136, 0.15);
}

/* Badge styles */
.badge-rtp {
  background: linear-gradient(135deg, #00ff88, #00cc6a);
}

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

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

.badge-popular {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

/* Tab styles */
.tab-btn {
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: linear-gradient(135deg, #00ff88, #00cc6a);
  color: #0a1628;
  font-weight: 600;
}

.tab-content {
  display: none;
}

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

/* Gradient backgrounds */
.gradient-jungle {
  background: linear-gradient(135deg, #0a1628 0%, #0f3460 50%, #0a1628 100%);
}

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

.gradient-gold {
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
}

/* Glassmorphism effect */
.glass {
  background: rgba(15, 40, 71, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #00ff88;
}

/* Flying banner hidden state */
.flying-banner {
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.flying-banner.visible {
  transform: translateY(0);
  opacity: 1;
}

/* Bento grid styles */
.bento-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bento-large {
  grid-column: span 2;
}

.bento-tall {
  grid-row: span 2;
}

/* Quiz styles */
.quiz-option {
  transition: all 0.2s ease;
  cursor: pointer;
}

.quiz-option:hover {
  border-color: #00ff88;
  background: rgba(0, 255, 136, 0.1);
}

.quiz-option.selected {
  border-color: #00ff88;
  background: rgba(0, 255, 136, 0.2);
}

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

/* Progress bar animation */
@keyframes progress-fill {
  from {
    width: 0;
  }
}

.progress-animate {
  animation: progress-fill 1.5s ease-out forwards;
}

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.open {
  max-height: 400px;
}
