/* KudosBet Custom CSS */

@keyframes pulse-neon {
  0%, 100% { box-shadow: 0 0 8px #00d4ff, 0 0 20px #00d4ff44; }
  50% { box-shadow: 0 0 20px #00d4ff, 0 0 40px #00d4ff66; }
}

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

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes grid-move {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

.bonus-badge {
  animation: pulse-neon 2.5s ease-in-out infinite;
}

.hero-grid {
  background-image: linear-gradient(rgba(0,212,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: grid-move 4s linear infinite;
}

.provider-tag {
  display: inline-block;
  padding: 0.3em 0.8em;
  border-radius: 9999px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.25);
  color: #00d4ff;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0.15em;
  transition: background 0.2s, border-color 0.2s;
}

.provider-tag:hover {
  background: rgba(168,85,247,0.15);
  border-color: #a855f7;
  color: #a855f7;
}

/* Prose Custom Styles */
.prose-custom {
  color: #e2e8f0;
  line-height: 1.75;
  font-size: 1rem;
  max-width: 100%;
}

.prose-custom h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 2.5em;
  margin-bottom: 0.75em;
  background: linear-gradient(90deg, #00d4ff, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

.prose-custom h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 0.6em;
  color: #a5f3fc;
}

.prose-custom p {
  margin-bottom: 1.2em;
  color: #cbd5e1;
}

.prose-custom a {
  color: #00d4ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.prose-custom a:hover {
  color: #a855f7;
}

.prose-custom ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1.2em;
  color: #cbd5e1;
}

.prose-custom ol {
  list-style: decimal;
  padding-left: 1.5em;
  margin-bottom: 1.2em;
  color: #cbd5e1;
}

.prose-custom li {
  margin-bottom: 0.4em;
}

.prose-custom blockquote {
  border-left: 4px solid #00d4ff;
  padding-left: 1em;
  color: #94a3b8;
  font-style: italic;
  margin: 1.5em 0;
  background: rgba(0,212,255,0.05);
  border-radius: 0 0.5em 0.5em 0;
}

.prose-custom img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1.5em 0;
  border: 1px solid #1e1e4a;
}

.prose-custom table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
  border-collapse: collapse;
  margin: 1.5em 0;
  width: 100%;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.prose-custom th {
  background: #1a1a3e;
  color: #00d4ff;
  font-weight: 700;
  padding: 0.6em 1em;
  border: 1px solid #2d2d5a;
  text-align: left;
}

.prose-custom td {
  padding: 0.5em 1em;
  border: 1px solid #2d2d5a;
  background: #0f0f2e;
}

.prose-custom tr:nth-child(even) td {
  background: #13133a;
}

.prose-custom strong {
  color: #e2e8f0;
  font-weight: 700;
}

.prose-custom code {
  background: #1a1a3e;
  color: #00d4ff;
  padding: 0.15em 0.4em;
  border-radius: 0.3em;
  font-size: 0.9em;
}

/* Overflow wrapper for tables in markdown */
.prose-custom .overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #0a0a22; }
::-webkit-scrollbar-thumb { background: #00d4ff44; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #00d4ff88; }

/* Container max-width */
.max-w-site { max-width: 1440px; margin: 0 auto; }
