/* ================================================================
   HTX AI · 智能量化理财 · AI 科技主题
   主色调取自 LOGO：Cyan #3FC8FF ↔ Violet #5566FF
   ================================================================ */

:root {
  --bg0: #04060f;
  --bg1: #070b1a;
  --bg2: #0b1226;
  --card: rgba(13, 21, 42, .66);
  --card2: rgba(20, 30, 58, .62);
  --line: rgba(122, 172, 255, .16);
  --line2: rgba(122, 172, 255, .07);
  --c1: #3fc8ff;          /* LOGO 亮青 */
  --c2: #5566ff;          /* LOGO 深紫 */
  --c3: #2be4b4;          /* 生态绿 */
  --warn: #ffc24b;
  --red: #ff5c7a;
  --txt: #e8f1ff;
  --txt2: #93a7cc;
  --txt3: #5f7399;
  --radius: 18px;
  --grad: linear-gradient(135deg, #5566ff 0%, #3fc8ff 100%);
  --grad2: linear-gradient(90deg, #3fc8ff, #2be4b4);
  --glow-c1: rgba(63, 200, 255, .35);
  --glow-c2: rgba(85, 102, 255, .4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg0);
  color: var(--txt);
  font-family: 'Inter', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- 科技背景层：网格点阵 + 双色光晕 ---------- */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(122, 172, 255, .10) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 30%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 30%, transparent 100%);
  animation: gridFloat 26s linear infinite;
}
@keyframes gridFloat {
  0%   { background-position: 0 0; }
  100% { background-position: 0 28px; }
}

body::after {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(620px 420px at 12% 8%, rgba(85, 102, 255, .20), transparent 65%),
    radial-gradient(720px 520px at 88% 30%, rgba(63, 200, 255, .16), transparent 65%),
    radial-gradient(900px 600px at 50% 105%, rgba(43, 228, 180, .10), transparent 60%);
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(63, 200, 255, .28); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(63, 200, 255, .5); }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }
a { color: var(--c1); text-decoration: none; }
b { font-weight: 700; }
::selection { background: rgba(63, 200, 255, .3); }

/* ================================================================
   Header
   ================================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(5, 9, 20, .72);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid var(--line2);
}
.header-inner {
  max-width: 1240px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.logo { display: flex; align-items: center; gap: 12px; }

.logo-badge {
  width: 42px; height: 42px; border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 0 22px var(--glow-c1), 0 4px 18px rgba(0, 0, 0, .45);
  border: 1px solid rgba(122, 172, 255, .35);
  animation: logoPulse 4s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 14px var(--glow-c1), 0 4px 18px rgba(0,0,0,.45); }
  50%      { box-shadow: 0 0 30px var(--glow-c2), 0 4px 22px rgba(0,0,0,.5); }
}

.logo-title {
  font-weight: 900; font-size: 19px; letter-spacing: 1px; line-height: 1.2;
  background: linear-gradient(90deg, #7fd8ff, #b9c2ff 55%, #6ee7ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.logo-sub {
  font-size: 11px; color: var(--txt2); letter-spacing: 2px; display: block;
  margin-top: 1px;
}

.header-right { display: flex; align-items: center; gap: 10px; }
.network-badge {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 20px;
  background: rgba(20, 30, 58, .6); border: 1px solid var(--line);
  font-size: 12px; color: var(--txt2); font-weight: 600;
  backdrop-filter: blur(8px);
}
.network-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 8px var(--red);
}
.network-badge.connected .dot { background: var(--c3); box-shadow: 0 0 8px var(--c3); }
.network-badge.connected { color: var(--c3); }

.lang-btn {
  background: rgba(20, 30, 58, .6); border: 1px solid var(--line); color: var(--txt2);
  padding: 7px 14px; border-radius: 20px; font-size: 12px; font-weight: 700;
  transition: .2s;
}
.lang-btn:hover { color: var(--c1); border-color: rgba(63, 200, 255, .5); }

/* ================================================================
   按钮
   ================================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 14px; padding: 11px 20px;
  font-size: 14px; font-weight: 700; letter-spacing: .3px;
  transition: all .22s ease; position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 26px rgba(63, 200, 255, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(63, 200, 255, .5); filter: brightness(1.08); }
.btn-primary:active { transform: translateY(0); }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); animation: btnShine 3.2s ease infinite;
}
@keyframes btnShine {
  0%, 60% { left: -120%; }
  100%    { left: 140%; }
}

.btn-ghost {
  background: rgba(63, 200, 255, .06); color: var(--txt);
  border: 1px solid rgba(63, 200, 255, .35);
}
.btn-ghost:hover { background: rgba(63, 200, 255, .14); border-color: rgba(63, 200, 255, .65); transform: translateY(-2px); }

.btn-outline {
  background: transparent; color: var(--c1);
  border: 1px solid rgba(63, 200, 255, .5);
}
.btn-outline:hover { background: rgba(63, 200, 255, .1); box-shadow: 0 0 18px rgba(63, 200, 255, .25); transform: translateY(-1px); }

.btn-lg { padding: 15px 30px; font-size: 15px; border-radius: 16px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.btn-wallet {
  background: var(--grad); color: #fff; padding: 10px 20px; border-radius: 14px;
  font-size: 13px; font-weight: 800; letter-spacing: .3px;
  box-shadow: 0 6px 20px rgba(63, 200, 255, .32);
}
.btn-wallet:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 10px 28px rgba(63, 200, 255, .48); }

.btn-group { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.btn-group .btn { flex: 1; }

/* ================================================================
   侧边导航
   ================================================================ */
.sidebar {
  position: fixed; left: 0; top: 63px; bottom: 0; width: 212px;
  background: rgba(7, 11, 26, .55);
  backdrop-filter: blur(16px);
  border-right: 1px solid var(--line2);
  padding: 22px 14px; display: flex; flex-direction: column; gap: 6px; z-index: 90;
}
.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 14px; color: var(--txt2);
  cursor: pointer; font-weight: 600; font-size: 14px;
  transition: all .2s ease; position: relative;
}
.nav-item:hover { background: rgba(63, 200, 255, .08); color: var(--txt); }
.nav-item.active {
  background: linear-gradient(90deg, rgba(85, 102, 255, .22), rgba(63, 200, 255, .08));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(63, 200, 255, .25);
}
.nav-item.active::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 3px;
  border-radius: 3px; background: var(--grad);
  box-shadow: 0 0 10px var(--glow-c1);
}
.nav-icon {
  font-size: 17px; width: 32px; height: 32px; min-width: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: rgba(122, 172, 255, .08);
  border: 1px solid var(--line2);
}
.nav-icon svg { width: 18px; height: 18px; }
.nav-item.active .nav-icon { background: rgba(63, 200, 255, .16); border-color: rgba(63, 200, 255, .4); box-shadow: 0 0 14px rgba(63, 200, 255, .2); }

/* ================================================================
   主区域
   ================================================================ */
.main {
  position: relative; z-index: 1;
  max-width: 1240px; margin: 0 auto;
  padding: 86px 26px 50px 250px;
}
.page { display: none; animation: fadeIn .35s ease; position: relative; }
.page.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.page-title { margin-bottom: 22px; position: relative; padding-left: 16px; }
.page-title::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px;
  border-radius: 4px; background: var(--grad); box-shadow: 0 0 12px var(--glow-c1);
}
.page-title h2 { font-size: 25px; font-weight: 900; letter-spacing: .5px; }
.page-title p { color: var(--txt2); font-size: 13px; margin-top: 3px; letter-spacing: .3px; }

/* ================================================================
   Hero
   ================================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(460px 260px at 50% 0%, rgba(63, 200, 255, .16), transparent 70%),
    radial-gradient(380px 220px at 18% 100%, rgba(85, 102, 255, .14), transparent 70%),
    linear-gradient(160deg, rgba(13, 22, 46, .9), rgba(7, 11, 26, .85));
  border: 1px solid var(--line);
  border-radius: 26px; padding: 46px 30px 40px; margin-bottom: 22px;
  text-align: center;
}
.hero::before {
  content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(63, 200, 255, .7), transparent);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(122, 172, 255, .08) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(#000 10%, transparent 90%);
          mask-image: linear-gradient(#000 10%, transparent 90%);
  pointer-events: none;
}
.hero-logo {
  display: block; margin: 0 auto 18px;
  width: 108px; height: 108px; border-radius: 30px; object-fit: cover;
  border: 1px solid rgba(122, 172, 255, .4);
  box-shadow: 0 0 40px var(--glow-c1), 0 18px 40px rgba(0, 0, 0, .5);
  animation: logoFloat 5s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.hero-title,
.hero-sub {
  position: relative;
  background-image: linear-gradient(92deg, #bceaff 0%, #7fd0ff 35%, #8da6ff 70%, #bceaff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  will-change: clip-path, background-position, filter;
}
.hero-title {
  font-size: 48px; font-weight: 900; letter-spacing: 3px; margin-bottom: 12px; line-height: 1.2;
  animation:
    lightReveal 1.6s ease-out both,
    gradientFlow 6s linear infinite,
    titleGlow 3.2s ease-in-out infinite;
}
.hero-sub {
  font-size: 18px; margin-bottom: 26px; letter-spacing: 1px; font-weight: 600;
  animation:
    lightReveal 1.6s ease-out 0.7s both,
    gradientFlow 6s linear infinite 0.7s,
    titleGlow 3.2s ease-in-out infinite 0.7s;
}
@keyframes lightReveal {
  0%   { clip-path: inset(-20% 100% -20% 0); }
  100% { clip-path: inset(-20% 0% -20% 0); }
}
/* 渐变流动: 文字内的青蓝渐变沿水平方向缓慢循环流动 */
@keyframes gradientFlow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
/* 动态光晕: 文字外圈光晕呼吸增强/减弱 */
@keyframes titleGlow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(63, 200, 255, .35)); }
  50%      { filter: drop-shadow(0 0 18px rgba(127, 208, 255, .6)); }
}
.hero-sub b { color: var(--c1); font-weight: 700; }

