/* Spinozo Custom CSS */

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

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

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes goldPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.5); }
  50% { box-shadow: 0 0 0 12px rgba(251, 191, 36, 0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.parallax-float {
  animation: parallaxFloat 5s ease-in-out infinite;
}

.gold-pulse {
  animation: goldPulse 2.2s ease-in-out infinite;
}

.fade-in-up {
  animation: fadeInUp 0.7s ease both;
}

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

.prose h2 {
  color: #fbbf24;
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 2.2rem;
  margin-bottom: 0.9rem;
  border-bottom: 2px solid rgba(251,191,36,0.25);
  padding-bottom: 0.4rem;
}

.prose h3 {
  color: #93c5fd;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
}

.prose p {
  margin-bottom: 1.2rem;
}

.prose a {
  color: #fbbf24;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.prose ul {
  list-style: disc;
  padding-left: 1.6em;
  margin-bottom: 1.2rem;
}

.prose ol {
  list-style: decimal;
  padding-left: 1.6em;
  margin-bottom: 1.2rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose blockquote {
  border-left: 4px solid #fbbf24;
  padding-left: 1.2em;
  color: #cbd5e1;
  font-style: italic;
  margin: 1.4rem 0;
  background: rgba(251,191,36,0.06);
  border-radius: 0 8px 8px 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.4rem;
  font-size: 0.95rem;
  background: rgba(15,23,42,0.6);
}

.prose-table-wrap {
  overflow-x: auto;
  max-width: 100%;
  border-radius: 8px;
}

.prose th {
  background: rgba(30,58,138,0.9);
  color: #fbbf24;
  padding: 0.6em 1em;
  text-align: left;
  font-weight: 600;
  border: 1px solid rgba(251,191,36,0.2);
}

.prose td {
  padding: 0.55em 1em;
  border: 1px solid rgba(100,116,139,0.3);
  color: #e2e8f0;
  vertical-align: middle;
}

.prose tr:nth-child(even) td {
  background: rgba(30,58,138,0.15);
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.4rem 0;
  display: block;
}

/* Spiral motif background helper */
.spiral-bg {
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(251,191,36,0.07)' stroke-width='1.2'%3E%3Ccircle cx='40' cy='40' r='36'/%3E%3Ccircle cx='40' cy='40' r='26'/%3E%3Ccircle cx='40' cy='40' r='16'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
}

/* Scrollable table wrapper */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
  max-width: 100%;
}

/* Nav mobile menu */
#mobile-menu {
  background: #0f172a;
}

/* Card hover */
.casino-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.casino-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(251,191,36,0.18);
}
