/* ==========================================================================
   SYLENT MENU — ULTRA-PREMIUM DESIGN SYSTEM (v4.0)
   - Clean obsidian & violet glassmorphism
   - Pixel-perfect equal-height product boxes with smooth interactive cards
   - Hardware-accelerated 60/120fps smooth animations & transitions
   - Native-feeling mobile support with floating quick-dock & touch polish
   - Visual friendly, modern typography, zero visual clutter
   ========================================================================== */

:root {
  /* === Resellme.xyz aligned palette === */
  --sx-bg:      #0a0a0f;
  --sx-bg-2:    #0e0e18;
  --sx-card:    #12121a;
  --sx-card-hi: #161622;
  --sx-line:    #232336;
  --sx-line-hi: rgba(168, 85, 247, 0.45);
  --sx-violet:  #a855f7;
  --sx-violet-2:#c084fc;
  --sx-cyan:    #22D3EE;
  --sx-pink:    #E879F9;
  --sx-success: #10B981;
  --sx-text:    #e2e8f0;
  --sx-muted:   #94a3b8;
  --sx-grad:    linear-gradient(135deg, #a855f7 0%, #6366F1 100%);
  --sx-glow:    0 0 0 1px rgba(168, 85, 247, 0.30), 0 10px 40px -8px rgba(168, 85, 247, 0.45);
  --sx-ease:    cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Global Reset & Foundations ---------- */
html, body {
  background-color: #0a0a0f !important;
  color: var(--sx-text);
  letter-spacing: -0.01em;
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html body h1, html body h2, html body h3, html body h4 {
  letter-spacing: -0.025em;
  color: #FFFFFF;
}

::selection {
  background: rgba(139, 92, 246, 0.4);
  color: #FFFFFF;
}

/* Scroll progress bar */
#sx-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--sx-grad);
  z-index: 10001;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.8);
  transition: transform 0.1s linear;
}

/* ---------- Navbar ---------- */
html body .sa-navbar > div:first-child {
  background: rgba(7, 7, 12, 0.75) !important;
  border-bottom: 1px solid var(--sx-line) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

html body .sa-navbar-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none !important;
}

html body .sa-navbar-logo span {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
  background: var(--sx-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html body .sa-navbar-logo::before {
  content: "";
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  background: var(--sx-grad);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.65);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 4.5px, #000 5.5px);
  mask: radial-gradient(circle at 50% 50%, transparent 4.5px, #000 5.5px);
  transform: rotate(45deg) scale(0.8);
  transition: transform 0.6s var(--sx-ease);
}

html body .sa-navbar-logo:hover::before {
  transform: rotate(225deg) scale(0.9);
}

html body .sa-navbar-link {
  border-radius: 999px !important;
  color: var(--sx-muted);
  position: relative;
  font-weight: 550;
  font-size: 0.875rem;
  transition: color 0.2s ease, background 0.2s ease !important;
}

html body .sa-navbar-link:hover {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

html body .sa-navbar-link.text-t-primary {
  color: #FFFFFF !important;
  background: rgba(139, 92, 246, 0.16) !important;
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.35);
}

/* ---------- Buttons & Interactive Elements ---------- */
html body .sa-btn {
  position: relative;
  overflow: hidden;
  border-radius: 14px !important;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--sx-ease), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease !important;
}

html body .sa-btn:active {
  transform: scale(0.97) !important;
}

html body .sa-btn--primary.sa-btn--solid {
  background: var(--sx-grad) !important;
  color: #FFFFFF !important;
  border: 0 !important;
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.35), 0 8px 30px -6px rgba(139, 92, 246, 0.5) !important;
}

html body .sa-btn--primary.sa-btn--solid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.32) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.65s var(--sx-ease);
}

html body .sa-btn--primary.sa-btn--solid:hover::after {
  transform: translateX(120%);
}

html body .sa-btn--primary.sa-btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.6), 0 14px 45px -8px rgba(139, 92, 246, 0.75) !important;
}

html body .sa-btn--outline, html body .sa-btn--secondary {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--sx-line) !important;
  color: #FFFFFF !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

html body .sa-btn--outline:hover, html body .sa-btn--secondary:hover {
  transform: translateY(-2px);
  border-color: var(--sx-line-hi) !important;
  background: rgba(139, 92, 246, 0.12) !important;
}

/* ---------- Hero Section ---------- */
html body .sa-hero {
  isolation: isolate;
}

html body .sa-hero-title {
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-size: clamp(2.2rem, 6.2vw, 4.4rem) !important;
}

html body .sa-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 44rem;
  color: var(--sx-muted);
  line-height: 1.6;
}

html body .sa-hero-eyebrow {
  background: rgba(139, 92, 246, 0.1) !important;
  border-color: rgba(139, 92, 246, 0.35) !important;
  box-shadow: 0 0 25px -6px rgba(139, 92, 246, 0.45);
}

html body .sa-hero-eyebrow > span:first-child {
  background: var(--sx-grad) !important;
  color: #FFFFFF !important;
}

html body .sa-hero .hero-bg-glow {
  background:
    radial-gradient(50% 55% at 50% 0%, rgba(139, 92, 246, 0.32), transparent 70%),
    radial-gradient(35% 40% at 85% 25%, rgba(34, 211, 238, 0.15), transparent 70%);
}

html body .sa-hero .hero-bg-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 72%);
}

/* ==========================================================================
   ULTRA-CLEAN PRODUCT GRIDS & BOXES (HOME, /PRODUCTS, MODALS)
   ========================================================================== */
html body .sa-products-items,
html body .sa-page-products-items,
html body .sa-group-modal .grid {
  align-items: stretch;
}

html body .sa-products-item,
html body .sa-page-products-item {
  display: flex;
  min-width: 0;
  width: 100%;
}

html body .sa-products-item[style*="display: none"],
html body .sa-page-products-item[style*="display: none"],
.sa-products-item[style*="display: none"],
.sa-page-products-item[style*="display: none"],
.sa-products-item.is-hidden,
.sa-page-products-item.is-hidden {
  display: none !important;
}

html body .sa-products-item > *,
html body .sa-page-products-item > *,
html body .sa-products-item .sa-product-card,
html body .sa-page-products-item .sa-product-card {
  width: 100%;
}

html body .sa-product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-width: 0;
  background: rgba(15, 17, 26, 0.78) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.55) !important;
  position: relative;
  text-decoration: none !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease !important;
}

@media (hover: hover) {
  html body .sa-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 85, 247, 0.35) !important;
    box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.8), 0 0 25px -5px rgba(139, 92, 246, 0.25) !important;
  }
}

/* Media area */
html body .sa-product-card-media {
  position: relative;
  overflow: hidden;
  background: rgba(10, 11, 18, 0.7);
  aspect-ratio: var(--product-card-image-aspect-ratio, 16/9);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-top-left-radius: 19px;
  border-top-right-radius: 19px;
}

html body .sa-product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html body .sa-product-card:hover .sa-product-card-media img {
  transform: scale(1.03);
}