/* Hero 特点小卡片 */
.hero-feats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin: 0 auto 26px; max-width: 720px; position: relative; z-index: 1;
}
.feat {
  display: flex; align-items: center; gap: 10px; text-align: left;
  padding: 12px 14px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(13, 22, 46, .72), rgba(7, 11, 26, .6));
  border: 1px solid rgba(63, 200, 255, .22);
  transition: all .25s;
}
.feat:hover {
  border-color: rgba(63, 200, 255, .55);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(63, 200, 255, .18);
}
.feat-icon {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px; color: var(--c1);
  background: rgba(63, 200, 255, .1); border: 1px solid rgba(63, 200, 255, .35);
  box-shadow: 0 0 12px rgba(63, 200, 255, .18);
}
.feat-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.feat-txt b { font-size: 14px; font-weight: 800; color: #eaf6ff; letter-spacing: .5px; white-space: nowrap; }
.feat-txt i { font-style: normal; font-size: 11px; color: var(--txt2); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ================================================================
   KPI 卡片
   ================================================================ */
.kpi-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px;
}
.kpi-card {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line2);
  border-radius: var(--radius); padding: 20px 18px 16px;
  backdrop-filter: blur(14px);
  transition: all .25s ease;
}
.kpi-card::after {
  content: ""; position: absolute; top: -40px; right: -40px; width: 90px; height: 90px;
  background: radial-gradient(circle, rgba(63, 200, 255, .14), transparent 70%);
}
.kpi-card:hover { transform: translateY(-4px); border-color: rgba(63, 200, 255, .4); box-shadow: 0 14px 34px rgba(0, 0, 0, .4), 0 0 24px rgba(63, 200, 255, .14); }
.kpi-label { color: var(--txt2); font-size: 12px; letter-spacing: .6px; margin-bottom: 8px; font-weight: 600; }
.kpi-value {
  font-size: 24px; font-weight: 900; letter-spacing: .3px;
  font-variant-numeric: tabular-nums; line-height: 1.25;
  background: linear-gradient(120deg, #eaf4ff, #9fe2ff 60%, #c3cbff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.kpi-sub { color: var(--txt3); font-size: 11px; margin-top: 4px; letter-spacing: 1px; }
.kpi-sub b { color: var(--c1); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .3px; }
.kpi-row { display: flex; gap: 14px; align-items: flex-start; }
.kpi-card-center { display: flex; flex-direction: column; justify-content: center; }
.kpi-split { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
.kpi-split-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.kpi-split-row + .kpi-split-row { border-top: 1px solid var(--line2); padding-top: 6px; }
.kpi-split-row span { color: var(--txt3); font-size: 12px; letter-spacing: 1px; white-space: nowrap; }
.kpi-split-row b { font-size: 16px; font-weight: 800; color: var(--c1); font-variant-numeric: tabular-nums; }

/* ================================================================
   卡片
   ================================================================ */
.card {
  position: relative;
  background: var(--card); border: 1px solid var(--line2);
  border-radius: var(--radius); margin-bottom: 18px; overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .32);
  transition: border-color .25s ease;
}
.card:hover { border-color: rgba(63, 200, 255, .28); }
.card-header {
  padding: 16px 22px; display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line2);
  background: linear-gradient(90deg, rgba(85, 102, 255, .08), transparent 55%);
}
.card-title {
  font-weight: 800; font-size: 15px; letter-spacing: .5px;
  display: flex; align-items: center; gap: 10px;
}
.card-title::before {
  content: ""; width: 8px; height: 8px; border-radius: 3px;
  background: var(--grad); box-shadow: 0 0 10px var(--glow-c1);
}
.card-body { padding: 20px 22px; }
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.stat-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 2px; border-bottom: 1px dashed rgba(122, 172, 255, .12);
}
.stat-row:last-child { border-bottom: none; }
.stat-row span { color: var(--txt2); font-size: 13px; }
.stat-row b { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--txt); }
/* 账户信息边框容器（我的地址/USDT/火币 AI 余额） */
.account-box {
  margin: 4px 0 18px; padding: 6px 16px;
  border: 1px solid rgba(63, 200, 255, .3);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(63, 200, 255, .08), rgba(85, 102, 255, .05));
}
.account-box .stat-row b {
  color: #fff;
  text-shadow: 0 0 12px rgba(63, 200, 255, .45);
}
/* ============ 专属邀请链接面板 ============ */
.invite-panel {
  position: relative; overflow: hidden; margin: 6px 0 18px;
  padding: 16px 16px 14px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(63, 200, 255, .08), rgba(85, 102, 255, .06));
  border: 1px solid rgba(63, 200, 255, .28);
  box-shadow: inset 0 0 30px rgba(63, 200, 255, .06), 0 0 24px rgba(63, 200, 255, .08);
}
.invite-panel::before {
  content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(63, 200, 255, .8), transparent);
}
.invite-panel::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(63, 200, 255, .25) 1px, transparent 1px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000);
          mask-image: linear-gradient(180deg, transparent, #000);
}
.invite-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; position: relative; z-index: 1; }
.invite-icon {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 9px; flex: none;
  color: var(--c1); background: rgba(63, 200, 255, .12);
  border: 1px solid rgba(63, 200, 255, .35);
  box-shadow: 0 0 12px rgba(63, 200, 255, .25);
}
.invite-title { font-size: 14px; font-weight: 700; color: var(--txt); letter-spacing: .5px; }
.invite-badge {
  margin-left: auto; padding: 3px 10px; font-size: 11px; font-weight: 600;
  border-radius: 999px; color: #2BE4B4;
  background: rgba(43, 228, 180, .1); border: 1px solid rgba(43, 228, 180, .35);
  text-shadow: 0 0 8px rgba(43, 228, 180, .4);
}
.invite-stats {
  position: relative; z-index: 1; margin-bottom: 10px;
  padding: 2px 12px; border-radius: 12px;
  background: rgba(4, 8, 18, .5); border: 1px solid rgba(63, 200, 255, .2);
}
.invite-stats .stat-row { padding: 10px 0; }
.invite-stats .stat-row b { color: #fff; }
.invite-row {
  display: flex; align-items: center; gap: 10px; position: relative; z-index: 1;
  padding: 9px 12px; border-radius: 12px;
  background: rgba(4, 8, 18, .5); border: 1px solid rgba(63, 200, 255, .2);
}
.invite-url {
  flex: 1; min-width: 0; font-size: 12px; line-height: 1.6; font-weight: 500;
  color: var(--c1); word-break: break-all; overflow-wrap: anywhere;
  text-shadow: 0 0 10px rgba(63, 200, 255, .3);
  font-family: 'Cascadia Code', Consolas, monospace;
}
.btn-copy {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; font-size: 13px; font-weight: 600; line-height: 1;
  border-radius: 10px; cursor: pointer; color: var(--c1);
  background: linear-gradient(135deg, rgba(63, 200, 255, .18), rgba(85, 102, 255, .18));
  border: 1px solid rgba(63, 200, 255, .5);
  transition: all .25s;
}
.btn-copy:hover {
  background: rgba(63, 200, 255, .3);
  box-shadow: 0 0 16px rgba(63, 200, 255, .35);
  transform: translateY(-1px);
}
.btn-copy.copied {
  color: #2BE4B4; border-color: rgba(43, 228, 180, .6);
  background: rgba(43, 228, 180, .15);
  box-shadow: 0 0 16px rgba(43, 228, 180, .3);
}
.invite-tip { margin: 10px 0 0; font-size: 12px; color: var(--txt2); position: relative; z-index: 1; text-align: center; }

/* ============ 小区业绩入口 ============ */
.volume-entry {
  margin: 0 0 18px; padding: 14px 16px; border-radius: 16px; cursor: pointer;
  background: linear-gradient(135deg, rgba(85, 102, 255, .12), rgba(63, 200, 255, .08));
  border: 1px solid rgba(85, 102, 255, .3);
  transition: all .25s ease;
}
.volume-entry:hover {
  border-color: rgba(63, 200, 255, .6);
  box-shadow: 0 0 22px rgba(63, 200, 255, .2);
  transform: translateY(-2px);
}
.volume-entry-top { display: flex; align-items: center; gap: 12px; }
.volume-entry-icon {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; color: var(--c1);
  background: rgba(63, 200, 255, .12); border: 1px solid rgba(63, 200, 255, .35);
  box-shadow: 0 0 12px rgba(63, 200, 255, .18);
}
.volume-entry-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.volume-entry-txt b { font-size: 15px; font-weight: 800; color: var(--txt); letter-spacing: .5px; }
.volume-entry-txt i { font-style: normal; font-size: 12px; color: var(--txt2); }
.volume-entry-arrow { flex: none; color: var(--txt3); display: flex; align-items: center; }
.volume-entry:hover .volume-entry-arrow { color: var(--c1); transform: translateX(2px); }
.volume-entry-arrow svg { transition: all .25s; }

/* 入口内：距离 V1 进度 */
.volume-entry-progress { margin-top: 12px; }
.vol-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.vol-meta-left { font-size: 12px; color: var(--txt2); }
.vol-meta-left b { color: #fff; font-weight: 800; text-shadow: 0 0 10px rgba(63, 200, 255, .45); }
.vol-meta-right { font-size: 13px; font-weight: 800; color: var(--c1); text-shadow: 0 0 8px rgba(63, 200, 255, .5); }
.volume-entry-progress .vol-bar-track { height: 6px; }
.volume-entry-progress .vol-bar-fill {
  background: linear-gradient(90deg, var(--c1), #85F0FF);
  box-shadow: 0 0 10px rgba(63, 200, 255, .6);
}

/* ============ 小区业绩详情：等级进度条 ============ */
.vol-progress { display: flex; flex-direction: column; gap: 14px; }
.vol-bar { padding: 12px 14px; border-radius: 12px; background: var(--card2); border: 1px solid var(--line2); transition: all .25s; }
.vol-bar.current { border-color: rgba(63, 200, 255, .55); box-shadow: 0 0 16px rgba(63, 200, 255, .18); }
.vol-bar.done { border-color: rgba(43, 228, 180, .4); }
.vol-bar-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.vol-lv {
  font-size: 13px; font-weight: 800; color: var(--c1); min-width: 26px;
  text-shadow: 0 0 8px rgba(63, 200, 255, .5);
}
.vol-bar.done .vol-lv { color: #2BE4B4; }
.vol-req { flex: 1; font-size: 12px; color: var(--txt2); }
.vol-pct { font-size: 12px; font-weight: 700; color: var(--c1); font-variant-numeric: tabular-nums; }
.vol-bar-track {
  height: 6px; border-radius: 999px; overflow: hidden;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .05);
}
.vol-bar-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #3FC8FF, #5566FF);
  box-shadow: 0 0 10px rgba(63, 200, 255, .6);
  transition: width .6s ease;
}

/* ============ 开单详情：直推钱包列表 ============ */
.order-detail-list {
  margin-top: 6px; display: flex; flex-direction: column; gap: 6px;
  max-height: 260px; overflow-y: auto; padding-right: 2px;
}
.order-detail-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; border-radius: 10px;
  background: rgba(4, 8, 18, .45); border: 1px solid var(--line2);
}
.order-detail-addr {
  font-size: 12px; font-weight: 600; color: var(--txt); min-width: 0;
  font-family: 'Cascadia Code', Consolas, monospace;
}
.order-detail-status {
  flex: none; font-size: 11px; font-weight: 700; line-height: 1;
  padding: 5px 10px; border-radius: 999px;
}
.order-detail-status.done {
  color: #2BE4B4; background: rgba(43, 228, 180, .12); border: 1px solid rgba(43, 228, 180, .4);
}
.order-detail-status.pending {
  color: #FFB454; background: rgba(255, 180, 84, .1); border: 1px solid rgba(255, 180, 84, .35);
}
.order-detail-empty {
  padding: 10px 0; font-size: 12px; color: var(--txt2); text-align: center;
}

/* ============ 分红池: 历史领取记录 ============ */
.claim-history {
  margin-top: 4px; display: flex; flex-direction: column; gap: 6px;
  max-height: 220px; overflow-y: auto; padding: 8px 2px 2px;
  border-top: 1px dashed var(--line2);
}
.claim-history-head {
  font-size: 11px; color: var(--txt3); letter-spacing: 1px; padding: 2px 0 4px;
}
.claim-history-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 12px; border-radius: 10px;
  background: rgba(4, 8, 18, .45); border: 1px solid var(--line2);
}
.claim-history-time {
  font-size: 11px; color: var(--txt2); min-width: 0; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}
