/* Mamzino Casino - Custom CSS */

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(201, 168, 76, 0); }
}

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

.shimmer-text {
  background: linear-gradient(90deg, #c9a84c 0%, #f0c040 40%, #f7e09a 60%, #c9a84c 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.pulse-gold {
  animation: pulse-gold 2s infinite;
}

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

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

/* Parallax helper */
.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* Prose styles for Markdown content */
.prose {
  color: #d1d5db;
  line-height: 1.8;
  font-size: 1rem;
  max-width: 100%;
}

.prose h2 {
  color: #f0c040;
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #1e3a8a;
}

.prose h3 {
  color: #c9a84c;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose h4 {
  color: #f7e09a;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

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

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

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

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

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

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.5rem;
  height: 0.5rem;
  background: #c9a84c;
  border-radius: 50%;
}

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

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

.prose blockquote {
  border-left: 4px solid #c9a84c;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: #0d1b3e;
  border-radius: 0 0.5rem 0.5rem 0;
  color: #f7e09a;
  font-style: italic;
}

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

.prose em {
  color: #f7e09a;
}

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

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

.prose thead tr {
  background: #1e3a8a;
}

.prose th {
  color: #f0c040;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
}

.prose td {
  color: #d1d5db;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #1e3a8a;
}

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

.prose tr:nth-child(odd) td {
  background: #0a0f1e;
}

.prose hr {
  border: none;
  border-top: 1px solid #1e3a8a;
  margin: 2rem 0;
}

.prose code {
  background: #1e3a8a;
  color: #f0c040;
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.prose pre {
  background: #0d1b3e;
  border: 1px solid #1e3a8a;
  border-radius: 0.5rem;
  padding: 1.25rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: #c9a84c;
  border-radius: 3px;
}

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

/* Responsive table wrapper */
.table-wrapper {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* Mobile optimizations */
@media (max-width: 640px) {
  .prose h2 {
    font-size: 1.4rem;
  }
  .prose h3 {
    font-size: 1.1rem;
  }
  .prose {
    font-size: 0.95rem;
  }
}