/* Title: Clean, readable, no clipping */
html body .sa-product-card-title {
  font-family: var(--ff-heading, 'Plus Jakarta Sans'), sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  line-height: 1.35 !important;
  display: block !important;
  overflow: visible !important;
  transition: color 0.2s ease;
}

html body .sa-product-card:hover .sa-product-card-title {
  color: #C084FC !important;
}

html body .sa-product-card--compact-row .sa-product-card-title {
  min-height: 0;
  -webkit-line-clamp: 1 !important;
}

/* Price typography */
html body .sa-product-card-price {
  font-family: var(--ff-heading, 'Plus Jakarta Sans'), sans-serif;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  letter-spacing: -0.02em;
}

/* Status pill */
html body .sa-product-card-status {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Compact row horizontal cards */
html body .sa-product-card--compact-row {
  flex-direction: row !important;
  align-items: center !important;
  height: auto !important;
  padding: 0.85rem 1rem !important;
}

/* Responsive grid breakpoints */
@media (max-width: 639px) {
  html body .sa-products-items.grid,
  html body .sa-page-products-items.grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1rem !important;
  }
  html body .sa-product-card {
    border-radius: 16px !important;
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  html body .sa-products-items.grid,
  html body .sa-page-products-items.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.25rem !important;
  }
}
@media (min-width: 1024px) {
  html body .sa-products-items.grid,
  html body .sa-page-products-items.grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
  }
}
@media (min-width: 1536px) {
  html body .sa-products-items.grid,
  html body .sa-page-products-items.grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* ---------- Soft Ambient Cards (Less Boxy) ---------- */
html body .sa-stats-item, html body .sa-features-item,
html body .sa-faq-item, html body .sa-feedback-card, html body .sa-preview-card,
html body .sa-stats-items.rounded-card, html body .sa-steps-item {
  background: rgba(18, 20, 30, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 20px !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.45) !important;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

@media (hover: hover) {
  html body .sa-features-item:hover,
  html body .sa-feedback-card:hover,
  html body .sa-stats-item:hover {
    transform: translateY(-3px);
    border-color: rgba(168, 85, 247, 0.3) !important;
    box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.65), 0 0 20px -5px rgba(139, 92, 246, 0.2) !important;
  }
}

/* Stats values */
html body .sa-stats-item .text-h1,
html body .sa-stats-item .text-h2,
html body .sa-stats-item [class*="text-h"] {
  background: var(--sx-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 850;
}

/* FAQ accordion item */
html body .sa-faq-item {
  transition: border-color 0.25s ease, background 0.25s ease;
}
html body .sa-faq-item:hover {
  border-color: var(--sx-line-hi) !important;
}

/* Section divider glow */
html body .component + .component {
  position: relative;
}
html body .component + .component::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 80%);
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.4), transparent);
}

/* ---------- Forms & Inputs ---------- */
html body input:not([type="checkbox"]):not([type="radio"]),
html body textarea,
html body select {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--sx-line) !important;
  border-radius: 12px !important;
  color: #FFFFFF !important;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
}

html body input:focus,
html body textarea:focus,
html body select:focus {
  outline: none !important;
  border-color: var(--sx-violet) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.22) !important;
}

/* ---------- Modals, Drawers, Dropdowns ---------- */
html body .bg-surface-raised,
html body .sa-cart-panel,
html body .sa-search-modal > div:last-child,
html body .sa-group-modal .rounded-card {
  background: rgba(14, 15, 24, 0.94) !important;
  border-color: var(--sx-line) !important;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85) !important;
}

/* Cart Panel Drawer */
.sa-cart-panel {
  border-left: 1px solid var(--sx-line) !important;
}

/* ---------- Reveal on scroll & Anti-Disappearing Safety ---------- */
@keyframes sxAutoReveal {
  to {
    opacity: 1 !important;
    transform: none !important;
  }
}

@keyframes dsrAutoReveal {
  to {
    visibility: visible !important;
    opacity: 1 !important;
  }
}

[data-dsr] {
  animation: dsrAutoReveal 0.35s ease 0.8s forwards;
}

.sx-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--sx-ease), transform 0.5s var(--sx-ease);
  animation: sxAutoReveal 0.35s ease 0.6s forwards;
}

.sx-reveal.sx-in {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .sx-reveal, [data-dsr] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- Scrollbars ---------- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--sx-bg);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--sx-violet), #4F46E5);
  border-radius: 9999px;
  border: 2px solid var(--sx-bg);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(#A78BFA, var(--sx-violet));
}

/* ---------- Footer ---------- */
html body .sa-footer {
  position: relative;
  margin-top: 5rem;
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.05));
  border-top: 1px solid var(--sx-line) !important;
}
html body .sa-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 70%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sx-violet), var(--sx-cyan), transparent);
}
html body .sa-footer-link {
  position: relative;
  width: fit-content;
  color: var(--sx-muted);
  transition: color 0.2s ease;
}
html body .sa-footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 100%;
  background: var(--sx-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--sx-ease);
}
html body .sa-footer-link:hover {
  color: #FFFFFF;
}
html body .sa-footer-link:hover::after {
  transform: scaleX(1);
}

/* ==========================================================================
   MOBILE FLOATING DOCK (APP-LIKE EXPERIENCE)
   ========================================================================== */
.sa-mobile-dock {
  display: none;
}

@media (max-width: 767px) {
  .sa-mobile-dock {
    display: flex;
    position: fixed;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 14px;
    right: 14px;
    z-index: 60;
    align-items: center;
    justify-content: space-around;
    padding: 6px 10px;
    background: rgba(11, 12, 20, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75), 0 0 25px rgba(139, 92, 246, 0.2);
    transition: transform 0.35s var(--sx-ease), opacity 0.35s ease;
  }
  .sa-dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 12px;
    border-radius: 9999px;
    color: var(--sx-muted);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    cursor: pointer;
  }
  .sa-dock-item:hover, .sa-dock-item:active {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.06);
  }
  .sa-dock-item.is-active {
    color: #FFFFFF;
    background: rgba(139, 92, 246, 0.22);
    box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.4);
  }
  .sa-dock-item svg {
    transition: transform 0.2s ease;
  }
  .sa-dock-item:active svg {
    transform: scale(0.9);
  }
  /* ensure content clear of dock */
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important;
  }

  html body .sa-hero-title {
    font-size: clamp(2rem, 9.2vw, 2.75rem) !important;
  }
  html body .sa-btn {
    min-height: 44px;
  }
  html body .sa-buttons {
    width: 100%;
  }
  html body .sa-buttons .sa-btn {
    width: 100%;
  }
}

/* ==========================================================================
   LOADING SCREEN
   ========================================================================== */
#sx-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background:
    radial-gradient(60% 50% at 50% 40%, rgba(139, 92, 246, 0.22), transparent 70%),
    radial-gradient(40% 40% at 80% 85%, rgba(34, 211, 238, 0.12), transparent 70%),
    #05050A;
  transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.8s var(--sx-ease);
}
html.sx-loading #sx-loader {
  display: flex;
}
html.sx-loading, html.sx-loading body {
  overflow: hidden !important;
}
#sx-loader.sx-done {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  pointer-events: none;
}

