/* ==========================================================================
   VOLYX ? Premium Dark WHMCS Theme
   Child of Twenty-One ? Cool, refined, hosting-grade
   ========================================================================== */

:root {
  --vx-bg: #05070b;
  --vx-bg-elevated: #0b0f16;
  --vx-surface: #121821;
  --vx-surface-2: #1a2230;
  --vx-border: rgba(232, 237, 245, 0.09);
  --vx-border-strong: rgba(232, 237, 245, 0.16);
  --vx-text: #f2f5fb;
  --vx-text-muted: #9aa6bb;
  --vx-text-dim: #667086;
  /* Game-hosting neon accents */
  --vx-accent: #39ff8c;
  --vx-accent-2: #38bdf8;
  --vx-accent-soft: rgba(57, 255, 140, 0.12);
  --vx-accent-glow: rgba(57, 255, 140, 0.32);
  --vx-gold: #ffd84d;
  --vx-danger: #ff5c6a;
  --vx-warning: #ffc14d;
  --vx-success: #39ff8c;
  --vx-info: #38bdf8;
  --vx-radius: 16px;
  --vx-radius-sm: 10px;
  --vx-radius-xs: 8px;
  --vx-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  --vx-font: "Manrope", system-ui, sans-serif;
  --vx-display: "Syne", "Manrope", system-ui, sans-serif;
  --vx-header-h: 72px;
  --primary: #39ff8c;
  --primary-dark: #22c55e;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
html.volyx-html,
body.volyx-body {
  background: var(--vx-bg) !important;
  color: var(--vx-text) !important;
  font-family: var(--vx-font) !important;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}

body.volyx-body {
  position: relative;
  overflow-x: hidden;
}

body.volyx-body.primary-bg-color {
  background-color: var(--vx-bg) !important;
}

a {
  color: var(--vx-accent);
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover {
  color: var(--vx-accent-2);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--vx-display);
  color: var(--vx-text);
  letter-spacing: -0.02em;
  font-weight: 700;
}

p, .text-muted,
.text-secondary {
  color: var(--vx-text-muted) !important;
}

/* Old top-nav stacking helper ? do NOT disable cart clicks (breaks Remove Yes) */
body.volyx-nav-open .volyx-header {
  z-index: 5000 !important;
}

/* Cart remove / empty modals must sit ABOVE the left rail */
body.volyx-shell .modal-backdrop {
  z-index: 3000 !important;
}
body.volyx-shell .modal,
body.volyx-shell #modalRemoveItem,
body.volyx-shell #modalEmptyCart {
  z-index: 3010 !important;
  pointer-events: auto !important;
}
body.volyx-shell .modal .modal-dialog,
body.volyx-shell .modal .modal-content,
body.volyx-shell .modal .modal-footer,
body.volyx-shell .modal .btn {
  pointer-events: auto !important;
}
body.modal-open .vx-rail,
body.modal-open .vx-topbar {
  pointer-events: none !important;
}

/* Atmosphere */
.volyx-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.volyx-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}
.volyx-orb-a {
  width: 480px;
  height: 480px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.32), transparent 70%);
  animation: volyx-float-a 18s ease-in-out infinite;
}
.volyx-orb-b {
  width: 420px;
  height: 420px;
  bottom: 10%;
  left: -100px;
  background: radial-gradient(circle, rgba(57, 255, 140, 0.26), transparent 70%);
  animation: volyx-float-b 22s ease-in-out infinite;
}
.volyx-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 237, 245, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 237, 245, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black, transparent);
  opacity: 0.5;
}

@keyframes volyx-float-a {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, 30px); }
}
@keyframes volyx-float-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -40px); }
}

.volyx-header,
.volyx-main,
.volyx-footer,
.volyx-domain-hero,
.master-breadcrumb {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Brand
   -------------------------------------------------------------------------- */
.volyx-brand {
  display: inline-flex !important;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none !important;
}
.volyx-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, #39ff8c, #38bdf8);
  color: #041016;
  font-family: var(--vx-display);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 8px 24px rgba(57, 255, 140, 0.35);
}
.volyx-brand-text {
  font-family: var(--vx-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: #fff;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: #fff;
}
.volyx-brand .logo-img {
  max-height: 40px;
  width: auto;
}

/* --------------------------------------------------------------------------
   Header / Nav
   -------------------------------------------------------------------------- */
.volyx-header {
  position: sticky !important;
  top: 0;
  z-index: 3000 !important;
  background: rgba(5, 7, 11, 0.92) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--vx-border);
  transition: box-shadow 0.25s ease, background 0.25s ease;
  overflow: visible !important;
  isolation: isolate;
}
.volyx-header.is-scrolled {
  background: rgba(5, 7, 11, 0.97) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

/* Ensure page content never covers Store/Account dropdowns */
.volyx-main,
#main-body,
#order-standard_cart,
.volyx-footer,
.volyx-domain-hero,
.master-breadcrumb {
  position: relative;
  z-index: 1 !important;
}
.volyx-atmosphere {
  z-index: 0 !important;
}

.volyx-topbar {
  background: rgba(19, 24, 33, 0.85) !important;
  border-bottom: 1px solid var(--vx-border);
  font-size: 0.875rem;
}
.volyx-topbar .btn,
.volyx-notify-btn {
  color: var(--vx-text-muted) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: var(--vx-radius-xs);
}
.volyx-notify-btn:hover {
  color: var(--vx-text) !important;
  background: var(--vx-surface-2) !important;
}
.volyx-notify-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin: 0 4px;
  border-radius: 999px;
  background: var(--vx-accent);
  color: #041016;
  font-size: 0.7rem;
  font-weight: 700;
}

.volyx-active-client .input-group-text,
.volyx-active-client .btn {
  background: var(--vx-surface) !important;
  border-color: var(--vx-border) !important;
  color: var(--vx-text) !important;
}
.volyx-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-right: 0.45rem;
  border-radius: 8px;
  background: var(--vx-accent-soft);
  color: var(--vx-accent);
  font-size: 0.75rem;
  font-weight: 700;
}

.volyx-navbar,
.volyx-main-nav {
  background: transparent !important;
  border: 0 !important;
}
.volyx-navbar .navbar-brand {
  color: var(--vx-text) !important;
}
.volyx-search .form-control {
  background: var(--vx-surface) !important;
  border: 1px solid var(--vx-border) !important;
  color: var(--vx-text) !important;
  border-radius: 0 var(--vx-radius-xs) var(--vx-radius-xs) 0 !important;
  min-width: 260px;
}
.volyx-search .btn {
  background: var(--vx-surface) !important;
  border: 1px solid var(--vx-border) !important;
  border-right: 0 !important;
  color: var(--vx-text-muted) !important;
  border-radius: var(--vx-radius-xs) 0 0 var(--vx-radius-xs) !important;
}
.volyx-search .form-control::placeholder {
  color: var(--vx-text-dim);
}

