/* ============================================================
 * style.css —— 高透液态毛玻璃风格 + 官网质感增强
 * ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
:root{
  --brand:#3b82f6; --brand-light:#63a4ff; --brand-dark:#2563eb;
  --text:#1e3552; --text-soft:#5c7699; --muted:#8ba3bd;
  --glass-bg:rgba(255,255,255,.55); --glass-border:rgba(255,255,255,.75);
  --radius:18px; --shadow:0 10px 30px rgba(110,155,215,.18);
}
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0; min-height:100vh; font-size:15px; line-height:1.65; color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;
  background-color:#eef5ff;
  background-image:
    radial-gradient(circle at 12% 15%, rgba(122,182,255,.45), transparent 42%),
    radial-gradient(circle at 88% 6%,  rgba(168,220,255,.50), transparent 40%),
    radial-gradient(circle at 78% 94%, rgba(146,176,255,.35), transparent 45%),
    linear-gradient(160deg, #eef6ff 0%, #f9fcff 50%, #e9f2fe 100%);
  background-attachment:fixed; -webkit-font-smoothing:antialiased;
}
a{ color:var(--brand); text-decoration:none; }
p{ margin:0 0 10px; }
img{ max-width:100%; display:block; }
.glass{
  background:var(--glass-bg);
  -webkit-backdrop-filter:blur(22px) saturate(180%);
  backdrop-filter:blur(22px) saturate(180%);
  border:1px solid var(--glass-border); border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.container{ width:100%; max-width:1180px; margin:0 auto; padding-left:16px; padding-right:16px; }
.main{ padding-top:22px; padding-bottom:48px; }
.navbar{ position:sticky; top:0; z-index:100; padding:12px 0; }
.nav-inner{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 18px; border-radius:16px; }
.logo{ display:inline-flex; align-items:center; gap:9px; font-size:17px; font-weight:700; color:var(--text); letter-spacing:.3px; }
.logo-dot{ width:10px; height:10px; border-radius:50%;
  background:linear-gradient(135deg,#7cc0ff,#3b82f6);
  box-shadow:0 0 10px rgba(59,130,246,.7); flex:none; }
.nav-links{ display:flex; align-items:center; gap:4px; flex-wrap:wrap; }
.nav-links a{ padding:7px 14px; border-radius:10px; color:var(--text-soft); font-size:14px; font-weight:500; transition:background .18s, color .18s; }
.nav-links a:hover{ background:rgba(255,255,255,.75); color:var(--brand-dark); }
.page-title{ font-size:22px; font-weight:700; margin:0 0 16px; color:var(--text); }
.page-title small{ font-size:13px; font-weight:400; color:var(--muted); margin-left:8px; }
.notice{ padding:18px 20px; margin-bottom:20px; }
.notice-title{ font-weight:700; color:var(--brand-dark); margin-bottom:6px; font-size:15px; }
.notice-body{ color:var(--text-soft); font-size:14px; white-space:pre-wrap; word-break:break-word; }
.cat-bar{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:18px; }
.chip{ padding:7px 16px; border-radius:999px; font-size:13.5px; color:var(--text-soft);
  background:rgba(255,255,255,.55); border:1px solid rgba(255,255,255,.8);
  -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); transition:.18s; }
.chip:hover{ color:var(--brand-dark); }
.chip.active{ background:linear-gradient(135deg,#63a4ff,#3b82f6); color:#fff; border-color:transparent;
  box-shadow:0 6px 16px rgba(59,130,246,.35); }
.goods-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(258px,1fr)); gap:16px; }
.goods-card{ padding:18px; display:flex; flex-direction:column; gap:10px; }
.goods-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.goods-head h3{ margin:0; font-size:16px; font-weight:600; line-height:1.45; color:var(--text); word-break:break-word; }
.goods-desc{ color:var(--text-soft); font-size:13.5px; margin:0; flex:1;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.goods-foot{ display:flex; align-items:flex-end; justify-content:space-between; }
.price{ font-size:20px; font-weight:700; color:var(--brand-dark); }
.price small{ font-size:12px; font-weight:500; }
.stock{ font-size:12.5px; color:var(--muted); }
.badge{ font-size:11.5px; padding:2px 9px; border-radius:999px; white-space:nowrap; font-weight:600; flex:none; }
.badge-ok{ background:rgba(22,163,74,.12); color:#15803d; }
.badge-no{ background:rgba(239,68,68,.12); color:#b91c1c; }
.badge-wait{ background:rgba(245,158,11,.14); color:#b45309; }
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:6px;
  padding:10px 20px; border-radius:12px; font-size:14px; font-weight:600; cursor:pointer;
  border:1px solid transparent; transition:.18s; text-align:center; font-family:inherit; line-height:1.2; white-space:nowrap; }
.btn-primary{ background:linear-gradient(135deg,#63a4ff,#3b82f6); color:#fff; box-shadow:0 8px 20px rgba(59,130,246,.32); }
.btn-primary:hover{ filter:brightness(1.05); box-shadow:0 10px 26px rgba(59,130,246,.42); }
.btn-ghost{ background:rgba(255,255,255,.72); border-color:rgba(255,255,255,.9); color:var(--text-soft); }
.btn-ghost:hover{ color:var(--brand-dark); }
.btn-danger{ background:rgba(239,68,68,.10); color:#b91c1c; border-color:rgba(239,68,68,.20); }
.btn-danger:hover{ background:rgba(239,68,68,.18); }
.btn-sm{ padding:6px 13px; font-size:13px; border-radius:10px; }
.btn-block{ width:100%; }
.btn-disabled{ background:rgba(255,255,255,.5); color:var(--muted); cursor:not-allowed; pointer-events:none; }
.form-group{ margin-bottom:16px; }
.form-label{ display:block; font-size:13.5px; font-weight:600; color:var(--text-soft); margin-bottom:7px; }
.form-control{ width:100%; padding:11px 14px; font-size:14.5px; font-family:inherit; color:var(--text);
  background:rgba(255,255,255,.70); border:1px solid rgba(255,255,255,.95); border-radius:12px;
  outline:none; transition:.18s; -webkit-appearance:none; appearance:none; }
.form-control:focus{ background:rgba(255,255,255,.95); border-color:rgba(99,164,255,.85); box-shadow:0 0 0 4px rgba(99,164,255,.16); }
textarea.form-control{ resize:vertical; min-height:110px; line-height:1.6; }
select.form-control{ padding-right:34px; }
.form-row{ display:flex; gap:14px; flex-wrap:wrap; }
.form-row > .form-group{ flex:1 1 180px; }
.form-hint{ font-size:12.5px; color:var(--muted); margin-top:6px; }
.panel{ padding:22px; margin-bottom:18px; }
.panel-title{ font-size:16px; font-weight:700; margin:0 0 14px; }
.table-wrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
table.data{ width:100%; border-collapse:collapse; font-size:14px; min-width:620px; }
table.data th, table.data td{ padding:11px 12px; text-align:left; border-bottom:1px solid rgba(140,175,220,.18); vertical-align:middle; }
table.data th{ font-weight:600; color:var(--text-soft); font-size:13px; white-space:nowrap; }
table.data tr:last-child td{ border-bottom:none; }
table.data td{ color:var(--text); word-break:break-word; }
table.data .mono{ font-family:ui-monospace,Menlo,Consolas,monospace; font-size:13px; }
.alert{ padding:12px 16px; border-radius:12px; font-size:14px; margin-bottom:16px; }
.alert-error{ background:rgba(239,68,68,.10); color:#b91c1c; border:1px solid rgba(239,68,68,.20); }
.alert-ok{ background:rgba(22,163,74,.10); color:#15803d; border:1px solid rgba(22,163,74,.20); }
.alert-info{ background:rgba(59,130,246,.09); color:#1d4ed8; border:1px solid rgba(59,130,246,.18); }
.card-secret{ background:rgba(255,255,255,.88); border:1px dashed rgba(99,164,255,.6); border-radius:14px;
  padding:16px; font-family:ui-monospace,Menlo,Consolas,monospace; font-size:14px;
  white-space:pre-wrap; word-break:break-all; color:#1b3a63; line-height:1.8; }
.info-list{ display:flex; flex-direction:column; gap:10px; }
.info-row{ display:flex; justify-content:space-between; gap:14px; font-size:14px; padding-bottom:10px;
  border-bottom:1px solid rgba(140,175,220,.15); }
.info-row:last-child{ border-bottom:none; padding-bottom:0; }
.info-row .k{ color:var(--muted); flex:none; }
.info-row .v{ color:var(--text); font-weight:500; text-align:right; word-break:break-all; }
.pay-methods{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:18px; }
.pay-method{ flex:1 1 130px; display:flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 12px; border-radius:14px; background:rgba(255,255,255,.6);
  border:1px solid rgba(255,255,255,.9); cursor:pointer; font-size:14px; font-weight:600;
  color:var(--text-soft); transition:.18s; }
.pay-method.active{ background:rgba(99,164,255,.16); border-color:rgba(99,164,255,.7); color:var(--brand-dark);
  box-shadow:0 6px 18px rgba(59,130,246,.18); }
.empty{ padding:40px 20px; text-align:center; color:var(--muted); font-size:14px; }
.auth-wrap{ max-width:420px; margin:9vh auto 0; padding:0 16px 40px; }
.auth-card{ padding:30px 26px; }
.auth-title{ font-size:20px; font-weight:700; text-align:center; margin:0 0 6px; }
.auth-sub{ text-align:center; color:var(--muted); font-size:13px; margin:0 0 22px; }
.stats{ display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:14px; margin-bottom:20px; }
.stat{ padding:18px 20px; }
.stat-label{ font-size:13px; color:var(--muted); }
.stat-value{ font-size:26px; font-weight:700; color:var(--brand-dark); margin-top:4px; line-height:1.2; }
.pagination{ display:flex; gap:6px; justify-content:center; margin-top:18px; flex-wrap:wrap; }
.pagination a, .pagination span{ min-width:36px; text-align:center; padding:7px 11px; border-radius:10px;
  background:rgba(255,255,255,.6); color:var(--text-soft); font-size:13.5px; border:1px solid rgba(255,255,255,.8); }
.pagination .active{ background:linear-gradient(135deg,#63a4ff,#3b82f6); color:#fff; border-color:transparent;
  box-shadow:0 6px 16px rgba(59,130,246,.3); }
.toolbar{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-bottom:16px; }
.toolbar .form-control{ width:auto; min-width:150px; }
.toolbar .grow{ flex:1; }
.row-actions{ display:flex; gap:6px; flex-wrap:wrap; }
.footer{ padding:26px 0 34px; text-align:center; color:var(--muted); font-size:13px; }
.footer p{ margin:0; }
.text-muted{ color:var(--muted); font-size:13px; }
.text-center{ text-align:center; }
.mt-8{ margin-top:8px; }
.mt-16{ margin-top:16px; }
.mb-16{ margin-bottom:16px; }
.w-100{ width:100%; }
.nowrap{ white-space:nowrap; }

/* ============================================================
   官网质感增强模块
   ============================================================ */