#sx-loader .sx-grid {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 65%);
  mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 65%);
}

#sx-loader .sx-mark {
  position: relative;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
}
#sx-loader .sx-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #8B5CF6;
  border-right-color: #22D3EE;
  animation: sx-spin 1.2s linear infinite;
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.8));
}
#sx-loader .sx-ring.r2 {
  inset: 14px;
  border-top-color: #E879F9;
  border-right-color: transparent;
  border-left-color: #6366F1;
  animation-duration: 1.8s;
  animation-direction: reverse;
}
#sx-loader .sx-ring.r3 {
  inset: 28px;
  border-top-color: #22D3EE;
  border-right-color: transparent;
  animation-duration: 2.4s;
}
#sx-loader .sx-core {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, #8B5CF6, #22D3EE);
  transform: rotate(45deg);
  animation: sx-pulse 1.6s ease-in-out infinite;
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.9);
}
#sx-loader .sx-title {
  margin-top: 30px;
  font-family: var(--ff-heading, 'Plus Jakarta Sans'), system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 5.5vw, 2.2rem);
  letter-spacing: 0.25em;
  text-indent: 0.25em;
  text-transform: uppercase;
  color: #FFFFFF;
  position: relative;
}
#sx-loader .sx-sub {
  margin-top: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-indent: 0.35em;
  text-transform: uppercase;
  color: #8a8aa8;
  font-family: ui-monospace, Menlo, Consolas, monospace;
}
#sx-loader .sx-bar {
  margin-top: 26px;
  width: min(260px, 68vw);
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}
#sx-loader .sx-bar i {
  position: absolute;
  inset: 0;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, #8B5CF6, #22D3EE);
  border-radius: 3px;
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.9);
  transition: transform 0.25s ease-out;
}
#sx-loader .sx-pct {
  margin-top: 10px;
  font: 600 0.75rem ui-monospace, Menlo, Consolas, monospace;
  color: #8a8aa8;
  letter-spacing: 0.15em;
}
@keyframes sx-spin { to { transform: rotate(360deg); } }
@keyframes sx-pulse { 0%, 100% { transform: rotate(45deg) scale(1); } 50% { transform: rotate(135deg) scale(1.3); } }
@media (prefers-reduced-motion: reduce) {
  #sx-loader .sx-ring, #sx-loader .sx-core { animation: none; }
}

/* ==========================================================================
   FEATURE CATALOG — IN-GAME MENU GUI REPLICA (SYLENT MENU)
   - 1:1 In-Game Menu Window Frame (Obsidian Glass + Purple Glow)
   - Left Sidebar Categories (Self, Vehicle, Spawner, Teleport, etc.)
   - Horizontal Subtabs with bullet indicator •
   - 2-Column Side-by-Side Panel Cards (Health & Survival, Protection, etc.)
   - Interactive sliding toggle switches & action chevrons
   - Full Mobile Responsive Optimization & Word Anti-Clipping
   ========================================================================== */
.sa-fcat {
  position: relative;
}

.sa-fcat-head {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto 2.5rem;
}

.sa-fcat-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C4B5FD;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 0 20px -5px rgba(139, 92, 246, 0.4);
}

.sa-fcat-title {
  margin-top: 1rem;
  font-weight: 850;
  line-height: 1.15 !important;
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: #FFFFFF;
  padding-bottom: 4px;
  overflow: visible !important;
}

.sa-fcat-sub {
  margin: 1rem auto 0;
  max-width: 42rem;
  color: var(--sx-muted, #94A3B8);
  font-size: clamp(0.95rem, 1.8vw, 1.125rem);
  line-height: 1.6;
}

.sa-fcat-stats {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3rem);
  margin-top: 2rem;
  flex-wrap: wrap;
}

.sa-fcat-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
}

.sa-fcat-stats b {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 850;
  background: linear-gradient(135deg, #FFFFFF 20%, #C084FC 75%, #38BDF8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-right: 0.12em;
  padding-bottom: 0.08em;
  overflow: visible;
  line-height: 1.15;
}

.sa-fcat-stats span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A8AA8;
  font-weight: 600;
  margin-top: 2px;
}

/* ---------- In-Game GUI Window Wrapper ---------- */
.sa-menu-window-wrap {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  isolation: isolate;
}

/* Background Ambient Glow */
.sa-menu-window-wrap::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 20%;
  right: 20%;
  height: 60%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, transparent 70%);
  filter: blur(50px);
  z-index: -1;
  pointer-events: none;
}

/* The In-Game Window Frame */
.sa-menu-window {
  background: rgba(14, 12, 22, 0.96);
  border: 1px solid rgba(147, 51, 234, 0.42);
  border-radius: 16px;
  box-shadow:
    0 25px 70px -15px rgba(0, 0, 0, 0.9),
    0 0 50px -10px rgba(139, 92, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Window Header Bar */
.sa-menu-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  background: rgba(10, 8, 16, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sa-menu-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sa-menu-brand-text {
  font-family: var(--ff-heading, 'Plus Jakarta Sans'), sans-serif;
  font-weight: 850;
  font-size: 1.125rem;
  letter-spacing: 0.14em;
  color: #C084FC;
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.7);
  display: inline-block;
  line-height: 1;
}

.sa-menu-brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 9999px;
  color: #DDD6FE;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.45);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.sa-menu-active-pill {
  padding: 4px 16px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  letter-spacing: 0.02em;
}

/* Window Body */
.sa-menu-window-body {
  display: flex;
  min-height: 520px;
}

/* Left Sidebar */
.sa-menu-sidebar {
  width: 195px;
  flex-shrink: 0;
  padding: 14px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(8, 7, 14, 0.45);
}

.sa-menu-cats {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-height: 480px;
  overflow-y: auto;
  scrollbar-width: thin;
  padding-right: 3px;
}

.sa-menu-cats::-webkit-scrollbar {
  width: 3px;
}

.sa-menu-cats::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.3);
  border-radius: 9999px;
}

.sa-menu-cat-btn {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #94A3B8;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.sa-menu-cat-ico {
  font-size: 0.78rem;
  width: 16px;
  text-align: center;
  margin-right: 8px;
  color: #A855F7;
  opacity: 0.85;
  flex-shrink: 0;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.sa-menu-cat-btn:hover .sa-menu-cat-ico,
.sa-menu-cat-btn.is-active .sa-menu-cat-ico {
  color: #FFFFFF;
  opacity: 1;
}

.sa-menu-cat-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.045);
}

.sa-menu-cat-btn.is-active {
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #581C87 0%, #3B0764 100%) !important;
  border: 1px solid rgba(168, 85, 247, 0.55) !important;
  box-shadow: 0 2px 14px rgba(139, 92, 246, 0.35) !important;
  font-weight: 650 !important;
}

/* Sidebar Search Box */
.sa-menu-search-box {
  margin-top: 14px;
  position: relative;
  width: 100%;
}

