/* mvctest.space — midnight teal / mint neon / coral */
:root {
  --ink: #04100f;
  --mint: #1fd9a5;
  --mint-soft: rgba(31, 217, 165, .14);
  --coral: #ff6b57;
  --line: rgba(143, 245, 214, .16);
}
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(31, 217, 165, .13), transparent 60%),
    radial-gradient(40rem 26rem at -10% 30%, rgba(255, 107, 87, .08), transparent 60%),
    var(--ink);
  color: #cfe7e2;
}

/* glass panel with glowing edge */
.glass {
  background: linear-gradient(160deg, rgba(18, 53, 51, .55), rgba(7, 26, 25, .7));
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.glow-edge { position: relative; }
.glow-edge::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(130deg, var(--mint), transparent 40%, transparent 60%, var(--coral));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .55;
  pointer-events: none;
  transition: opacity .25s ease;
}
.glow-edge:hover::before { opacity: 1; }

/* buttons */
.btn-mint, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: .8rem; padding: .8rem 1.5rem;
  font-family: Kanit, Sarabun, sans-serif; font-weight: 500;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-mint {
  background: linear-gradient(120deg, #4eeec0, #1fd9a5 55%, #14b386);
  color: #04100f;
  box-shadow: 0 0 0 1px rgba(143, 245, 214, .4), 0 10px 30px -10px rgba(31, 217, 165, .7);
}
.btn-mint:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px #8ff5d6, 0 14px 34px -10px rgba(31, 217, 165, .9); }
.btn-ghost { border: 1px solid rgba(255, 107, 87, .55); color: #ff8a73; }
.btn-ghost:hover { background: rgba(255, 107, 87, .1); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: #8ff5d6;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: var(--coral); border-radius: 2px; }

.text-gradient {
  background: linear-gradient(100deg, #8ff5d6, #1fd9a5 45%, #ff8a73);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* nav */
.nav-link { position: relative; padding: .35rem 0; color: rgba(207, 231, 226, .75); transition: color .2s; }
.nav-link:hover, .nav-link[aria-current="page"] { color: #8ff5d6; }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: linear-gradient(90deg, var(--mint), var(--coral)); border-radius: 2px;
}
#mobile-menu[hidden] { display: none; }
#site-header.is-scrolled { background: rgba(4, 16, 15, .94); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .8), 0 1px 0 rgba(31, 217, 165, .25); }
.bottom-nav { box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .8); }

/* long-form article typography */
.prose-mvc h2 { font-family: Kanit, sans-serif; font-size: 1.5rem; color: #fff; margin: 2.2rem 0 .8rem; }
.prose-mvc h3 { font-family: Kanit, sans-serif; font-size: 1.15rem; color: #8ff5d6; margin: 1.6rem 0 .6rem; }
.prose-mvc p { line-height: 1.95; margin: 0 0 1.1rem; }
.prose-mvc ul, .prose-mvc ol { margin: 0 0 1.2rem 1.25rem; line-height: 1.9; }
.prose-mvc ul { list-style: disc; }
.prose-mvc ol { list-style: decimal; }
.prose-mvc li::marker { color: var(--coral); }
.prose-mvc a { color: #4eeec0; text-decoration: underline; text-underline-offset: 3px; }
.prose-mvc blockquote {
  border-left: 3px solid var(--coral); background: rgba(255, 107, 87, .07);
  padding: .9rem 1.1rem; border-radius: 0 .8rem .8rem 0; margin: 1.4rem 0;
}

/* faq */
details.faq summary { cursor: pointer; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .chev { transition: transform .2s; }
details.faq[open] summary .chev { transform: rotate(45deg); }

/* ===== Provider Logo Slider (ported from topspinonline, restyled) ===== */
.providers-section { padding: 2.25rem 0 1rem; }
.providers-header { text-align: center; max-width: 46rem; margin: 0 auto 1.4rem; padding: 0 1rem; }
.providers-header h2 { font-family: Kanit, sans-serif; font-size: clamp(1.25rem, 2.6vw, 1.7rem); color: #fff; font-weight: 600; }
.providers-header p { margin-top: .5rem; color: rgba(207, 231, 226, .7); font-size: .95rem; line-height: 1.7; }
.providers-marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(31, 217, 165, .05), rgba(255, 107, 87, .05));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.providers-track {
  display: flex;
  gap: 16px;
  width: max-content;
  margin: 0;
  padding: 18px 0 22px;
  list-style: none;
  animation: providers-scroll 50s linear infinite;
  animation-play-state: paused;
}
/* runs only while on screen (toggled by mvc.js) */
.providers-marquee.is-active .providers-track { animation-play-state: running; }
.providers-marquee.is-active:hover .providers-track { animation-play-state: paused; }
.providers-track li {
  flex: none;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(143, 245, 214, .18), 0 10px 22px -8px rgba(0, 0, 0, .6);
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.providers-track li:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px #4eeec0, 0 0 22px -2px rgba(31, 217, 165, .55);
}
.providers-track img { width: 220px; height: 141px; display: block; }
/* track holds two identical sets: shift by one set (+ one gap) for a seamless loop */
@keyframes providers-scroll {
  to { transform: translateX(calc(-50% - 8px)); }
}
@media (max-width: 600px) {
  .providers-track { gap: 12px; animation-duration: 35s; }
  .providers-track img { width: 170px; height: 109px; }
  @keyframes providers-scroll { to { transform: translateX(calc(-50% - 6px)); } }
}
@media (prefers-reduced-motion: reduce) {
  .providers-track { animation-duration: 100s; }
  .providers-track li { transition: none; }
}
