@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 15px rgba(245,158,11,0.4); }
  50% { box-shadow: 0 0 35px rgba(245,158,11,0.9); }
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.float-anim {
  animation: float 4s ease-in-out infinite;
}
.shimmer-text {
  background: linear-gradient(90deg, #f59e0b, #fde68a, #d97706, #fde68a, #f59e0b);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}
.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}
.prose {
  color: #f3f4f6;
  line-height: 1.8;
  font-size: 1rem;
  max-width: 100%;
}
.prose h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #f59e0b;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid #d97706;
  padding-bottom: 0.4rem;
}
.prose h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fde68a;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.prose p {
  margin-bottom: 1.2rem;
  color: #e5e7eb;
}
.prose a {
  color: #f59e0b;
  text-decoration: underline;
}
.prose a:hover {
  color: #fde68a;
}
.prose ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1rem;
  color: #e5e7eb;
}
.prose ol {
  list-style: decimal;
  padding-left: 1.5em;
  margin-bottom: 1rem;
  color: #e5e7eb;
}
.prose li {
  margin-bottom: 0.4rem;
}
.prose blockquote {
  border-left: 4px solid #f59e0b;
  padding-left: 1rem;
  color: #d1d5db;
  font-style: italic;
  margin: 1.5rem 0;
  background: rgba(245,158,11,0.07);
  border-radius: 0 0.5rem 0.5rem 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  background: rgba(17,24,39,0.8);
}
.prose table thead th {
  background: #d97706;
  color: #1f2937;
  font-weight: 700;
  padding: 0.65rem 1rem;
  text-align: left;
}
.prose table tbody td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(245,158,11,0.2);
  color: #e5e7eb;
}
.prose table tbody tr:hover {
  background: rgba(245,158,11,0.08);
}
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1.5rem auto;
  display: block;
  border: 2px solid #d97706;
}
/* Horizontal scroll for tables on all pages */
div.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
div.overflow-x-auto table {
  min-width: max-content;
}
.prose .overflow-x-auto table {
  min-width: max-content;
}
.hero-parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
@media (max-width: 768px) {
  .hero-parallax {
    background-attachment: scroll;
  }
  .prose h2 { font-size: 1.3rem; }
  .prose h3 { font-size: 1.1rem; }
}