.sa-menu-search-ico {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  color: #64748B;
  pointer-events: none;
}

.sa-menu-search-box input {
  width: 100%;
  padding: 7px 26px 7px 28px !important;
  font-size: 0.78rem !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  color: #FFFFFF !important;
  line-height: normal;
}

.sa-menu-search-box input:focus {
  border-color: rgba(168, 85, 247, 0.6) !important;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.25) !important;
}

.sa-menu-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: #94A3B8;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 2px 4px;
}

.sa-menu-search-clear:hover {
  color: #FFFFFF;
}

/* Main Content Stage */
.sa-menu-stage {
  flex: 1;
  min-width: 0;
  padding: 16px 20px 22px;
  display: flex;
  flex-direction: column;
}

/* Horizontal Sub-Tabs */
.sa-menu-subtabs-list {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 14px;
  margin-bottom: 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.sa-menu-subtabs-list::-webkit-scrollbar {
  display: none;
}

.sa-menu-subtab-btn {
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 550;
  white-space: nowrap;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.sa-menu-subtab-btn:hover {
  color: #FFFFFF;
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.sa-menu-subtab-btn.is-active {
  color: #F3E8FF !important;
  background: rgba(139, 92, 246, 0.18) !important;
  border-color: rgba(168, 85, 247, 0.7) !important;
  box-shadow: 0 0 16px -3px rgba(139, 92, 246, 0.45) !important;
  font-weight: 600;
}

.sa-menu-bullet {
  color: #C084FC;
  font-weight: 850;
  margin-right: 3px;
}

/* 2-Column Panels Grid */
.sa-menu-panels-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sa-menu-panel-card {
  background: rgba(17, 15, 26, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.6);
  transition: border-color 0.25s ease;
}

.sa-menu-panel-card:hover {
  border-color: rgba(168, 85, 247, 0.38);
}

.sa-menu-panel-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #C084FC;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 8px;
  letter-spacing: 0.015em;
  line-height: 1.2;
}

.sa-menu-panel-items {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-height: 480px;
  overflow-y: auto;
  scrollbar-width: thin;
  padding-right: 4px;
}

.sa-menu-panel-items::-webkit-scrollbar {
  width: 4px;
}

.sa-menu-panel-items::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.3);
  border-radius: 9999px;
}

.sa-menu-panel-items::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.6);
}

/* Feature Item Row */
.sa-menu-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease;
  user-select: none;
}

.sa-menu-item-row:hover {
  background: rgba(255, 255, 255, 0.045);
}

.sa-menu-item-row.is-on {
  background: rgba(139, 92, 246, 0.09);
}

.sa-menu-item-row:active {
  transform: scale(0.99);
}

.sa-menu-item-name {
  font-size: 0.825rem;
  font-weight: 500;
  color: #CBD5E1;
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
  line-height: 1.35;
  transition: color 0.18s ease;
}

.sa-menu-item-row:hover .sa-menu-item-name,
.sa-menu-item-row.is-on .sa-menu-item-name {
  color: #FFFFFF;
}

/* Interactive Toggle Switch */
.sa-menu-toggle {
  position: relative;
  width: 36px;
  height: 20px;
  border-radius: 9999px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.sa-menu-toggle.is-active {
  background: linear-gradient(135deg, #8B5CF6, #A855F7) !important;
  border-color: #C084FC !important;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.7) !important;
}

.sa-menu-toggle-knob {
  position: absolute;
  top: 2px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.sa-menu-toggle.is-active .sa-menu-toggle-knob {
  transform: translateX(16px);
}

/* Action Chevron */
.sa-menu-arrow {
  font-size: 1.1rem;
  font-weight: 600;
  color: #A855F7;
  opacity: 0.75;
  line-height: 1;
  padding: 0 4px;
  transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.sa-menu-item-row:hover .sa-menu-arrow {
  transform: translateX(3px);
  opacity: 1;
  color: #C084FC;
}

/* Search Results View */
.sa-menu-search-view {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sa-menu-search-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #94A3B8;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sa-menu-search-meta b {
  color: #C084FC;
}

.sa-menu-search-reset {
  font-size: 0.75rem;
  color: #C084FC;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 2px 6px;
}

.sa-menu-search-reset:hover {
  color: #FFFFFF;
}

.sa-menu-search-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
}

.sa-menu-item-row.is-search-row {
  background: rgba(17, 15, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.sa-menu-item-row.is-search-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(168, 85, 247, 0.3);
}

.sa-menu-item-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.sa-menu-item-path {
  font-size: 0.68rem;
  color: #8A8AA8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 1px;
}

.sa-menu-no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: #8A8AA8;
  font-size: 0.9rem;
}

.sa-menu-no-results i {
  font-size: 2.2rem;
  color: #8B5CF6;
  margin-bottom: 0.75rem;
  display: block;
}

/* Toast Feedback Notification */
.sa-menu-toast {
  position: absolute;
  bottom: 18px;
  right: 22px;
  z-index: 30;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(18, 14, 30, 0.94);
  border: 1px solid rgba(168, 85, 247, 0.55);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), 0 0 18px rgba(139, 92, 246, 0.45);
  pointer-events: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.sa-fcat-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS FOR IN-GAME MENU
   ========================================================================== */
@media (max-width: 767px) {
  .sa-menu-window-body {
    flex-direction: column;
  }
  .sa-menu-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 14px;
  }
  .sa-menu-cats {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .sa-menu-cats::-webkit-scrollbar {
    display: none;
  }
  .sa-menu-cat-btn {
    flex: none;
    width: auto;
    white-space: nowrap;
    padding: 6px 13px;
    font-size: 0.78rem;
  }
  .sa-menu-search-box {
    margin-top: 8px;
  }
  .sa-menu-stage {
    padding: 14px 14px 18px;
  }
  .sa-menu-panels-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .sa-menu-search-grid {
    grid-template-columns: 1fr;
  }
  .sa-menu-item-row {
    min-height: 42px;
    padding: 9px 11px;
  }
  .sa-menu-toast {
    bottom: 12px;
    right: 12px;
    left: 12px;
    text-align: center;
  }
  .sa-fcat-cta .sa-btn {
    width: 100%;
  }
}

/* ==========================================================================
   GLOBAL TEXT & WORD ANTI-CLIPPING REINFORCEMENTS
   - Prevents clipping on -webkit-background-clip: text (descenders & ascenders)
   - Prevents word cut-offs in headlines, product titles, cards, and badges
   ========================================================================== */
.hl-accent,
mark.hl-accent,
span.hl-accent,
strong.hl-accent,
.sa-navbar-logo span,
.sa-hero-title mark,
.sa-hero-title strong,
.sa-stats-item .text-h2,
.sa-stats-item [class*="text-h"],
.sa-fcat-stats b {
  display: inline-block !important;
  padding-right: 0.16em !important;
  padding-bottom: 0.1em !important;
  line-height: 1.18 !important;
  overflow: visible !important;
  box-sizing: content-box !important;
  text-decoration: none !important;
}

/* Headings descender safety */
html body h1,
html body h2,
html body h3,
html body h4,
.sa-hero-title,
.sa-fcat-title {
  overflow: visible !important;
  padding-bottom: 2px;
}

/* Product card titles */
html body .sa-product-card-title {
  overflow: hidden !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}

/* ==========================================================================
   GAME FILTER TABS (High-contrast, Never Disappears or Fades on Press)
   ========================================================================== */
.sa-game-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.5rem 1.15rem !important;
  border-radius: 9999px !important;
  font-size: 0.825rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  color: #94A3B8 !important;
  background: rgba(22, 20, 34, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.sa-game-pill:hover {
  color: #FFFFFF !important;
  background: rgba(35, 30, 52, 0.98) !important;
  border-color: rgba(168, 85, 247, 0.45) !important;
  transform: translateY(-1px) !important;
}

.sa-game-pill:active {
  transform: scale(0.97) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Active Highlight States */
.sa-game-pill.is-active,
.sa-game-pill[data-active="true"] {
  color: #FFFFFF !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.sa-game-pill.is-active-all {
  background: linear-gradient(135deg, #7C3AED 0%, #6366F1 100%) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.55) !important;
  color: #FFFFFF !important;
}

.sa-game-pill.is-active-gta {
  background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%) !important;
  border-color: rgba(192, 132, 252, 0.6) !important;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.6) !important;
  color: #FFFFFF !important;
}

.sa-game-pill.is-active-cs2 {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%) !important;
  border-color: rgba(103, 232, 249, 0.6) !important;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.6) !important;
  color: #FFFFFF !important;
}

.sa-game-pill.is-active-rdr2 {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%) !important;
  border-color: rgba(251, 191, 36, 0.6) !important;
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.6) !important;
  color: #FFFFFF !important;
}