.navbar{ padding:14px 0; }
.nav-inner{
  background:rgba(255,255,255,.62);
  -webkit-backdrop-filter:blur(26px) saturate(200%);
  backdrop-filter:blur(26px) saturate(200%);
  box-shadow:0 6px 22px rgba(110,155,215,.14),
             inset 0 1px 0 rgba(255,255,255,.95);
}

.hero{
  padding:52px 30px;
  margin-bottom:22px;
  text-align:center;
  background:linear-gradient(135deg, rgba(255,255,255,.72), rgba(220,235,255,.62));
  box-shadow:0 18px 44px rgba(110,155,215,.20),
             inset 0 1px 0 rgba(255,255,255,.95);
}
.hero-title{
  font-size:34px; font-weight:800; margin:0 0 12px; letter-spacing:.5px;
  background:linear-gradient(135deg,#2563eb 0%,#60a5fa 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero-sub{
  color:var(--text-soft); max-width:680px; margin:0 auto;
  font-size:15.5px; line-height:1.75;
}
.hero-btns{
  display:flex; gap:12px; justify-content:center;
  margin-top:26px; flex-wrap:wrap;
}

.section{ margin-bottom:34px; }
.section-head{ text-align:center; margin-bottom:20px; }
.section-title{
  font-size:22px; font-weight:800; margin:0 0 6px; color:var(--text);
  letter-spacing:.3px;
}
.section-sub{ color:var(--muted); font-size:13.5px; margin:0; }

.features{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:16px; margin-bottom:6px;
}
.feature{
  padding:26px 22px; text-align:center;
  transition:transform .22s ease, box-shadow .22s ease;
  background:linear-gradient(160deg, rgba(255,255,255,.72), rgba(240,248,255,.55));
}
.feature:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 42px rgba(110,155,215,.22),
             inset 0 1px 0 rgba(255,255,255,.98);
}
.feature-icon{ font-size:30px; margin-bottom:12px; line-height:1; }
.feature-title{ font-size:15.5px; font-weight:700; margin:0 0 8px; color:var(--text); }
.feature-desc{ font-size:13.5px; color:var(--text-soft); margin:0; line-height:1.7; }