.claim-history-amount {
  flex: none; font-size: 13px; font-weight: 800; color: var(--c1);
  font-variant-numeric: tabular-nums;
}
.claim-history-block {
  flex: none; font-size: 10px; color: var(--txt3);
  font-family: 'Cascadia Code', Consolas, monospace;
}
.claim-history-empty {
  padding: 10px 0; font-size: 12px; color: var(--txt2); text-align: center;
}
.vol-bar.done .vol-bar-fill { background: linear-gradient(90deg, #2BE4B4, #3FC8FF); }

/* 业绩说明（垂直步骤） */
.steps-vol { display: flex; flex-direction: column; gap: 12px; }
.steps-vol .step { align-items: flex-start; padding: 14px 16px; }
.steps-vol .step b { color: var(--txt); font-size: 14px; }
.steps-vol .step p { margin: 4px 0 0; color: var(--txt2); font-size: 12px; line-height: 1.6; }

/* ================================================================
   步骤
   ================================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step {
  display: flex; gap: 13px; padding: 18px 16px; border-radius: 16px;
  background: var(--card2); border: 1px solid var(--line2);
  align-items: flex-start; transition: all .22s ease;
}
.step:hover { transform: translateY(-3px); border-color: rgba(63, 200, 255, .35); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.step-num {
  width: 30px; height: 30px; min-width: 30px; border-radius: 10px;
  background: var(--grad); color: #fff; font-weight: 900;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  box-shadow: 0 4px 14px rgba(63, 200, 255, .4);
}
.step b { display: block; margin-bottom: 2px; font-size: 14px; letter-spacing: .3px; }
.step p { color: var(--txt2); font-size: 12px; line-height: 1.55; }

/* ================================================================
   订单 / 表单
   ================================================================ */
.order-status {
  background: linear-gradient(90deg, rgba(43, 228, 180, .1), rgba(43, 228, 180, .03));
  border: 1px solid rgba(43, 228, 180, .35);
  color: #6ff0cb; border-radius: 14px; padding: 15px;
  text-align: center; font-weight: 700; letter-spacing: .5px; margin-bottom: 16px;
}
.order-status.warn {
  background: linear-gradient(90deg, rgba(255, 194, 75, .1), rgba(255, 194, 75, .03));
  border-color: rgba(255, 194, 75, .4); color: var(--warn);
}
.order-status span {
  display: block; margin-top: 5px;
  font-size: 11px; font-weight: 500; letter-spacing: .3px;
  color: rgba(111, 240, 203, .72); line-height: 1.55;
}
.order-status.warn span { color: rgba(255, 194, 75, .72); }
.order-info { margin-bottom: 12px; }

.progress-track {
  height: 12px; background: rgba(9, 15, 32, .8); border-radius: 6px;
  overflow: hidden; margin: 14px 0; position: relative;
  border: 1px solid var(--line2);
}
.progress-bar {
  height: 100%; background: var(--grad2); border-radius: 6px;
  transition: width .6s cubic-bezier(.4, 0, .2, 1); position: relative; overflow: hidden;
}
.progress-bar::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40px;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .45), transparent);
  animation: barFlow 1.8s linear infinite;
}
@keyframes barFlow { 0% { left: -50px; } 100% { left: 100%; } }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; color: var(--txt2); font-size: 13px; margin-bottom: 9px; font-weight: 600; }
.form-group input, .swap-input-row input {
  width: 100%; background: rgba(9, 15, 32, .7); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px; color: var(--txt); font-size: 16px;
  outline: none; transition: all .2s ease;
}
.form-group input:focus, .swap-input-row input:focus {
  border-color: rgba(63, 200, 255, .6);
  box-shadow: 0 0 0 3px rgba(63, 200, 255, .14), 0 0 20px rgba(63, 200, 255, .12);
}
.form-group input::placeholder, .swap-input-row input::placeholder { color: var(--txt3); }

.input-row { display: flex; align-items: center; gap: 10px; }
.input-row input {
  flex: 1; background: rgba(9, 15, 32, .7); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px; color: var(--txt); font-size: 16px;
  outline: none; transition: all .2s ease;
}
.input-row input:focus { border-color: rgba(63, 200, 255, .6); box-shadow: 0 0 0 3px rgba(63, 200, 255, .14); }
.max-btn {
  background: rgba(63, 200, 255, .12); border: 1px solid rgba(63, 200, 255, .4);
  border-radius: 10px; color: var(--c1); padding: 9px 14px; font-size: 12px;
  font-weight: 800; cursor: pointer; transition: all .2s ease; letter-spacing: .5px;
}
.max-btn:hover { background: rgba(63, 200, 255, .22); box-shadow: 0 0 14px rgba(63, 200, 255, .3); }

