/* Spinozo Custom CSS */

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(245,158,11,0.5); }
  50% { box-shadow: 0 0 28px rgba(245,158,11,0.9), 0 0 50px rgba(13,148,136,0.4); }
}

.spin-slow { animation: spin-slow 12s linear infinite; }
.float-anim { animation: float 4s ease-in-out infinite; }
.pulse-glow { animation: pulse-glow 2.5s ease-in-out infinite; }

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

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

/* Prose styling for Markdown pages */
.prose {
  color: #e2e8f0;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 100%;
}

.prose h2 {
  color: #f59e0b;
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  border-left: 4px solid #0d9488;
  padding-left: 0.75rem;
}

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

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

.prose a {
  color: #f59e0b;
  text-decoration: underline;
}

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

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

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

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

.prose blockquote {
  border-left: 4px solid #0d9488;
  padding: 0.5rem 1rem;
  margin: 1.5rem 0;
  background: rgba(13,148,136,0.1);
  color: #94a3b8;
  font-style: italic;
  border-radius: 0 8px 8px 0;
}

.prose table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  overflow-x: auto;
  display: block;
}

.prose table thead tr {
  background: #0d9488;
  color: #fff;
}

.prose table th,
.prose table td {
  padding: 0.6rem 0.9rem;
  border: 1px solid #1e3a4a;
  text-align: left;
}

.prose table tbody tr:nth-child(even) {
  background: rgba(13,148,136,0.08);
}

.prose table tbody tr:hover {
  background: rgba(245,158,11,0.08);
}

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

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

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

/* Scrollable tables */
.table-scroll { overflow-x: auto; width: 100%; }

/* Chip SVG decoration */
.chip-ring {
  border: 4px dashed rgba(245,158,11,0.4);
  border-radius: 50%;
}
