:root {
  --ink: #0d1424;
  --muted: #697386;
  --line: #e4e8f0;
  --paper: #f5f7fb;
  --white: #ffffff;
  --navy: #070c19;
  --blue: #5968ff;
  --blue-dark: #4052df;
  --cyan: #6df2ff;
  --green: #12a66a;
  --red: #e5485d;
  --gold: #f0a600;
  --shadow: 0 18px 55px rgba(19, 31, 58, 0.10);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

.content-width,
.narrow-width {
  width: min(1180px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}
.narrow-width { width: min(760px, calc(100% - 48px)); }

/* ============ 头部 ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  padding: 0 clamp(22px, 5vw, 78px);
  display: flex;
  align-items: center;
  gap: 30px;
  color: #f8fbff;
  background: #080d1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.brand-logo {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: linear-gradient(135deg, #5968ff, #3ec7ff);
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 6px 18px rgba(89, 104, 255, 0.45);
}
.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.1vw, 34px);
  font-size: 14px;
}
.main-nav > a {
  position: relative;
  color: #bcc5d6;
  white-space: nowrap;
}
.main-nav > a:hover,
.main-nav > a.active { color: #ffffff; }
.main-nav > a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -25px;
  height: 2px;
  background: var(--cyan);
  transition: left .2s ease, right .2s ease;
}
.main-nav > a:hover::after,
.main-nav > a.active::after { left: 0; right: 0; }
.menu-button,
.mobile-auth { display: none; }
.menu-button {
  width: 42px;
  height: 40px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: transparent;
}
.menu-button span {
  width: 20px;
  height: 2px;
  margin: 4px auto;
  display: block;
  background: #ffffff;
}
.header-actions,
.auth-actions { display: flex; align-items: center; gap: 8px; }
.auth-login,
.auth-register {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .15s ease;
}
.auth-login { color: #dce4f4; border: 1px solid rgba(255, 255, 255, 0.18); }
.auth-register {
  color: #07101c;
  background: linear-gradient(135deg, #ffffff, #75efff);
}
.auth-login:hover, .auth-register:hover { transform: translateY(-1px); }
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dce4f4;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  min-height: 38px;
  padding: 0 12px;
  font-size: 13px;
}
.user-chip .coin {
  color: var(--gold);
  font-weight: 800;
}
.user-chip a { color: #8fa0bd; }
.user-chip a:hover { color: #fff; }

/* ============ 公告轮播 ============ */
.announcement-banner {
  position: relative;
  height: clamp(200px, 30vw, 330px);
  overflow: hidden;
  background: linear-gradient(120deg, #101b3a 0%, #1c2d63 55%, #16486b 100%);
}
.announcement-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .55s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 7vw;
  text-align: center;
}
.announcement-slide.is-active { opacity: 1; }
.announcement-copy h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(24px, 3.6vw, 40px);
  letter-spacing: .04em;
}
.announcement-copy p {
  margin: 0 auto;
  max-width: 620px;
  color: #b9c6e4;
  font-size: 15px;
  line-height: 1.8;
}
.announcement-copy .badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 14px;
  border: 1px solid rgba(109, 242, 255, 0.5);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: .12em;
}
.announcement-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.announcement-arrow:hover { background: rgba(255, 255, 255, 0.16); }
.announcement-arrow-left { left: clamp(14px, 3vw, 40px); }
.announcement-arrow-right { right: clamp(14px, 3vw, 40px); }

/* ============ 特色条 ============ */
.quick-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.quick-strip > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 12px;
  background: var(--white);
}
.quick-strip strong {
  color: var(--blue);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 900;
}
.quick-strip span { color: var(--muted); font-size: 14px; }

/* ============ 区块标题 ============ */
.section-heading,
.editorial-heading,
.company-profile-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 24px;
}
.section-heading h2,
.editorial-heading h2,
.company-profile-heading h2 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: .02em;
}
.section-heading p,
.editorial-heading p,
.company-profile-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.text-button span { transition: transform .2s ease; }
.text-button:hover span { transform: translateX(4px); }

