/* Spinozo Polar – custom keyframes & prose */

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

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

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

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

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

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

.spin-orb {
  animation: spinOrb 18s linear infinite;
}

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

/* ── Prose (Markdown pages) ── */
.prose {
  color: #e2eaf2;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 100%;
}

.prose h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #7dd3fc;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(125,211,252,0.2);
  padding-bottom: 0.35rem;
}

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

.prose p {
  margin-bottom: 1.1rem;
}

.prose a {
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: #7dd3fc;
}

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

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

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

.prose blockquote {
  border-left: 4px solid #38bdf8;
  padding-left: 1rem;
  color: #94a3b8;
  font-style: italic;
  margin: 1.25rem 0;
}

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

.prose table thead {
  background: rgba(56,189,248,0.15);
}

.prose table th {
  color: #7dd3fc;
  padding: 0.6rem 0.9rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid rgba(125,211,252,0.3);
}

.prose table td {
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #cbd5e1;
}

.prose table tr:hover td {
  background: rgba(56,189,248,0.07);
}

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

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1.5rem 0;
}

/* Utility */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #ffffff;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(14,165,233,0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(14,165,233,0.6);
}

.btn-secondary {
  display: inline-block;
  border: 2px solid #38bdf8;
  color: #38bdf8;
  font-weight: 700;
  padding: 0.7rem 1.8rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
  background: #38bdf8;
  color: #0f172a;
}

.card-casino {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(125,211,252,0.12);
  border-radius: 1.25rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card-casino:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(14,165,233,0.2);
}

.ice-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #0c2340 50%, #0f172a 100%);
}

.silver-chip {
  background: linear-gradient(135deg, #94a3b8, #cbd5e1, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