.sa-game-pill.is-active-forza {
  background: linear-gradient(135deg, #EC4899 0%, #BE185D 100%) !important;
  border-color: rgba(244, 114, 182, 0.6) !important;
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.6) !important;
  color: #FFFFFF !important;
}

.sa-game-pill.is-active-reseller {
  background: linear-gradient(135deg, #10B981 0%, #047857 100%) !important;
  border-color: rgba(110, 231, 183, 0.6) !important;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.6) !important;
  color: #FFFFFF !important;
}

/* In-Game Menu Subtabs & Category Buttons Safety */
.sa-menu-subtab-btn,
.sa-menu-cat-btn {
  opacity: 1 !important;
  visibility: visible !important;
}

.sa-menu-subtab-btn:active,
.sa-menu-cat-btn:active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(0.97) !important;
}

/* ==========================================================================
   PRODUCT CARD PRICE & VIEW BUTTON COLLISION FIX - ZERO VERTICAL WRAPPING
   ========================================================================== */
.sa-product-card-price,
.sa-product-card-price *,
.sa-price-range,
.sa-product-card-price-slash {
  display: inline-block !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  font-variant-numeric: tabular-nums !important;
}

.sa-card-view-btn {
  width: 100% !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
}

/* ==========================================================================
   RESELLER PAGE BULLETPROOF GRIDS & PROFESSIONAL CARD STYLING
   ========================================================================== */
.sa-reseller-features-grid {
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}
@media (min-width: 640px) {
  .sa-reseller-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 1024px) {
  .sa-reseller-features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

.sa-reseller-tiers-grid {
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}
@media (min-width: 640px) {
  .sa-reseller-tiers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 1024px) {
  .sa-reseller-tiers-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

.sa-reseller-volume-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.75rem !important;
}
@media (min-width: 640px) {
  .sa-reseller-volume-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 1024px) {
  .sa-reseller-volume-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}

.sa-reseller-calc-pills {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 0.5rem !important;
}

.sa-reseller-steps-grid {
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
}
@media (min-width: 768px) {
  .sa-reseller-steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

.sa-reseller-card {
  background: #11101C !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 1rem !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.2s ease !important;
}

.sa-reseller-card:hover {
  border-color: rgba(168, 85, 247, 0.35) !important;
  transform: translateY(-2px) !important;
}

.sa-reseller-card-popular {
  background: #151226 !important;
  border: 2px solid #8B5CF6 !important;
  border-radius: 1rem !important;
  box-shadow: 0 4px 25px rgba(139, 92, 246, 0.35) !important;
}

.sa-reseller-card-best {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.15) 0%, #11101C 100%) !important;
  border: 2px solid #A855F7 !important;
  border-radius: 1rem !important;
  box-shadow: 0 4px 25px rgba(168, 85, 247, 0.4) !important;
}

/* ==========================================================================
   MOBILE & DESKTOP NAVBAR (Guaranteed Visibility & Ultra-Crisp Styling)
   ========================================================================== */
html body .sa-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  width: 100% !important;
  background: transparent !important;
}

html body .sa-navbar {
  position: relative !important;
  z-index: 50 !important;
  width: 100% !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

html body .sa-navbar-inner {
  background: rgba(10, 11, 18, 0.94) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
  width: 100% !important;
}

html body .sa-navbar-brand-text {
  font-family: var(--font-display, inherit) !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  color: #FFFFFF !important;
  text-transform: uppercase !important;
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Mobile Dropdown Menu */
html body .sa-mobile-menu {
  background: #10111A !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 1.25rem !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85), 0 0 30px rgba(139, 92, 246, 0.25) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 9999 !important;
}

html body .sa-mobile-nav-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.75rem 1rem !important;
  border-radius: 0.75rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: #94A3B8 !important;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  transition: all 0.15s ease !important;
  margin-bottom: 0.35rem !important;
}

html body .sa-mobile-nav-link:hover,
html body .sa-mobile-nav-link:active {
  color: #FFFFFF !important;
  background: rgba(139, 92, 246, 0.15) !important;
  border-color: rgba(139, 92, 246, 0.35) !important;
}

html body .sa-mobile-nav-link.is-active {
  color: #FFFFFF !important;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25) 0%, rgba(99, 102, 241, 0.15) 100%) !important;
  border-color: rgba(168, 85, 247, 0.5) !important;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.2) !important;
}

/* Mobile Floating Dock (Ensured on all screens <= 1023px) */
@media (max-width: 1023px) {
  html body .sa-mobile-dock {
    display: flex !important;
    position: fixed !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    left: 14px !important;
    right: 14px !important;
    z-index: 90 !important;
    align-items: center !important;
    justify-content: space-around !important;
    padding: 6px 10px !important;
    background: rgba(11, 12, 20, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 9999px !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 25px rgba(139, 92, 246, 0.25) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}





/* ==========================================================================
   MULTI-GAME SHOWCASE SYSTEM (GTA V, AURORA V1, RDR2 V1, FH6 AVALONIA)
   ========================================================================== */

/* ---------- 1. Showcase Game Switcher Bar ---------- */
.sa-game-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.sa-game-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(18, 15, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94A3B8;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.sa-game-tab-btn i {
  font-size: 1rem;
  color: #A855F7;
  transition: transform 0.25s ease, color 0.25s ease;
}

.sa-game-tab-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.sa-game-tab-name {
  font-family: var(--ff-heading, 'Plus Jakarta Sans'), sans-serif;
  font-weight: 750;
  font-size: 0.88rem;
  color: #E2E8F0;
  line-height: 1.2;
}

.sa-game-tab-sub {
  font-size: 0.68rem;
  color: #64748B;
  font-weight: 500;
}

.sa-game-tab-badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  transition: all 0.25s ease;
}

.sa-game-tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-2px);
}

