:root {
  --burgundy: #7B1A30;
  --burgundy-dark: #4D0F1E;
  --gold: #D4AF37;
  --gold-light: #F0D060;
  --velvet-dark: #1A0A10;
  --velvet-mid: #2D0F1C;
}

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

@keyframes sparkle {
  0%, 100% { opacity: 0.05; }
  50% { opacity: 0.15; }
}

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

.sparkle-overlay {
  background-image: radial-gradient(circle, rgba(212,175,55,0.15) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: sparkle 4s ease-in-out infinite;
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
}

.prose {
  color: #d1d5db;
  line-height: 1.75;
  font-size: 1rem;
  max-width: 100%;
}

.prose h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #D4AF37;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #4D0F1E;
}

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

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

.prose a {
  color: #D4AF37;
  text-decoration: underline;
  transition: color 0.2s;
}

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

.prose ul {
  list-style-type: disc;
  padding-left: 1.75em;
  margin-bottom: 1.25rem;
  color: #d1d5db;
}

.prose ol {
  list-style-type: decimal;
  padding-left: 1.75em;
  margin-bottom: 1.25rem;
  color: #d1d5db;
}

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

.prose blockquote {
  border-left: 4px solid #D4AF37;
  padding-left: 1.25em;
  margin-left: 0;
  color: #9ca3af;
  font-style: italic;
  background: rgba(45,15,28,0.5);
  padding: 1em 1.25em;
  border-radius: 0 0.5rem 0.5rem 0;
  margin-bottom: 1.25rem;
}

.prose table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  background: #2D0F1C;
  border-radius: 0.5rem;
}

.prose thead tr {
  background: #4D0F1E;
}

.prose th {
  padding: 0.75em 1em;
  text-align: left;
  font-weight: 700;
  color: #D4AF37;
  border-bottom: 2px solid #7B1A30;
}

.prose td {
  padding: 0.65em 1em;
  border-bottom: 1px solid #4D0F1E;
  color: #d1d5db;
}

.prose tbody tr:last-child td {
  border-bottom: none;
}

.prose tbody tr:hover {
  background: rgba(77,15,30,0.3);
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1.5rem 0;
  border: 1px solid #4D0F1E;
  display: block;
}

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

.prose hr {
  border-color: #4D0F1E;
  margin: 2rem 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #1A0A10;
}

details > summary {
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

details[open] summary {
  color: #D4AF37;
}