.volyx-cart-btn,
.volyx-menu-toggle {
  background: var(--vx-surface) !important;
  border: 1px solid var(--vx-border) !important;
  color: var(--vx-text) !important;
  border-radius: var(--vx-radius-xs) !important;
  width: 44px;
  height: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
}
.volyx-cart-btn:hover,
.volyx-menu-toggle:hover {
  border-color: var(--vx-accent) !important;
  color: var(--vx-accent) !important;
}
.volyx-cart-btn .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--vx-accent) !important;
  color: #041016 !important;
  font-weight: 700;
}

.volyx-main-nav .navbar-nav > li > a,
.volyx-main-nav #nav > li > a,
.volyx-main-nav .navbar-nav .nav-link {
  color: var(--vx-text-muted) !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.85rem 1rem !important;
  border-radius: var(--vx-radius-xs);
  transition: color 0.2s ease, background 0.2s ease;
}
.volyx-main-nav .navbar-nav > li > a:hover,
.volyx-main-nav #nav > li > a:hover,
.volyx-main-nav .navbar-nav > li.active > a,
.volyx-main-nav #nav > li.active > a,
.volyx-main-nav .navbar-nav > li.show > a {
  color: var(--vx-text) !important;
  background: var(--vx-accent-soft) !important;
}

/* ---- CRITICAL: Store / Account dropdown above cart sidebar ---- */
.volyx-header,
.volyx-main-nav,
.volyx-navbar,
#mainNavbar,
#header {
  overflow: visible !important;
}
.volyx-header .dropdown,
.volyx-main-nav .dropdown,
#nav > li.dropdown {
  position: relative !important;
}
.volyx-header .dropdown-menu,
.volyx-main-nav .dropdown-menu,
#mainNavbar .dropdown-menu,
#nav .dropdown-menu,
.collapsable-dropdown-menu.dropdown-menu,
body.volyx-body .dropdown-menu.show,
body.volyx-body .dropdown-menu {
  background: #121821 !important;
  background-color: #121821 !important;
  border: 1px solid rgba(232, 237, 245, 0.18) !important;
  border-radius: 12px !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.75) !important;
  padding: 0.5rem !important;
  margin-top: 0.4rem !important;
  z-index: 4000 !important;
  min-width: 260px;
  opacity: 1 !important;
  pointer-events: auto !important;
}
/* Left rail menus stay inside the sidebar ? never float / never force 260px */
#vxRail .dropdown-menu,
#vxRail #nav .dropdown-menu,
#vxRailNav .dropdown-menu,
body.volyx-body #vxRail .dropdown-menu,
body.volyx-body #vxRail .dropdown-menu.show {
  position: static !important;
  float: none !important;
  transform: none !important;
  inset: auto !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0.35rem 0 0.45rem !important;
  box-shadow: none !important;
  z-index: 1 !important;
}
.volyx-header .dropdown-menu .dropdown-item,
.volyx-header .dropdown-menu li,
.volyx-header .dropdown-menu a,
.volyx-main-nav .dropdown-menu .dropdown-item,
.volyx-main-nav .dropdown-menu li,
.volyx-main-nav .dropdown-menu a,
#mainNavbar .dropdown-menu .dropdown-item,
#mainNavbar .dropdown-menu li,
#mainNavbar .dropdown-menu a,
#nav .dropdown-menu .dropdown-item,
#nav .dropdown-menu li > a,
#nav .dropdown-menu a.dropdown-item,
body.volyx-body .dropdown-menu .dropdown-item,
body.volyx-body .dropdown-menu a {
  color: #f2f5fb !important;
  background: transparent !important;
  background-color: transparent !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #f2f5fb !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  padding: 0.65rem 0.9rem !important;
  display: block !important;
  width: 100%;
  text-decoration: none !important;
}
.volyx-header .dropdown-menu a:hover,
.volyx-header .dropdown-menu .dropdown-item:hover,
.volyx-header .dropdown-menu li:hover > a,
.volyx-main-nav .dropdown-menu a:hover,
.volyx-main-nav .dropdown-menu .dropdown-item:hover,
.volyx-main-nav .dropdown-menu li:hover > a,
#nav .dropdown-menu a:hover,
#nav .dropdown-menu .dropdown-item:hover,
body.volyx-body .dropdown-menu a:hover,
body.volyx-body .dropdown-menu .dropdown-item:hover,
body.volyx-body .dropdown-menu .dropdown-item:active,
body.volyx-body .dropdown-menu .dropdown-item:focus {
  background: rgba(57, 255, 140, 0.14) !important;
  color: #39ff8c !important;
  -webkit-text-fill-color: #39ff8c !important;
}
.volyx-header .dropdown-divider,
.volyx-main-nav .dropdown-divider,
#nav .dropdown-divider,
body.volyx-body .dropdown-divider {
  border-top-color: rgba(232, 237, 245, 0.12) !important;
  margin: 0.35rem 0.4rem !important;
  opacity: 1 !important;
}

@media (max-width: 1199.98px) {
  .volyx-main-nav .navbar-collapse {
    background: var(--vx-surface);
    border: 1px solid var(--vx-border);
    border-radius: var(--vx-radius);
    margin-top: 0.75rem;
    padding: 1rem;
  }
}

/* Breadcrumb */
.volyx-breadcrumb {
  background: transparent !important;
  border: 0 !important;
  padding: 1rem 0 0 !important;
}
.volyx-breadcrumb .breadcrumb {
  background: transparent !important;
  margin: 0;
  padding: 0;
}
.volyx-breadcrumb .breadcrumb-item,
.volyx-breadcrumb .breadcrumb-item a {
  color: var(--vx-text-dim) !important;
  font-size: 0.85rem;
}
.volyx-breadcrumb .breadcrumb-item.active {
  color: var(--vx-text-muted) !important;
}

/* --------------------------------------------------------------------------
   Main / Cards / Panels
   -------------------------------------------------------------------------- */
.volyx-main {
  padding: 1.5rem 0 3.5rem;
  min-height: 55vh;
}

.card,
.panel,
.panel-default,
.modal-content,
.popover,
.list-group-item {
  background: var(--vx-surface) !important;
  border: 1px solid var(--vx-border) !important;
  color: var(--vx-text) !important;
}

