/* Spinobon Crown — custom keyframes & prose */

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

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

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 10px 2px #d4a017, 0 0 24px 4px #7c3aed55; }
  50% { box-shadow: 0 0 22px 6px #f5c518, 0 0 40px 10px #7c3aed99; }
}

@keyframes coinSpin {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

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

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

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

.glow-cta {
  animation: glowPulse 2.4s ease-in-out infinite;
}

.coin-spin {
  display: inline-block;
  animation: coinSpin 2s linear infinite;
}

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

.prose h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #f5c518;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid #7c3aed55;
  padding-bottom: 0.3rem;
}

.prose h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #e2b8ff;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose p {
  margin-bottom: 1.1rem;
  color: #e8d8ff;
}

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

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

.prose ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1rem;
  color: #e8d8ff;
}

.prose ol {
  list-style: decimal;
  padding-left: 1.5em;
  margin-bottom: 1rem;
  color: #e8d8ff;
}

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

.prose blockquote {
  border-left: 4px solid #7c3aed;
  padding-left: 1em;
  margin: 1.2rem 0;
  color: #c8aaf0;
  font-style: italic;
  background: rgba(124,58,237,0.12);
  border-radius: 0 0.4rem 0.4rem 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.4rem;
  font-size: 0.95rem;
  max-width: 100%;
  overflow-x: auto;
  display: block;
}

.prose table th {
  background: #3b0d6b;
  color: #f5c518;
  padding: 0.6em 0.9em;
  text-align: left;
  font-weight: 700;
  border: 1px solid #5b21b6;
}

.prose table td {
  padding: 0.5em 0.9em;
  border: 1px solid #3b0d6b;
  color: #e8d8ff;
  background: #1e0a3c;
}

.prose table tr:nth-child(even) td {
  background: #2a0f50;
}

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

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

/* Nav burger */
#mobile-menu {
  background: #1a0636;
}
