/* AtomBet Casino - Custom CSS */

:root {
  --color-primary: #60a5fa;
  --color-accent: #facc15;
  --color-bg: #030712;
  --color-surface: #111827;
  --color-text: #f3f4f6;
  --color-text-muted: #9ca3af;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

/* ===== PROSE STYLES ===== */
.prose {
  color: #e5e7eb;
  max-width: 100%;
  line-height: 1.75;
}

.prose h2 {
  color: #facc15;
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 2em;
  margin-bottom: 0.75em;
  line-height: 1.3;
  border-bottom: 2px solid #1e3a6e;
  padding-bottom: 0.4em;
}

.prose h3 {
  color: #93c5fd;
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.4;
}

.prose p {
  color: #d1d5db;
  margin-bottom: 1.25em;
  font-size: 1rem;
}

.prose a {
  color: #60a5fa;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

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

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

.prose em {
  color: #d1d5db;
  font-style: italic;
}

.prose ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.25em;
}

.prose ul li {
  position: relative;
  padding-left: 1.75em;
  margin-bottom: 0.5em;
  color: #d1d5db;
}

.prose ul li::before {
  content: '\2022';
  color: #facc15;
  position: absolute;
  left: 0.5em;
  font-weight: bold;
}

.prose ol {
  list-style: decimal;
  padding-left: 1.75em;
  margin-bottom: 1.25em;
}

.prose ol li {
  margin-bottom: 0.5em;
  color: #d1d5db;
  padding-left: 0.5em;
}

.prose blockquote {
  border-left: 4px solid #3b82f6;
  background: #1e3a5f22;
  padding: 1em 1.5em;
  margin: 1.5em 0;
  border-radius: 0 0.5rem 0.5rem 0;
  color: #93c5fd;
  font-style: italic;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1.5em auto;
  display: block;
  border: 2px solid #1e3a6e;
}

/* ===== PROSE TABLE ===== */
.prose table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.9rem;
  width: 100%;
}

.prose thead tr {
  background-color: #1e3a6e;
  color: #facc15;
}

.prose th {
  padding: 0.6em 1em;
  font-weight: 700;
  text-align: left;
  border: 1px solid #1e40af;
}

.prose td {
  padding: 0.5em 1em;
  border: 1px solid #1e3a6e;
  color: #d1d5db;
  background-color: #111827;
}

.prose tr:nth-child(even) td {
  background-color: #0f172a;
}

.prose tr:hover td {
  background-color: #1e2a3a;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse-neon {
  0%, 100% { box-shadow: 0 0 8px #60a5fa, 0 0 20px #3b82f655; }
  50% { box-shadow: 0 0 20px #60a5fa, 0 0 40px #3b82f688, 0 0 60px #1d4ed844; }
}

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

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

@keyframes spark {
  0% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.5) rotate(180deg); }
}

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

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

.marquee-track {
  animation: marquee 20s linear infinite;
}

/* ===== PARTICLES BACKGROUND ===== */
.particles-bg {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(96, 165, 250, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(250, 204, 21, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.04) 0%, transparent 70%);
}

/* ===== UTILITIES ===== */
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 640px) {
  .prose h2 { font-size: 1.3rem; }
  .prose h3 { font-size: 1.1rem; }
  .prose table { font-size: 0.8rem; }
  .prose th, .prose td { padding: 0.4em 0.6em; }
}