.card {
  border-radius: var(--vx-radius) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.card-header,
.panel-heading {
  background: var(--vx-surface-2) !important;
  border-bottom: 1px solid var(--vx-border) !important;
  color: var(--vx-text) !important;
  font-family: var(--vx-display);
  font-weight: 700;
}
.card-footer,
.panel-footer {
  background: rgba(0, 0, 0, 0.15) !important;
  border-top: 1px solid var(--vx-border) !important;
  color: var(--vx-text-muted) !important;
}
.card-body,
.panel-body {
  color: var(--vx-text);
}
.list-group-item {
  background: transparent !important;
  border-color: var(--vx-border) !important;
  color: var(--vx-text-muted) !important;
}
.list-group-item:hover,
.list-group-item-action:hover,
.list-group-item.active {
  background: var(--vx-accent-soft) !important;
  color: var(--vx-text) !important;
  border-color: var(--vx-border) !important;
}

.volyx-panel {
  margin-bottom: 1.25rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.volyx-panel:hover {
  border-color: var(--vx-border-strong) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

/* Sidebar */
.volyx-sidebar .card,
.volyx-sidebar .panel,
.sidebar .card,
.sidebar .panel {
  background: var(--vx-surface) !important;
  border-radius: var(--vx-radius) !important;
  margin-bottom: 1rem;
}
.volyx-sidebar .list-group-item,
.sidebar .list-group-item {
  border-radius: 8px !important;
  margin: 2px 6px;
  border: 0 !important;
}
.sidebar .card-header,
.sidebar .panel-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--vx-text-dim) !important;
}

/* Forms */
.form-control,
.custom-select,
select.form-control,
textarea.form-control,
.input-group-text {
  background: var(--vx-bg-elevated) !important;
  border: 1px solid var(--vx-border-strong) !important;
  color: var(--vx-text) !important;
  border-radius: var(--vx-radius-xs) !important;
  min-height: 46px;
}
.form-control:focus,
.custom-select:focus {
  border-color: var(--vx-accent) !important;
  box-shadow: 0 0 0 3px var(--vx-accent-soft) !important;
  background: var(--vx-bg) !important;
  color: var(--vx-text) !important;
}
.form-control::placeholder {
  color: var(--vx-text-dim) !important;
}
label,
.form-control-label,
.col-form-label {
  color: var(--vx-text-muted) !important;
  font-weight: 600;
  font-size: 0.875rem;
}

/* Buttons */
.btn {
  border-radius: var(--vx-radius-xs) !important;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-primary,
.btn-success {
  background: linear-gradient(135deg, var(--vx-accent), #2dd4bf) !important;
  border: 0 !important;
  color: #041016 !important;
  box-shadow: 0 8px 24px var(--vx-accent-glow);
}
.btn-primary:hover,
.btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px var(--vx-accent-glow);
  color: #041016 !important;
  filter: brightness(1.05);
}
.btn-default,
.btn-secondary,
.btn-light {
  background: var(--vx-surface-2) !important;
  border: 1px solid var(--vx-border-strong) !important;
  color: var(--vx-text) !important;
}
.btn-default:hover,
.btn-secondary:hover,
.btn-light:hover {
  border-color: var(--vx-accent) !important;
  color: var(--vx-accent) !important;
}
.btn-outline-primary {
  border: 1px solid var(--vx-accent) !important;
  color: var(--vx-accent) !important;
  background: transparent !important;
}
.btn-outline-primary:hover {
  background: var(--vx-accent-soft) !important;
  color: var(--vx-text) !important;
}
.volyx-btn-glow {
  box-shadow: 0 10px 30px var(--vx-accent-glow) !important;
}

/* Tables */
.table {
  color: var(--vx-text) !important;
}
.table thead th {
  border-color: var(--vx-border) !important;
  color: var(--vx-text-dim) !important;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  background: var(--vx-surface-2) !important;
}
.table td,
.table th {
  border-color: var(--vx-border) !important;
}
.table-striped tbody tr:nth-of-type(odd) {
  background: rgba(255, 255, 255, 0.02) !important;
}
.table-hover tbody tr:hover {
  background: var(--vx-accent-soft) !important;
  color: var(--vx-text) !important;
}

/* Alerts / Badges */
.alert {
  border-radius: var(--vx-radius-sm) !important;
  border: 1px solid var(--vx-border) !important;
}
.alert-success { background: rgba(94, 234, 212, 0.1) !important; color: var(--vx-success) !important; }
.alert-danger,
.alert-error { background: rgba(240, 113, 120, 0.12) !important; color: var(--vx-danger) !important; }
.alert-warning { background: rgba(232, 184, 74, 0.12) !important; color: var(--vx-warning) !important; }
.alert-info { background: rgba(56, 189, 248, 0.12) !important; color: var(--vx-info) !important; }
.badge-info,
.badge-primary { background: var(--vx-accent) !important; color: #041016 !important; }
.badge-warning { background: var(--vx-gold) !important; color: #1a1400 !important; }
.badge-danger { background: var(--vx-danger) !important; }

/* Pagination */
.page-link {
  background: var(--vx-surface) !important;
  border-color: var(--vx-border) !important;
  color: var(--vx-text-muted) !important;
}
.page-item.active .page-link {
  background: var(--vx-accent) !important;
  border-color: var(--vx-accent) !important;
  color: #041016 !important;
}
.page-link:hover {
  background: var(--vx-accent-soft) !important;
  color: var(--vx-text) !important;
}

/* Modals */
.modal-content {
  border-radius: var(--vx-radius) !important;
  box-shadow: var(--vx-shadow);
}
.modal-header,
.modal-footer {
  border-color: var(--vx-border) !important;
}
.close,
.modal .close {
  color: var(--vx-text) !important;
  text-shadow: none;
  opacity: 0.7;
}
.modal-backdrop.show {
  opacity: 0.75;
}

/* DataTables / misc WHMCS */
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  background: var(--vx-bg-elevated) !important;
  border: 1px solid var(--vx-border) !important;
  color: var(--vx-text) !important;
}
.dropdown-menu {
  background: #121821 !important;
  border: 1px solid var(--vx-border-strong) !important;
  color: #f2f5fb !important;
}
.dropdown-menu a,
.dropdown-menu .dropdown-item {
  color: #f2f5fb !important;
  -webkit-text-fill-color: #f2f5fb !important;
}
.nav-tabs {
  border-color: var(--vx-border) !important;
}
.nav-tabs .nav-link {
  color: var(--vx-text-muted) !important;
  border: 0 !important;
  border-radius: var(--vx-radius-xs) var(--vx-radius-xs) 0 0 !important;
}
.nav-tabs .nav-link.active {
  background: var(--vx-surface) !important;
  color: var(--vx-accent) !important;
  border-bottom: 2px solid var(--vx-accent) !important;
}

/* --------------------------------------------------------------------------
   Domain Hero (homepage)
   -------------------------------------------------------------------------- */
.volyx-domain-hero,
.home-domain-search.volyx-domain-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(56, 189, 248, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(14, 18, 25, 0.95), var(--vx-bg)) !important;
  border-bottom: 1px solid var(--vx-border);
  margin-bottom: 0 !important;
  padding: 2.5rem 0 1rem !important;
}
.volyx-domain-hero-inner {
  max-width: 920px;
  margin: 0 auto;
}
.volyx-hero-title {
  font-family: var(--vx-display) !important;
  font-size: clamp(2rem, 4vw, 3.1rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem !important;
  color: var(--vx-text) !important;
}
.volyx-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vx-accent);
  margin-bottom: 0.65rem;
}
.volyx-section-lead {
  color: var(--vx-text-muted) !important;
  font-size: 1.05rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}
.volyx-domain-hero .form-control,
.volyx-domain-hero input[type="text"],
.volyx-domain-hero textarea {
  background: var(--vx-bg) !important;
  border-color: var(--vx-border-strong) !important;
  color: var(--vx-text) !important;
  min-height: 56px;
  font-size: 1.05rem;
}
.volyx-domain-hero .btn-primary {
  min-height: 56px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.volyx-domain-hero .domain-pricing,
.home-domain-search .domain-pricing {
  color: var(--vx-text-muted);
}
.volyx-domain-hero .domain-pricing span,
.home-domain-search .tld-pricing {
  color: var(--vx-gold) !important;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Homepage sections
   -------------------------------------------------------------------------- */
.volyx-home {
  padding-top: 1rem;
}
.volyx-section {
  padding: 2.75rem 0;
}
.volyx-section-last {
  padding-bottom: 1rem;
}
.volyx-section-head {
  text-align: center;
  margin-bottom: 2rem;
}
.volyx-section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.65rem;
}

.volyx-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.volyx-product-card {
  display: block;
  text-decoration: none !important;
  border-radius: var(--vx-radius);
  background: linear-gradient(180deg, var(--vx-surface), var(--vx-bg-elevated));
  border: 1px solid var(--vx-border);
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  position: relative;
}
.volyx-product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.volyx-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 234, 212, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  color: inherit;
}
.volyx-product-card:hover::before { opacity: 1; }
.volyx-product-card-inner {
  position: relative;
  padding: 1.75rem 1.5rem;
}
.volyx-product-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--vx-accent-soft);
  color: var(--vx-accent);
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
}
.volyx-product-title {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
  color: var(--vx-text);
}
.volyx-product-tagline {
  color: var(--vx-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  min-height: 2.6em;
}
.volyx-product-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--vx-accent);
  font-weight: 700;
  font-size: 0.9rem;
}
.volyx-product-card:hover .volyx-product-cta i {
  transform: translateX(4px);
  transition: transform 0.2s ease;
}