/* ================================================================
   收益规则
   ================================================================ */
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rule {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 16px; background: var(--card2);
  border: 1px solid var(--line2); border-radius: 12px;
}
.rule span { color: var(--txt2); font-size: 13px; }
.rule b { color: var(--c1); font-weight: 800; }

/* ================================================================
   兑换
   ================================================================ */
.swap-box { max-width: 440px; margin: 0 auto; }
.swap-input-wrap label { color: var(--txt2); font-size: 12px; margin-bottom: 7px; display: block; letter-spacing: .5px; font-weight: 600; }
.swap-input-row { display: flex; align-items: center; gap: 10px; }
.swap-input-row input { flex: 1; }
.token-pill {
  background: rgba(9, 15, 32, .8); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 14px; font-weight: 800; color: var(--txt);
  min-width: 80px; text-align: center; letter-spacing: .5px;
}
.token-green { color: #6ff0cb; }
.swap-balance { color: var(--txt2); font-size: 12px; margin-top: 7px; }
.swap-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin: 10px auto; border-radius: 14px;
  background: var(--grad); color: #fff; font-size: 20px; font-weight: 900;
  box-shadow: 0 6px 18px rgba(63, 200, 255, .4);
  animation: logoFloat 3.5s ease-in-out infinite;
}
.swap-rate {
  text-align: center; color: var(--txt2); font-size: 13px; margin: 14px 0;
  padding: 10px; background: rgba(63, 200, 255, .06); border-radius: 10px;
  border: 1px solid var(--line2);
}
.swap-rate b { color: var(--c1); }

/* ================================================================
   等级徽章 (V1-V6)
   ================================================================ */
.level-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  font-size: 10px; font-weight: 900; letter-spacing: .3px;
  color: #fff; font-family: 'Cascadia Code', Consolas, monospace;
  position: relative; flex: none;
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45),
              0 0 10px var(--badge-glow, rgba(63, 200, 255, .4));
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
/* 渐变底层: 锥形渐变顺时针旋转, 文字保持不动 */
.level-badge::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg,
              var(--badge-c1, #3FC8FF),
              var(--badge-c2, #5566FF),
              var(--badge-c1, #3FC8FF));
  animation: badgeSpin 3s linear infinite;
  will-change: transform;
}
/* 内圈细环 + 左上高光: 静止不转 */
.level-badge::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .4), transparent 55%);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .12);
  pointer-events: none;
}
/* 文字固定在顶层, 不随渐变旋转 */
.level-badge i {
  position: relative; z-index: 2; font-style: normal;
}