.sa-game-tab-btn:hover i {
  color: #C084FC;
  transform: scale(1.12);
}

.sa-game-tab-btn.is-active {
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.55) 0%, rgba(59, 7, 100, 0.7) 100%) !important;
  border-color: rgba(168, 85, 247, 0.8) !important;
  box-shadow: 0 4px 20px -2px rgba(139, 92, 246, 0.45) !important;
}

.sa-game-tab-btn.is-active .sa-game-tab-name {
  color: #FFFFFF !important;
}

.sa-game-tab-btn.is-active .sa-game-tab-sub {
  color: #DDD6FE !important;
}

.sa-game-tab-btn.is-active i {
  color: #F3E8FF !important;
  transform: scale(1.15);
}

.sa-game-tab-btn.is-active .sa-game-tab-badge {
  background: rgba(168, 85, 247, 0.35) !important;
  border-color: rgba(216, 180, 254, 0.6) !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

/* ---------- 2. AURORA V1 MENU STYLING ---------- */
.sa-aurora-window {
  background: rgba(11, 12, 19, 0.98);
  border: 1.5px solid rgba(139, 92, 246, 0.4);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 25px 70px -15px rgba(0, 0, 0, 0.9),
    0 0 50px -10px rgba(139, 92, 246, 0.35);
}

/* Animated Aurora Curtains Effect Behind Menu */
.sa-aurora-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 40% at 50% 10%, rgba(168, 85, 247, 0.16), transparent 70%),
    radial-gradient(ellipse 70% 35% at 80% 50%, rgba(59, 130, 246, 0.12), transparent 70%),
    radial-gradient(ellipse 60% 30% at 20% 70%, rgba(16, 185, 129, 0.1), transparent 70%);
  animation: aurora-curtain-pulse 7s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes aurora-curtain-pulse {
  0% { transform: scale(1) translateY(0); opacity: 0.7; }
  50% { transform: scale(1.05) translateY(-5px); opacity: 1; }
  100% { transform: scale(0.98) translateY(5px); opacity: 0.8; }
}

.sa-aurora-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(8, 9, 14, 0.88);
  position: relative;
  z-index: 2;
}

.sa-aurora-brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.sa-aurora-wordmark {
  font-family: var(--ff-heading, 'Plus Jakarta Sans'), sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.22em;
  display: flex;
  gap: 2px;
}

.sa-aurora-char.c1 { color: #C084FC; text-shadow: 0 0 14px rgba(192, 132, 252, 0.7); }
.sa-aurora-char.c2 { color: #A855F7; text-shadow: 0 0 14px rgba(168, 85, 247, 0.7); }
.sa-aurora-char.c3 { color: #818CF8; text-shadow: 0 0 14px rgba(129, 140, 248, 0.7); }
.sa-aurora-char.c4 { color: #38BDF8; text-shadow: 0 0 14px rgba(56, 189, 248, 0.7); }
.sa-aurora-char.c5 { color: #34D399; text-shadow: 0 0 14px rgba(52, 211, 153, 0.7); }
.sa-aurora-char.c6 { color: #F472B6; text-shadow: 0 0 14px rgba(244, 114, 182, 0.7); }

.sa-aurora-v1 {
  font-size: 0.7rem;
  font-weight: 750;
  color: #8C92A8;
  letter-spacing: 0.08em;
}

.sa-aurora-active-tag {
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #DDD6FE;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
}

/* Thin Rainbow Aurora Gradient Strip (Signature Feature) */
.sa-aurora-strip {
  height: 2.5px;
  background: linear-gradient(90deg, #A855F7, #3B82F6, #10B981, #FBBF24, #EF4444, #A855F7);
  background-size: 200% 100%;
  animation: aurora-strip-anim 5s linear infinite;
  position: relative;
  z-index: 2;
}

@keyframes aurora-strip-anim {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.sa-aurora-body {
  display: flex;
  min-height: 520px;
  position: relative;
  z-index: 2;
}

.sa-aurora-sidebar {
  width: 155px;
  flex-shrink: 0;
  background: rgba(8, 9, 14, 0.75);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sa-aurora-tabs-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow-y: auto;
  max-height: 480px;
  scrollbar-width: thin;
}

.sa-aurora-tab-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
  color: #8C92A8;
  font-size: 0.82rem;
  font-weight: 550;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  position: relative;
}

.sa-aurora-tab-btn i {
  font-size: 0.8rem;
  width: 16px;
  text-align: center;
  color: #A855F7;
  opacity: 0.8;
}

.sa-aurora-tab-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.04);
}

.sa-aurora-tab-btn.is-active {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(168, 85, 247, 0.3) !important;
  font-weight: 700;
}

.sa-aurora-tab-btn.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: linear-gradient(180deg, #A855F7, #38BDF8);
  border-radius: 2px;
}

.sa-aurora-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 7px 16px;
  background: rgba(8, 8, 14, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  color: #94A3B8;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 2;
}

.sa-aurora-footer span b {
  color: #C084FC;
  font-weight: 700;
  margin-right: 2px;
}

/* Side Scrollbar with ^ and v arrows */
.sa-aurora-track-bar {
  width: 14px;
  background: rgba(10, 10, 14, 0.9);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

.sa-aurora-track-arrow {
  font-size: 9px;
  color: #94A3B8;
  cursor: pointer;
  user-select: none;
}

.sa-aurora-track-arrow:hover {
  color: #FFFFFF;
}

.sa-aurora-thumb {
  width: 8px;
  height: 48px;
  border-radius: 4px;
  background: #A855F7;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}

/* ---------- 3. SYLENT RDR2 V1 MENU STYLING ---------- */
.sa-rdr2-window {
  background: #0C0A10;
  border: 1.5px solid rgba(220, 38, 38, 0.55);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 25px 70px -15px rgba(0, 0, 0, 0.95),
    0 0 45px -10px rgba(239, 68, 68, 0.35);
}

/* RDR2 Banner with Metallic Crimson Shimmer */
.sa-rdr2-banner {
  height: 48px;
  background: linear-gradient(90deg, #450A0A 0%, #7F1D1D 50%, #450A0A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid #DC2626;
}

.sa-rdr2-banner-shine {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: rdr2-shine-sweep 4s ease-in-out infinite;
}

@keyframes rdr2-shine-sweep {
  0% { left: -140px; }
  40%, 100% { left: calc(100% + 140px); }
}

.sa-rdr2-banner-title {
  font-family: var(--ff-heading, 'Plus Jakarta Sans'), sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.28em;
  color: #FFFFFF;
  text-shadow: 0 0 20px rgba(239, 68, 68, 0.9), 0 2px 4px rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 1;
}

/* Promo Bar with Pulsing Green Dot */
.sa-rdr2-promo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px;
  background: rgba(10, 10, 16, 0.95);
  border-bottom: 1.5px solid rgba(220, 38, 38, 0.35);
}

.sa-rdr2-promo-left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.5);
  font-size: 0.68rem;
  font-weight: 750;
  color: #6EE7B7;
}

.sa-rdr2-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: rdr2-pulse-dot 1.5s ease-in-out infinite alternate;
}

@keyframes rdr2-pulse-dot {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 1; }
}

.sa-rdr2-promo-center {
  font-size: 0.72rem;
  font-weight: 750;
  color: #F1F5F9;
  letter-spacing: 0.08em;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.sa-rdr2-promo-right {
  font-size: 0.68rem;
  font-weight: 750;
  padding: 2px 9px;
  border-radius: 9999px;
  background: rgba(30, 20, 35, 0.8);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #FCA5A5;
}

/* Breadcrumb Navigation Bar */
.sa-rdr2-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px;
  background: rgba(12, 12, 16, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sa-rdr2-bc-trail {
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFFFFF;
}

.sa-rdr2-bc-count {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: #94A3B8;
}

.sa-rdr2-bc-search-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 2px 4px;
  font-size: 0.75rem;
}

.sa-rdr2-bc-search-btn:hover {
  color: #FFFFFF;
}

/* RDR2 Trainer Rows Layout */
.sa-rdr2-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  border-left: 3px solid transparent;
}

.sa-rdr2-row:hover,
.sa-rdr2-row.is-selected {
  background: rgba(185, 28, 28, 0.22);
  border-left-color: #EF4444;
}

.sa-rdr2-state-badge {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 1px 7px;
  border-radius: 4px;
}

.sa-rdr2-state-badge.is-on {
  color: #34D399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.sa-rdr2-state-badge.is-off {
  color: #64748B;
  background: rgba(255, 255, 255, 0.03);
}

.sa-rdr2-footer {
  padding: 8px 16px;
  background: rgba(8, 8, 12, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: #E2E8F0;
  line-height: 1.4;
}

/* ---------- 4. SYLENT FH6 AVALONIA CLICK UI STYLING ---------- */
.sa-fh6-window {
  background: #090812;
  border: 1.5px solid #3B2666;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 25px 70px -15px rgba(0, 0, 0, 0.9),
    0 0 45px -10px rgba(124, 58, 237, 0.35);
}

/* Draggable Header Title Bar */
.sa-fh6-header {
  height: 50px;
  background: #110E20;
  border-bottom: 1px solid #251D3E;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: relative;
}

.sa-fh6-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sa-fh6-logo-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #7C3AED 0%, #4C1D95 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 11px;
}

.sa-fh6-brand-text {
  font-family: var(--ff-heading, 'Plus Jakarta Sans'), sans-serif;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: #C084FC;
}

.sa-fh6-build-badge {
  background: #251642;
  border: 1px solid #7C3AED;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #DDD6FE;
}

.sa-fh6-active-tab-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 6px;
  background: #1A142E;
  border: 1px solid #4C2882;
  font-size: 0.75rem;
  font-weight: 750;
  color: #E9D5FF;
  letter-spacing: 0.05em;
}

.sa-fh6-tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #C084FC;
  box-shadow: 0 0 6px #C084FC;
}

.sa-fh6-header-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.sa-fh6-conn-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 9999px;
  background: #0C1A16;
  border: 1px solid #10B981;
  font-size: 0.65rem;
  font-weight: 750;
  color: #10B981;
}

