/* ============================================================
   HushHost · 高级深色主题(墨黑 + 香槟金)
   ============================================================ */
:root {
  --bg: #0a0c10;
  --bg2: #0e1116;
  --panel: #12151b;
  --panel2: #171b22;
  --panel3: #1d222b;
  --border: rgba(255, 255, 255, 0.065);
  --border-strong: rgba(255, 255, 255, 0.13);
  --text: #ece9e2;
  --muted: #8e95a1;
  --muted2: #6b7280;

  --gold: #d8b45a;
  --gold2: #e9cd85;
  --gold-ink: #191204;
  --gold-soft: rgba(216, 180, 90, 0.12);
  --gold-glow: rgba(216, 180, 90, 0.25);

  /* 赛博朋克霓虹点缀 */
  --cyber: #22d3ee;
  --cyber2: #7ee7ff;
  --cyber-ink: #04232b;
  --cyber-soft: rgba(34, 211, 238, 0.12);
  --cyber-glow: rgba(34, 211, 238, 0.32);
  --magenta: #e879f9;
  --magenta-glow: rgba(232, 121, 249, 0.3);

  /* 兼容别名(app.js 内联引用) */
  --accent: #22d3ee;
  --accent2: #7ee7ff;

  --green: #37c98e;
  --green-soft: rgba(55, 201, 142, 0.12);
  --orange: #d9a04a;
  --orange-soft: rgba(217, 160, 74, 0.13);
  --red: #ef6a5f;
  --red-soft: rgba(239, 106, 95, 0.13);
  --blue: #6f9de8;
  --blue-soft: rgba(111, 157, 232, 0.13);

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 12px 32px rgba(0,0,0,0.35);
  --shadow-pop: 0 24px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(34, 211, 238, 0.09), transparent 60%),
    radial-gradient(900px 460px at 8% -12%, rgba(232, 121, 249, 0.07), transparent 55%),
    radial-gradient(1200px 600px at 50% 110%, rgba(216, 180, 90, 0.05), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", "SF Pro Text", -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(900px 600px at 50% 0%, #000 30%, transparent 75%);
}
a { color: var(--gold2); text-decoration: none; transition: color .15s; }
a:hover { color: var(--gold); }
button { cursor: pointer; font-family: inherit; }
::selection { background: var(--gold-soft); }