.volyx-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.volyx-action-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 140px;
  padding: 1.25rem 1rem;
  border-radius: var(--vx-radius);
  background: var(--vx-surface);
  border: 1px solid var(--vx-border);
  color: var(--vx-text) !important;
  text-decoration: none !important;
  font-weight: 600;
  text-align: center;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.volyx-action-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(94, 234, 212, 0.35);
  background: var(--vx-surface-2);
}
.volyx-action-ico {
  width: 52px;
  height: 52px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--vx-bg);
  border: 1px solid var(--vx-border);
  color: var(--vx-accent-2);
  font-size: 1.35rem;
}
.volyx-action-accent {
  border-color: rgba(94, 234, 212, 0.25);
  background: linear-gradient(180deg, rgba(94, 234, 212, 0.08), var(--vx-surface));
}

/* --------------------------------------------------------------------------
   Dashboard
   -------------------------------------------------------------------------- */
.volyx-dashboard {
  padding-top: 0.5rem;
}
.volyx-dash-welcome {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding: 1.75rem;
  border-radius: var(--vx-radius);
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(94, 234, 212, 0.06)),
    var(--vx-surface);
  border: 1px solid var(--vx-border);
}
.volyx-dash-title {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 0.2rem 0 0.5rem;
}
.volyx-dash-welcome .volyx-section-lead {
  margin: 0;
  max-width: 480px;
  text-align: left;
}

.volyx-tiles .tile,
.tiles .tile.volyx-tile,
.tiles .tile {
  background: var(--vx-surface) !important;
  border: 1px solid var(--vx-border) !important;
  color: var(--vx-text) !important;
  border-radius: 0 !important;
  transition: background 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}
.volyx-tiles .col-6:first-child .tile {
  border-radius: var(--vx-radius) 0 0 var(--vx-radius) !important;
}
.volyx-tiles .col-6:last-child .tile,
.volyx-tiles .col-xl-3:last-child .tile {
  border-radius: 0 var(--vx-radius) var(--vx-radius) 0 !important;
}
@media (max-width: 1199.98px) {
  .volyx-tiles .col-6:nth-child(1) .tile { border-radius: var(--vx-radius) 0 0 0 !important; }
  .volyx-tiles .col-6:nth-child(2) .tile { border-radius: 0 var(--vx-radius) 0 0 !important; }
  .volyx-tiles .col-6:nth-child(3) .tile { border-radius: 0 0 0 var(--vx-radius) !important; }
  .volyx-tiles .col-6:nth-child(4) .tile { border-radius: 0 0 var(--vx-radius) 0 !important; }
}
.tiles .tile:hover {
  background: var(--vx-surface-2) !important;
  transform: translateY(-2px);
  z-index: 2;
}
.tiles .tile i {
  color: var(--vx-accent) !important;
  opacity: 0.9;
}
.tiles .tile .stat {
  color: var(--vx-text) !important;
  font-family: var(--vx-display);
  font-weight: 800;
  font-size: 2rem;
}
.tiles .tile .title {
  color: var(--vx-text-muted) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
}
.tiles .tile .highlight {
  opacity: 0.85;
}
.bg-color-blue { background: var(--vx-accent-2) !important; }
.bg-color-green { background: var(--vx-accent) !important; }
.bg-color-red { background: var(--vx-danger) !important; }
.bg-color-gold { background: var(--vx-gold) !important; }

/* --------------------------------------------------------------------------
   Auth (login / register)
   -------------------------------------------------------------------------- */