/* ============ 分类 ============ */
.category-section { padding-top: 42px; }
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
  transition: all .2s ease;
}
.category-icon {
  min-width: 24px;
  height: 24px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--category-color, #5968ff) 14%, white);
  color: var(--category-color, #5968ff);
  font-size: 11px;
  font-weight: 900;
}
.category:hover { border-color: var(--category-color, var(--blue)); }
.category-active {
  border-color: var(--category-color, var(--blue));
  color: #fff;
  background: linear-gradient(135deg, var(--category-color, var(--blue)), color-mix(in srgb, var(--category-color, var(--blue)) 72%, #000));
}
.category-active .category-icon {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* ============ 商品卡片 ============ */
.products-section { padding: 28px 0 52px; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
  gap: 20px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(19, 31, 58, 0.04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  animation: fadeUp .4s ease both;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--product-color, var(--blue)) 45%, var(--line));
  box-shadow: var(--shadow);
}
.product-topline {
  position: absolute;
  top: 14px;
  left: 16px;
  display: flex;
  gap: 6px;
  z-index: 1;
}
.product-topline span:first-child {
  padding: 3px 9px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--product-color, var(--blue)), color-mix(in srgb, var(--product-color, var(--blue)) 65%, #000));
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.product-topline span:last-child {
  padding: 3px 8px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.product-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.55), transparent 55%),
    linear-gradient(135deg, var(--product-color, var(--blue)), color-mix(in srgb, var(--product-color, var(--blue)) 55%, #0b1230));
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .02em;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--product-color, var(--blue)) 38%, transparent);
}
.product-card h3 {
  margin: 0;
  text-align: center;
  font-size: 18px;
  letter-spacing: .02em;
}
.sales {
  margin: 6px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.product-coin-reward {
  margin: 8px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #a06a00;
  font-size: 12px;
  font-weight: 600;
}
.product-coin-reward .coin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe9a8, var(--gold) 70%);
  box-shadow: 0 0 0 3px rgba(240, 166, 0, 0.15);
}
.tags {
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.tags span {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
}
.product-card-price {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}
.product-card-price > div { color: var(--red); }
.product-card-price span { font-size: 14px; font-weight: 700; }
.product-card-price strong { font-size: 26px; font-weight: 900; }
.product-card-price small { color: var(--muted); font-size: 12px; font-weight: 400; }
.product-card-price del { color: #b3bbca; font-size: 12px; }
.product-card-actions {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.product-card-detail,
.product-card-buy {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
}
.product-card-detail {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--paper);
}
.product-card-detail:hover { border-color: #c3cbd9; }
.product-card-buy {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 8px 18px rgba(89, 104, 255, 0.28);
}
.product-card-buy:hover { filter: brightness(1.06); }
.products-empty {
  padding: 60px 20px;
  text-align: center;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.products-empty strong { display: block; font-size: 18px; }
.products-empty p { color: var(--muted); margin: 8px 0 0; font-size: 14px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ============ 公司介绍 ============ */
.company-profile { padding: 10px 0 52px; }
.company-profile-panel {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 0.8fr;
  gap: 26px;
  padding: 30px;
  border-radius: 22px;
  background:
    radial-gradient(600px 260px at 88% 20%, rgba(89, 104, 255, 0.14), transparent 60%),
    var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.company-profile-stats {
  display: grid;
  gap: 14px;
  align-content: start;
}
.company-profile-stats article {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--paper);
}
.company-profile-stats span { color: var(--muted); font-size: 13px; }
.company-profile-stats strong {
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
}
.company-profile-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: start;
}
.company-profile-features article {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .2s ease, transform .2s ease;
}
.company-profile-features article:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}
.company-profile-features b {
  color: var(--blue);
  font-size: 15px;
  line-height: 1.5;
}
.company-profile-features strong { display: block; font-size: 15px; }
.company-profile-features span { color: var(--muted); font-size: 12.5px; margin-top: 4px; display: block; }
.company-profile-visual {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #0b1430, #182a63);
  overflow: hidden;
}
.company-profile-visual i {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  filter: blur(10px);
  opacity: .55;
}
.company-profile-visual i:nth-child(1) { background: #5968ff; top: -34px; right: -30px; }
.company-profile-visual i:nth-child(2) { background: #3ec7ff; bottom: -40px; left: -30px; }
.company-profile-visual .big-logo {
  position: relative;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #5968ff, #3ec7ff);
  color: #fff;
  font-size: 36px;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(89, 104, 255, 0.5);
}

/* ============ 幻灵前沿 ============ */
.editorial-home { padding: 0 0 52px; }
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 16px;
}
.editorial-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, #1a2450, #0d1838);
  min-height: 190px;
}
.editorial-card-featured { grid-column: span 2; grid-row: span 2; }
.editorial-card-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  color: rgba(255, 255, 255, 0.85);
}
.editorial-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 12, 25, 0) 35%, rgba(7, 12, 25, 0.88) 100%);
}
.editorial-card-copy {
  position: relative;
  z-index: 1;
  padding: 18px;
  color: #fff;
}
.editorial-card-copy span {
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: .06em;
}
.editorial-card-copy h3 {
  margin: 6px 0 4px;
  font-size: 16px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.editorial-card-copy p {
  margin: 0 0 6px;
  color: #aab8d8;
  font-size: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.editorial-card-copy b { color: var(--cyan); font-size: 13px; font-weight: 600; }
.editorial-card-featured .editorial-card-copy h3 { font-size: 21px; }

/* ============ 幻灵值横幅 ============ */
.coin-home-banner {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 24px;
  padding: 32px clamp(24px, 4vw, 44px);
  border-radius: 22px;
  background: linear-gradient(120deg, #fff7e2, #ffe9bd 60%, #ffdc9c);
  border: 1px solid #f3dfae;
}
.coin-home-orb {
  flex: none;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, #fff3c4, var(--gold) 70%);
  box-shadow: 0 14px 34px rgba(240, 166, 0, 0.35);
  font-size: 34px;
}
.coin-home-banner h2 { margin: 0; font-size: clamp(18px, 2.2vw, 24px); }
.coin-home-banner p { margin: 6px 0 0; color: #8a6a1f; font-size: 13.5px; }
.coin-home-banner > a {
  margin-left: auto;
  flex: none;
  min-height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f5a623, #d98300);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(217, 131, 0, 0.35);
}

/* ============ 服务横幅 ============ */
.service-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(24px, 4vw, 44px);
  border-radius: 22px;
  background:
    radial-gradient(480px 200px at 90% 0%, rgba(109, 242, 255, 0.18), transparent 65%),
    linear-gradient(120deg, #0a1128, #101e4a);
  color: #fff;
  margin-bottom: 56px;
}
.service-banner h2 { margin: 0; font-size: clamp(18px, 2.2vw, 24px); }
.service-list { display: flex; gap: 22px; flex-wrap: wrap; }
.service-list span { color: #c7d2ea; font-size: 14px; }
.service-list b {
  color: var(--cyan);
  font-weight: 900;
  margin-right: 6px;
}

/* ============ 悬浮工具 ============ */
.floating-tools {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.floating-tools button,
.floating-tools a {
  width: 56px;
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(19, 31, 58, 0.14);
  font-size: 11px;
  color: var(--ink);
  backdrop-filter: blur(6px);
  transition: transform .2s ease;
}
.floating-tools button span,
.floating-tools a span { font-size: 18px; line-height: 1; }
.floating-tools button:hover,
.floating-tools a:hover { transform: translateY(-2px); color: var(--blue); }

/* ============ 弹窗 ============ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  border: 0;
  background: rgba(8, 13, 26, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn .2s ease;
}
.modal-dialog {
  position: relative;
  width: min(460px, 100%);
  padding: 30px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(8, 13, 26, 0.35);
  animation: popIn .25s ease;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  font-size: 18px;
  line-height: 1;
}
.modal-close:hover { background: var(--line); }
.modal-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.modal-heading > span {
  width: 44px;
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-size: 20px;
}
.modal-heading h2 { margin: 0; font-size: 19px; }
.modal-copy { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.modal-content { color: #3c465c; font-size: 14px; line-height: 1.85; }
.support-qr {
  margin: 4px auto 12px;
  width: 210px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    repeating-linear-gradient(0deg, #0d1424 0 3px, #fff 3px 8px) border-box;
  font-size: 30px;
  color: #0d1424;
  letter-spacing: -1px;
  font-family: monospace;
}
.modal-tip { text-align: center; color: var(--muted); font-size: 13px; margin: 0; }
.modal-footer {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.modal-footer span { color: #9aa4b6; font-size: 12px; }
.modal-footer button {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-weight: 700;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

/* ============ 页脚 ============ */
.site-footer {
  background: #070c19;
  color: #9aa7c2;
  margin-top: auto;
}
.footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 28px;
}
.footer-inner > div:first-child { max-width: 300px; }
.footer-inner .brand { color: #fff; margin-bottom: 12px; }
.footer-inner > div:first-child p { font-size: 13px; line-height: 1.7; margin: 8px 0 0; }
.footer-support { color: #6f7d99; }
.footer-nav-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-nav-column h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
}
.footer-nav-column a,
.footer-nav-column button {
  display: block;
  margin: 8px 0;
  border: 0;
  padding: 0;
  background: none;
  color: #7e8ba7;
  font-size: 13px;
  text-align: left;
}
.footer-nav-column a:hover,
.footer-nav-column button:hover { color: #dbe4f4; }
.copyright {
  display: block;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #5f6c88;
  font-size: 12px;
}

/* ============ 表单 ============ */
.form-card {
  width: min(440px, calc(100% - 40px));
  margin: 56px auto;
  padding: 34px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-card h1 { margin: 0 0 6px; font-size: 24px; }
.form-card > p { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfcfe;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { padding: 12px 14px; min-height: 96px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(89, 104, 255, 0.14);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(89, 104, 255, 0.28);
  transition: filter .2s ease, transform .15s ease;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }
.btn-ghost {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.form-error,
.form-ok {
  margin: 0 0 16px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13px;
  display: none;
}
.form-error.show { display: block; background: #fdeef0; color: var(--red); border: 1px solid #f6cdd4; }
.form-ok.show { display: block; background: #e9f8f1; color: var(--green); border: 1px solid #bfe8d5; }
.form-foot { margin-top: 18px; text-align: center; color: var(--muted); font-size: 13px; }
.form-foot a { color: var(--blue); font-weight: 700; }

/* ============ 商品详情 ============ */
.product-detail {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 34px;
  padding: 46px 0 26px;
}
.product-detail-icon {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  background:
    radial-gradient(300px 200px at 30% 20%, rgba(255, 255, 255, 0.35), transparent 55%),
    linear-gradient(145deg, var(--product-color, var(--blue)), color-mix(in srgb, var(--product-color, var(--blue)) 45%, #0b1230));
  color: #fff;
  font-size: 68px;
  font-weight: 900;
  box-shadow: 0 24px 60px color-mix(in srgb, var(--product-color, var(--blue)) 40%, transparent);
}
.product-detail-icon .rank-chip {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 5px 12px;
  border-radius: 10px;
  background: rgba(7, 12, 25, 0.55);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(4px);
}
.product-detail-info h1 { margin: 0 0 6px; font-size: 30px; }
.product-detail-info .sales { text-align: left; }
.product-detail-tags { display: flex; gap: 8px; margin: 12px 0 0; flex-wrap: wrap; }
.product-detail-tags span {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.product-detail-price {
  margin: 22px 0;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.product-detail-price span { color: var(--red); font-size: 18px; font-weight: 800; }
.product-detail-price strong { color: var(--red); font-size: 40px; font-weight: 900; }
.product-detail-price small { color: var(--muted); }
.product-detail-price del { color: #b3bbca; }
.product-detail-coin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff7e0;
  color: #a06a00;
  font-size: 13px;
  font-weight: 700;
}
.qty-row {
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.qty-row label { font-size: 14px; font-weight: 700; }
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  background: var(--white);
}
.qty-stepper button {
  width: 40px;
  height: 40px;
  border: 0;
  background: var(--paper);
  font-size: 18px;
}
.qty-stepper input {
  width: 52px;
  height: 40px;
  border: 0;
  text-align: center;
  outline: none;
  background: var(--white);
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.detail-buy {
  min-height: 52px;
  padding: 0 30px;
  font-size: 16px;
  border-radius: 13px;
}
.detail-stock { color: var(--muted); font-size: 13px; margin-top: 12px; }
.detail-stock b { color: var(--green); }
.product-detail-note {
  margin-top: 34px;
  padding: 22px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
}
.product-detail-note h2 { margin: 0 0 12px; font-size: 17px; }
.product-detail-note ul { margin: 0; padding-left: 20px; color: #3c465c; line-height: 2; font-size: 14px; }

/* ============ 结算页 ============ */
.checkout-wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 26px;
  padding: 44px 0;
  align-items: start;
}
.checkout-card,
.order-summary {
  padding: 28px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}
.checkout-card h1 { margin: 0 0 20px; font-size: 24px; }
.pay-tabs { display: flex; gap: 10px; margin-bottom: 18px; }
.pay-tab {
  flex: 1;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pay-tab .pay-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
}
.pay-icon.alipay { background: #1677ff; }
.pay-icon.wechat { background: #07c160; }
.pay-tab.active {
  border-color: var(--blue);
  color: var(--blue);
  background: #f2f4ff;
  box-shadow: 0 0 0 3px rgba(89, 104, 255, 0.12);
}
.order-summary h2 { margin: 0 0 16px; font-size: 18px; }
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.summary-line span { color: var(--muted); }
.summary-line strong { color: var(--ink); }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 16px;
}
.summary-total span { font-weight: 700; }
.summary-total strong { color: var(--red); font-size: 30px; font-weight: 900; }
.summary-coin { color: #a06a00; font-size: 13px; margin-top: 8px; display: flex; align-items: center; gap: 6px; }

/* 支付弹窗 */
.pay-modal-qr {
  margin: 8px auto 14px;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    repeating-linear-gradient(0deg, #0d1424 0 3px, #fff 3px 8px) border-box;
  font-size: 26px;
  font-family: monospace;
  letter-spacing: -2px;
  color: #0d1424;
}
.pay-amount { text-align: center; font-size: 15px; color: var(--muted); margin: 10px 0 18px; }
.pay-amount strong { color: var(--red); font-size: 26px; margin-left: 6px; }
.pay-actions { display: grid; gap: 10px; }

/* 支付结果 */
.result-box { padding: 44px 30px; text-align: center; }
.result-box .big-check {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #1fc97f, #0d9f61);
  color: #fff;
  font-size: 34px;
  box-shadow: 0 16px 38px rgba(18, 166, 106, 0.32);
}
.result-box h2 { margin: 0 0 8px; font-size: 24px; }
.result-box > p { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.card-list {
  margin: 18px 0;
  display: grid;
  gap: 10px;
  text-align: left;
}
.card-item {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.card-item div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; margin: 4px 0; }
.card-item b { font-family: Consolas, monospace; }
.card-item .copy-btn {
  flex: none;
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* ============ 订单查询 / 我的订单 ============ */
.query-card { margin-top: 52px; }
.order-list { display: grid; gap: 14px; }
.order-row {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.6fr 0.7fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  font-size: 14px;
}
.order-row b { display: block; margin-bottom: 4px; }
.order-row span { color: var(--muted); font-size: 12.5px; }
.order-status { font-weight: 800; }
.order-status.pending { color: var(--gold); }
.order-status.paid { color: var(--blue); }
.order-status.done { color: var(--green); }
.order-status.cancelled { color: #9aa4b6; }
.empty-state { padding: 60px 20px; text-align: center; color: var(--muted); background: var(--white); border: 1px dashed var(--line); border-radius: 16px; }

/* ============ 文章页 ============ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 40px 0 56px;
}
.article-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .22s ease, box-shadow .22s ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-card-media {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--cover-color, #5968ff), color-mix(in srgb, var(--cover-color, #5968ff) 45%, #0b1230));
  color: #fff;
  font-size: 40px;
  font-weight: 900;
}
.article-card-copy { padding: 18px; }
.article-card-copy span { color: var(--blue); font-size: 12px; }
.article-card-copy h3 { margin: 8px 0; font-size: 16px; line-height: 1.5; }
.article-card-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-detail {
  max-width: 720px;
  margin: 40px auto 60px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.article-detail h1 { margin: 0 0 8px; font-size: 28px; line-height: 1.4; }
.article-detail .meta { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.article-detail .content p { color: #3c465c; line-height: 2; font-size: 15px; margin: 0 0 16px; }

/* ============ 幻灵商城 ============ */
.rewards-hero {
  padding: 46px 0 10px;
  text-align: center;
}
.rewards-hero h1 { margin: 0 0 8px; font-size: 30px; }
.rewards-hero p { color: var(--muted); margin: 0; }
.rewards-balance {
  width: min(520px, calc(100% - 40px));
  margin: 26px auto;
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(120deg, #fff7e2, #ffe9bd);
  border: 1px solid #f3dfae;
  text-align: center;
}
.rewards-balance span { color: #8a6a1f; font-size: 14px; }
.rewards-balance strong { display: block; color: #c47d00; font-size: 40px; font-weight: 900; margin-top: 6px; }

/* ============ 静态页面 ============ */
.static-page { padding: 44px 0 60px; }
.static-page h1 { font-size: 28px; margin: 0 0 8px; }
.static-page > p.lead { color: var(--muted); margin: 0 0 26px; }
.static-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.static-card h2 { font-size: 18px; margin: 24px 0 10px; }
.static-card h2:first-child { margin-top: 0; }
.static-card p { color: #3c465c; line-height: 2; font-size: 14.5px; margin: 0 0 12px; }

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .menu-button { display: block; }
  .main-nav {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    padding: 24px;
    background: #080d1a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(100%);
    transition: transform .25s ease;
    align-items: stretch;
    overflow-y: auto;
  }
  .main-nav.nav-open { transform: none; }
  .main-nav > a { padding: 12px 4px; font-size: 16px; }
  .main-nav > a::after { display: none; }
  .mobile-auth {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .mobile-auth a {
    flex: 1;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
  }
  .mobile-auth .auth-login { border: 1px solid rgba(255,255,255,.2); }
  .mobile-auth .auth-register { background: linear-gradient(135deg, #fff, #75efff); color: #07101c; }
  .header-actions { display: none; }
  .quick-strip { grid-template-columns: repeat(2, 1fr); }
  .company-profile-panel { grid-template-columns: 1fr; }
  .company-profile-visual { min-height: 150px; }
  .editorial-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail-icon { width: 100%; max-width: 300px; margin: 0 auto; }
  .checkout-wrap { grid-template-columns: 1fr; }
  .order-row { grid-template-columns: 1fr 1fr; }
  .coin-home-banner, .service-banner { flex-direction: column; align-items: flex-start; }
  .coin-home-banner > a { margin-left: 0; }
}
@media (max-width: 560px) {
  .content-width, .narrow-width { width: calc(100% - 32px); }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .product-card { padding: 14px; }
  .product-card-price strong { font-size: 21px; }
  .product-icon { width: 52px; height: 52px; border-radius: 14px; font-size: 16px; }
  .product-card-actions { grid-template-columns: 1fr; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-card-featured { grid-column: span 1; grid-row: span 1; }
  .company-profile-features { grid-template-columns: 1fr; }
  .quick-strip > div { flex-direction: column; gap: 4px; text-align: center; }
  .summary-total strong { font-size: 24px; }
}
