/* Spinozo Orbit — custom keyframes & prose */

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 8px 2px #00e5d1, 0 0 24px 4px #00e5d180; }
  50%       { box-shadow: 0 0 20px 6px #00e5d1, 0 0 48px 12px #00e5d1a0; }
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes float-up {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes parallax-drift {
  0%   { background-position: center 0%; }
  100% { background-position: center 10%; }
}

.orbit-spin  { animation: orbit-spin  12s linear infinite; }
.glow-pulse  { animation: glow-pulse  2.4s ease-in-out infinite; }
.float-up    { animation: float-up    3s ease-in-out infinite; }

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

/* Prose styles for markdown single pages */
.prose {
  color: #e2e8f0;
  max-width: 100%;
  font-size: 1rem;
  line-height: 1.8;
}
.prose h2 {
  color: #5eead4;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 0.6em;
  border-bottom: 1px solid #1e3a5f;
  padding-bottom: 0.3em;
}
.prose h3 {
  color: #99f6e4;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.6em;
  margin-bottom: 0.4em;
}
.prose p {
  margin-bottom: 1.2em;
}
.prose a {
  color: #2dd4bf;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover { color: #99f6e4; }
.prose ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}
.prose ol {
  list-style: decimal;
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}
.prose li { margin-bottom: 0.4em; }
.prose blockquote {
  border-left: 4px solid #00e5d1;
  padding-left: 1em;
  color: #94a3b8;
  font-style: italic;
  margin: 1.4em 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.4em;
  font-size: 0.95rem;
}
.prose th {
  background: #0f172a;
  color: #5eead4;
  font-weight: 700;
  padding: 0.6em 1em;
  text-align: left;
  border: 1px solid #1e3a5f;
}
.prose td {
  padding: 0.55em 1em;
  border: 1px solid #1e3a5f;
  color: #e2e8f0;
  background: #0d1b2e;
}
.prose tr:nth-child(even) td { background: #111827; }
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1.5em auto;
  display: block;
  border: 1px solid #1e3a5f;
}

/* Table scroll wrapper auto-applied inside prose */
.prose .table-wrap,
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.4em;
}

/* Chip ring decoration */
.chip-ring {
  border: 3px dashed #00e5d1;
  border-radius: 50%;
  opacity: 0.18;
  position: absolute;
  pointer-events: none;
}

/* Glowing teal button */
.btn-teal {
  background: linear-gradient(135deg, #00e5d1 0%, #0891b2 100%);
  color: #0a0620;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.75em 2em;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px 4px #00e5d180;
}

.btn-outline-teal {
  border: 2px solid #00e5d1;
  color: #00e5d1;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.72em 2em;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  background: transparent;
}
.btn-outline-teal:hover {
  background: #00e5d1;
  color: #0a0620;
}

/* Scrollable table helper */
.scroll-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Card glass */
.card-glass {
  background: rgba(15,10,40,0.82);
  border: 1px solid rgba(0,229,209,0.18);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
}

/* Sticky nav top offset for anchor links */
html { scroll-padding-top: 72px; }
