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

/* ===== CSS Variables ===== */
:root {
  --color-bg-primary: #0a1628;
  --color-bg-secondary: #0f2140;
  --color-bg-card: #152a4a;
  --color-accent-green: #22c55e;
  --color-accent-green-hover: #16a34a;
  --color-accent-gold: #fbbf24;
  --color-text-primary: #f1f5f9;
  --color-text-secondary: #94a3b8;
  --color-border: #1e3a5f;
}

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

/* ===== Prose Readability ===== */
.prose-content {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

.prose-content h2,
.prose-content h3,
.prose-content h4 {
  color: var(--color-text-primary);
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose-content h2 {
  font-size: 1.75rem;
}

.prose-content h3 {
  font-size: 1.375rem;
}

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

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

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

.prose-content a {
  color: var(--color-accent-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose-content a:hover {
  color: var(--color-accent-gold);
}

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

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

.shimmer-text {
  background: linear-gradient(
    90deg,
    var(--color-accent-green) 0%,
    var(--color-accent-gold) 50%,
    var(--color-accent-green) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

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

.shimmer-border::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(34, 197, 94, 0.3),
    transparent
  );
  background-size: 200% 100%;
  animation: shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
}

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

@keyframes float-slow {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@keyframes float-delayed {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

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

.float-delayed {
  animation: float-delayed 5s ease-in-out infinite 1s;
}

/* ===== Glow Effects ===== */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.6);
  }
}

.glow-green {
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

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

.glow-gold {
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

/* ===== 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, 0, 0, 0.4);
}

/* ===== Button Styles ===== */
.btn-primary {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--color-accent-green);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--color-accent-green);
  color: var(--color-bg-primary);
}

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

.tab-btn.active {
  background: var(--color-accent-green);
  color: var(--color-bg-primary);
}

.tab-content {
  display: none;
}

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

/* ===== Badge Styles ===== */
.badge {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-rtp {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

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

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

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

/* ===== Pill Navigation ===== */
.pill-nav {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pill-nav::-webkit-scrollbar {
  display: none;
}

/* ===== Table Styles ===== */
.payment-table {
  border-collapse: separate;
  border-spacing: 0;
}

.payment-table th {
  background: var(--color-bg-secondary);
  font-weight: 600;
  text-align: left;
  padding: 0.875rem 1rem;
  border-bottom: 2px solid var(--color-accent-green);
}

.payment-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--color-border);
}

.payment-table tr:last-child td {
  border-bottom: none;
}

.payment-table tr:hover td {
  background: rgba(34, 197, 94, 0.05);
}

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

.star-empty {
  color: #475569;
}

/* ===== Gradient Backgrounds ===== */
.bg-gradient-royal {
  background: linear-gradient(135deg, #0a1628 0%, #152a4a 50%, #0f2140 100%);
}

.bg-gradient-card {
  background: linear-gradient(180deg, #1e3a5f 0%, #152a4a 100%);
}

.bg-gradient-cta {
  background: linear-gradient(135deg, #0f2140 0%, #1e3a5f 50%, #22c55e 150%);
}

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

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

/* ===== Scroll Shadows ===== */
.scroll-shadow-x {
  background: 
    linear-gradient(to right, var(--color-bg-primary), transparent 20px),
    linear-gradient(to left, var(--color-bg-primary), transparent 20px);
  background-size: 100% 100%;
  background-attachment: local, local;
}

/* ===== Focus States ===== */
:focus-visible {
  outline: 2px solid var(--color-accent-green);
  outline-offset: 2px;
}

/* ===== Selection ===== */
::selection {
  background: rgba(34, 197, 94, 0.3);
  color: var(--color-text-primary);
}

/* ===== Responsive Typography ===== */
@media (min-width: 768px) {
  .prose-content {
    font-size: 1.125rem;
  }
  
  .prose-content h2 {
    font-size: 2rem;
  }
  
  .prose-content h3 {
    font-size: 1.5rem;
  }
}
