/* SpinTitans Crown Forge – Custom Keyframes & Prose */

:root {
  --gold: #D4AF37;
  --sapphire: #0D1B3E;
  --velvet: #080C1E;
  --text-light: #E8E4D0;
  --text-muted: #A89F7E;
  --accent: #C8A84B;
}

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

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

@keyframes goldPulse {
  0%, 100% { box-shadow: 0 0 12px 2px rgba(212,175,55,0.4); }
  50% { box-shadow: 0 0 28px 8px rgba(212,175,55,0.8); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

.hero-float {
  animation: parallaxFloat 6s ease-in-out infinite;
}

.gold-pulse {
  animation: goldPulse 2.4s ease-in-out infinite;
}

.fade-in-up {
  animation: fadeInUp 0.7s ease both;
}

/* Prose Styles */
.prose {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1rem;
  max-width: 100%;
}

.prose h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(212,175,55,0.25);
  padding-bottom: 0.4rem;
}

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

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

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

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

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

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

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

.prose blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 1em;
  color: var(--text-muted);
  font-style: italic;
  margin: 1.2rem 0;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.2rem 0;
  border: 1px solid rgba(212,175,55,0.2);
}

.prose table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
  border-collapse: collapse;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.prose table th {
  background: rgba(212,175,55,0.15);
  color: var(--gold);
  padding: 0.6em 1em;
  border: 1px solid rgba(212,175,55,0.25);
  text-align: left;
}

.prose table td {
  padding: 0.55em 1em;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-light);
  background: rgba(255,255,255,0.03);
}

.prose table tr:hover td {
  background: rgba(212,175,55,0.06);
}

/* Overflow helper */
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Navigation */
.nav-link {
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--gold);
}

/* CTA Buttons */
.btn-gold {
  background: linear-gradient(135deg, #D4AF37 0%, #C8A84B 50%, #A07820 100%);
  color: #0A0E1A;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 0.375rem;
  transition: filter 0.2s, transform 0.15s;
  text-decoration: none;
  display: inline-block;
}

.btn-gold:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 600;
  border-radius: 0.375rem;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  background: var(--gold);
  color: #0A0E1A;
}

/* Cards */
.card-velvet {
  background: linear-gradient(160deg, #0F1830 0%, #0A0E1A 100%);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 0.75rem;
  transition: border-color 0.25s, transform 0.2s;
}

.card-velvet:hover {
  border-color: rgba(212,175,55,0.6);
  transform: translateY(-4px);
}

/* Sticky nav shadow */
.sticky-nav {
  background: rgba(8,12,30,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,175,55,0.18);
}

/* Mobile menu */
#mobile-menu {
  background: #0A0E1A;
  border-top: 1px solid rgba(212,175,55,0.2);
}

/* Section divider */
.gold-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
  width: 60%;
}

/* Word cloud */
.provider-tag {
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.25);
  color: var(--gold);
  border-radius: 9999px;
  padding: 0.3em 0.9em;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s;
  display: inline-block;
  margin: 0.25rem;
}

.provider-tag:hover {
  background: rgba(212,175,55,0.22);
}