.goods-card{
  background:linear-gradient(160deg, rgba(255,255,255,.68), rgba(242,249,255,.55));
  -webkit-backdrop-filter:blur(24px) saturate(190%);
  backdrop-filter:blur(24px) saturate(190%);
  border:1px solid rgba(255,255,255,.85);
  box-shadow:0 8px 22px rgba(110,155,215,.14),
             inset 0 1px 0 rgba(255,255,255,.95);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.goods-card:hover{
  transform:translateY(-4px);
  border-color:rgba(99,164,255,.55);
  box-shadow:0 22px 44px rgba(110,155,215,.26),
             0 0 0 4px rgba(99,164,255,.08),
             inset 0 1px 0 rgba(255,255,255,.98);
}

.merchant-tag{
  display:inline-flex; align-items:center; gap:4px;
  font-size:11.5px; font-weight:600;
  color:var(--brand-dark);
  background:rgba(99,164,255,.13);
  padding:3px 10px; border-radius:999px;
  border:1px solid rgba(99,164,255,.18);
}
.merchant-tag.official{
  color:#15803d;
  background:rgba(22,163,74,.10);
  border-color:rgba(22,163,74,.20);
}

.notice{
  padding:20px 24px;
  background:linear-gradient(135deg, rgba(255,255,255,.72), rgba(230,242,255,.60));
  border-left:3px solid var(--brand-light);
  border-radius:16px;
  margin-bottom:22px;
}
.notice-title{
  display:flex; align-items:center; gap:6px;
  font-weight:700; color:var(--brand-dark);
  margin-bottom:8px; font-size:15px;
}

.footer{
  margin-top:20px;
  padding:38px 0 26px;
  background:rgba(255,255,255,.45);
  -webkit-backdrop-filter:blur(20px) saturate(180%);
  backdrop-filter:blur(20px) saturate(180%);
  border-top:1px solid rgba(255,255,255,.85);
}
.footer-cols{
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr;
  gap:32px;
  margin-bottom:26px;
}
.footer-col h4{
  font-size:14px; font-weight:700;
  color:var(--text);
  margin:0 0 12px;
  letter-spacing:.3px;
}
.footer-col p{
  color:var(--text-soft);
  font-size:13px;
  line-height:1.8;
  margin:0;
}
.footer-col a{
  display:block;
  color:var(--text-soft);
  font-size:13.5px;
  padding:4px 0;
  transition:color .18s;
}
.footer-col a:hover{ color:var(--brand-dark); }
.footer-bottom{
  padding-top:18px;
  border-top:1px solid rgba(140,175,220,.20);
  text-align:center;
}
.footer-bottom p{
  margin:0; color:var(--muted);
  font-size:12.5px; line-height:1.7;
}

@media (max-width:720px){
  body{ font-size:14.5px; }
  .nav-inner{ padding:9px 14px; border-radius:14px; }
  .logo{ font-size:15.5px; }
  .nav-links a{ padding:6px 10px; font-size:13px; }
  .goods-grid{ grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:12px; }
  .goods-card{ padding:14px; border-radius:16px; }
  .goods-head h3{ font-size:15px; }
  .price{ font-size:18px; }
  .panel{ padding:16px; border-radius:16px; }
  .page-title{ font-size:19px; }
  .stats{ grid-template-columns:repeat(2,1fr); gap:10px; }
  .stat{ padding:14px; }
  .stat-value{ font-size:22px; }
  .main{ padding-top:16px; padding-bottom:34px; }
  .toolbar .form-control{ width:100%; }
  .pay-methods{ gap:8px; }
  .pay-method{ flex:1 1 45%; padding:12px 10px; font-size:13px; }

  .hero{ padding:32px 18px; margin-bottom:16px; border-radius:18px; }
  .hero-title{ font-size:23px; }
  .hero-sub{ font-size:13.5px; }
  .hero-btns .btn{ padding:10px 18px; font-size:13.5px; }
  .section{ margin-bottom:24px; }
  .section-title{ font-size:18px; }
  .section-sub{ font-size:12.5px; }
  .features{ grid-template-columns:1fr 1fr; gap:10px; }
  .feature{ padding:16px 12px; border-radius:14px; }
  .feature-icon{ font-size:24px; margin-bottom:8px; }
  .feature-title{ font-size:13.5px; margin-bottom:4px; }
  .feature-desc{ font-size:12px; line-height:1.55; }
  .footer{ padding:26px 0 20px; }
  .footer-cols{ grid-template-columns:1fr; gap:18px; }
  .footer-col h4{ font-size:13.5px; margin-bottom:8px; }
  .footer-col p, .footer-col a{ font-size:12.5px; }
}
@media (max-width:400px){
  .goods-grid{ grid-template-columns:1fr 1fr; gap:10px; }
  .goods-card{ padding:12px; }
}
