@keyframes eclipse-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes float-glow {
  0%, 100% { box-shadow: 0 0 20px #c9a22740; }
  50% { box-shadow: 0 0 40px #c9a22799; }
}
.eclipse-bg {
  background: radial-gradient(ellipse at 50% 40%, #c9a22715 0%, transparent 70%);
  pointer-events: none;
}
.nav-link:hover { color: #c9a227 !important; }
.prose {
  color: #a8b4c8;
  line-height: 1.8;
  max-width: 100%;
}
.prose h2 {
  color: #c9a227;
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #c9a22740;
  padding-bottom: 0.4em;
}
.prose h3 {
  color: #e8eaf6;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.prose p {
  margin-bottom: 1rem;
  color: #a8b4c8;
}
.prose a {
  color: #c9a227;
  text-decoration: underline;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.prose a:hover {
  color: #e8c84a;
}
.prose ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1rem;
  color: #a8b4c8;
}
.prose ol {
  list-style: decimal;
  padding-left: 1.5em;
  margin-bottom: 1rem;
  color: #a8b4c8;
}
.prose li {
  margin-bottom: 0.4rem;
}
.prose blockquote {
  border-left: 4px solid #c9a227;
  padding-left: 1em;
  margin: 1.5rem 0;
  color: #c9a227;
  font-style: italic;
  background: #0a1235;
  border-radius: 0 8px 8px 0;
  padding: 1em 1em 1em 1.5em;
}
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  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-bottom: 1.5rem;
  font-size: 0.9rem;
}
.prose th {
  background: #c9a227;
  color: #060d2e;
  padding: 0.6em 1em;
  text-align: left;
  font-weight: 700;
}
.prose td {
  padding: 0.5em 1em;
  border-bottom: 1px solid #c9a22730;
  color: #a8b4c8;
  background: #0a1235;
}
.prose tr:nth-child(even) td {
  background: #0d1b4b;
}
.prose strong {
  color: #e8eaf6;
  font-weight: 700;
}
.prose em {
  color: #c9a227;
}
* {
  box-sizing: border-box;
}
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Link hover: text links, CTAs, and footer (devices with real hover) */
@media (hover: hover) and (pointer: fine) {
  a[href] {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease,
      box-shadow 0.2s ease, transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
  }
  /* Footer: legal / muted text links */
  footer ul.flex.flex-col li a:hover,
  footer ul.flex-col li a:hover {
    color: #c9a227 !important;
  }
  /* Footer: small resource pills (GamCare, etc.) */
  footer .flex.gap-4 a:hover {
    background: #1e3278 !important;
    border-color: #c9a22790 !important;
    color: #f0f2ff !important;
    box-shadow: 0 2px 12px #c9a22733;
  }
  /* Mobile nav drawer: list links only (CTA is .block) */
  header #mobile-menu nav a:not([class~="block"]):hover {
    color: #c9a227 !important;
  }
  /* Home hero: secondary outline CTA */
  a[style*="background:transparent"][style*="border:2px solid #c9a227"]:hover {
    background: rgba(201, 162, 39, 0.14) !important;
    box-shadow: 0 0 24px rgba(201, 162, 39, 0.28);
  }
  /* Gold pill CTAs (inline gold background) */
  a[href][style*="background:#c9a227"]:hover {
    filter: brightness(1.08);
    box-shadow: 0 6px 22px rgba(201, 162, 39, 0.45);
  }
  a[href][style*="background:#c9a227"]:active {
    filter: brightness(0.98);
    transform: scale(0.99);
  }
  /* Brand / logo in header */
  header a[href="/"]:hover {
    filter: brightness(1.12);
  }
}