.volyx-page-login #main-body > .container,
.volyx-page-clientregister #main-body > .container,
.volyx-page-password-reset-container #main-body > .container {
  max-width: 520px;
}
.volyx-auth {
  padding: 2rem 0 3rem;
}
.volyx-auth-panel {
  max-width: 460px;
  margin: 0 auto;
}
.volyx-auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.volyx-auth-title {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}
.volyx-auth-card {
  border-radius: 20px !important;
  background: linear-gradient(180deg, var(--vx-surface), var(--vx-bg-elevated)) !important;
  box-shadow: var(--vx-shadow) !important;
}
.volyx-auth-card .card-body {
  padding: 2rem 1.75rem !important;
}
.volyx-auth-card .card-footer {
  text-align: center;
  padding: 1.1rem !important;
}
.volyx-auth-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.volyx-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--vx-text-muted);
  font-size: 0.9rem;
  margin: 0;
  font-weight: 500;
}
.volyx-link {
  color: var(--vx-accent) !important;
}
.volyx-page-login .card.mw-540,
.volyx-page-clientregister .card.mw-540,
.volyx-page-password-reset-container .card {
  background: linear-gradient(180deg, var(--vx-surface), var(--vx-bg-elevated)) !important;
  border-radius: 20px !important;
  box-shadow: var(--vx-shadow);
  border: 1px solid var(--vx-border) !important;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.volyx-footer {
  background: var(--vx-bg-elevated) !important;
  border-top: 1px solid var(--vx-border);
  padding: 3rem 0 2rem !important;
  margin-top: 0 !important;
  color: var(--vx-text-muted);
}
.volyx-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}
@media (max-width: 991.98px) {
  .volyx-footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .volyx-footer-brand .volyx-brand {
    justify-content: center;
  }
  .volyx-footer-nav {
    justify-content: center !important;
  }
  .volyx-footer-meta {
    text-align: center;
  }
}
.volyx-footer-tagline {
  margin: 0.85rem 0 0;
  max-width: 320px;
  font-size: 0.95rem;
  color: var(--vx-text-dim);
}
@media (max-width: 991.98px) {
  .volyx-footer-tagline { margin-left: auto; margin-right: auto; }
}
.volyx-footer-nav .nav-link {
  color: var(--vx-text-muted) !important;
  font-weight: 600;
  padding: 0.35rem 0.85rem !important;
}
.volyx-footer-nav .nav-link:hover {
  color: var(--vx-accent) !important;
}
.volyx-locale-btn {
  background: var(--vx-surface) !important;
  border: 1px solid var(--vx-border) !important;
  color: var(--vx-text) !important;
  border-radius: var(--vx-radius-xs) !important;
}
.volyx-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--vx-border);
}
.volyx-footer .copyright {
  color: var(--vx-text-dim) !important;
  font-size: 0.85rem;
}
.volyx-theme-badge {
  font-family: var(--vx-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vx-accent);
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(94, 234, 212, 0.25);
  border-radius: 999px;
  background: var(--vx-accent-soft);
}

/* --------------------------------------------------------------------------
   Order form / Cart ? layout fix + game hosting skin
   -------------------------------------------------------------------------- */

/* Kill duplicate Categories/Actions on desktop */
@media (min-width: 1200px) {
  #order-standard_cart .sidebar-collapsed {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
  }
  #order-standard_cart .cart-sidebar {
    display: block !important;
    float: left !important;
    width: 25% !important;
  }
  #order-standard_cart .cart-body {
    float: right !important;
    width: 75% !important;
  }
}
@media (max-width: 1199.98px) {
  #order-standard_cart .cart-sidebar {
    display: none !important;
  }
  #order-standard_cart .cart-body {
    width: 100% !important;
    float: none !important;
  }
}

#order-standard_cart,
#order-volyx,
body.volyx-cart #order-standard_cart {
  color: var(--vx-text);
}
#order-standard_cart .header-lined h1,
#order-standard_cart h1,
#order-standard_cart h2,
#order-standard_cart h3,
#order-standard_cart .product-title {
  color: var(--vx-text) !important;
  font-family: var(--vx-display);
}
#order-standard_cart .product,
#order-standard_cart .panel,
#order-standard_cart .panel-body,
#order-standard_cart .card,
#order-standard_cart .domain-selection-options .option,
#order-standard_cart .view-cart-items-header,
#order-standard_cart .view-cart-items,
#order-standard_cart .order-summary,
#order-standard_cart .field-container,
#order-standard_cart .domain-checker-container,
#order-standard_cart .product-info,
#order-standard_cart .cart-sidebar .panel,
#order-standard_cart .cart-sidebar .card {
  background: var(--vx-surface) !important;
  border: 1px solid var(--vx-border) !important;
  color: var(--vx-text) !important;
  border-radius: var(--vx-radius-sm) !important;
}
#order-standard_cart .products .product,
#order-standard_cart .product {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #161d2a, #10151f) !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
#order-standard_cart .products .product header,
#order-standard_cart .product header {
  background: #1a2230 !important;
  background-color: #1a2230 !important;
  border-bottom: 1px solid rgba(232, 237, 245, 0.08) !important;
  color: #fff !important;
}
#order-standard_cart .products .product header span,
#order-standard_cart .product header span {
  color: #fff !important;
}
#order-standard_cart .product:hover,
#order-standard_cart .domain-selection-options .option:hover {
  border-color: rgba(57, 255, 140, 0.4) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}
#order-standard_cart .product-pricing span.price,
#order-standard_cart .price {
  color: var(--vx-gold) !important;
  font-family: var(--vx-display);
  font-weight: 800;
  text-decoration: none !important;
}
#order-standard_cart .summary-container {
  background: #0e1219 !important;
  color: var(--vx-text) !important;
}
#order-standard_cart .order-summary {
  background: #121821 !important;
  border-bottom: 3px solid var(--vx-accent) !important;
  z-index: 2 !important;
}
#order-standard_cart .product-pricing del,
#order-standard_cart .product-pricing s {
  color: var(--vx-text-dim) !important;
  text-decoration: line-through !important;
}
#order-standard_cart .product-desc .feature-value {
  color: var(--vx-accent) !important;
  font-weight: 700;
}
#order-standard_cart .btn-success,
#order-standard_cart .btn-primary,
#btnCompleteProductConfig {
  background: linear-gradient(135deg, var(--vx-accent), #22d3ee) !important;
  border: 0 !important;
  color: #041016 !important;
  font-weight: 800 !important;
  box-shadow: 0 10px 28px var(--vx-accent-glow);
}
#order-standard_cart .secondary-cart-body,
#order-standard_cart .secondary-cart-sidebar {
  color: var(--vx-text);
}
#order-standard_cart label,
#order-standard_cart .form-control {
  color: var(--vx-text);
}
#order-standard_cart .form-control,
#order-standard_cart .custom-select,
#order-standard_cart select {
  background: var(--vx-bg-elevated) !important;
  border-color: var(--vx-border-strong) !important;
  color: var(--vx-text) !important;
}
#order-standard_cart .cart-sidebar .list-group-item.active {
  background: var(--vx-accent-soft) !important;
  color: var(--vx-accent) !important;
}
#order-standard_cart .order-summary {
  position: sticky;
  top: 96px;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */
.volyx-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--volyx-delay, 0ms);
}
.volyx-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .volyx-reveal,
  .volyx-orb,
  .volyx-product-card,
  .btn {
    transition: none !important;
    animation: none !important;
  }
  .volyx-reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Misc WHMCS overrides
   -------------------------------------------------------------------------- */
.popover-body,
.popover-header {
  background: var(--vx-surface) !important;
  color: var(--vx-text) !important;
  border-color: var(--vx-border) !important;
}
.client-alerts a {
  color: var(--vx-text) !important;
}
#fullpage-overlay {
  background: rgba(7, 9, 13, 0.85) !important;
}
.markdown-editor,
.CodeMirror {
  background: var(--vx-bg-elevated) !important;
  color: var(--vx-text) !important;
  border-color: var(--vx-border) !important;
}
.bg-white {
  background-color: var(--vx-surface) !important;
}
.text-center h2,
.primary-content > h1,
.primary-content > h2 {
  color: var(--vx-text);
}