@keyframes badgeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.lv1 { --badge-c1: #3FC8FF; --badge-c2: #5566FF; --badge-glow: rgba(63, 200, 255, .45); }
.lv2 { --badge-c1: #2BE4B4; --badge-c2: #3FC8FF; --badge-glow: rgba(43, 228, 180, .45); }
.lv3 { --badge-c1: #5566FF; --badge-c2: #9B59FF; --badge-glow: rgba(85, 102, 255, .5); }
.lv4 { --badge-c1: #9B59FF; --badge-c2: #FF6BD6; --badge-glow: rgba(155, 89, 255, .5); }
.lv5 { --badge-c1: #FF6BD6; --badge-c2: #FFB454; --badge-glow: rgba(255, 107, 214, .5); }
.lv6 { --badge-c1: #FFB454; --badge-c2: #FF6B6B; --badge-glow: rgba(255, 180, 84, .55); }

/* ================================================================
   表格
   ================================================================ */
.table { width: 100%; border-collapse: collapse; }
.table th {
  color: var(--txt2); font-size: 12px; text-align: left; padding: 12px 10px;
  border-bottom: 1px solid var(--line); letter-spacing: .5px; font-weight: 700;
  background: rgba(63, 200, 255, .05);
}
.table td { padding: 13px 10px; border-bottom: 1px solid var(--line2); font-variant-numeric: tabular-nums; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background .15s ease; }
.table tbody tr:hover { background: rgba(63, 200, 255, .05); }

/* ================================================================
   股东级别 · 等级卡片网格
   ================================================================ */
.card-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: .4px;
  color: var(--c1);
  background: rgba(63, 200, 255, .08);
  border: 1px solid rgba(63, 200, 255, .3);
  box-shadow: inset 0 0 12px rgba(63, 200, 255, .08);
  text-shadow: 0 0 10px rgba(63, 200, 255, .45);
}
.level-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.level-grid-empty {
  grid-column: 1 / -1; text-align: center; color: var(--txt2);
  padding: 26px 0; font-size: 13px;
}
.level-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
  padding: 16px 16px 14px;
  background: linear-gradient(165deg, rgba(16, 26, 50, .9), rgba(7, 13, 28, .95));
  border: 1px solid var(--line2); border-radius: 16px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.level-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--badge-c1, #3FC8FF), var(--badge-c2, #5566FF), transparent);
  opacity: .65;
}
.level-card:hover {
  transform: translateY(-3px);
  border-color: rgba(63, 200, 255, .35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}
/* 当前用户等级高亮 */
.level-card.current {
  border-color: var(--badge-c1, #3FC8FF);
  box-shadow: 0 0 0 1px rgba(63, 200, 255, .45), 0 10px 30px rgba(63, 200, 255, .16),
              inset 0 0 26px rgba(63, 200, 255, .05);
}
.level-card.current::before { opacity: 1; }
.level-card-top { display: flex; align-items: center; gap: 10px; }
.level-card-title { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.level-card-title b { font-size: 14px; font-weight: 800; letter-spacing: .3px; color: var(--txt); }
.level-card-title i {
  font-size: 11px; color: var(--txt2); font-style: normal;
  line-height: 1.4; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}
.level-card-me {
  margin-left: auto; flex: none;
  font-size: 10px; font-weight: 800; letter-spacing: .5px;
  padding: 3px 9px; border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, var(--badge-c1, #3FC8FF), var(--badge-c2, #5566FF));
  box-shadow: 0 2px 12px rgba(63, 200, 255, .5);
  animation: mePulse 2.2s ease-in-out infinite;
}
@keyframes mePulse {
  0%, 100% { box-shadow: 0 2px 12px rgba(63, 200, 255, .4); }
  50% { box-shadow: 0 2px 18px rgba(63, 200, 255, .75); }
}
.level-card-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding-top: 12px; border-top: 1px dashed rgba(122, 172, 255, .16);
}
.lv-metric { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lv-metric span { font-size: 10px; color: var(--txt3); letter-spacing: .4px; }
.lv-metric b { font-size: 15px; font-weight: 800; color: var(--txt); font-variant-numeric: tabular-nums; }
/* 等级加速: 醒目青色 + 光晕 */
.lv-metric-accel b {
  color: var(--c1);
  text-shadow: 0 0 12px rgba(63, 200, 255, .5);
}
.lv-metric-accel span { color: var(--c1); }
.level-grid-note {
  margin: 14px 2px 0; font-size: 11px; color: var(--txt3);
  line-height: 1.7; letter-spacing: .2px;
}
@media (max-width: 1100px) {
  .level-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .level-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .level-card { padding: 13px 12px 12px; }
  .level-card-title b { font-size: 13px; }
  .level-card-title i { white-space: normal; }
  .lv-metric b { font-size: 14px; }
}
@media (max-width: 420px) {
  .level-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   连接弹窗
   ================================================================ */
.connect-overlay {
  position: fixed; inset: 0; z-index: 200; padding: 20px;
  display: none; align-items: center; justify-content: center;
  background: rgba(4, 6, 15, .9);
  backdrop-filter: blur(10px);
}
.connect-overlay.show { display: flex; }
.connect-card {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid rgba(63, 200, 255, .25);
  border-radius: 28px; padding: 46px 36px 40px; max-width: 420px; width: 100%;
  text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(63, 200, 255, .12);
  backdrop-filter: blur(20px);
}
.connect-card::before {
  content: ""; position: absolute; top: 0; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(63, 200, 255, .8), transparent);
}
.connect-logo {
  width: 92px; height: 92px; border-radius: 26px; object-fit: cover;
  border: 1px solid rgba(122, 172, 255, .4);
  box-shadow: 0 0 40px var(--glow-c1), 0 14px 30px rgba(0, 0, 0, .45);
  margin: 0 auto 20px; animation: logoFloat 4.5s ease-in-out infinite;
}
.connect-card h2 {
  font-size: 23px; font-weight: 900; letter-spacing: .5px; margin-bottom: 10px;
  background: linear-gradient(92deg, #eef6ff, #9fe2ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.connect-card p { color: var(--txt2); margin-bottom: 28px; font-size: 14px; line-height: 1.7; }
.connect-card .sign-hint {
  color: var(--c1); margin-bottom: 22px; font-size: 14px; line-height: 1.8;
  padding: 12px 16px; border-radius: 12px;
  background: rgba(63, 200, 255, .07); border: 1px solid rgba(63, 200, 255, .3);
  text-shadow: 0 0 12px rgba(63, 200, 255, .35);
}
.connect-card .sign-switch { margin-top: 14px; }

/* ================================================================
   3D AI 装饰元素（每个页面右上角）
   ================================================================ */
.ai-scene {
  position: absolute; top: 6px; right: 2px; z-index: 0;
  width: 116px; height: 116px;
  perspective: 320px;
  pointer-events: none;
  opacity: .9;
}
.ai-scene .ai-cube {
  position: absolute; left: 50%; top: 50%;
  width: 44px; height: 44px;
  margin: -22px 0 0 -22px;
  transform-style: preserve-3d;
  animation: aiCubeSpin 10s linear infinite;
}
.ai-scene .fc {
  position: absolute; inset: 0;
  border: 1.5px solid rgba(63, 200, 255, .55);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(85, 102, 255, .18), rgba(63, 200, 255, .05));
  box-shadow: inset 0 0 16px rgba(63, 200, 255, .16), 0 0 10px rgba(63, 200, 255, .1);
  backface-visibility: visible;
}
.ai-scene .fc1 { transform: translateZ(22px); }
.ai-scene .fc2 { transform: rotateY(90deg) translateZ(22px); }
.ai-scene .fc3 { transform: rotateY(180deg) translateZ(22px); }
.ai-scene .fc4 { transform: rotateY(270deg) translateZ(22px); }
.ai-scene .fc5 { transform: rotateX(90deg) translateZ(22px); }
.ai-scene .fc6 { transform: rotateX(270deg) translateZ(22px); }
@keyframes aiCubeSpin {
  0%   { transform: rotateX(-20deg) rotateY(0deg); }
  100% { transform: rotateX(-20deg) rotateY(360deg); }
}
.ai-scene .ai-ring {
  position: absolute; left: 50%; top: 50%;
  border-radius: 50%;
  transform-style: preserve-3d;
}
.ai-scene .r1 {
  width: 104px; height: 104px; margin: -52px 0 0 -52px;
  border: 1px solid rgba(63, 200, 255, .28);
  border-top-color: rgba(63, 200, 255, .9);
  animation: aiRingSpinY 12s linear infinite;
}
.ai-scene .r2 {
  width: 78px; height: 78px; margin: -39px 0 0 -39px;
  border: 1px solid rgba(43, 228, 180, .26);
  border-top-color: rgba(43, 228, 180, .85);
  animation: aiRingSpinX 9s linear infinite;
}
@keyframes aiRingSpinY {
  0%   { transform: rotateY(64deg) rotateZ(0deg); }
  100% { transform: rotateY(64deg) rotateZ(360deg); }
}
@keyframes aiRingSpinX {
  0%   { transform: rotateX(64deg) rotateZ(0deg); }
  100% { transform: rotateX(64deg) rotateZ(360deg); }
}
.ai-scene .ai-dot {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: #8fe9ff;
  box-shadow: 0 0 10px #3fc8ff;
  animation: aiDotFloat 3.2s ease-in-out infinite;
}
.ai-scene .d1 { left: 12%; top: 22%; animation-delay: 0s; }
.ai-scene .d2 { right: 10%; top: 42%; animation-delay: .8s; }
.ai-scene .d3 { left: 26%; bottom: 16%; animation-delay: 1.6s; }
@keyframes aiDotFloat {
  0%, 100% { transform: translateY(0); opacity: .7; }
  50%      { transform: translateY(-7px); opacity: 1; }
}

/* ================================================================
   卡片 AI 细节装饰
   ================================================================ */
/* 3D AI 全息核心（每个卡片一个） */
.ai-holo {
  position: absolute; z-index: 3; pointer-events: none;
  width: 48px; height: 56px; perspective: 240px;
  opacity: .9;
}
.card > .ai-holo { bottom: 12px; right: 14px; }
.kpi-card > .ai-holo { top: 8px; right: 10px; }

/* 3D 立方体（全息投影主体） */
.ai-holo .hcube {
  position: absolute; left: 50%; top: 4px;
  width: 24px; height: 24px; margin-left: -12px;
  transform-style: preserve-3d;
  animation: holoCube 9s linear infinite;
}
.ai-holo .hcube i {
  position: absolute; inset: 0;
  border: 1px solid rgba(63, 200, 255, .55);
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(85, 102, 255, .16), rgba(63, 200, 255, .04));
  box-shadow: inset 0 0 10px rgba(63, 200, 255, .12);
}
.ai-holo .hcube i:nth-child(1) { transform: translateZ(12px); }
.ai-holo .hcube i:nth-child(2) { transform: rotateY(90deg) translateZ(12px); }
.ai-holo .hcube i:nth-child(3) { transform: rotateY(180deg) translateZ(12px); }
.ai-holo .hcube i:nth-child(4) { transform: rotateY(270deg) translateZ(12px); }
.ai-holo .hcube i:nth-child(5) { transform: rotateX(90deg) translateZ(12px); }
.ai-holo .hcube i:nth-child(6) { transform: rotateX(270deg) translateZ(12px); }
@keyframes holoCube {
  0%   { transform: rotateX(-25deg) rotateY(0deg); }
  100% { transform: rotateX(-25deg) rotateY(360deg); }
}

/* 环绕轨道环 */
.ai-holo .hring {
  position: absolute; left: 50%; top: 16px;
  width: 40px; height: 40px; margin-left: -20px;
  border-radius: 50%;
  border: 1px solid rgba(43, 228, 180, .22);
  border-top-color: rgba(43, 228, 180, .85);
  transform: rotateX(68deg);
  animation: holoRing 6s linear infinite;
}
@keyframes holoRing {
  0%   { transform: rotateX(68deg) rotateZ(0deg); }
  100% { transform: rotateX(68deg) rotateZ(360deg); }
}

/* 全息光束 + 投影基座 */
.ai-holo .hbeam {
  position: absolute; left: 50%; bottom: 6px; width: 2px; height: 30px;
  transform: translateX(-50%);
  background: linear-gradient(to top, rgba(63, 200, 255, .55), transparent);
}
.ai-holo .hbase {
  position: absolute; left: 50%; bottom: 1px;
  width: 30px; height: 7px; border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(63, 200, 255, .55), transparent 72%);
}
.ai-holo .hbeam, .ai-holo .hbase { animation: holoBreath 2.6s ease-in-out infinite; }
@keyframes holoBreath {
  0%, 100% { opacity: .4; transform: translateX(-50%) scaleY(1); }
  50%      { opacity: .95; transform: translateX(-50%) scaleY(1.15); }
}

/* 悬停强化（通用：加速所有动画 + 发光） */
.card:hover .ai-holo *,
.kpi-card:hover .ai-holo * { animation-duration: 3.2s !important; }
.card:hover .ai-holo,
.kpi-card:hover .ai-holo { opacity: 1; filter: drop-shadow(0 0 10px rgba(63, 200, 255, .35)); }
.card:hover .ai-holo .hbase,
.kpi-card:hover .ai-holo .hbase,
.card:hover .ai-holo .pbase,
.kpi-card:hover .ai-holo .pbase,
.card:hover .ai-holo .chip-base,
.kpi-card:hover .ai-holo .chip-base { filter: drop-shadow(0 0 8px rgba(63, 200, 255, .85)); }

/* ---------- st2 晶格球体 ---------- */
.ai-holo .sph {
  position: absolute; left: 50%; top: 50%;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 1px solid rgba(63, 200, 255, .3); border-top-color: rgba(63, 200, 255, .95);
  transform-style: preserve-3d;
  animation: st2a 6s linear infinite;
}
.ai-holo .sph.s2 { border-color: rgba(85, 102, 255, .28); border-top-color: #9aa6ff; animation: st2b 5s linear infinite; }
.ai-holo .sph.s3 { border-color: rgba(43, 228, 180, .26); border-top-color: #2be4b4; animation: st2c 7s linear infinite; }
@keyframes st2a { from { transform: rotateX(62deg) rotateZ(0deg); } to { transform: rotateX(62deg) rotateZ(360deg); } }
@keyframes st2b { from { transform: rotateY(62deg) rotateZ(0deg); } to { transform: rotateY(62deg) rotateZ(360deg); } }
@keyframes st2c { from { transform: rotateX(62deg) rotateY(-62deg) rotateZ(0deg); } to { transform: rotateX(62deg) rotateY(-62deg) rotateZ(360deg); } }
.ai-holo .sph-core {
  position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px;
  border-radius: 50%; background: #fff;
  box-shadow: 0 0 10px #3fc8ff, 0 0 20px rgba(63, 200, 255, .5);
  animation: aiPulse 2s ease infinite;
}

/* ---------- st3 数据金字塔 ---------- */
.ai-holo .py {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0; margin: -9px 0 0 -9px;
  border-left: 9px solid transparent; border-right: 9px solid transparent;
  border-bottom: 19px solid rgba(63, 200, 255, .5);
  filter: drop-shadow(0 0 6px rgba(63, 200, 255, .4));
}
.ai-holo .py.p2 { transform: rotateY(90deg); border-bottom-color: rgba(85, 102, 255, .55); }
.ai-holo .py.p3 { transform: rotateY(180deg); border-bottom-color: rgba(43, 228, 180, .5); }
.ai-holo .py.p4 { transform: rotateY(270deg); border-bottom-color: rgba(63, 200, 255, .5); }
.ai-holo .py-ring {
  position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border-radius: 50%; border: 1px solid rgba(63, 200, 255, .25); border-top-color: rgba(63, 200, 255, .9);
  transform: rotateX(75deg); animation: st2a 5s linear infinite;
}
.ai-holo .py-dot {
  position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px;
  border-radius: 50%; background: #8fe9ff; box-shadow: 0 0 8px #3fc8ff;
  animation: aiPulse 1.8s ease infinite;
}

/* ---------- st4 六棱柱 ---------- */
.ai-holo .pwrap {
  position: absolute; left: 50%; top: 50%;
  transform-style: preserve-3d;
  animation: pwrapSpin 9s linear infinite;
}
.ai-holo .pwrap i {
  position: absolute; left: -10px; top: -12px; width: 20px; height: 24px;
  border: 1px solid rgba(63, 200, 255, .5); border-radius: 3px;
  background: linear-gradient(135deg, rgba(85, 102, 255, .14), rgba(63, 200, 255, .04));
}
.ai-holo .pwrap i:nth-child(1) { transform: rotateY(0deg) translateZ(11px); }
.ai-holo .pwrap i:nth-child(2) { transform: rotateY(60deg) translateZ(11px); }
.ai-holo .pwrap i:nth-child(3) { transform: rotateY(120deg) translateZ(11px); }
.ai-holo .pwrap i:nth-child(4) { transform: rotateY(180deg) translateZ(11px); }
.ai-holo .pwrap i:nth-child(5) { transform: rotateY(240deg) translateZ(11px); }
.ai-holo .pwrap i:nth-child(6) { transform: rotateY(300deg) translateZ(11px); }
@keyframes pwrapSpin {
  0%   { transform: rotateY(0deg) rotateX(12deg); }
  100% { transform: rotateY(360deg) rotateX(12deg); }
}
.ai-holo .pbeam {
  position: absolute; left: 50%; bottom: 6px; width: 2px; height: 26px; transform: translateX(-50%);
  background: linear-gradient(to top, rgba(43, 228, 180, .5), transparent);
  animation: holoBreath 2.6s ease-in-out infinite;
}
.ai-holo .pbase {
  position: absolute; left: 50%; bottom: 1px; width: 28px; height: 7px; border-radius: 50%; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(43, 228, 180, .5), transparent 72%);
  animation: holoBreath 2.6s ease-in-out infinite;
}

/* ---------- st5 原子模型 ---------- */
.ai-holo .atom {
  position: absolute; left: 50%; top: 50%;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 1px solid rgba(63, 200, 255, .3); border-top-color: rgba(63, 200, 255, .95);
  transform-style: preserve-3d;
  animation: st2a 4.5s linear infinite;
}
.ai-holo .atom.a2 { border-color: rgba(43, 228, 180, .28); border-top-color: #2be4b4; animation: st2b 6.5s linear infinite; }
.ai-holo .nucleus {
  position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, #3fc8ff);
  box-shadow: 0 0 12px #3fc8ff, 0 0 22px rgba(63, 200, 255, .5);
}
.ai-holo .elec {
  position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px;
  border-radius: 50%; background: #8fe9ff; box-shadow: 0 0 8px #3fc8ff;
}
.ai-holo .elec.e1 { animation: elecOrbit 2.8s linear infinite; }
.ai-holo .elec.e2 { animation: elecOrbit 4.2s linear infinite reverse; }
@keyframes elecOrbit {
  from { transform: rotate(0deg) translateX(17px); }
  to   { transform: rotate(360deg) translateX(17px); }
}

/* ---------- st6 全息芯片 ---------- */
.ai-holo .chip {
  position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px;
  background: linear-gradient(135deg, rgba(63, 200, 255, .32), rgba(85, 102, 255, .16));
  border: 1px solid rgba(63, 200, 255, .75); border-radius: 6px;
  box-shadow: inset 0 0 14px rgba(63, 200, 255, .35), 0 0 10px rgba(63, 200, 255, .2);
  transform-style: preserve-3d;
  animation: chipTilt 4.5s ease-in-out infinite;
}
.ai-holo .chip::before {
  content: ""; position: absolute; inset: 5px;
  border: 1px solid rgba(63, 200, 255, .4); border-radius: 2px;
  background: rgba(63, 200, 255, .12);
  box-shadow: 0 0 8px rgba(63, 200, 255, .3);
}
.ai-holo .chip::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px;
  border-radius: 50%; background: #9fe2ff; box-shadow: 0 0 8px #3fc8ff;
}
@keyframes chipTilt {
  0%, 100% { transform: rotateX(55deg) rotateZ(0deg); }
  50%      { transform: rotateX(55deg) rotateZ(180deg); }
}
.ai-holo .chip-ring {
  position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px;
  border-radius: 50%;
  border: 1px solid rgba(85, 102, 255, .3); border-top-color: #8f9bff;
  animation: st2b 4s linear infinite;
}
.ai-holo .chip-beam {
  position: absolute; left: 50%; bottom: 5px; width: 2px; height: 24px; transform: translateX(-50%);
  background: linear-gradient(to top, rgba(63, 200, 255, .5), transparent);
  animation: holoBreath 2.6s ease-in-out infinite;
}
.ai-holo .chip-base {
  position: absolute; left: 50%; bottom: 1px; width: 26px; height: 6px; border-radius: 50%; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(63, 200, 255, .5), transparent 72%);
  animation: holoBreath 2.6s ease-in-out infinite;
}

/* 头部 AI 徽章 */
.ai-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 800; letter-spacing: 1.2px;
  color: #9fe2ff; padding: 4px 11px; border-radius: 20px;
  background: linear-gradient(90deg, rgba(63, 200, 255, .14), rgba(85, 102, 255, .22));
  border: 1px solid rgba(63, 200, 255, .35);
  white-space: nowrap; flex: none;
  box-shadow: 0 0 12px rgba(63, 200, 255, .12);
}
.ai-tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #3fc8ff; box-shadow: 0 0 8px #3fc8ff;
  animation: aiPulse 1.6s ease infinite;
}
@keyframes aiPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .35; transform: scale(.65); }
}

/* 卡片顶部流动扫描线 */
.card::before {
  content: ""; position: absolute; top: 0; left: -100%;
  width: 55%; height: 1.5px; z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(63, 200, 255, .85), transparent);
  animation: cardScan 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cardScan {
  0%   { left: -100%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}

/* 卡片正文 AI 点阵纹理 */
.card-body { position: relative; isolation: isolate; }
.card-body::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(122, 172, 255, .08) 1px, transparent 1px);
  background-size: 18px 18px;
}

/* 数据行脉冲节点 */
.stat-row { position: relative; padding-left: 17px; }
.ai-node {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(63, 200, 255, .55);
  box-shadow: 0 0 7px rgba(63, 200, 255, .6);
  animation: aiNodeBlink 2.6s ease-in-out infinite;
}
.stat-row:nth-child(odd) .ai-node { animation-delay: .7s; }
@keyframes aiNodeBlink {
  0%, 100% { opacity: .3; }
  50%      { opacity: 1; }
}

/* 规则项左侧光点 */
.rule { position: relative; padding-left: 28px; }
.rule::before {
  content: ""; position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--c1); box-shadow: 0 0 9px var(--c1);
  animation: aiPulse 2s ease infinite;
}

/* 步骤 芯片点阵 */
.step { position: relative; overflow: hidden; }
.step::after {
  content: ""; position: absolute; right: 10px; bottom: 9px;
  width: 30px; height: 14px; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(63, 200, 255, .5) 1px, transparent 1px);
  background-size: 6px 6px;
}
.step:hover::after { opacity: .95; }

