/* Ektobet Custom CSS - Keyframes & Prose Readability */

/* ========== ANIMATION: SHIMMER ========== */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(250, 204, 21, 0.3) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2.5s ease-in-out infinite;
}

.shimmer-border {
  position: relative;
  overflow: hidden;
}

.shimmer-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    90deg,
    #facc15 0%,
    #fef08a 25%,
    #facc15 50%,
    #fef08a 75%,
    #facc15 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ========== ANIMATION: FLOAT ========== */
@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;
}

/* ========== GLOW EFFECTS ========== */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.4),
                0 0 40px rgba(250, 204, 21, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(250, 204, 21, 0.6),
                0 0 60px rgba(250, 204, 21, 0.3);
  }
}

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

.glow-border {
  box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.5),
              0 0 20px rgba(250, 204, 21, 0.3),
              0 0 40px rgba(250, 204, 21, 0.1);
}

/* ========== PROSE READABILITY ========== */
.prose {
  color: #d1d5db;
  line-height: 1.75;
  font-size: 1rem;
}

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

.prose h3 {
  color: #facc15;
  font-weight: 600;
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

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

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

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

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

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

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

/* ========== CUSTOM SCROLLBAR ========== */
::-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;
}

/* ========== TAB STYLES ========== */
.tab-btn {
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: #facc15;
  color: #000000;
  font-weight: 600;
}

.tab-content {
  display: none;
}

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

/* ========== 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(250, 204, 21, 0.15);
}

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

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

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

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

/* ========== SMOOTH TRANSITIONS ========== */
.transition-smooth {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ========== FOCUS STATES ========== */
.focus-ring:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.5);
}

/* ========== MOBILE NAV ========== */
.nav-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.nav-menu.open {
  max-height: 500px;
}

@media (min-width: 1024px) {
  .nav-menu {
    max-height: none;
    overflow: visible;
  }
}