/* Invoice / PDF preview areas keep readable contrast */
.invoice-container,
.unpaid,
.paid {
  border-radius: var(--vx-radius-sm);
}

/* Network issues */
.network-issue-alert,
.alert.network-issue {
  border-radius: 0;
}

/* Keep cart progress readable */
.cart-sidebar .list-group-item.active,
#order-standard_cart .cart-sidebar .list-group-item.active {
  background: var(--vx-accent-soft) !important;
  color: var(--vx-accent) !important;
  border-color: transparent !important;
}

/* ==========================================================================
   VOLYXHOST LANDING ? original marketing homepage
   Direction: graphite + citrus lime (no purple glow clones)
   ========================================================================== */

body.volyx-page-homepage .volyx-main-home,
body.volyx-page-homepage .vx-home-wrap,
body.volyx-page-homepage .primary-content {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}
body.volyx-page-homepage .volyx-main {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body.volyx-page-homepage .volyx-atmosphere .volyx-orb {
  opacity: 0.35;
}

.vx-landing {
  --vx-citrus: #d6ff3f;
  --vx-citrus-ink: #101408;
  --vx-chalk: #f4f1e8;
  --vx-ink: #07090c;
  --vx-panel: #11151c;
  --vx-line: rgba(244, 241, 232, 0.1);
  color: var(--vx-chalk);
  overflow: hidden;
}

.vx-landing .container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 0;
}