.ico { display: inline-block; vertical-align: -3px; flex: none; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 12, 16, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 22px;
  height: 62px; display: flex; align-items: center; gap: 26px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); }
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  object-fit: contain;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.28), 0 0 34px rgba(232, 121, 249, 0.16);
}
.logo-text { font-weight: 700; font-size: 17px; letter-spacing: 1.5px; }
.logo-text em { font-style: normal; color: var(--gold2); }
.logo-sub {
  font-size: 11px; color: var(--muted2); letter-spacing: 2px;
  border: 1px solid var(--border-strong); padding: 2px 9px; border-radius: 999px;
}
.nav { display: flex; gap: 4px; flex: 1; }
.nav a {
  color: var(--muted); padding: 7px 14px; border-radius: 8px; font-size: 13.5px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all .15s;
}
.nav a:hover { color: var(--text); background: var(--panel2); }
.nav a.active { color: var(--cyber2); background: var(--cyber-soft); }
.lang-box { display: flex; gap: 4px; }
.lang-chip {
  border: 1px solid var(--border-strong); color: var(--muted); cursor: pointer;
  padding: 3px 9px; border-radius: 7px; font-size: 11.5px; font-weight: 600; letter-spacing: .5px;
  transition: all .15s; user-select: none;
}
.lang-chip:hover { color: var(--text); border-color: var(--muted); }
.lang-chip.on { color: var(--cyber2); border-color: var(--cyber); background: var(--cyber-soft); box-shadow: 0 0 10px rgba(34, 211, 238, 0.2); }
.user-box { display: flex; align-items: center; gap: 10px; }
.user-chip { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 13px; }
.user-chip .balance { color: var(--green); font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid var(--border-strong); background: var(--panel2); color: var(--text);
  padding: 8px 16px; border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 500;
  transition: all .15s;
}
.btn:hover { border-color: var(--cyber); color: var(--cyber2); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(135deg, #35d9f0, #0fb7d6);
  border-color: transparent; color: var(--cyber-ink); font-weight: 650;
  box-shadow: 0 2px 16px rgba(34, 211, 238, 0.28), 0 0 0 1px rgba(126, 231, 255, 0.3) inset;
}
.btn-primary:hover { background: linear-gradient(135deg, #58e2f7, #1fc8e6); color: var(--cyber-ink); box-shadow: 0 4px 24px rgba(34, 211, 238, 0.42); }
.btn-green { background: linear-gradient(135deg, #2f8f6b, #1f6b4e); border-color: transparent; color: #eafaf3; }
.btn-green:hover { background: linear-gradient(135deg, #3aa37c, #277a59); color: #fff; }
.btn-danger { background: transparent; border-color: rgba(239, 106, 95, .4); color: var(--red); }
.btn-danger:hover { background: var(--red-soft); border-color: var(--red); color: var(--red); }
.btn-sm { padding: 4px 11px; font-size: 12.5px; border-radius: 7px; gap: 5px; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--gold2); }

/* ---------- 布局 ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 30px 22px 70px; min-height: calc(100vh - 140px); }
.footer {
  text-align: center; color: var(--muted2); font-size: 12px;
  padding: 20px 0 30px; border-top: 1px solid var(--border); letter-spacing: 1px;
}

/* ---------- 首页 hero ---------- */
.hero { text-align: center; padding: 54px 0 30px; position: relative; }
.hero h1 { font-size: 36px; font-weight: 750; letter-spacing: 2px; }
.hero h1 .grad {
  background: linear-gradient(100deg, #9ff0ff 0%, #22d3ee 35%, #e879f9 70%, #b06cf2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 32px rgba(34, 211, 238, 0.25);
  animation: neonPulse 3.2s ease-in-out infinite;
}
@keyframes neonPulse {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(34, 211, 238, 0.35)); }
  50% { filter: drop-shadow(0 0 14px rgba(232, 121, 249, 0.45)); }
}
.hero .hero-cloud { color: var(--gold2); margin-right: 8px; }
.hero p { color: var(--muted); margin-top: 14px; font-size: 15px; letter-spacing: .5px; }
.hero-stats { display: flex; justify-content: center; gap: 52px; margin-top: 30px; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 23px; font-weight: 750; color: var(--cyber2); letter-spacing: 1px; text-shadow: 0 0 16px rgba(34, 211, 238, 0.35); }
.hero-stat .label { font-size: 12px; color: var(--muted2); margin-top: 2px; letter-spacing: 1px; }

/* ---------- 轮播广告位 ---------- */
.banner-wrap { position: relative; margin-top: 34px; }
.banner-viewport { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border-strong); box-shadow: var(--shadow-card); }
.banner-track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.banner {
  flex: 0 0 100%; min-width: 100%; padding: 34px 42px; position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 26px; cursor: pointer;
}
/* 背景图案层(预设 SVG data-URI 或自定义图片) */
.banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--bn-img, none);
  background-size: cover; background-position: center;
  opacity: var(--bn-img-o, 0.4);
}
.banner.bg-circuit {
  --bn-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='220'%3E%3Cg fill='none' stroke='%2322d3ee' stroke-opacity='0.5' stroke-width='1.2'%3E%3Cpath d='M0 44h88l22 22v58l42 0'/%3E%3Cpath d='M210 0v70l-30 30h-46'/%3E%3Cpath d='M300 220v-84l-26-26h-62'/%3E%3Cpath d='M420 64h-74l-22 22v52'/%3E%3Cpath d='M120 130h60l20 20'/%3E%3Ccircle cx='110' cy='66' r='3.5' fill='%2322d3ee' stroke='none'/%3E%3Ccircle cx='164' cy='104' r='3.5' fill='%2322d3ee' stroke='none'/%3E%3Ccircle cx='212' cy='120' r='3.5' fill='%2322d3ee' stroke='none'/%3E%3Ccircle cx='274' cy='86' r='3.5' fill='%2322d3ee' stroke='none'/%3E%3Ccircle cx='324' cy='152' r='3.5' fill='%2322d3ee' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  --bn-img-o: 0.5;
}
.banner.bg-matrix {
  --bn-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='220'%3E%3Cg fill='none' stroke='%2337c98e' stroke-opacity='0.28' stroke-width='1'%3E%3Cpath d='M0 40h420M0 80h420M0 120h420M0 160h420M0 200h420M60 0v220M120 0v220M180 0v220M240 0v220M300 0v220M360 0v220'/%3E%3C/g%3E%3Cg fill='%2337c98e' fill-opacity='0.5'%3E%3Crect x='58' y='38' width='3' height='6'/%3E%3Crect x='178' y='78' width='3' height='6'/%3E%3Crect x='298' y='118' width='3' height='6'/%3E%3Crect x='118' y='158' width='3' height='6'/%3E%3Crect x='358' y='198' width='3' height='6'/%3E%3Crect x='238' y='18' width='3' height='6'/%3E%3C/g%3E%3C/svg%3E");
  --bn-img-o: 0.55;
}
.banner.bg-aurora {
  --bn-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='220'%3E%3Cdefs%3E%3CradialGradient id='a' cx='20%25' cy='30%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%23e879f9' stop-opacity='0.5'/%3E%3Cstop offset='100%25' stop-color='%23e879f9' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='b' cx='80%25' cy='60%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%2322d3ee' stop-opacity='0.5'/%3E%3Cstop offset='100%25' stop-color='%2322d3ee' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='c' cx='55%25' cy='90%25' r='60%25'%3E%3Cstop offset='0%25' stop-color='%23d8b45a' stop-opacity='0.35'/%3E%3Cstop offset='100%25' stop-color='%23d8b45a' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='420' height='220' fill='url(%23a)'/%3E%3Crect width='420' height='220' fill='url(%23b)'/%3E%3Crect width='420' height='220' fill='url(%23c)'/%3E%3C/svg%3E");
  --bn-img-o: 0.65;
}
.banner.bg-waves {
  --bn-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='220'%3E%3Cg fill='none' stroke='%2322d3ee' stroke-opacity='0.3' stroke-width='1.4'%3E%3Cpath d='M0 60c60-36 120-36 180 0s120 36 180 0'/%3E%3Cpath d='M0 100c60-36 120-36 180 0s120 36 180 0'/%3E%3Cpath d='M0 140c60-36 120-36 180 0s120 36 180 0'/%3E%3Cpath d='M0 180c60-36 120-36 180 0s120 36 180 0'/%3E%3C/g%3E%3C/svg%3E");
  --bn-img-o: 0.5;
}
.banner::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px;
  background: radial-gradient(circle, var(--bn-glow) 0%, transparent 65%);
}
.banner .bn-icon {
  width: 62px; height: 62px; flex: none; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--bn-accent); background: var(--bn-chip);
  border: 1px solid var(--bn-line);
}
.banner .bn-body { position: relative; z-index: 1; }
.banner .bn-title { font-size: 21px; font-weight: 750; letter-spacing: 1px; color: var(--bn-title); }
.banner .bn-sub { color: var(--bn-sub); font-size: 13.5px; margin-top: 5px; letter-spacing: .4px; }
.banner .bn-cta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  border: 1px solid var(--bn-line2); color: var(--bn-accent);
  padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  transition: all .15s;
}
.banner:hover .bn-cta { background: var(--bn-chip2); }
.banner.gold {
  background: linear-gradient(115deg, #241b07 0%, #3d2f0e 58%, #161209 100%);
  --bn-accent: #e8c97a; --bn-title: #f4e3b2; --bn-sub: rgba(233, 214, 168, 0.62);
  --bn-chip: rgba(232, 201, 122, 0.1); --bn-chip2: rgba(232, 201, 122, 0.16);
  --bn-line: rgba(232, 201, 122, 0.3); --bn-line2: rgba(232, 201, 122, 0.4);
  --bn-glow: rgba(232, 201, 122, 0.16);
}
.banner.emerald {
  background: linear-gradient(115deg, #062019 0%, #0d3a2c 58%, #061410 100%);
  --bn-accent: #5fd9a4; --bn-title: #c9f2e0; --bn-sub: rgba(190, 235, 215, 0.6);
  --bn-chip: rgba(95, 217, 164, 0.1); --bn-chip2: rgba(95, 217, 164, 0.16);
  --bn-line: rgba(95, 217, 164, 0.3); --bn-line2: rgba(95, 217, 164, 0.4);
  --bn-glow: rgba(95, 217, 164, 0.14);
}
.banner.royal {
  background: linear-gradient(115deg, #0d1527 0%, #1c2c50 58%, #0a0f1d 100%);
  --bn-accent: #9db9f5; --bn-title: #dbe6ff; --bn-sub: rgba(200, 214, 245, 0.6);
  --bn-chip: rgba(157, 185, 245, 0.1); --bn-chip2: rgba(157, 185, 245, 0.16);
  --bn-line: rgba(157, 185, 245, 0.3); --bn-line2: rgba(157, 185, 245, 0.4);
  --bn-glow: rgba(157, 185, 245, 0.14);
}
.banner.obsidian {
  background: linear-gradient(115deg, #17181c 0%, #2b2e37 58%, #101216 100%);
  --bn-accent: #d7d9e0; --bn-title: #f0f1f5; --bn-sub: rgba(210, 213, 222, 0.6);
  --bn-chip: rgba(215, 217, 224, 0.08); --bn-chip2: rgba(215, 217, 224, 0.14);
  --bn-line: rgba(215, 217, 224, 0.28); --bn-line2: rgba(215, 217, 224, 0.4);
  --bn-glow: rgba(215, 217, 224, 0.1);
}
.banner-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border-strong); background: rgba(18, 21, 27, 0.85);
  color: var(--muted); display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px); transition: all .15s;
}
.banner-nav:hover { color: var(--cyber2); border-color: var(--cyber); box-shadow: 0 0 14px rgba(34, 211, 238, 0.3); }
.banner-nav.prev { left: -16px; }
.banner-nav.next { right: -16px; }
.banner-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.banner-dots .dot {
  width: 7px; height: 7px; border-radius: 999px; background: var(--panel3);
  border: 1px solid var(--border-strong); transition: all .25s;
}
.banner-dots .dot.on { width: 22px; background: var(--cyber); border-color: var(--cyber); box-shadow: 0 0 10px rgba(34, 211, 238, 0.5); }

/* ---------- 区块标题 ---------- */
.section-title {
  font-size: 19px; font-weight: 700; margin: 40px 0 18px;
  display: flex; align-items: center; gap: 12px; letter-spacing: 1px;
}
.section-title::before {
  content: ""; width: 4px; height: 20px; border-radius: 2px;
  background: linear-gradient(180deg, var(--cyber2), var(--cyber));
  box-shadow: 0 0 14px var(--cyber-glow);
}

/* ---------- 套餐卡片(玻璃拟态 + 赛博水印) ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; padding: 26px 4px; }
/* 卡片背后的赛博光斑:玻璃模糊所需的彩色底子 */
.plans-grid::before {
  content: ''; position: absolute; inset: -10px -30px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(420px 220px at 12% 20%, rgba(34, 211, 238, 0.20), transparent 60%),
    radial-gradient(480px 260px at 88% 30%, rgba(232, 121, 249, 0.16), transparent 60%),
    radial-gradient(520px 300px at 50% 95%, rgba(124, 58, 237, 0.18), transparent 62%);
  filter: blur(6px);
}
@media (max-width: 1100px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .plans-grid { grid-template-columns: 1fr; } }
.plan-card {
  position: relative; z-index: 1;
  background: linear-gradient(160deg, rgba(255,255,255,0.085), rgba(255,255,255,0.028) 45%, rgba(34,211,238,0.045));
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius);
  padding: 16px 14px; display: flex; flex-direction: column; gap: 10px;
  aspect-ratio: 1 / 1.618;                                    /* 黄金比例长宽比 */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 0 22px rgba(34, 211, 238, 0.05),
    0 8px 26px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.plan-card > * { position: relative; z-index: 1; }
/* 赛博朋克服务器/芯片水印(低透明度底图) */
.plan-card::after {
  content: ''; position: absolute; right: -14px; bottom: -12px; z-index: 0;
  width: 62%; height: 58%; opacity: 0.13; pointer-events: none;
  background-repeat: no-repeat; background-position: right bottom; background-size: contain;
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.9));
}
.plan-card:nth-child(1)::after {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%2322d3ee' stroke-width='2.4'%3E%3Crect x='38' y='28' width='124' height='40' rx='5'/%3E%3Crect x='38' y='80' width='124' height='40' rx='5'/%3E%3Crect x='38' y='132' width='124' height='40' rx='5'/%3E%3Ccircle cx='56' cy='48' r='4.5' fill='%2322d3ee' stroke='none'/%3E%3Ccircle cx='56' cy='100' r='4.5' fill='%23e879f9' stroke='none'/%3E%3Ccircle cx='56' cy='152' r='4.5' fill='%2322d3ee' stroke='none'/%3E%3Cpath d='M72 48h62M72 100h62M72 152h62' stroke-dasharray='7 6'/%3E%3C/g%3E%3C/svg%3E");
}
.plan-card:nth-child(2)::after {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23e879f9' stroke-width='2.4'%3E%3Crect x='58' y='58' width='84' height='84' rx='7'/%3E%3Crect x='76' y='76' width='48' height='48' rx='4'/%3E%3Cpath d='M100 22v26M100 152v26M22 100h26M152 100h26M34 34l20 20M146 146l20 20M166 34l-20 20M54 146l-20 20'/%3E%3Ccircle cx='100' cy='100' r='7' fill='%2322d3ee' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
}
.plan-card:nth-child(3)::after {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%2322d3ee' stroke-width='2.4'%3E%3Cpath d='M50 150v-20M150 150v-20M38 128h44l8-9 8 9h64M38 128a18 18 0 1 1 12-31 24 24 0 0 1 46-10 20 20 0 0 1 26 22 18 18 0 0 1 30 19'/%3E%3Crect x='58' y='158' width='84' height='18' rx='4'/%3E%3Ccircle cx='70' cy='167' r='3' fill='%23e879f9' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
}
.plan-card:nth-child(4)::after {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%238b5cf6' stroke-width='2'%3E%3Cpath d='M30 40l40 20-40 20zM130 40l40 20-40 20zM30 120l40 20-40 20zM130 120l40 20-40 20z' stroke-linejoin='round'/%3E%3Cpath d='M70 50h60M70 130h60' stroke-dasharray='5 6'/%3E%3Ccircle cx='100' cy='90' r='26' stroke='%2322d3ee'/%3E%3Cpath d='M100 74v12l9 6'/%3E%3C/g%3E%3C/svg%3E");
}
.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.6);
  background: linear-gradient(160deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04) 45%, rgba(34,211,238,0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 0 30px rgba(34, 211, 238, 0.10),
    0 18px 48px rgba(0,0,0,0.55), 0 0 26px rgba(34, 211, 238, 0.20);
}
.plan-card:hover::after { opacity: 0.22; }
.plan-card .pname { font-size: 15.5px; font-weight: 700; letter-spacing: .5px; display: flex; align-items: center; gap: 8px; }
.plan-card .pname .ico { color: var(--cyber2); }
.plan-card .pspec {
  display: inline-flex; width: fit-content; align-items: center; gap: 6px;
  background: var(--gold-soft); color: var(--gold2); padding: 2px 10px; border-radius: 7px;
  font-size: 12px; font-weight: 600; border: 1px solid rgba(216, 180, 90, 0.22);
}
.plan-card .pdesc { color: var(--muted); font-size: 12.5px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.plan-card .pregion {
  display: inline-flex; width: fit-content; align-items: center; gap: 6px;
  background: rgba(59, 130, 246, 0.12); color: #7db4ff;
  padding: 2px 10px; border-radius: 7px; font-size: 12px; font-weight: 600;
  border: 1px solid rgba(59, 130, 246, 0.28);
}
.plan-card .pprice { font-size: 23px; font-weight: 800; letter-spacing: .5px; color: var(--text); }
.plan-card .pprice .cur { color: var(--gold2); font-size: 14px; margin-right: 2px; }
.plan-card .pprice small { font-size: 12px; color: var(--muted2); font-weight: 400; }
.plan-card .pmeta { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--panel3); border: 1px solid var(--border-strong); color: var(--muted);
  font-size: 11.5px; padding: 2px 9px; border-radius: 999px; letter-spacing: .4px;
}

