@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(212,175,55,0); }
}
.animate-marquee { animation: marquee 28s linear infinite; }
.animate-fade-in-up { animation: fadeInUp 0.6s ease both; }
.pulse-gold { animation: pulse-gold 2.4s infinite; }

.prose-jasmin {
  color: #f5e6c8;
  line-height: 1.75;
  font-size: 1rem;
  max-width: 100%;
}
.prose-jasmin h2 {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #e8c84a;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #4e1a6e;
}
.prose-jasmin h3 {
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #f0d080;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.prose-jasmin p {
  color: #f5e6c8;
  margin-bottom: 1rem;
}
.prose-jasmin a {
  color: #e8c84a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose-jasmin a:hover {
  color: #f5e199;
}
.prose-jasmin ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1rem;
  color: #f5e6c8;
}
.prose-jasmin ol {
  list-style: decimal;
  padding-left: 1.5em;
  margin-bottom: 1rem;
  color: #f5e6c8;
}
.prose-jasmin li {
  margin-bottom: 0.35rem;
  line-height: 1.7;
}
.prose-jasmin blockquote {
  border-left: 4px solid #d4af37;
  padding-left: 1em;
  color: #e8c84a;
  font-style: italic;
  margin: 1.5rem 0;
  background: rgba(61,17,85,0.4);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 0.75em 1em;
}
/* Tables: wrapper gets overflow-x-auto via template; table keeps normal layout */
.prose-jasmin table {
  width: 100%;
  min-width: max-content;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: 0;
}
.prose-jasmin thead tr {
  background: #3d1155;
}
.prose-jasmin th {
  text-align: left;
  padding: 0.6em 0.9em;
  color: #e8c84a;
  font-weight: 700;
  border: 1px solid #4e1a6e;
}
.prose-jasmin td {
  padding: 0.6em 0.9em;
  border: 1px solid #4e1a6e;
  color: #f5e6c8;
}
.prose-jasmin tbody tr:nth-child(even) {
  background: rgba(61,17,85,0.35);
}
.prose-jasmin img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1.5rem 0;
  border: 1px solid #4e1a6e;
}
.prose-jasmin strong {
  color: #f0d080;
  font-weight: 700;
}
.prose-jasmin em {
  color: #e8c84a;
  font-style: italic;
}
.prose-jasmin hr {
  border-color: #4e1a6e;
  margin: 2rem 0;
}

html { scroll-behavior: smooth; }
*:focus-visible { outline: 2px solid #d4af37; outline-offset: 3px; }

::-webkit-scrollbar { height: 5px; width: 5px; }
::-webkit-scrollbar-track { background: #1a0628; }
::-webkit-scrollbar-thumb { background: #6228a0; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #d4af37; }