/* ?? Hero ?? */
.vx-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  padding: 7rem 0 4.5rem;
  isolation: isolate;
}
.vx-hero-stage {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 9, 12, 0.2) 0%, rgba(7, 9, 12, 0.78) 55%, #07090c 100%),
    radial-gradient(ellipse 70% 55% at 78% 35%, rgba(214, 255, 63, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 18% 70%, rgba(56, 120, 255, 0.12), transparent 55%),
    linear-gradient(135deg, #0b1018 0%, #121820 45%, #0a0e14 100%);
}
.vx-hero-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 241, 232, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 232, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 65% at 70% 40%, #000 20%, transparent 75%);
  animation: vx-mesh-drift 28s linear infinite;
}
@keyframes vx-mesh-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-56px, -56px, 0); }
}
.vx-hero-blocks {
  position: absolute;
  right: 6%;
  top: 18%;
  width: min(42vw, 460px);
  height: min(42vw, 460px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  transform: perspective(900px) rotateX(18deg) rotateZ(-8deg);
  opacity: 0.9;
}
.vx-hero-blocks span {
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(214, 255, 63, 0.55), rgba(214, 255, 63, 0.08));
  border: 1px solid rgba(214, 255, 63, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  animation: vx-block-pulse 4.8s ease-in-out infinite;
}
.vx-hero-blocks span:nth-child(odd) {
  background: linear-gradient(160deg, rgba(120, 160, 255, 0.35), rgba(17, 21, 28, 0.8));
  border-color: rgba(120, 160, 255, 0.3);
  animation-delay: 0.6s;
}
.vx-hero-blocks span:nth-child(3n) { animation-delay: 1.2s; opacity: 0.65; }
.vx-hero-blocks span:nth-child(5) { transform: translateY(18px); }
.vx-hero-blocks span:nth-child(7) { transform: translateY(-12px); }
@keyframes vx-block-pulse {
  0%, 100% { transform: translateY(0) scale(1); filter: brightness(1); }
  50% { transform: translateY(-8px) scale(1.03); filter: brightness(1.12); }
}
.vx-hero-scan {
  position: absolute;
  left: 0; right: 0;
  height: 120px;
  top: 30%;
  background: linear-gradient(180deg, transparent, rgba(214, 255, 63, 0.07), transparent);
  animation: vx-scan 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes vx-scan {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(180px); opacity: 0.8; }
}

.vx-hero-content {
  position: relative;
  max-width: 640px;
  margin-left: 1.5rem;
  margin-right: auto;
  padding-inline: 0;
  animation: vx-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes vx-rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.vx-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.vx-brand-lockup .vx-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: var(--vx-citrus);
  color: var(--vx-citrus-ink);
  font-family: var(--vx-display);
  font-weight: 800;
  font-size: 1.15rem;
}
.vx-brand-name {
  font-family: var(--vx-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  letter-spacing: -0.04em;
  color: var(--vx-chalk);
  line-height: 1;
}
.vx-hero-headline {
  font-family: var(--vx-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0 0 1rem;
  color: var(--vx-chalk);
  max-width: 14ch;
}
.vx-hero-sub {
  font-size: 1.08rem;
  line-height: 1.55;
  color: rgba(244, 241, 232, 0.68);
  max-width: 38ch;
  margin: 0 0 1.75rem;
}
.vx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.vx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.35rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.vx-btn:hover { transform: translateY(-2px); }
.vx-btn-primary {
  background: var(--vx-citrus);
  color: var(--vx-citrus-ink) !important;
}
.vx-btn-primary:hover { background: #e5ff75; color: var(--vx-citrus-ink) !important; }
.vx-btn-ghost {
  background: transparent;
  color: var(--vx-chalk) !important;
  border-color: rgba(244, 241, 232, 0.22);
}
.vx-btn-ghost:hover {
  border-color: rgba(244, 241, 232, 0.5);
  background: rgba(244, 241, 232, 0.04);
}

/* ?? Sections ?? */
.vx-section {
  padding: 5rem 0;
  border-top: 1px solid var(--vx-line);
}
.vx-section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.vx-section-head.vx-left { text-align: left; }
.vx-h2 {
  font-family: var(--vx-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  letter-spacing: -0.035em;
  margin: 0 0 0.75rem;
  color: var(--vx-chalk);
  line-height: 1.1;
}
.vx-lead {
  margin: 0 auto;
  max-width: 42ch;
  color: rgba(244, 241, 232, 0.62);
  font-size: 1.05rem;
  line-height: 1.55;
}
.vx-section-head.vx-left .vx-lead { margin-left: 0; }

/* Games */
.vx-game-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.vx-game {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.15rem;
  align-items: center;
  padding: 1.15rem 1.2rem;
  background: var(--vx-panel);
  border: 1px solid var(--vx-line);
  border-radius: 14px;
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.vx-game:hover {
  transform: translateY(-3px);
  border-color: rgba(214, 255, 63, 0.4);
  background: #161b24;
  color: inherit;
}
.vx-game-glyph {
  grid-row: span 2;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #1a2030;
  position: relative;
  overflow: hidden;
}
.vx-game-glyph::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 6px;
  background: var(--vx-citrus);
  opacity: 0.85;
}
.vx-g-mc::after { background: #5dce4c; border-radius: 2px; }
.vx-g-rust::after { background: #cd412b; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.vx-g-fivem::after { background: #f3950d; border-radius: 50%; }
.vx-g-pal::after { background: #3aa0ff; }
.vx-g-val::after { background: #c4a574; transform: rotate(45deg); }
.vx-g-more::after {
  background: transparent;
  box-shadow: inset 0 0 0 3px var(--vx-citrus);
  border-radius: 50%;
}
.vx-game-name {
  font-family: var(--vx-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--vx-chalk);
}
.vx-game-meta {
  font-size: 0.88rem;
  color: rgba(244, 241, 232, 0.5);
}

/* Why */
.vx-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.vx-why-item {
  padding: 0.25rem 0.25rem 0;
}
.vx-why-item h3 {
  font-family: var(--vx-display);
  font-size: 1.25rem;
  margin: 0 0 0.65rem;
  color: var(--vx-citrus);
}
.vx-why-item p {
  margin: 0;
  color: rgba(244, 241, 232, 0.62);
  line-height: 1.6;
}

/* Planner */
.vx-planner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  background: var(--vx-panel);
  border: 1px solid var(--vx-line);
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.vx-planner-controls {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.vx-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  align-items: center;
}
.vx-field > span {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(244, 241, 232, 0.5);
}
.vx-field input[type="range"] {
  width: 100%;
  accent-color: var(--vx-citrus);
}
.vx-field output {
  font-family: var(--vx-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--vx-citrus);
  min-width: 2.5ch;
  text-align: right;
}
.vx-field select {
  grid-column: 1 / -1;
  background: #0c1016;
  color: var(--vx-chalk);
  border: 1px solid var(--vx-line);
  border-radius: 10px;
  min-height: 46px;
  padding: 0 0.9rem;
}
.vx-planner-hint {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(244, 241, 232, 0.42);
}
.vx-planner-result {
  background: #0c1016;
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(214, 255, 63, 0.18);
}
.vx-rec-label {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 241, 232, 0.45);
}
.vx-rec-ram {
  font-family: var(--vx-display);
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0.2rem 0 0.5rem;
  color: var(--vx-citrus);
  line-height: 1;
}
.vx-rec-note {
  margin: 0 0 1.25rem;
  color: rgba(244, 241, 232, 0.6);
}
.vx-store-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}
.vx-store-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  border: 1px solid var(--vx-line);
  background: transparent;
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.vx-store-link:hover {
  border-color: rgba(214, 255, 63, 0.35);
  background: rgba(214, 255, 63, 0.04);
  color: inherit;
}
.vx-store-link strong {
  font-family: var(--vx-display);
  color: var(--vx-chalk);
}
.vx-store-link span {
  font-size: 0.88rem;
  color: rgba(244, 241, 232, 0.5);
}

/* Network */
.vx-net-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.vx-net-node {
  padding: 1.5rem;
  border-radius: 14px;
  background: var(--vx-panel);
  border: 1px solid var(--vx-line);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 140px;
}
.vx-net-node.is-featured {
  border-color: rgba(214, 255, 63, 0.35);
  background: linear-gradient(160deg, rgba(214, 255, 63, 0.08), var(--vx-panel));
}
.vx-net-city {
  font-family: var(--vx-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.vx-net-ms {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--vx-citrus);
  font-family: var(--vx-display);
}
.vx-net-tag {
  margin-top: auto;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 241, 232, 0.45);
}
.vx-net-run {
  margin-top: auto;
  align-self: flex-start;
  background: transparent;
  border: 1px solid rgba(244, 241, 232, 0.25);
  color: var(--vx-chalk);
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.vx-net-run:hover { border-color: var(--vx-citrus); color: var(--vx-citrus); }

/* Close */
.vx-close {
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(214, 255, 63, 0.08), transparent 55%),
    #0a0d12;
}
.vx-close-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: end;
}
.vx-close-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.vx-close-links a {
  color: rgba(244, 241, 232, 0.7) !important;
  font-weight: 600;
  text-decoration: none !important;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.25rem;
  width: fit-content;
}
.vx-close-links a:hover {
  color: var(--vx-citrus) !important;
  border-bottom-color: rgba(214, 255, 63, 0.4);
}

@media (max-width: 900px) {
  .vx-hero { min-height: auto; padding-top: 6rem; align-items: center; }
  .vx-hero-blocks { opacity: 0.35; right: -8%; top: 8%; }
  .vx-hero-content { margin-left: 1.25rem; margin-right: 1.25rem; max-width: none; }
  .vx-game-rail,
  .vx-why-grid,
  .vx-net-grid,
  .vx-planner,
  .vx-close-inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .vx-game-rail { grid-template-columns: 1fr; }
  .vx-hero-headline { max-width: none; }
}

/* ==========================================================================
   Cart / Review & Checkout ? readable contrast fix
   ========================================================================== */
#order-standard_cart .view-cart-items {
  background: #121821 !important;
  border-bottom: 2px solid rgba(57, 255, 140, 0.35) !important;
  border-radius: 0 0 14px 14px !important;
  overflow: hidden;
}
#order-standard_cart .view-cart-items-header {
  background: #1a2230 !important;
  color: #9aa6bb !important;
  border-radius: 14px 14px 0 0 !important;
}
#order-standard_cart .view-cart-items .item {
  background: #121821 !important;
  background-color: #121821 !important;
  color: #e8edf5 !important;
  border-color: rgba(232, 237, 245, 0.08) !important;
}
#order-standard_cart .view-cart-items .item:nth-child(even) {
  background: #161d28 !important;
  background-color: #161d28 !important;
}
#order-standard_cart .view-cart-items .item-title,
#order-standard_cart .view-cart-items .item-title a,
#order-standard_cart .view-cart-items .item span {
  color: #f2f5fb !important;
}
#order-standard_cart .view-cart-items .item-title .btn-link,
#order-standard_cart .view-cart-items .btn-link {
  color: #39ff8c !important;
}
#order-standard_cart .view-cart-items .item-group,
#order-standard_cart .view-cart-items .item-domain,
#order-standard_cart .view-cart-items .item-price .cycle {
  color: #9aa6bb !important;
}
#order-standard_cart .view-cart-items .item-price > span:first-child,
#order-standard_cart .view-cart-items .item-price span:not(.cycle) {
  color: #ffd84d !important;
  font-weight: 800;
}
#order-standard_cart .btnEmptyCart,
#order-standard_cart .btn.btn-danger {
  background: #1a2230 !important;
  border: 1px solid rgba(255, 92, 106, 0.45) !important;
  color: #ff8a95 !important;
  font-weight: 700 !important;
}
#order-standard_cart .btn-checkout,
#order-standard_cart a.btn-checkout {
  background: #39ff8c !important;
  color: #041016 !important;
  border: 0 !important;
  font-weight: 800 !important;
}
#order-standard_cart .view-cart-tabs .tab-content,
#order-standard_cart .view-cart-tabs .tab-pane {
  background: #121821 !important;
  color: #e8edf5 !important;
}

/* ==========================================================================
   Client area tables / DataTables ? full dark contrast fix
   Fixes white tables with light text (services, invoices, domains, tickets)
   ========================================================================== */

