/* AxentraGaming • cohesive orange/black UI polish (2026-10-24) */
:root,
html,
body {
  --bg-void: #070707;
  --bg-deep: #0b0b0c;
  --bg-dark: #101011;
  --bg-card: #141415;
  --bg-card2: #1b1b1d;
  --bg-hover: #242426;
  --accent-cyan: #ff7900;
  --accent-orange: #ff7900;
  --accent-purple: #ff9d2e;
  --accent-green: #ff8a00;
  --theme-orange: #ff7900;
  --theme-orange-bright: #ff9d2e;
  --theme-orange-soft: rgba(255,121,0,.12);
  --theme-border: rgba(255,121,0,.24);
  --btn-bg: #ff7900;
  --btn-fg: #160d05;
  --border-dim: rgba(255,255,255,.075);
  --border-glow: rgba(255,121,0,.2);
  --border-hot: rgba(255,121,0,.42);
  --shadow-glow: 0 0 28px rgba(255,121,0,.1);
  --shadow-card: 0 12px 34px rgba(0,0,0,.28);
  accent-color: #ff7900;
}
[data-theme="light"] {
  --accent-cyan: #e86600;
  --accent-orange: #e86600;
  --accent-purple: #f08a13;
  --accent-green: #e86600;
  --btn-bg: #e86600;
  --btn-fg: #160d05;
  --border-glow: rgba(232,102,0,.23);
  --border-hot: rgba(232,102,0,.42);
}
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  background: radial-gradient(ellipse at 84% 0%, rgba(255,121,0,.075), transparent 33%),
              radial-gradient(ellipse at 4% 40%, rgba(255,121,0,.035), transparent 35%), #070707;
  color: #d2d2d6;
  overflow-x: clip;
}
body::before {
  display: block !important;
  background-image: linear-gradient(rgba(255,160,70,.018) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,160,70,.018) 1px, transparent 1px) !important;
  background-size: 48px 48px !important;
  pointer-events: none;
}
::selection { background: rgba(255,121,0,.32); color: #fff; }
:where(a,button,[role="button"],input,select,textarea):focus-visible { outline: 2px solid #ff8a00 !important; outline-offset: 3px; }

/* Navigation stays compact and legible, especially on phones. */
.navbar {
  height: 68px;
  padding-inline: clamp(12px, 2.4vw, 30px);
  background: rgba(7,7,8,.94) !important;
  border-bottom: 1px solid rgba(255,121,0,.16) !important;
  box-shadow: 0 8px 28px rgba(0,0,0,.2);
}
.nav-inner { max-width: 1280px; gap: clamp(8px,1.4vw,22px); min-width: 0; }
.nav-logo { color: #f6f6f7 !important; font-size: clamp(1rem,1.5vw,1.28rem); letter-spacing: -.035em; white-space: nowrap; }
.logo-mark { background: linear-gradient(145deg,#ff9d2e,#ff6a00) !important; box-shadow: 0 4px 16px rgba(255,121,0,.15); }
.logo-mark svg { stroke: #17100a !important; }
.nav-links a:hover,.nav-links a.active,.nav-links button:hover,.nav-links button.active { color: #ff9b35 !important; background: rgba(255,121,0,.09) !important; }
.nav-hamburger { border-radius: 10px; }
.nav-hamburger:hover { background: rgba(255,121,0,.1) !important; }
.nav-hamburger span { background: #ff9a2e !important; }
.nav-mobile-drawer { background: rgba(10,10,11,.985) !important; border-left: 1px solid rgba(255,121,0,.17); }
.nav-mobile-drawer a:hover,.nav-mobile-drawer a.mob-active { color: #ff9b35 !important; background: rgba(255,121,0,.09) !important; border-left-color: #ff7900 !important; }
.nav-user:hover { border-color: rgba(255,121,0,.35) !important; }
.avatar { background: linear-gradient(145deg,#ff9d2e,#ff6a00) !important; color: #17100a !important; }
.nav-balance { color: #ffb15b !important; border-color: rgba(255,121,0,.2) !important; background: rgba(255,121,0,.07) !important; }
.tool-btn,.cur-select,.tool-lang { border-color: rgba(255,255,255,.12) !important; }
.cur-select:focus,.tool-lang:focus { border-color: rgba(255,121,0,.6) !important; }

/* Correct CTA handling: only buttons are filled; the wrapper remains transparent. */
.hero-cta { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; }
.btn-primary,.primary-btn,.cart-checkout-btn,.product-buy,.login-btn,.submit-btn,.shop-btn,
#buy-btn,#buy-debt-btn,.ai-send,.fab-main,.filter-btn.active,.cur-btn.active,
.inbox-filters button.on,.tp-chip.on,.tp-chip:hover,.nav-right .btn-primary {
  background: linear-gradient(135deg,#ff9828,#ff6b00) !important;
  border-color: #ff8500 !important;
  color: #1a0e04 !important;
  box-shadow: 0 7px 22px rgba(255,105,0,.15);
}
.btn-primary:hover,.primary-btn:hover,.cart-checkout-btn:hover,.product-buy:hover,
.login-btn:hover,.submit-btn:hover,.shop-btn:hover,#buy-btn:hover,#buy-debt-btn:hover,
.filter-btn.active:hover {
  background: linear-gradient(135deg,#ffad42,#ff7900) !important;
  border-color: #ffad42 !important;
  box-shadow: 0 9px 26px rgba(255,105,0,.22);
  transform: translateY(-1px);
}
.btn-outline,.btn-ghost {
  background: rgba(255,255,255,.025) !important;
  border: 1px solid rgba(255,145,35,.32) !important;
  color: #f4f4f5 !important;
  box-shadow: none !important;
}
.btn-outline:hover,.btn-ghost:hover { background: rgba(255,121,0,.09) !important; border-color: #ff8a00 !important; color: #ffac54 !important; }
.hero-cta .btn-outline { background: rgba(255,255,255,.025) !important; color: #f2f2f4 !important; }

/* Accent colors shared by all storefront, account, cart and admin views. */
:where(.nav-link,.menu-link,.sidebar-link,.admin-nav-item,.tab-button,.category-tab,.filter-chip).active,
:where(.nav-link,.menu-link,.sidebar-link,.admin-nav-item,.tab-button,.category-tab,.filter-chip)[aria-current="page"] {
  background: rgba(255,121,0,.11) !important; border-color: rgba(255,121,0,.3) !important; color: #ff9a2e !important;
}
:where(a,.link,.text-accent,.accent,.price,.product-price,.cart-item-price b,.cart-summary-total b,
.profile-insight-action>span,.admin-stock-count,.home-category-arrow,.status-duration) { color: #ff9224; }
:where(.card,.panel,.product-card,.product-tile,.stat-card,.topup-card,.level-card,.debt-card,.bayi-card,
.cart-main-panel,.cart-summary-panel,.profile-insight-card,.profile-insight-action,.why-card,
.trust-item,.rev-card,.rev-top,.step,.faq details,.chart-card,.shop-sidebar,.shop-toolbar) {
  border-color: rgba(255,121,0,.14);
}
:where(.card,.panel,.product-card,.product-tile,.cart-main-panel,.cart-summary-panel) { background-color: #141415; }
:where(.admin-sidebar,.admin-content>.admin-section>.card,.admin-content .card-glow) { border-color: rgba(255,121,0,.16) !important; }
.admin-sidebar { background: linear-gradient(155deg,rgba(21,21,22,.98),rgba(10,10,11,.99)) !important; }
.admin-nav-item.active { background: rgba(255,121,0,.1) !important; border-color: rgba(255,121,0,.24) !important; color: #ff9b35 !important; }
.ticket-row:hover,.profile-insight-action:hover { background: rgba(255,121,0,.045) !important; border-color: rgba(255,121,0,.24) !important; }
input,select,textarea,.form-control,.form-input,.form-select,.form-textarea {
  border-color: rgba(255,255,255,.14) !important;
}
input:focus,select:focus,textarea:focus,.form-control:focus,.form-input:focus,.form-select:focus,.form-textarea:focus {
  border-color: rgba(255,121,0,.65) !important;
  box-shadow: 0 0 0 3px rgba(255,121,0,.12) !important;
}
:where(.topbar,.site-header,.main-header,.navbar) { border-bottom-color: rgba(255,121,0,.15) !important; }
:where(.sec-kicker,.catalog-eyebrow,.hero-kicker) { color: #ff9828 !important; }
:where(.sec-title span,.hero h1 b,.catalog-hero h1 span,.status-hero h1 span) {
  background: linear-gradient(90deg,#fff0df,#ff9224 85%) !important;
  color: #ff9224 !important;
  -webkit-background-clip: text !important; background-clip: text !important; -webkit-text-fill-color: transparent;
}
:where(.hero-pill,.hero-pill i,.hero-trust-points i,.why-ico,.trust-ico,.step-n,.catalog-live-dot) { border-color: rgba(255,121,0,.28) !important; }
.hero-pill { background: rgba(255,121,0,.07) !important; color: #ffd2a2 !important; }
.hero-pill i,.catalog-live-dot { background: #ff8a00 !important; box-shadow: 0 0 12px rgba(255,121,0,.45) !important; }
.hero-glow2 { background: radial-gradient(closest-side,rgba(255,121,0,.17),transparent 72%) !important; }
.home-category-card:hover,.catalog-category-card:hover { border-color: rgba(255,121,0,.38) !important; }
.home-category-art,.why-ico,.trust-ico { background-color: rgba(255,121,0,.08) !important; color: #ff9b35 !important; }
.product-card .product-buy { background: rgba(255,121,0,.09) !important; color: #ffab50 !important; border-color: rgba(255,121,0,.22) !important; }
.product-card .product-buy:hover { background: linear-gradient(135deg,#ff9828,#ff6b00) !important; color: #1a0e04 !important; }
.product-card .product-img { background: rgba(255,255,255,.03) !important; }
.product-card:hover,.why-card:hover,.category-card:hover { border-color: rgba(255,121,0,.28) !important; box-shadow: 0 14px 34px rgba(0,0,0,.27),0 0 0 1px rgba(255,121,0,.035); }
.shop-banner,.announce { --ac: #ff7900; }
.ticker { background: #101011; border-color: rgba(255,121,0,.12); }
footer,.footer { background: #080808 !important; border-top-color: rgba(255,121,0,.14) !important; }
.fab-main { color: #1a0e04 !important; border: 1px solid rgba(255,121,0,.35) !important; box-shadow: 0 10px 30px rgba(0,0,0,.4),0 0 24px rgba(255,121,0,.12) !important; }
.fab-main::before { border-color: rgba(255,121,0,.5) !important; }
.fab-item { border-color: rgba(255,121,0,.22) !important; }
::-webkit-scrollbar-track { background: #090909; }
::-webkit-scrollbar-thumb { background: #63340f; border-radius: 999px; }

/* Desktop: calm horizontal composition with consistent spacing. */
@media (min-width: 761px) {
  .hero.hero-v2 { min-height: 0 !important; padding: clamp(58px,7vw,90px) max(24px,calc((100vw - 1160px)/2)) 52px !important; text-align: left !important; align-items: flex-start !important; }
  .hero-cta { display: flex !important; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px !important; width: auto; max-width: 100%; }
  .hero-cta .btn { min-height: 50px !important; width: auto; max-width: 100%; padding: 13px 22px !important; flex: 0 0 auto !important; border-radius: 12px !important; }
}

/* Mobile: remove the oversized dead space and stop the CTA wrapper becoming a giant orange block. */
@media (max-width: 760px) {
  .navbar { height: 62px !important; padding-inline: 12px !important; }
  .nav-inner { gap: 8px !important; }
  .nav-logo { font-size: clamp(.91rem,4.1vw,1.1rem) !important; letter-spacing: -.035em !important; gap: 7px !important; }
  .logo-mark { width: 25px !important; height: 25px !important; border-radius: 8px !important; }
  .nav-right { gap: 5px !important; }
  .nav-right .btn { padding: 8px 10px !important; font-size: .72rem !important; }
  .nav-hamburger { width: 42px !important; min-width: 42px !important; min-height: 42px !important; }
  .nav-tools { gap: 5px !important; }
  .cart-nav-button { padding: 0 8px !important; }
  .hero.hero-v2 { min-height: 0 !important; padding: 38px 18px 28px !important; text-align: left !important; align-items: flex-start !important; gap: 0 !important; }
  .hero-glow2 { top: 0 !important; right: -38% !important; width: 120vw !important; height: 100vw !important; max-width: 420px !important; max-height: 350px !important; opacity: .72 !important; }
  .hero-pill { margin: 0 0 19px !important; padding: 7px 11px !important; font-size: .72rem !important; }
  .hero-copy { width: 100% !important; }
  .hero-kicker { font-size: .62rem !important; letter-spacing: .15em !important; margin-bottom: .45rem !important; }
  .hero h1 { max-width: 100% !important; font-size: clamp(2.2rem,9vw,3.15rem) !important; line-height: 1.04 !important; margin: .55rem 0 .85rem !important; letter-spacing: -.055em !important; }
  .hero-sub { max-width: 37rem !important; font-size: .98rem !important; line-height: 1.58 !important; margin: 0 0 1.15rem !important; }
  .hero-cta { display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 9px !important; width: 100% !important; max-width: 520px !important; margin: 0 !important; padding: 0 !important; background: transparent !important; }
  .hero-cta .btn { box-sizing: border-box !important; display: flex !important; width: 100% !important; max-width: 100% !important; min-height: 52px !important; height: auto !important; padding: 14px 17px !important; flex: none !important; border-radius: 12px !important; font-size: .94rem !important; line-height: 1.25 !important; white-space: normal !important; justify-content: center !important; }
  .hero-cta .btn-primary { background: linear-gradient(135deg,#ff9828,#ff6b00) !important; color: #1a0e04 !important; }
  .hero-cta .btn-outline { background: rgba(255,255,255,.025) !important; border: 1px solid rgba(255,145,35,.32) !important; color: #f3f3f4 !important; }
  .hero-trust-points { display: flex !important; flex-wrap: wrap !important; gap: 8px 12px !important; margin-top: 17px !important; font-size: .71rem !important; line-height: 1.35 !important; }
  .hero-trust-points span { gap: 6px !important; }
  .hero-trust-points i { color: #ffb15b !important; background: rgba(255,121,0,.09) !important; border-color: rgba(255,121,0,.3) !important; }
  .hero-stats { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 8px !important; width: 100% !important; max-width: 600px !important; margin: 22px 0 0 !important; padding-top: 17px !important; border-top: 1px solid rgba(255,255,255,.09) !important; }
  .hero-stats>div { min-width: 0 !important; margin: 0 !important; padding: 12px 10px !important; border: 1px solid rgba(255,255,255,.09) !important; border-radius: 13px !important; background: rgba(255,255,255,.025) !important; }
  .hero-stats>div:first-child { padding-left: 10px !important; }
  .hero-stat-num { display: block; font-size: 1.25rem !important; font-weight: 800 !important; line-height: 1.25 !important; }
  .hero-stat-label { display: block; margin-top: 6px; font-size: .68rem !important; line-height: 1.3 !important; color: #9a9a9e !important; }
  .sec { padding-left: 17px; padding-right: 17px; }
  .home-categories-sec { padding: 30px 17px 34px !important; }
  .home-category-head { align-items: flex-start !important; flex-direction: column !important; gap: 12px !important; }
  .home-category-head .btn { width: 100% !important; justify-content: center !important; }
  .home-category-grid,.catalog-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 9px !important; }
  .home-category-card,.catalog-category-card { min-width: 0; min-height: 74px !important; padding: 10px !important; gap: 8px !important; }
  .home-category-art,.catalog-category-art { width: 39px !important; height: 39px !important; flex-basis: 39px !important; border-radius: 11px !important; }
  .home-category-copy b { font-size: .78rem !important; }
  .home-category-copy small { font-size: .64rem !important; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 10px !important; }
  .product-card { padding: 10px !important; border-radius: 13px !important; }
  .product-card .product-img { height: 118px !important; border-radius: 10px !important; }
  .product-card .product-name { font-size: .88rem !important; }
  .product-card .price-main { font-size: 1rem !important; }
  .product-card .product-buy { gap: 6px; padding: 10px !important; font-size: .75rem !important; }
  .fab { right: 14px !important; bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important; }
  .fab-main { width: 54px !important; height: 54px !important; min-width: 54px !important; min-height: 54px !important; }
  .ai-nudge { max-width: calc(100vw - 34px); }
  .page-header { flex-wrap: wrap; }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .data-table { min-width: 620px; }
  .form-grid,.admin-form-grid { grid-template-columns: minmax(0,1fr) !important; }
}
@media (max-width: 390px) {
  .nav-logo { font-size: .88rem !important; }
  .nav-logo .logo-mark { width: 23px !important; height: 23px !important; }
  .nav-right .btn { padding: 7px 8px !important; font-size: .68rem !important; }
  .hero.hero-v2 { padding-top: 32px !important; }
  .hero h1 { font-size: clamp(2rem,8.8vw,2.65rem) !important; }
  .hero-stats>div { padding: 10px 8px !important; }
  .hero-stat-num { font-size: 1.12rem !important; }
  .hero-stat-label { font-size: .61rem !important; }
  .home-category-grid,.catalog-category-grid { grid-template-columns: minmax(0,1fr) !important; }
  .product-card .product-img { height: 105px !important; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