.sa-fh6-conn-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #10B981;
}

.sa-fh6-hotkey-pill {
  padding: 3px 7px;
  border-radius: 5px;
  background: #1C1434;
  border: 1px solid #7C3AED;
  font-size: 0.68rem;
  font-weight: 750;
  color: #C084FC;
}

.sa-fh6-mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.7rem;
  font-weight: 600;
  color: #C084FC;
  cursor: pointer;
}

.sa-fh6-win-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sa-fh6-win-btn.is-close {
  background: #2A1018;
  border-color: #E11D48;
  color: #FB7185;
}

/* FH6 Sidebar Navigation */
.sa-fh6-body {
  display: flex;
  min-height: 520px;
}

.sa-fh6-sidebar {
  width: 185px;
  flex-shrink: 0;
  background: #0C0A16;
  border-right: 1px solid #251E3C;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sa-fh6-tabs-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sa-fh6-tab-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
  color: #94A3B8;
  font-size: 0.78rem;
  font-weight: 550;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  position: relative;
}

.sa-fh6-tab-btn i {
  font-size: 0.82rem;
  width: 16px;
  text-align: center;
  color: #A855F7;
}

.sa-fh6-tab-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.04);
}

.sa-fh6-tab-btn.is-active {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(124, 58, 237, 0.4) !important;
  font-weight: 700;
}

.sa-fh6-tab-btn.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3.5px;
  background: #7C3AED;
  border-radius: 2px;
}

.sa-fh6-status-pill {
  margin: 8px 2px 2px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #141026;
  border: 1px solid #2E204E;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 750;
  color: #6EE7B7;
}

.sa-fh6-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: #10B981;
}

/* FH6 Content Stage & Cards */
.sa-fh6-stage {
  flex: 1;
  min-width: 0;
  padding: 16px 20px;
  overflow-y: auto;
  max-height: 520px;
}

.sa-fh6-alert {
  padding: 10px 14px;
  border-radius: 8px;
  background: #251642;
  border: 1px solid #7C3AED;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #E9D5FF;
}

.sa-fh6-card {
  background: #141024;
  border: 1px solid #281F42;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.sa-fh6-card-accent {
  height: 2px;
  background: #7C3AED;
  margin: -16px -16px 12px -16px;
}

.sa-fh6-card-header {
  font-family: var(--ff-heading, 'Plus Jakarta Sans'), sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #C084FC;
  margin-bottom: 3px;
}

.sa-fh6-card-sub {
  font-size: 0.72rem;
  color: #94A3B8;
  margin-bottom: 12px;
}

.sa-fh6-input {
  background: #0E0C1A !important;
  border: 1px solid #3B2666 !important;
  border-radius: 6px !important;
  color: #FFFFFF !important;
  font-size: 0.78rem !important;
  padding: 5px 9px !important;
}

.sa-fh6-btn-primary {
  background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
  color: #FFFFFF;
  border: none;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sa-fh6-btn-primary:hover {
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.5);
}

.sa-fh6-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #E9D5FF;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sa-fh6-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(168, 85, 247, 0.4);
}

/* FH6 Custom Sliders */
.sa-fh6-slider {
  accent-color: #A855F7;
  cursor: pointer;
}