/* ---------- 购买流程 ---------- */
.how-it-works { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step-card {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow-card);
}
.step-card .step-num {
  width: 30px; height: 30px; border-radius: 9px; font-size: 14px; font-weight: 700;
  background: linear-gradient(135deg, #e2c06a, #c79c3f); color: var(--gold-ink);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.step-card h4 { font-size: 14.5px; margin-bottom: 6px; letter-spacing: .4px; }
.step-card p { color: var(--muted); font-size: 12.5px; }

/* ---------- 面板 / 表格 ---------- */
.panel {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-card);
}
.panel-head {
  padding: 15px 20px; border-bottom: 1px solid var(--border);
  font-weight: 650; letter-spacing: .5px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.panel-head .ico { color: var(--cyber2); }
.panel-body { padding: 20px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--border); }
th {
  color: var(--muted2); font-weight: 600; font-size: 11.5px; white-space: nowrap;
  letter-spacing: 1px; text-transform: uppercase;
}
tr:last-child td { border-bottom: none; }
tbody tr { transition: background .12s; }
tbody tr:hover { background: rgba(255, 255, 255, 0.018); }
.mono { font-family: "JetBrains Mono", Consolas, "Courier New", monospace; font-size: 12.5px; }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2.5px 11px; border-radius: 999px; font-size: 12px; white-space: nowrap; font-weight: 500;
}
.badge.ready, .badge.fulfilled { background: var(--green-soft); color: var(--green); }
.badge.creating, .badge.provisioning, .badge.paid { background: var(--orange-soft); color: var(--orange); }
.badge.expired, .badge.terminated, .badge.cancelled { background: rgba(142, 149, 161, .12); color: var(--muted); }
.badge.failed { background: var(--red-soft); color: var(--red); }
.badge.pending_payment, .badge.waiting_account, .badge.refunded { background: var(--cyber-soft); color: var(--cyber2); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.stat-card {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow-card);
}
.stat-card .v { font-size: 24px; font-weight: 800; color: var(--cyber2); letter-spacing: .5px; text-shadow: 0 0 18px rgba(34, 211, 238, 0.25); }
.stat-card .v.green { color: var(--green); text-shadow: 0 0 18px rgba(55, 201, 142, 0.25); }
.stat-card .k { color: var(--muted2); font-size: 12px; margin-top: 3px; letter-spacing: .6px; }