/* 订单状态左侧发光竖条 */
.order-status { position: relative; }
.order-status::before {
  content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px;
  border-radius: 3px; background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

/* 页面标题 AI 徽章 */
.page-title h2::after {
  content: "AI"; margin-left: 10px; vertical-align: 3px;
  display: inline-block; font-size: 10px; font-weight: 900; letter-spacing: 1.5px;
  padding: 3px 9px; border-radius: 9px; color: #9fe2ff;
  background: linear-gradient(135deg, rgba(63, 200, 255, .22), rgba(85, 102, 255, .28));
  border: 1px solid rgba(63, 200, 255, .45);
  box-shadow: 0 0 12px rgba(63, 200, 255, .2);
  animation: aiPulse 2.2s ease infinite;
}

/* KPI 卡片顶部光条扫描 */
.kpi-card::before {
  content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(63, 200, 255, .75), transparent);
  opacity: .75; animation: kpiScan 3s ease-in-out infinite;
}
@keyframes kpiScan {
  0%, 100% { transform: scaleX(.35); transform-origin: left; opacity: .5; }
  50%      { transform: scaleX(1); transform-origin: left; opacity: .95; }
}
.kpi-card:hover .kpi-value { filter: drop-shadow(0 0 12px rgba(63, 200, 255, .55)); }

