:root {
  --purple-deep: #0d0820;
  --purple-mid: #2a0d6e;
  --purple-card: #180a45;
  --gold: #c9a84c;
  --gold-light: #e8c96d;
  --gold-dim: #9a7a30;
  --pearl: #f8f4ff;
  --pearl-dim: #c9b8e8;
  --midnight: #07041a;
}

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

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

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 12px 2px rgba(201,168,76,0.35); }
  50% { box-shadow: 0 0 28px 6px rgba(201,168,76,0.7); }
}

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

@keyframes jasmineFade {
  0% { opacity: 0.4; }
  50% { opacity: 0.9; }
  100% { opacity: 0.4; }
}

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

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

.float-anim {
  animation: floatUp 4s ease-in-out infinite;
}

.glow-gold {
  animation: glowPulse 2.5s ease-in-out infinite;
}

.jasmine-fade {
  animation: jasmineFade 5s ease-in-out infinite;
}

/* Prose styles for markdown pages */
.prose {
  color: var(--pearl);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.prose h2 {
  color: var(--gold-light);
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  border-left: 4px solid var(--gold);
  padding-left: 0.75rem;
}

.prose h3 {
  color: var(--pearl);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose p {
  margin-bottom: 1.1rem;
  color: var(--pearl-dim);
}

.prose a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--gold);
}

.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--pearl-dim);
}

.prose ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--pearl-dim);
}

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

.prose blockquote {
  border-left: 4px solid var(--gold-dim);
  background: rgba(201,168,76,0.07);
  padding: 0.75rem 1rem;
  margin: 1.25rem 0;
  color: var(--pearl);
  border-radius: 0 6px 6px 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  min-width: 100%;
}

.prose thead tr {
  background: var(--purple-mid);
  color: var(--gold-light);
}

.prose th {
  padding: 0.65rem 0.9rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--gold-dim);
}

.prose td {
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid rgba(201,168,76,0.15);
  color: var(--pearl-dim);
}

.prose tbody tr:nth-child(even) {
  background: rgba(42,13,110,0.3);
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.25rem 0;
  border: 1px solid var(--gold-dim);
}

.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Parallax layer */
.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  .parallax-bg {
    background-attachment: scroll;
  }
}
