/* EclipSpins Custom CSS */
:root {
  --cyan: #00e5ff;
  --magenta: #ff00e5;
  --dark: #0a0a1a;
  --darker: #050510;
  --card-bg: #0d0d2b;
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;
}

* { box-sizing: border-box; }
body { background: var(--dark); color: var(--text-light); }

/* Nav links */
.nav-link {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--cyan); text-shadow: 0 0 8px var(--cyan); }

/* CTA Buttons */
.cta-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--magenta) 100%);
  color: #0a0a1a;
  box-shadow: 0 0 24px var(--cyan)44;
  transition: box-shadow 0.2s, transform 0.15s;
  text-align: center;
}
.cta-btn:hover { box-shadow: 0 0 40px var(--cyan), 0 0 20px var(--magenta); transform: translateY(-2px); }

.cta-btn-sm {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--magenta) 100%);
  color: #0a0a1a;
  transition: box-shadow 0.2s;
}
.cta-btn-sm:hover { box-shadow: 0 0 20px var(--cyan); }

.cta-btn-outline {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--cyan);
  color: var(--cyan);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.cta-btn-outline:hover { background: var(--cyan); color: #0a0a1a; }

/* Section titles */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 20px var(--cyan)66;
  letter-spacing: 0.02em;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-size: 1rem;
}

/* Step cards */
.step-card {
  background: var(--card-bg);
  border: 1px solid var(--cyan)33;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.step-card:hover { border-color: var(--cyan); box-shadow: 0 0 30px var(--cyan)33; }
.step-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  color: #0a0a1a;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon { font-size: 2.5rem; color: var(--cyan); margin: 1rem 0 0.5rem; }
.step-title { font-weight: 700; font-size: 1.1rem; color: #fff; margin-bottom: 0.5rem; }
.step-text { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* Game cards */
.game-card {
  background: var(--card-bg);
  border: 1px solid var(--magenta)33;
  border-radius: 0.75rem;
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.game-card:hover { transform: translateY(-4px); box-shadow: 0 0 20px var(--magenta)44; }
.game-img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.game-title { font-size: 0.75rem; font-weight: 700; color: #fff; padding: 0.4rem 0.25rem; }
.game-btn {
  display: block;
  margin: 0 0.5rem 0.5rem;
  padding: 0.4rem 0;
  border-radius: 0.4rem;
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
  color: #0a0a1a;
  font-weight: 800;
  font-size: 0.8rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.game-btn:hover { opacity: 0.85; }

/* Review cards */
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--cyan)22;
  border-radius: 1rem;
  padding: 1.5rem;
}
.review-card-title { font-size: 1.15rem; font-weight: 800; color: var(--cyan); margin-bottom: 1rem; }
.review-text { color: #cbd5e1; font-size: 0.9rem; line-height: 1.75; }
.review-list { list-style: none; padding: 0; margin: 0; color: #cbd5e1; font-size: 0.9rem; line-height: 1.8; }
.review-list li { padding-left: 1.25rem; position: relative; margin-bottom: 0.25rem; }
.review-list li::before { content: '\25B8'; position: absolute; left: 0; color: var(--magenta); }

.review-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.review-table th { background: var(--darker); color: var(--cyan); padding: 0.5rem 1rem; text-align: left; border-bottom: 1px solid var(--cyan)33; }
.review-table td { padding: 0.5rem 1rem; border-bottom: 1px solid #ffffff11; color: #cbd5e1; }
.review-table tr:hover td { background: var(--dark); }

/* Word cloud */
.word-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.word-cloud span {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--darker);
  border: 1px solid var(--cyan)44;
  color: var(--cyan);
  transition: background 0.2s, color 0.2s;
}
.word-cloud span:hover { background: var(--cyan); color: #0a0a1a; }

/* Payments table */
.payments-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.payments-table th {
  background: var(--darker);
  color: var(--magenta);
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--magenta)44;
  font-size: 0.875rem;
  white-space: nowrap;
}
.payments-table td { padding: 0.75rem 1rem; border-bottom: 1px solid #ffffff0d; color: #cbd5e1; font-size: 0.875rem; white-space: nowrap; }
.payments-table tr:nth-child(even) td { background: var(--darker); }
.payments-table tr:hover td { background: #0d0d2bcc; }

/* Promo cards */
.promo-card {
  background: var(--card-bg);
  border: 1px solid var(--magenta)33;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.promo-card:hover { box-shadow: 0 0 30px var(--magenta)33; transform: translateY(-3px); }
.promo-icon { font-size: 2.5rem; color: var(--magenta); margin-bottom: 1rem; display: block; }
.promo-title { font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.promo-text { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* FAQ */
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--cyan)22;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--cyan)66; }
.faq-question {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 700;
  color: #e2e8f0;
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; margin-left: auto; color: var(--cyan); font-size: 1.25rem; }
.faq-item[open] .faq-question::after { content: '\2212'; }
.faq-answer {
  padding: 0 1.25rem 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  border-top: 1px solid var(--cyan)22;
  padding-top: 0.75rem;
}

/* Footer links */
.footer-link { color: #94a3b8; text-decoration: none; transition: color 0.2s; font-size: 0.875rem; display: inline-block; }
.footer-link:hover { color: var(--cyan); }

/* Prose styles for markdown pages */
.prose { max-width: 100%; color: #cbd5e1; font-size: 1rem; line-height: 1.8; }
.prose h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--cyan);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--cyan)33;
  text-shadow: 0 0 12px var(--cyan)44;
}
.prose h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--magenta);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.prose p { margin-bottom: 1.25rem; }
.prose a { color: var(--cyan); text-decoration: underline; }
.prose a:hover { color: var(--magenta); }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose li { margin-bottom: 0.4rem; color: #cbd5e1; }
.prose blockquote {
  border-left: 4px solid var(--magenta);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-style: italic;
}
.prose img { max-width: 100%; border-radius: 0.75rem; margin: 1.5rem 0; display: block; }

.prose table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.prose thead th {
  background: var(--darker);
  color: var(--cyan);
  padding: 0.6rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--cyan)33;
}
.prose tbody td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #ffffff0d;
  color: #cbd5e1;
}
.prose tbody tr:nth-child(even) td { background: var(--darker); }

/* Keyframe animations */
@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 20px var(--cyan)55, 0 0 10px var(--magenta)33; }
  50% { box-shadow: 0 0 40px var(--cyan)99, 0 0 20px var(--magenta)66; }
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.neon-pulse { animation: neonPulse 3s ease-in-out infinite; }

/* Responsive */
@media (max-width: 640px) {
  .section-title { font-size: 1.5rem; }
  .cta-btn { padding: 0.65rem 1.5rem; font-size: 0.9rem; }
}
