/* SpinTitans Royal Forge – Custom CSS */

:root {
  --navy: #0a1628;
  --navy2: #132240;
  --navy3: #1c3060;
  --gold: #d4a843;
  --gold-light: #f0c060;
  --gold-dim: #8b6914;
  --cream: #f0e6d3;
  --cream2: #d9ccb8;
  --velvet: #160d2e;
}

@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 rgba(212,168,67,0.4); }
  50% { box-shadow: 0 0 32px rgba(212,168,67,0.85); }
}

@keyframes spinReel {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

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

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

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

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

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

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

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

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

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

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

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

.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.prose ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.prose li {
  margin-bottom: 0.4rem;
  color: var(--cream);
}

.prose blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
  color: var(--cream2);
  font-style: italic;
  margin: 1.5rem 0;
  background: rgba(212,168,67,0.07);
  border-radius: 0 6px 6px 0;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.5rem auto;
  display: block;
  border: 2px solid var(--gold-dim);
}

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

.prose thead {
  background: var(--navy3);
  color: var(--gold-light);
}

.prose th {
  padding: 0.6rem 1rem;
  text-align: left;
  font-weight: 700;
  border: 1px solid var(--gold-dim);
}

.prose td {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(212,168,67,0.25);
  color: var(--cream);
  background: rgba(10,22,40,0.7);
}

.prose tr:nth-child(even) td {
  background: rgba(28,48,96,0.5);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* Mobile menu */
#mobile-menu { background: var(--navy2); }

/* Hero bg */
.hero-bg {
  background-image: url('/images/hero.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Gold gradient text */
.gold-gradient {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dim));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Card hover */
.casino-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.casino-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(212,168,67,0.3);
}

/* Badge */
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
  font-size: 0.75rem;
}

/* Step number badge */
.step-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--navy);
  font-weight: 900;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(212,168,67,0.5);
}

/* Word cloud */
.word-cloud span {
  display: inline-block;
  margin: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--gold-dim);
  color: var(--gold-light);
  background: rgba(212,168,67,0.07);
  font-size: 0.9rem;
  transition: background 0.2s;
}
.word-cloud span:hover {
  background: rgba(212,168,67,0.2);
}
