/* slotxo-24hr.space — custom layer on top of Tailwind */
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(60rem 40rem at 85% -10%, rgba(154, 99, 245, .16), transparent 60%),
    radial-gradient(50rem 32rem at -10% 20%, rgba(217, 138, 92, .12), transparent 60%),
    #0d0509;
}

/* Navbar */
#sx-topbar { transition: background-color .25s ease, box-shadow .25s ease; }
#sx-topbar.sx-solid { background-color: rgba(13, 5, 9, .94); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .7); }
.sx-link { position: relative; }
.sx-link::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #eaa87c, #b98cff); transition: width .2s ease, left .2s ease;
}
.sx-link:hover::after, .sx-link[aria-current="page"]::after { width: 100%; left: 0; }
.sx-link[aria-current="page"], #sx-menu a[aria-current="page"] { color: #f5c9a8; }
#sx-menu a[aria-current="page"] { background: rgba(58, 26, 45, .8); }

/* Mobile bottom navigation */
#sx-dock { padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -12px 30px -12px rgba(0, 0, 0, .8); }
.sx-dock-link, .sx-dock-cta { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0 8px; color: #9a8481; transition: color .2s ease; }
.sx-dock-link:hover, .sx-dock-link[aria-current="page"] { color: #f5c9a8; }
.sx-dock-link[aria-current="page"] svg { filter: drop-shadow(0 0 6px rgba(234, 168, 124, .6)); }
.sx-dock-cta { margin-top: -1.6rem; color: #f5c9a8; font-weight: 700; }
.sx-dock-cta .sx-btn { box-shadow: 0 0 0 4px #0d0509, 0 10px 24px -6px rgba(154, 99, 245, .8); }

/* Glass card with a glowing gradient edge */
.sx-glass {
  position: relative;
  background: linear-gradient(160deg, rgba(58, 26, 45, .55), rgba(20, 8, 14, .55));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: 1.25rem;
  isolation: isolate;
}
.sx-glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1;
  background: linear-gradient(135deg, rgba(245, 201, 168, .55), rgba(154, 99, 245, .15) 45%, rgba(185, 140, 255, .5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.sx-glass-hover { transition: transform .25s ease, box-shadow .25s ease; }
.sx-glass-hover:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(185, 140, 255, .55); }

.sx-text-grad {
  background: linear-gradient(100deg, #fbe3d2 0%, #eaa87c 40%, #b98cff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sx-btn {
  background: linear-gradient(100deg, #eaa87c, #d98a5c 45%, #9a63f5);
  background-size: 180% 100%; background-position: 0 0;
  transition: background-position .35s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 26px -10px rgba(217, 138, 92, .8);
}
.sx-btn:hover { background-position: 100% 0; transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(154, 99, 245, .85); }

/* Hero key art with a floating game-screen phone */
.sx-phone { animation: sx-float 6s ease-in-out infinite; }
.sx-hero-art::before {
  content: ""; position: absolute; inset: 10% -12%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(154, 99, 245, .45), rgba(217, 138, 92, .18) 60%, transparent);
  filter: blur(20px);
}
@keyframes sx-float { 50% { transform: translateY(-10px); } }

/* Game Provider Logo Slider (from topspinonline, tuned to the merlot/rose-gold palette) */
.providers-section { position: relative; }
.providers-header { text-align: center; }
.providers-marquee {
  overflow: hidden;
  -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: 10px 0 24px; list-style: none;
  animation: providers-scroll 50s linear infinite; animation-play-state: paused;
}
/* runs only while on screen (toggled by sx24.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; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(245, 201, 168, .25), 0 10px 22px -10px rgba(0, 0, 0, .8);
  transition: transform .2s ease, box-shadow .2s ease;
}
.providers-track li:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(185, 140, 255, .7), 0 14px 28px -12px rgba(154, 99, 245, .7); }
.providers-track img { width: 220px; height: 141px; display: block; background: #1d0c15; }
/* 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)); } }
}

/* Reveal on scroll */
.sx-rise { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.sx-rise.is-in { opacity: 1; transform: none; }
.no-js .sx-rise { opacity: 1; transform: none; }

/* Long-form article typography */
.sx-prose { color: #e6d6d2; line-height: 1.95; font-size: 1.05rem; }
.sx-prose h2 { font-family: "Chakra Petch", sans-serif; font-size: 1.55rem; font-weight: 700; color: #fbe3d2; margin: 2.4rem 0 .9rem; }
.sx-prose h3 { font-family: "Chakra Petch", sans-serif; font-size: 1.2rem; font-weight: 600; color: #d7b8ff; margin: 1.8rem 0 .6rem; }
.sx-prose p { margin: 0 0 1.1rem; }
.sx-prose ul, .sx-prose ol { margin: 0 0 1.2rem 1.3rem; }
.sx-prose ul { list-style: disc; }
.sx-prose ol { list-style: decimal; }
.sx-prose li { margin: .35rem 0; }
.sx-prose a { color: #f5c9a8; text-decoration: underline; text-underline-offset: 3px; }
.sx-prose a:hover { color: #d7b8ff; }
.sx-prose blockquote { border-left: 3px solid #b98cff; background: rgba(154, 99, 245, .08); padding: .9rem 1.1rem; border-radius: 0 .75rem .75rem 0; margin: 1.4rem 0; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sx-phone { animation: none; }
  .providers-track { animation-duration: 100s; }
  .providers-track li, .sx-glass-hover { transition: none; }
  .sx-rise { opacity: 1; transform: none; transition: none; }
}
