/* god345 — obsidian / emerald / champagne */
:root {
  --obs: #060d0b;
  --emer: #12d6a0;
  --emer-d: #0ea47a;
  --champ: #e9d6a1;
  --line: rgba(18, 214, 160, .16);
}
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(18, 214, 160, .13), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(233, 214, 161, .06), transparent 60%),
    var(--obs);
  min-height: 100vh;
}
::selection { background: rgba(18, 214, 160, .35); color: #fff; }

/* Glass card + glowing border */
.gx-glass {
  background: linear-gradient(150deg, rgba(18, 214, 160, .08), rgba(255, 255, 255, .015) 55%);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.gx-glow { position: relative; isolation: isolate; }
.gx-glow::before {
  content: "";
  position: absolute; inset: -1px; z-index: -1;
  border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(18, 214, 160, .9), rgba(233, 214, 161, .35) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .55;
  transition: opacity .25s ease;
}
.gx-glow:hover::before { opacity: 1; }
.gx-solid { background: #0b1a16; border: 1px solid rgba(255, 255, 255, .06); border-radius: 1.25rem; }

/* Buttons */
.gx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.35rem; border-radius: 999px;
  font-weight: 700; color: #04120d;
  background: linear-gradient(120deg, #86f2d3, #12d6a0 45%, #0ea47a);
  box-shadow: 0 8px 24px -8px rgba(18, 214, 160, .7), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gx-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(18, 214, 160, .85), inset 0 1px 0 rgba(255, 255, 255, .45); }
.gx-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.35rem; border-radius: 999px; font-weight: 600;
  color: var(--champ); border: 1px solid rgba(233, 214, 161, .35);
  transition: background .2s ease, border-color .2s ease;
}
.gx-btn-ghost:hover { background: rgba(233, 214, 161, .08); border-color: rgba(233, 214, 161, .7); }

/* Navbar */
.gx-nav {
  position: relative; display: block; padding: .5rem .85rem; border-radius: .7rem;
  font-weight: 500; color: #cbd5d1; transition: color .2s ease, background .2s ease;
}
.gx-nav:hover { color: #fff; background: rgba(18, 214, 160, .08); }
.gx-nav[aria-current="page"] { color: var(--emer); }
.gx-nav[aria-current="page"]::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px;
  border-radius: 2px; background: var(--emer); box-shadow: 0 0 10px var(--emer);
}
#gx-drawer .gx-nav[aria-current="page"]::after { display: none; }
#gx-drawer .gx-nav[aria-current="page"] { background: rgba(18, 214, 160, .1); }
.gx-logo-mark {
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .8rem;
  font-family: "Niramit", sans-serif; font-weight: 700; color: #04120d;
  background: conic-gradient(from 200deg, #12d6a0, #e9d6a1, #0ea47a, #12d6a0);
  box-shadow: 0 0 18px rgba(18, 214, 160, .45);
}

/* Hero orb */
.gx-orb {
  position: absolute; width: 22rem; height: 22rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(134, 242, 211, .55), rgba(18, 214, 160, .18) 45%, transparent 70%);
  filter: blur(10px); pointer-events: none;
  animation: gx-float 9s ease-in-out infinite;
}
@keyframes gx-float { 50% { transform: translate3d(0, -18px, 0) scale(1.04); } }
.gx-grid-bg {
  background-image: linear-gradient(rgba(18, 214, 160, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 214, 160, .06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.gx-text-grad {
  background: linear-gradient(100deg, #86f2d3, #12d6a0 40%, #e9d6a1);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Provider Logo Slider (structure from topspinonline, restyled emerald) */
.providers-section { position: relative; margin: 0 auto; padding: 2.25rem 0 1rem; max-width: 76rem; }
.providers-header { text-align: center; padding: 0 1rem; }
.providers-header h2 {
  font-family: "Niramit", "IBM Plex Sans Thai", sans-serif;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem); font-weight: 700; color: #fff; line-height: 1.35;
}
.providers-header p { margin: .5rem auto 0; max-width: 46rem; color: #9fb3ac; font-size: .95rem; line-height: 1.7; }
.providers-marquee {
  margin-top: 1.4rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.providers-track {
  display: flex; gap: 18px; width: max-content;
  margin: 0; padding: 10px 0 24px; list-style: none;
  animation: providers-scroll 48s linear infinite;
  animation-play-state: paused;
}
.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; overflow: hidden;
  border: 1px solid rgba(18, 214, 160, .22);
  background: #0b1a16;
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .8), 0 0 0 0 rgba(18, 214, 160, 0);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.providers-track li:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 214, 160, .7);
  box-shadow: 0 14px 26px -10px rgba(0, 0, 0, .8), 0 0 22px -4px rgba(18, 214, 160, .55);
}
.providers-track img { width: 220px; height: 141px; display: block; }
@keyframes providers-scroll { to { transform: translateX(calc(-50% - 9px)); } }
@media (max-width: 600px) {
  .providers-track { gap: 12px; animation-duration: 34s; }
  .providers-track img { width: 168px; height: 108px; }
  @keyframes providers-scroll { to { transform: translateX(calc(-50% - 6px)); } }
}
@media (prefers-reduced-motion: reduce) {
  .providers-track { animation-duration: 100s; }
  .providers-track li, .gx-orb { transition: none; animation: none; }
}

/* Article typography */
.gx-prose { color: #c9d6d1; line-height: 1.95; font-size: 1.05rem; }
.gx-prose h2 { font-family: "Niramit", "IBM Plex Sans Thai", sans-serif; color: #fff; font-size: 1.55rem; font-weight: 700; line-height: 1.4; margin: 2.6rem 0 .9rem; padding-left: .9rem; border-left: 3px solid var(--emer); }
.gx-prose h3 { color: var(--champ); font-size: 1.2rem; font-weight: 600; margin: 1.8rem 0 .6rem; }
.gx-prose p { margin: 0 0 1.15rem; }
.gx-prose ul, .gx-prose ol { margin: 0 0 1.2rem 1.3rem; }
.gx-prose ul { list-style: none; margin-left: 0; }
.gx-prose ul li { position: relative; padding-left: 1.5rem; margin-bottom: .45rem; }
.gx-prose ul li::before { content: ""; position: absolute; left: .2rem; top: .8rem; width: .5rem; height: .5rem; border-radius: 2px; background: var(--emer); transform: rotate(45deg); }
.gx-prose ol { list-style: decimal; }
.gx-prose ol li { margin-bottom: .45rem; padding-left: .3rem; }
.gx-prose a { color: var(--emer); text-decoration: underline; text-underline-offset: 3px; }
.gx-prose a:hover { color: #86f2d3; }
.gx-prose strong { color: #fff; }
.gx-prose blockquote { margin: 1.6rem 0; padding: 1rem 1.2rem; border-radius: 1rem; background: rgba(233, 214, 161, .06); border: 1px dashed rgba(233, 214, 161, .3); color: #e8e1cc; }
.gx-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4rem; font-size: .95rem; }
.gx-prose th, .gx-prose td { border: 1px solid rgba(18, 214, 160, .15); padding: .6rem .75rem; text-align: left; }
.gx-prose th { background: rgba(18, 214, 160, .08); color: #fff; }

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

/* Blog filter chips */
.gx-chip { padding: .45rem 1rem; border-radius: 999px; border: 1px solid rgba(18, 214, 160, .25); color: #b9cbc5; font-size: .9rem; transition: all .2s ease; }
.gx-chip:hover { color: #fff; border-color: rgba(18, 214, 160, .6); }
.gx-chip[aria-pressed="true"] { background: var(--emer); border-color: var(--emer); color: #04120d; font-weight: 700; }

/* Reveal on scroll */
.gx-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.gx-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .gx-reveal { opacity: 1; transform: none; transition: none; } }
.no-js .gx-reveal { opacity: 1; transform: none; }