/* ================================================================
   Toast
   ================================================================ */
.toast {
  position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: rgba(16, 24, 46, .92); border: 1px solid rgba(63, 200, 255, .5);
  color: var(--txt); padding: 13px 24px; border-radius: 14px;
  font-size: 14px; font-weight: 600; letter-spacing: .3px;
  opacity: 0; visibility: hidden; transition: all .3s ease; z-index: 300;
  max-width: 90vw; text-align: center; backdrop-filter: blur(12px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .5), 0 0 24px rgba(63, 200, 255, .15);
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.toast.error { border-color: rgba(255, 92, 122, .6); box-shadow: 0 12px 34px rgba(0,0,0,.5), 0 0 24px rgba(255, 92, 122, .18); }
.toast.success { border-color: rgba(43, 228, 180, .6); box-shadow: 0 12px 34px rgba(0,0,0,.5), 0 0 24px rgba(43, 228, 180, .18); }

/* ================================================================
   移动端底部导航
   ================================================================ */
.bottom-nav { display: none; }

/* ================================================================
   响应式
   ================================================================ */
@media (max-width: 1100px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .sidebar { display: none; }
  .main { padding: 84px 16px 96px; }
  /* iOS 26 Liquid Glass 半透明主题色毛玻璃胶囊容器（加深） */
  .bottom-nav {
    display: flex; position: fixed; z-index: 95;
    bottom: 12px; left: 16px; right: 16px; max-width: 560px;
    margin: 0 auto;
    justify-content: space-around; align-items: center;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(24, 120, 200, .62), rgba(52, 62, 185, .56));
    -webkit-backdrop-filter: blur(32px) saturate(1.8);
    backdrop-filter: blur(32px) saturate(1.8);
    border: 1px solid rgba(63, 200, 255, .6);
    border-radius: 30px;
    box-shadow:
      0 10px 32px rgba(8, 12, 30, .4),
      0 2px 14px rgba(63, 200, 255, .35),
      inset 0 1px 0 rgba(255, 255, 255, .28);
  }
  .bn-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; color: rgba(234, 250, 255, .8); font-size: 11px;
    min-width: 56px; min-height: 46px; padding: 4px 10px;
    border-radius: 999px; cursor: pointer; transition: all .3s ease;
    font-weight: 600; position: relative;
  }
  /* 激活态：圆形高亮，图标在上文字在下 */
  .bn-item.active {
    flex-direction: column; gap: 3px;
    width: 60px; height: 60px; padding: 7px 0; min-width: 0;
    background: linear-gradient(135deg, rgba(63, 200, 255, .95), rgba(85, 102, 255, .92));
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    box-shadow:
      0 6px 20px rgba(63, 200, 255, .5),
      inset 0 1px 0 rgba(255, 255, 255, .5),
      inset 0 -3px 8px rgba(255, 255, 255, .12);
    color: #fff;
  }
  .bn-item.active .bn-icon svg {
    color: #fff;
    filter: drop-shadow(0 0 5px rgba(63, 200, 255, .95));
  }
  .bn-item.active .bn-label { font-weight: 700; white-space: nowrap; }
  .bn-icon {
    display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 12px;
    transition: all .3s;
  }
  .bn-icon svg { width: 22px; height: 22px; color: rgba(234, 250, 255, .85); transition: all .3s; }
  .hero-title { font-size: 30px; }
  .hero-logo { width: 84px; height: 84px; border-radius: 24px; }
  .hero { padding: 36px 18px 32px; }
  .hero-feats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .feat { padding: 10px 12px; }
  .feat-icon { width: 32px; height: 32px; border-radius: 9px; }
  .feat-txt b { font-size: 13px; }
  .kpi-value { font-size: 20px; }
  .network-badge { display: none; }
  .ai-scene { transform: scale(.72); transform-origin: top right; top: 0; right: 0; opacity: .65; }
  .ai-tag { font-size: 9px; padding: 3px 8px; letter-spacing: 1px; }
  .ai-holo { transform: scale(.78); opacity: .8; }
  .card > .ai-holo { bottom: 8px; right: 8px; }
  .kpi-card > .ai-holo { top: 4px; right: 4px; }
  .rules { grid-template-columns: 1fr; }
  .card-body { padding: 16px; }
  .card-header { padding: 14px 16px; }
}
@media (max-width: 420px) {
  .logo-title { font-size: 16px; }
  .logo-sub { font-size: 10px; }
  .btn-wallet { padding: 9px 14px; font-size: 12px; }
  .hero-title { font-size: 24px; }
  .kpi-value { font-size: 18px; }
}

/* ================================================================
   UI Refined 2.0 · 精致化视觉升级（追加覆盖层，不改变业务 DOM）
   设计语言：渐变描边玻璃 · 柔和光晕 · 克制动效 · 统一间距圆角
   ================================================================ */

/* ---- 设计令牌精调 ---- */
:root {
  --card: rgba(13, 23, 48, .74);
  --card2: rgba(19, 31, 60, .64);
  --line: rgba(122, 172, 255, .15);
  --line2: rgba(122, 172, 255, .08);
  --grad: linear-gradient(135deg, #5a6cff 0%, #3fc8ff 100%);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, .04) inset,
                 0 16px 36px rgba(2, 6, 18, .48);
  --shadow-hover: 0 1px 0 rgba(255, 255, 255, .06) inset,
                  0 24px 52px rgba(2, 6, 18, .6),
                  0 0 0 1px rgba(63, 200, 255, .14);
  --border-grad: linear-gradient(160deg,
                  rgba(122, 172, 255, .3), rgba(122, 172, 255, .06) 38%,
                  rgba(63, 200, 255, .16) 72%, rgba(85, 102, 255, .26));
}

/* ---- 全局背景：柔和三色光晕 + 静止细网格 ---- */
body::before {
  background-image: radial-gradient(rgba(122, 172, 255, .06) 1px, transparent 1px);
  background-size: 28px 28px;
  animation: none;
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 0%, #000 22%, transparent 100%);
          mask-image: radial-gradient(ellipse 95% 85% at 50% 0%, #000 22%, transparent 100%);
}
body::after {
  background:
    radial-gradient(860px 520px at 8% -4%, rgba(85, 102, 255, .2), transparent 62%),
    radial-gradient(980px 620px at 94% 20%, rgba(63, 200, 255, .16), transparent 60%),
    radial-gradient(1100px 760px at 50% 116%, rgba(43, 228, 180, .1), transparent 62%);
  animation: none;
}

/* ---- Header：深层毛玻璃 + 顶部细光 ---- */
.header {
  background: linear-gradient(180deg, rgba(6, 10, 22, .9), rgba(6, 10, 22, .66));
  -webkit-backdrop-filter: blur(26px) saturate(180%);
          backdrop-filter: blur(26px) saturate(180%);
  border-bottom: 1px solid rgba(122, 172, 255, .09);
  box-shadow: 0 12px 40px rgba(2, 6, 18, .42);
}
.header::after {
  content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(159, 226, 255, .6), transparent);
  pointer-events: none;
}

/* ---- 卡片：渐变描边玻璃 ---- */
.card {
  background:
    linear-gradient(168deg, rgba(15, 24, 50, .82), rgba(9, 14, 30, .8)) padding-box,
    var(--border-grad) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}
/* 移除流动扫描线，改为静态顶部高光 */
.card::before {
  content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(159, 226, 255, .55), transparent);
  animation: none; opacity: 1; z-index: 3; pointer-events: none;
}
.card-body::after {
  opacity: .5;
  background-image: radial-gradient(rgba(122, 172, 255, .045) 1px, transparent 1px);
}
.card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-hover);
}

/* ---- 卡片头 ---- */
.card-header {
  padding: 18px 24px;
  background: linear-gradient(90deg, rgba(85, 102, 255, .14), rgba(63, 200, 255, .04) 55%, transparent);
  border-bottom: 1px solid rgba(122, 172, 255, .09);
}
.card-title { font-size: 16px; letter-spacing: .9px; }
.card-title::before { animation: none; }
.card-sub { letter-spacing: .4px; }

/* ---- KPI 卡片 ---- */
.kpi-card {
  background:
    linear-gradient(170deg, rgba(17, 28, 56, .9), rgba(10, 16, 34, .88)) padding-box,
    var(--border-grad) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}
.kpi-card::before {
  animation: kpiScan 5.5s ease-in-out infinite;
  opacity: .8;
}
.kpi-card::after { opacity: .65; }
.kpi-card:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: var(--shadow-hover);
}
.kpi-card .kpi-value { font-size: 27px; letter-spacing: .3px; }
.kpi-card .kpi-label { font-size: 12px; letter-spacing: 1.2px; }