/* vCPU 占用条 */
.vbar { width: 100%; height: 6px; background: var(--bg2); border-radius: 999px; overflow: hidden; margin-top: 6px; }
.vbar-in { height: 100%; border-radius: 999px; transition: width .3s; }

/* ---------- 表单 ---------- */
.form-group { margin-bottom: 15px; }
.form-group label { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 6px; letter-spacing: .5px; }
.form-control {
  width: 100%; background: var(--bg2); border: 1px solid var(--border-strong); color: var(--text);
  padding: 10px 13px; border-radius: var(--radius-sm); font-size: 13.5px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
select.form-control { appearance: auto; }
textarea.form-control { resize: vertical; }

.auth-card { max-width: 400px; margin: 70px auto; }
.auth-card h2 { margin-bottom: 20px; text-align: center; letter-spacing: 1px; }

.radio-row { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-chip {
  border: 1px solid var(--border-strong); background: var(--bg2); color: var(--muted);
  padding: 6px 15px; border-radius: 999px; cursor: pointer; font-size: 13px; transition: all .15s;
}
.radio-chip:hover { color: var(--text); border-color: var(--muted); }
.radio-chip.on {
  border-color: var(--cyber); color: var(--cyber2);
  background: var(--cyber-soft); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.09), 0 0 12px rgba(34, 211, 238, 0.15);
}

/* ---------- 弹窗 / Toast ---------- */
.modal-mask { position: fixed; inset: 0; background: rgba(5, 6, 9, 0.68); backdrop-filter: blur(4px); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--border-strong); border-radius: 16px;
  width: 100%; max-width: 470px; max-height: 90vh; overflow: auto; padding: 26px;
  box-shadow: var(--shadow-pop);
}
.modal h3 { margin-bottom: 16px; font-size: 16.5px; letter-spacing: .5px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.modal h3 .ico { color: var(--gold2); }
.modal .m-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.modal .price-line {
  display: flex; justify-content: space-between; padding: 10px 0;
  border-top: 1px dashed var(--border-strong); margin-top: 6px; font-size: 13.5px;
}
.modal .price-line .big { font-size: 21px; font-weight: 800; color: var(--gold2); }

/* 固定弹窗(收银台等):点背景不关闭,防误触丢单 */
.modal-sticky .modal { border-color: rgba(34, 211, 238, 0.55); box-shadow: 0 0 0 4px var(--cyber-soft), var(--shadow-pop); }

.cred-box {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 11px;
  padding: 15px; font-family: Consolas, monospace; font-size: 13px; margin-top: 10px;
}
.cred-box .row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.cred-box .row .k { color: var(--muted2); white-space: nowrap; font-family: inherit; font-size: 12.5px; }
.cred-box .row .v { word-break: break-all; text-align: right; }

#toastRoot { position: fixed; top: 74px; right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--panel2); border: 1px solid var(--border-strong); border-left: 3px solid var(--cyber);
  padding: 11px 16px; border-radius: 10px; font-size: 13px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5); animation: slidein .2s ease;
}
.toast.ok { border-left-color: var(--green); }
.toast.err { border-left-color: var(--red); }
@keyframes slidein { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* 进行中订单浮标 */
.float-order {
  position: fixed; right: 20px; bottom: 20px; z-index: 150;
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid rgba(34, 211, 238, 0.55); border-radius: 13px;
  padding: 13px 17px; display: flex; align-items: center; gap: 11px;
  font-size: 13px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 0 20px rgba(34, 211, 238, 0.12);
  animation: slidein .25s ease;
}

/* 代理收银台会话条(多开) */
.cashier-bar {
  position: fixed; right: 20px; bottom: 20px; z-index: 160;
  display: flex; flex-direction: column; gap: 8px; max-width: 380px;
}
.cashier-chip {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--border-strong); border-left: 3px solid var(--cyber);
  border-radius: 10px; padding: 9px 13px; font-size: 12.5px; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); transition: all .15s;
  animation: slidein .2s ease;
}
.cashier-chip:hover { border-color: var(--cyber); }
.cashier-chip.on { border-left-color: var(--green); box-shadow: 0 0 16px rgba(34, 211, 238, 0.2); }

