/* 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(234, 255, 0, 0.15) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    #eaff00 0%,
    #ffffff 50%,
    #eaff00 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 2.5s ease-in-out infinite;
}

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

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

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

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

/* ===== GLOW EFFECTS ===== */
@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(234, 255, 0, 0.3), 0 0 40px rgba(234, 255, 0, 0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(234, 255, 0, 0.5), 0 0 60px rgba(234, 255, 0, 0.2);
  }
}

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

@keyframes border-glow {
  0%, 100% {
    border-color: rgba(234, 255, 0, 0.4);
  }
  50% {
    border-color: rgba(234, 255, 0, 0.8);
  }
}

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

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

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

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

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

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

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

.prose-readable a {
  color: #eaff00;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose-readable a:hover {
  color: #ffffff;
}

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

/* ===== BUTTON STYLES ===== */
.btn-primary {
  background: #eaff00;
  color: #000000;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: #ffffff;
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(234, 255, 0, 0.5);
}

.btn-secondary {
  background: transparent;
  color: #eaff00;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  border: 2px solid #eaff00;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #eaff00;
  color: #000000;
}

/* ===== CARD STYLES ===== */
.card-dark {
  background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
}

.card-dark:hover {
  border-color: rgba(234, 255, 0, 0.3);
}

/* ===== TAB STYLES ===== */
.tab-btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: #9ca3af;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: #ffffff;
}

.tab-btn.active {
  color: #eaff00;
  border-bottom-color: #eaff00;
}

.tab-content {
  display: none;
}

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

/* ===== BADGE STYLES ===== */
.badge {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
}

.badge-yellow {
  background: #eaff00;
  color: #000000;
}

.badge-green {
  background: #10b981;
  color: #ffffff;
}

.badge-red {
  background: #ef4444;
  color: #ffffff;
}

.badge-purple {
  background: #8b5cf6;
  color: #ffffff;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

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

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

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

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

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

/* ===== TABLE STYLES ===== */
.table-dark {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.table-dark th {
  background: #1a1a1a;
  color: #eaff00;
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

.table-dark td {
  background: #0d0d0d;
  color: #d1d5db;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
}

.table-dark tr:hover td {
  background: #1a1a1a;
}

/* ===== STAR RATING ===== */
.stars {
  color: #eaff00;
  letter-spacing: 2px;
}

/* ===== SMOOTH SCROLL ===== */
html {
  scroll-behavior: smooth;
}

/* ===== ASPECT RATIO FALLBACK ===== */
.aspect-square {
  aspect-ratio: 1 / 1;
}

/* ===== SELECTION ===== */
::selection {
  background: #eaff00;
  color: #000000;
}