/* Season 4-Card Grid */
.sa-fh6-season-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.sa-fh6-season-card {
  height: 52px;
  border-radius: 7px;
  border: 1px solid;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sa-fh6-season-card.spring { background: #12261E; border-color: #34D399; color: #34D399; }
.sa-fh6-season-card.summer { background: #282010; border-color: #FBBF24; color: #FBBF24; }
.sa-fh6-season-card.autumn { background: #281812; border-color: #FB923C; color: #FB923C; }
.sa-fh6-season-card.winter { background: #102030; border-color: #38BDF8; color: #38BDF8; }

.sa-fh6-season-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.2);
}

/* Terminal Log Console */
.sa-fh6-terminal {
  background: #0A0914;
  border: 1px solid #251E3C;
  border-radius: 6px;
  padding: 10px 12px;
  font-family: Consolas, 'Courier New', monospace;
  font-size: 0.72rem;
  color: #94A3B8;
  line-height: 1.5;
  max-height: 110px;
  overflow-y: auto;
}

/* ==========================================================================
   AUTHENTIC 4-IN-1 IN-GAME SHOWCASE MOBILE & RESPONSIVE ARCHITECTURE
   Flawless 1:1 mobile & PC support for GTA V, Aurora V1, RDR2 V1 & FH6 Click UI
   ========================================================================== */

/* Base RDR2 Specific Layout Classes */
.sa-rdr2-sidebar {
  width: 145px;
  flex-shrink: 0;
  border-right: 1px solid rgba(220, 38, 38, 0.25);
  background: rgba(12, 10, 16, 0.85);
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sa-rdr2-panels-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* Ensure mobile dock never obscures bottom page content */
@media (max-width: 767px) {
  body {
    padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Small Screens & Mobile (max-width: 768px) */
@media (max-width: 768px) {
  /* 0. Top Game Switcher Bar */
  .sa-game-switcher {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 18px !important;
    width: 100% !important;
  }
  .sa-game-tab-btn {
    padding: 10px 12px !important;
    border-radius: 10px !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    min-width: 0 !important;
  }
  .sa-game-tab-btn i {
    font-size: 0.95rem !important;
    flex-shrink: 0 !important;
  }
  .sa-game-tab-info {
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .sa-game-tab-name {
    font-size: 0.82rem !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
  }
  .sa-game-tab-sub {
    font-size: 0.64rem !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
  }
  .sa-game-tab-badge {
    display: none !important;
  }

  /* 1. GTA Showcase on Mobile */
  .sa-menu-window-body {
    flex-direction: column !important;
    min-height: auto !important;
  }
  .sa-menu-sidebar {
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 10px 12px !important;
  }
  .sa-menu-cats {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    gap: 6px !important;
    padding-bottom: 8px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .sa-menu-cats::-webkit-scrollbar {
    display: none !important;
  }
  .sa-menu-cat-btn {
    flex: 0 0 auto !important;
    width: auto !important;
    padding: 7px 13px !important;
    font-size: 0.78rem !important;
    border-radius: 9999px !important;
  }
  .sa-menu-subtabs-list {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 6px !important;
    padding-bottom: 8px !important;
    margin-bottom: 10px !important;
  }
  .sa-menu-subtabs-list::-webkit-scrollbar {
    display: none !important;
  }
  .sa-menu-subtab-btn {
    flex: 0 0 auto !important;
    width: auto !important;
    padding: 5px 12px !important;
    font-size: 0.75rem !important;
  }
  .sa-menu-stage {
    padding: 12px 10px 16px !important;
    min-height: auto !important;
  }
  .sa-menu-panels-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .sa-menu-item-row {
    min-height: 44px !important;
    padding: 10px 12px !important;
    font-size: 0.82rem !important;
  }

  /* 2. Aurora V1 Showcase on Mobile */
  .sa-aurora-body {
    flex-direction: column !important;
    min-height: auto !important;
  }
  .sa-aurora-header {
    padding: 10px 14px !important;
  }
  .sa-aurora-wordmark {
    font-size: 1.05rem !important;
  }
  .sa-aurora-sidebar {
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 8px 10px !important;
    flex-shrink: 0 !important;
  }
  .sa-aurora-tabs-nav {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    gap: 6px !important;
    max-height: none !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .sa-aurora-tabs-nav::-webkit-scrollbar {
    display: none !important;
  }
  .sa-aurora-tab-btn {
    flex: 0 0 auto !important;
    width: auto !important;
    padding: 6px 12px !important;
    font-size: 0.76rem !important;
    border-radius: 9999px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .sa-aurora-tab-btn.is-active::before {
    display: none !important;
  }
  .sa-aurora-track-bar {
    display: none !important;
  }
  .sa-aurora-footer {
    padding: 8px 12px !important;
    font-size: 0.7rem !important;
  }

  /* 3. RDR2 V1 Showcase on Mobile */
  .sa-rdr2-banner {
    height: 42px !important;
  }
  .sa-rdr2-banner-title {
    font-size: 1.15rem !important;
    letter-spacing: 0.22em !important;
  }
  .sa-rdr2-promo-bar {
    flex-wrap: wrap !important;
    gap: 6px 10px !important;
    padding: 7px 10px !important;
    justify-content: center !important;
  }
  .sa-rdr2-promo-center {
    order: 3 !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 0.68rem !important;
  }
  .sa-rdr2-breadcrumb {
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
  }
  .sa-rdr2-sidebar {
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(220, 38, 38, 0.25) !important;
    padding: 8px 10px !important;
  }
  .sa-rdr2-tabs-nav {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    gap: 6px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .sa-rdr2-tabs-nav::-webkit-scrollbar {
    display: none !important;
  }
  .sa-rdr2-stage {
    padding: 10px !important;
  }
  .sa-rdr2-panels-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .sa-rdr2-row {
    min-height: 44px !important;
    padding: 9px 11px !important;
  }
  .sa-rdr2-footer {
    font-size: 0.72rem !important;
    padding: 8px 12px !important;
    text-align: center !important;
  }

  /* 4. FH6 Avalonia Click UI Showcase on Mobile */
  .sa-fh6-header {
    height: auto !important;
    min-height: 46px !important;
    padding: 8px 12px !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .sa-fh6-body {
    flex-direction: column !important;
    min-height: auto !important;
  }
  .sa-fh6-sidebar {
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid #251E3C !important;
    padding: 8px 10px !important;
  }
  .sa-fh6-tabs-list {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    gap: 6px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .sa-fh6-tabs-list::-webkit-scrollbar {
    display: none !important;
  }
  .sa-fh6-tab-btn {
    flex: 0 0 auto !important;
    width: auto !important;
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    border-radius: 9999px !important;
    background: #141026 !important;
    border: 1px solid #2E204E !important;
  }
  .sa-fh6-tab-btn.is-active::before {
    display: none !important;
  }
  .sa-fh6-status-pill {
    display: none !important;
  }
  .sa-fh6-stage {
    padding: 12px 10px !important;
    max-height: none !important;
  }
  .sa-fh6-card {
    padding: 12px !important;
  }
  .sa-fh6-season-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .sa-fh6-terminal {
    max-width: 100% !important;
    font-size: 0.68rem !important;
    word-break: break-all !important;
  }
}