.empty { text-align: center; color: var(--muted2); padding: 44px 0; letter-spacing: .5px; }
.muted { color: var(--muted); }
.mt { margin-top: 18px; }
.mb { margin-bottom: 18px; }
.flex { display: flex; gap: 10px; align-items: center; }
.spin {
  display: inline-block; width: 14px; height: 14px; flex: none;
  border: 2px solid var(--border-strong); border-top-color: var(--cyber);
  border-radius: 50%; animation: rot .8s linear infinite;
}
@keyframes rot { to { transform: rotate(360deg); } }

/* ---------- 收银台 / 提货 ---------- */
.pay-box { display: grid; grid-template-columns: 190px 1fr; gap: 18px; align-items: start; }
@media (max-width: 640px) { .pay-box { grid-template-columns: 1fr; } }
.pay-box canvas { border: 1px solid var(--border-strong); border-radius: 11px; width: 100%; }
.pay-info { min-width: 0; }
.addr-row { display: flex; gap: 8px; align-items: center; }
.addr {
  flex: 1; background: var(--bg2); border: 1px solid var(--border-strong);
  border-radius: 9px; padding: 8px 11px; font-size: 12px; word-break: break-all; min-height: 37px;
}
.pay-status {
  background: var(--cyber-soft); border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 9px; padding: 11px 13px; font-size: 13px; margin-top: 15px;
  display: flex; align-items: center; gap: 9px;
}
.claim-card { max-width: 720px; margin: 34px auto 0; }
.recent-row {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 9px 4px; border-bottom: 1px dashed var(--border); font-size: 13px;
}
.recent-row:last-child { border-bottom: none; }
.panel-page { max-width: 980px; margin: 12px auto 0; }
.order-stats { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; padding: 12px 2px; }
.os-item .num { font-size: 21px; font-weight: 800; color: var(--cyber2); letter-spacing: .5px; text-shadow: 0 0 16px rgba(34, 211, 238, 0.3); }
.os-item .num.green { color: var(--green); }
.os-item .label { color: var(--muted2); font-size: 12px; letter-spacing: .5px; }

