/* BK TRADER AI — "MIDNIGHT AURUM" design layer (loaded last on every page).
   Look: calm navy-ink surfaces, ONE confident electric-blue accent (aqua + indigo as support), gold only for premium,
   Inter typeface, 14-18px rounded surfaces, soft shadows, refined hover glow. Replaces the old "hacker terminal" gimmicks. */
:root{
  --pro-bg:#070b14;--pro-s1:#0c1322;--pro-s2:#111a2e;--pro-line:rgba(148,170,225,.13);
  --pro-tx:#eaf0ff;--pro-mu:#94a3c0;
  --pro-blue:#3b82f6;--pro-aqua:#22d3ee;--pro-ind:#6366f1;--pro-gold:#f5b942;
  --pro-grad:linear-gradient(135deg,#3b82f6 0%,#22d3ee 100%);
  --pro-glow:0 0 0 1px rgba(59,130,246,.55),0 8px 28px -6px rgba(59,130,246,.55),0 0 36px -8px rgba(34,211,238,.35);
  --pro-lift:0 0 0 1px rgba(59,130,246,.30),0 22px 50px -24px rgba(59,130,246,.65);
  --pro-ease:cubic-bezier(.2,.8,.2,1);
  --pro-font:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
}
html{color-scheme:dark;scrollbar-color:#2a3a63 transparent}
::selection{background:#3b82f6;color:#fff}
::-webkit-scrollbar-thumb{background:#2a3a63!important;border-radius:9px}::-webkit-scrollbar-thumb:hover{background:#3b82f6!important}

/* ---- typeface: one clean professional family everywhere (icons + code untouched) ---- */
body,body *:not(i):not([class*="fa-"]):not(.fa):not(code):not(pre):not(kbd):not(samp):not(.prompt):not(.prompt *){font-family:var(--pro-font)!important}
body{font-feature-settings:"cv11","ss01","tnum"}
h1,h2,h3,h4,.hx,.brand b,.dw-title{letter-spacing:-.015em!important;text-transform:none!important}
h1.hx,.hx{font-weight:800!important;line-height:1.08!important;font-size:clamp(34px,4.6vw,60px)!important}
.hud div,.hud > *{border-radius:12px}
.prompt{border-radius:12px;border-left-width:3px}
.eyebrow,[class*="eyebrow"]{letter-spacing:.14em!important}
.brand b,.mark .n{letter-spacing:.02em!important}

/* ---- remove the old terminal / hacker gimmicks ---- */
body:after,.vig,#rain,.bk-fx canvas,.scanlines,.noise{display:none!important}
.gl:before,.gl:after{display:none!important}
.nav a:before,.drawer a:before{content:none!important}
*{text-shadow:none!important}
.btn,.iconbtn,.burger,.lang,button,[class*="btn"]{clip-path:none!important}

/* ---- headline accent: blue -> aqua gradient text ---- */
.gl,.hx em,.grad,.gradient-text{background:var(--pro-grad);-webkit-background-clip:text;background-clip:text;color:transparent!important;-webkit-text-fill-color:transparent}

/* ---- buttons ---- */
.btn,a.btn,button.btn,.iconbtn,.go,.pwr,.login,.create,.cbtn,.dw-btn,input[type=submit],input[type=button]{
  border-radius:12px!important;text-transform:none!important;letter-spacing:.01em!important;font-weight:600}
.btn.fill,.btn-brass,.btn-primary,.btn.pri,.login,.go,.pwr,.dw-btn.primary{background:var(--pro-grad)!important;color:#05101f!important;border:0!important;box-shadow:0 6px 20px -8px rgba(59,130,246,.7)}
.btn-brass,.btn.pri{color:#fff!important}

/* ---- surfaces: soft rounded cards ---- */
.card,.panel,.hud,.tile,.stat,.sc,.plan-ed,.box,.mod,.tw,.drawer,.dwr,.toast,.plan,.plan-card,.feature,.feature-card,[class*="-card"]{border-radius:16px!important}
.hud i{display:none!important}
.chip{border-radius:999px!important}
input,select,textarea,.in,.sel{border-radius:11px!important}

/* ---- motion ---- */
a,button,input,select,textarea,.btn,.chip,.card,.panel,.tile,.stat,[class*="btn"],[class*="card"]{
  transition:transform .25s var(--pro-ease),box-shadow .25s var(--pro-ease),border-color .25s,background-color .25s,color .2s,filter .25s}
button:not(:disabled):not(.sw):not(.tfb):not(.dw-close):hover,.btn:hover,a.btn:hover,[class*="btn"]:not(div):hover,.chip:hover,.ctl:hover,.iconbtn:hover,
input[type=submit]:hover,input[type=button]:hover,.go:hover,.pwr:hover,.login:hover,.create:hover,.cbtn:hover{
  box-shadow:var(--pro-glow)!important;transform:translateY(-2px);filter:brightness(1.08);border-color:var(--pro-blue)!important}
button:not(:disabled):active,.btn:active{transform:translateY(0) scale(.985);filter:brightness(.96)}
.card:not(.chartcard):hover,.panel:hover,.tile:hover,.stat:hover,.plan:hover,.plan-card:hover,.pricing-card:hover,.feature:hover,.feature-card:hover,
.tool-card:hover,.box:hover,.mod:hover,.sc:hover,.plan-ed:hover,[class*="-card"]:not(.chartcard):hover{
  border-color:rgba(59,130,246,.6)!important;box-shadow:var(--pro-lift)!important;transform:translateY(-3px)}
nav a:hover,.nav a:hover,.foot a:hover,footer a:hover,.top a:hover,header a:hover{color:#fff!important}
input:focus,select:focus,textarea:focus,.in:focus,.sel:focus{outline:none!important;border-color:var(--pro-blue)!important;box-shadow:0 0 0 3px rgba(59,130,246,.28)!important}
tbody tr:hover td,.rl .r:hover,.pi:hover,.wl-row:hover,.u:hover,.hr:hover{background:rgba(59,130,246,.09)!important}

/* ---- backdrop: quiet blue / indigo / aqua aurora ---- */
.bk-fx{background:#070b14!important}
.bk-fx .au{opacity:.22!important}
.bk-fx .a1{background:#3b82f6!important}.bk-fx .a2{background:#6366f1!important}.bk-fx .a3{background:#22d3ee!important}

@media(hover:none){button:hover,.btn:hover,.card:hover,.tile:hover,.stat:hover{transform:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* chart page: the DASHBOARD link had no style of its own */
a.chip:not(.nav)[href="dashboard.php"]{display:inline-flex;align-items:center;height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--pro-line);background:var(--pro-s1);color:var(--pro-tx)!important;text-decoration:none!important;font-size:12.5px;font-weight:600;letter-spacing:.04em}

/* phones: never let a decorative element (aurora blob, ticker) widen the page — that zooms the whole site out */
html{overflow-x:hidden}