.table-container,
.table-container .dataTables_wrapper,
div.dataTables_wrapper {
  background: transparent !important;
  color: var(--vx-text) !important;
}

.table,
.table-list,
table.table,
table.dataTable,
#tableServicesList,
#tableInvoicesList,
#tableQuotesList,
#tableTicketsList,
#tableDomainsList,
#tableEmailsList,
#tableAddonsList,
table.table-striped,
table.table-bordered {
  background: #121821 !important;
  background-color: #121821 !important;
  color: #e8edf5 !important;
  border-color: rgba(232, 237, 245, 0.1) !important;
}

.table thead th,
.table-list thead th,
table.dataTable thead th,
table.dataTable thead td,
.dataTable thead .sorting,
.dataTable thead .sorting_asc,
.dataTable thead .sorting_desc {
  background: #1a2230 !important;
  background-color: #1a2230 !important;
  color: #9aa6bb !important;
  border-bottom: 1px solid rgba(232, 237, 245, 0.12) !important;
  border-color: rgba(232, 237, 245, 0.12) !important;
}

.table tbody td,
.table tbody th,
.table-list tbody td,
table.dataTable tbody td,
table.dataTable tbody th {
  background: transparent !important;
  color: #e8edf5 !important;
  border-color: rgba(232, 237, 245, 0.08) !important;
}

/* Kill DataTables / Bootstrap white odd-even rows */
.table-striped tbody tr,
.table-striped tbody tr:nth-of-type(odd),
.table-striped tbody tr:nth-of-type(even),
table.dataTable tbody tr,
table.dataTable.stripe tbody tr.odd,
table.dataTable.display tbody tr.odd,
table.dataTable.stripe tbody tr.even,
table.dataTable.display tbody tr.even,
table.dataTable.hover tbody tr:hover,
table.dataTable.display tbody tr:hover,
.table-hover tbody tr:hover,
.table-list tbody tr,
.table-list tbody tr:nth-child(odd),
.table-list tbody tr:nth-child(even) {
  background: #121821 !important;
  background-color: #121821 !important;
  color: #e8edf5 !important;
}

table.dataTable.stripe tbody tr.odd,
table.dataTable.display tbody tr.odd,
.table-striped tbody tr:nth-of-type(odd),
.table-list tbody tr:nth-child(odd) {
  background: #161d28 !important;
  background-color: #161d28 !important;
}

table.dataTable tbody tr:hover,
table.dataTable.hover tbody tr:hover,
table.dataTable.display tbody tr:hover,
.table-hover tbody tr:hover,
.table-list tbody tr:hover {
  background: rgba(57, 255, 140, 0.08) !important;
  background-color: rgba(57, 255, 140, 0.08) !important;
  color: #fff !important;
}

.table a,
.table-list a,
table.dataTable a {
  color: #39ff8c !important;
}
.table a:hover,
.table-list a:hover {
  color: #7dffb0 !important;
}
.table strong,
.table-list strong,
table.dataTable strong {
  color: #ffffff !important;
}
.table .text-muted,
.table-list .text-muted,
table.dataTable .text-muted,
.table small {
  color: #9aa6bb !important;
}

/* DataTables chrome */
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_paginate {
  color: #9aa6bb !important;
}
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
  color: #9aa6bb !important;
}
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper select,
.dataTables_wrapper input[type="search"],
.dataTables_wrapper input[type="text"] {
  background: #0b0f16 !important;
  border: 1px solid rgba(232, 237, 245, 0.14) !important;
  color: #e8edf5 !important;
  border-radius: 8px !important;
  min-height: 36px;
  padding: 0.25rem 0.6rem !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  background: #121821 !important;
  border: 1px solid rgba(232, 237, 245, 0.12) !important;
  color: #9aa6bb !important;
  border-radius: 8px !important;
  margin: 0 2px !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: rgba(57, 255, 140, 0.12) !important;
  border-color: rgba(57, 255, 140, 0.35) !important;
  color: #fff !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: #39ff8c !important;
  border-color: #39ff8c !important;
  color: #041016 !important;
  font-weight: 800 !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
  background: #0b0f16 !important;
  color: #667086 !important;
  border-color: rgba(232, 237, 245, 0.06) !important;
}

/* Status labels */
.label.status,
span.status,
.status-pending,
.status-active,
.status-suspended,
.status-terminated,
.status-cancelled,
.status-fraud,
.status-completed,
.status-unpaid,
.status-paid,
.label-pending,
.label-active {
  border: 0 !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  padding: 0.35em 0.65em !important;
}
.status-pending,
.label.status.status-pending { background: rgba(255, 92, 106, 0.2) !important; color: #ff8a95 !important; }
.status-active,
.label.status.status-active { background: rgba(57, 255, 140, 0.18) !important; color: #39ff8c !important; }
.status-suspended,
.label.status.status-suspended { background: rgba(255, 193, 77, 0.18) !important; color: #ffd84d !important; }
.status-terminated,
.status-cancelled,
.label.status.status-terminated,
.label.status.status-cancelled { background: rgba(102, 112, 134, 0.35) !important; color: #c2cad8 !important; }
.status-unpaid { background: rgba(255, 92, 106, 0.2) !important; color: #ff8a95 !important; }
.status-paid { background: rgba(57, 255, 140, 0.18) !important; color: #39ff8c !important; }

/* Panels / cards that go white in client area */
.panel,
.panel-default,
.panel-body,
.card,
.card-body,
.list-group-item,
.well,
.bg-white,
.bg-light,
.secondary-content,
.primary-content .card {
  background-color: #121821 !important;
  color: #e8edf5 !important;
  border-color: rgba(232, 237, 245, 0.1) !important;
}
.panel-heading,
.card-header,
.panel-default > .panel-heading {
  background: #1a2230 !important;
  color: #9aa6bb !important;
  border-color: rgba(232, 237, 245, 0.1) !important;
}
.list-group-item {
  background: transparent !important;
  color: #c2cad8 !important;
}
.list-group-item.active {
  background: rgba(57, 255, 140, 0.14) !important;
  color: #39ff8c !important;
  border-color: transparent !important;
}
.list-group-item:hover {
  background: rgba(57, 255, 140, 0.08) !important;
  color: #fff !important;
}

/* Sidebar filters on services page */
.sidebar .card,
.sidebar .panel,
.volyx-sidebar .card,
.volyx-sidebar .panel {
  background: #121821 !important;
  border: 1px solid rgba(232, 237, 245, 0.1) !important;
}

/* Form controls inside client area */
.primary-content .form-control,
.primary-content select,
.primary-content input[type="text"],
.primary-content input[type="search"],
.primary-content input[type="email"],
.primary-content input[type="password"],
.primary-content textarea {
  background: #0b0f16 !important;
  border: 1px solid rgba(232, 237, 245, 0.14) !important;
  color: #e8edf5 !important;
}

/* Loading spinner text */
#tableLoading,
#tableLoading p {
  color: #9aa6bb !important;
}