/* ---------- 地区分组选择器 ---------- */
.region-group { margin-bottom: 12px; }
.region-group:last-child { margin-bottom: 0; }
.region-group .rg-title {
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
  color: var(--muted2); margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.region-group .rg-title::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}
.region-group .radio-row { flex-wrap: wrap; gap: 7px; }

/* ---------- 管理后台 ---------- */
.pager {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border);
}
.admin-layout { display: grid; grid-template-columns: 206px 1fr; gap: 18px; align-items: start; }
.admin-side {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px; position: sticky; top: 82px; box-shadow: var(--shadow-card);
}
.admin-side a {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 13px; border-radius: 9px; color: var(--muted); font-size: 13.5px; margin-bottom: 2px;
  transition: all .12s;
}
.admin-side a:hover { color: var(--text); background: var(--panel3); }
.admin-side a.active { color: var(--cyber2); background: var(--cyber-soft); box-shadow: 0 0 12px rgba(34, 211, 238, 0.1) inset; }
@media (max-width: 800px) { .admin-layout { grid-template-columns: 1fr; } .admin-side { position: static; display: flex; flex-wrap: wrap; } }

/* 广告位管理 */
.banner-mini {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 11px; margin-bottom: 10px;
  background: var(--bg2);
}
.banner-mini .bn-swatch {
  width: 44px; height: 44px; flex: none; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
}
.bn-swatch.gold { color: #e8c97a; background: rgba(232, 201, 122, .1); border: 1px solid rgba(232, 201, 122, .3); }
.bn-swatch.emerald { color: #5fd9a4; background: rgba(95, 217, 164, .1); border: 1px solid rgba(95, 217, 164, .3); }
.bn-swatch.royal { color: #9db9f5; background: rgba(157, 185, 245, .1); border: 1px solid rgba(157, 185, 245, .3); }
.bn-swatch.obsidian { color: #d7d9e0; background: rgba(215, 217, 224, .08); border: 1px solid rgba(215, 217, 224, .28); }
.banner-mini .grow { flex: 1; min-width: 0; }
.banner-mini .t { font-weight: 650; font-size: 14px; }
.banner-mini .s { color: var(--muted2); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 可点击统计卡片 */
.stat-link { display: block; color: inherit; transition: transform .15s, border-color .15s, box-shadow .15s; }
.stat-link:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, 0.5); box-shadow: 0 14px 34px rgba(0,0,0,0.5), 0 0 18px rgba(34, 211, 238, 0.12); }