/* ---- 按钮：精致渐变 + hover 触发扫光 ---- */
.btn { border-radius: 14px; letter-spacing: .6px; }
.btn-primary {
  background: linear-gradient(135deg, #5a6cff 0%, #3fc8ff 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .28) inset,
              0 12px 30px rgba(63, 200, 255, .3),
              0 3px 10px rgba(2, 6, 18, .4);
}
.btn-primary::after {
  animation: none; opacity: 0;
  transition: opacity .3s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset,
              0 16px 36px rgba(63, 200, 255, .4),
              0 4px 12px rgba(2, 6, 18, .45);
}
.btn-primary:hover::after { opacity: 1; animation: btnShine 1.1s ease; }
.btn-outline {
  background: rgba(9, 14, 30, .5);
  border: 1px solid rgba(122, 172, 255, .3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.btn-outline:hover {
  background: rgba(63, 200, 255, .1);
  border-color: rgba(63, 200, 255, .55);
  box-shadow: 0 8px 22px rgba(63, 200, 255, .18);
}
.btn-ghost:hover { background: rgba(122, 172, 255, .1); }

/* ---- 表单：内阴影 + 精致聚焦 ---- */
.form-group input, .swap-input-row input, .input-row input {
  background: rgba(8, 13, 28, .74);
  border: 1px solid rgba(122, 172, 255, .16);
  border-radius: 14px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, .38);
}
.form-group input:focus, .swap-input-row input:focus, .input-row input:focus {
  border-color: rgba(63, 200, 255, .72);
  box-shadow: 0 0 0 4px rgba(63, 200, 255, .1),
              0 0 26px rgba(63, 200, 255, .16),
              inset 0 2px 8px rgba(0, 0, 0, .3);
}
.max-btn { border-radius: 11px; }

/* ================================================================
   UI Refined 2.0 · 组件精修（第二批）
   ================================================================ */

/* ---- 等级卡片：统一渐变描边玻璃 ---- */
.level-card {
  background:
    linear-gradient(168deg, rgba(18, 29, 58, .94), rgba(8, 13, 28, .94)) padding-box,
    var(--border-grad) border-box;
  border: 1px solid transparent;
  box-shadow: 0 12px 30px rgba(2, 6, 18, .42);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}
.level-card::before { opacity: .8; }
.level-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-hover);
}
.level-card.current {
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(63, 200, 255, .55),
              0 14px 40px rgba(63, 200, 255, .18),
              inset 0 0 30px rgba(63, 200, 255, .05);
}

/* ---- 步骤 / 规则 / 业绩条 / 邀请 / 兑换率 / 账户盒 / 特性 / 入口 / 状态 ---- */
.step, .rule, .vol-bar, .invite-panel, .swap-rate, .account-box, .feat, .volume-entry, .order-status {
  background:
    linear-gradient(168deg, rgba(17, 28, 56, .86), rgba(10, 16, 34, .82)) padding-box,
    var(--border-grad) border-box;
  border: 1px solid transparent;
  box-shadow: 0 10px 26px rgba(2, 6, 18, .4);
}
.step:hover, .vol-bar:hover, .volume-entry:hover {
  border-color: transparent;
  box-shadow: var(--shadow-hover);
}
.vol-bar.current {
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(63, 200, 255, .5), 0 12px 30px rgba(63, 200, 255, .14);
}
.step-num {
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(63, 200, 255, .35), 0 1px 0 rgba(255, 255, 255, .25) inset;
}
.swap-arrow {
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(63, 200, 255, .4), 0 1px 0 rgba(255, 255, 255, .3) inset;
}
.token-pill {
  background: rgba(8, 13, 28, .8);
  border: 1px solid rgba(122, 172, 255, .16);
  border-radius: 13px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, .35);
}
/* 空态/状态条：保留语义色，改渐变描边 */
.order-status {
  background:
    linear-gradient(90deg, rgba(43, 228, 180, .1), rgba(43, 228, 180, .02)) padding-box,
    linear-gradient(90deg, rgba(43, 228, 180, .4), rgba(43, 228, 180, .1)) border-box;
  border: 1px solid transparent;
}
.order-status.warn {
  background:
    linear-gradient(90deg, rgba(255, 194, 75, .1), rgba(255, 194, 75, .02)) padding-box,
    linear-gradient(90deg, rgba(255, 194, 75, .42), rgba(255, 194, 75, .1)) border-box;
  border: 1px solid transparent;
}

/* ---- 列表项 ---- */
.order-detail-item, .claim-history-row {
  background: rgba(6, 11, 24, .55);
  border: 1px solid rgba(122, 172, 255, .09);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

/* ---- 进度条 ---- */
.progress-track {
  background: rgba(7, 12, 26, .85);
  border: 1px solid rgba(122, 172, 255, .12);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .45);
}
.progress-bar {
  background: linear-gradient(90deg, #5566ff, #3fc8ff, #2be4b4);
  background-size: 200% 100%;
  animation: progressFlow 3.4s linear infinite;
}
@keyframes progressFlow {
  0%   { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* ---- 徽章动效克制化：旋转放慢 ---- */
.level-badge {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4),
              0 0 14px var(--badge-glow, rgba(63, 200, 255, .35));
}
.level-badge::before { animation: badgeSpin 7s linear infinite; }

/* ---- 侧栏导航 ---- */
.nav-item.active {
  background: linear-gradient(90deg, rgba(85, 102, 255, .28), rgba(63, 200, 255, .1));
  box-shadow: inset 0 0 0 1px rgba(122, 172, 255, .28);
}
.nav-item.active .nav-icon { box-shadow: 0 0 14px rgba(63, 200, 255, .4); }

/* ---- 数据行 / 指标点 ---- */
.stat-row b { font-variant-numeric: tabular-nums; }
.stat-row .ai-node { box-shadow: 0 0 10px rgba(63, 200, 255, .65); }

/* ---- 滚动条 / 选中态 ---- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(85, 102, 255, .5), rgba(63, 200, 255, .4));
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(85, 102, 255, .7), rgba(63, 200, 255, .6));
}
::selection { background: rgba(63, 200, 255, .3); color: #fff; }

/* ---- 移动端细节 ---- */
@media (max-width: 768px) {
  .card-header { padding: 15px 18px; }
  .card-body { padding: 18px; }
  .card-title { font-size: 15px; }
  .kpi-card .kpi-value { font-size: 22px; }
  .kpi-card .kpi-label { letter-spacing: 1px; }
  .step, .rule { padding: 14px; }
  .level-card .level-card-metrics { gap: 6px; }
}

/* ================================================================
   空仓位状态面板（质押理财 · 新订单空态）
   ================================================================ */
.order-status.order-empty {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  margin-bottom: 20px; padding: 32px 22px 26px;
  text-align: center; color: var(--txt); border-radius: 20px;
  background:
    radial-gradient(420px 180px at 50% -30%, rgba(63, 200, 255, .16), transparent 70%),
    radial-gradient(340px 170px at 50% 135%, rgba(85, 102, 255, .15), transparent 72%),
    linear-gradient(170deg, rgba(17, 28, 56, .92), rgba(8, 13, 28, .92)) padding-box,
    var(--border-grad) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow-card), inset 0 0 46px rgba(63, 200, 255, .04);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}
/* 覆盖默认左侧竖条：改为顶部主题色光带 */
.order-status.order-empty::before {
  content: ""; position: absolute; top: 0; bottom: auto; left: 10%; right: 10%;
  width: auto; height: 2px; border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(159, 226, 255, .95), transparent);
  box-shadow: 0 0 14px rgba(63, 200, 255, .55);
}
/* 底部淡光晕 */
.order-status.order-empty::after {
  content: ""; position: absolute; bottom: -46px; left: 50%; transform: translateX(-50%);
  width: 240px; height: 90px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse, rgba(63, 200, 255, .22), transparent 70%);
}
.order-empty-icon {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 20px; color: #fff;
  background: linear-gradient(135deg, #5a6cff, #3fc8ff);
  box-shadow: 0 0 0 6px rgba(63, 200, 255, .12), 0 12px 28px rgba(63, 200, 255, .42);
  animation: orderEmptyFloat 3.6s ease-in-out infinite;
}
.order-empty-icon svg {
  width: 32px; height: 32px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .28));
}
@keyframes orderEmptyFloat {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 0 0 6px rgba(63, 200, 255, .12), 0 12px 28px rgba(63, 200, 255, .4);
  }
  50% {
    transform: translateY(-5px);
    box-shadow: 0 0 0 9px rgba(63, 200, 255, .16), 0 18px 38px rgba(63, 200, 255, .55);
  }
}
.order-empty-title {
  position: relative; z-index: 1; margin-top: 8px;
  font-size: 19px; font-weight: 900; letter-spacing: 1.4px; line-height: 1.3;
  background: linear-gradient(92deg, #eef6ff, #9fe2ff 55%, #c3cbff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 0 14px rgba(63, 200, 255, .35));
}
.order-empty-sub {
  position: relative; z-index: 1;
  font-style: normal; font-weight: 500;
  font-size: 12px; color: var(--txt2); letter-spacing: .4px; line-height: 1.75;
  max-width: 380px;
}
@media (max-width: 420px) {
  .order-status.order-empty { padding: 26px 18px 22px; }
  .order-empty-icon { width: 56px; height: 56px; border-radius: 17px; }
  .order-empty-icon svg { width: 28px; height: 28px; }
  .order-empty-title { font-size: 17px; letter-spacing: 1px; }
}
