/* =====================================

   Variables

   ===================================== */

:root {

  --green-900: #1a3a2a;

  --green-800: #1f4d35;

  --green-700: #2d6a4f;

  --green-600: #40916c;

  --green-500: #52b788;

  --green-100: #d8f3dc;

  --green-50: #edf7f0;

  --warm-800: #5c3a21;

  --warm-600: #8d6e4e;

  --warm-400: #c4a882;

  --warm-200: #e8d5c0;

  --warm-100: #f5ebe1;

  --warm-50: #fcf7f0;

  --gold: #d4a04a;

  --gold-light: #f0d48a;

  --orange: #d97014;

  --red: #c2410c;

  --gray-900: #111827;

  --gray-800: #1f2937;

  --gray-700: #374151;

  --gray-600: #6b7280;

  --gray-400: #9ca3af;

  --gray-300: #d1d5db;

  --gray-200: #e5e7eb;

  --gray-100: #f3f4f6;

  --gray-50: #fafbfc;

  --white: #ffffff;

  --bg: #f8faf9;

  --radius-sm: 6px;

  --radius-md: 10px;

  --radius-lg: 14px;

  --radius-xl: 18px;

  --shadow-soft: 0 1px 2px rgba(0,0,0,0.04), 0 1px 4px rgba(0,0,0,0.04);

  --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 1px 6px rgba(0,0,0,0.03);

  --shadow-hover: 0 4px 20px rgba(0,0,0,0.08), 0 1px 8px rgba(0,0,0,0.04);

  --shadow-menu: 0 12px 40px rgba(0,0,0,0.12);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

}



*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {

  font-family: "Noto Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;

  color: var(--gray-900);

  background: var(--bg);

  line-height: 1.6;

  min-height: 100vh;

}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }



/* ===== Topbar ===== */

.topbar {

  background: var(--green-900);

  color: rgba(255,255,255,0.55);

  font-size: 12px;

  height: 34px;

  display: flex;

  align-items: center;

  border-bottom: 1px solid rgba(255,255,255,0.04);

}

.topbar .container { display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }

.topbar a { color: rgba(255,255,255,0.55); margin-left: 18px; font-size: 12px; transition: color 0.2s; }

.topbar a:hover { color: var(--gold-light); }

.topbar .topbar-left { display: flex; align-items: center; gap: 20px; }

.topbar .topbar-left span { color: rgba(255,255,255,0.4); }

.topbar .topbar-right { display: flex; align-items: center; }



/* ===== Header ===== */

.header {

  background: rgba(255,255,255,0.97);

  backdrop-filter: blur(16px);

  -webkit-backdrop-filter: blur(16px);

  border-bottom: 1px solid var(--gray-200);

  position: sticky;

  top: 0;

  z-index: 1000;

}

.header-inner { display: flex; align-items: center; height: 68px; gap: 28px; }

.logo {

  display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 900;

  font-family: "Noto Serif SC", serif; color: var(--green-900);

  white-space: nowrap; flex-shrink: 0; letter-spacing: -0.3px;

}

.logo-mark {

  width: 36px; height: 36px;

  background: linear-gradient(135deg, var(--green-700), var(--green-500));

  border-radius: 10px; display: flex; align-items: center; justify-content: center;

  color: #fff; font-size: 15px; font-weight: 800;

  box-shadow: 0 2px 8px rgba(45,106,79,0.25);

}

.cat-nav { display: flex; gap: 2px; height: 100%; position: relative; }

.cat-nav-item {

  display: flex; align-items: center; padding: 0 16px; font-size: 14px; font-weight: 500;

  color: var(--gray-700); cursor: pointer; position: relative; transition: color 0.2s;

  height: 100%; white-space: nowrap; border-radius: 6px 6px 0 0;

}

.cat-nav-item:hover, .cat-nav-item.active { color: var(--green-700); background: var(--green-50); }

.cat-nav-item.active::after {

  content: ""; position: absolute; bottom: 0; left: 12px; right: 12px;

  height: 2.5px; background: var(--green-600); border-radius: 2px 2px 0 0;

}

.cat-nav-item .arrow { font-size: 10px; margin-left: 4px; opacity: 0.4; }



/* ===== Search bar ===== */

.search-bar { flex: 1; max-width: 380px; position: relative; }

.search-bar input {

  width: 100%; height: 40px; border: 1.5px solid var(--gray-200);

  border-radius: 100px; padding: 0 16px 0 38px; font-size: 13px;

  outline: none; transition: all 0.3s; font-family: inherit; background: var(--gray-50);

}

.search-bar input:focus {

  border-color: var(--green-500); background: var(--white);

  box-shadow: 0 0 0 3px rgba(82,183,136,0.12);

}

.search-bar .search-icon {

  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);

  color: var(--gray-400); font-size: 14px; pointer-events: none;

}



/* ===== Header actions ===== */

.header-actions { display: flex; gap: 8px; margin-left: auto; flex-shrink: 0; align-items: center; }

.header-actions .btn-link { font-size: 13px; color: var(--gray-600); padding: 6px 12px; transition: color 0.2s; white-space: nowrap; }

.header-actions .btn-link:hover { color: var(--green-700); }

.header-actions .btn-publish {

  padding: 10px 22px; background: linear-gradient(135deg, var(--green-700), var(--green-600));

  color: #fff; border-radius: 100px; font-size: 13px; font-weight: 600;

  transition: all var(--transition); box-shadow: 0 2px 10px rgba(45,106,79,0.2); letter-spacing: 0.3px;

}

.header-actions .btn-publish:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(45,106,79,0.3); }

.mobile-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--gray-700); padding: 4px; }



/* ===== Hero ===== */

.hero {

  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 50%, var(--green-700) 100%);

  padding: 48px 0 44px; position: relative; overflow: hidden;

}

.hero::before {

  content: ""; position: absolute; inset: 0; pointer-events: none;

  background:

    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(212,160,74,0.08) 0%, transparent 70%),

    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(82,183,136,0.06) 0%, transparent 70%);

}

.hero::after {

  content: ""; position: absolute; bottom: 0; left: 0; right: 0;

  height: 40px; background: linear-gradient(to bottom, transparent, var(--bg)); z-index: 1;

}

.hero .container { position: relative; z-index: 2; }

.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 24px; }

.hero-text { flex: 1; }

.hero-text h1 {

  font-size: 32px; font-weight: 900; color: #fff; line-height: 1.2;

  margin-bottom: 8px; font-family: "Noto Serif SC", serif; letter-spacing: -0.5px;

}

.hero-text p { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.6; max-width: 480px; }

.hero-search {

  flex: 0 0 420px; background: rgba(255,255,255,0.08); backdrop-filter: blur(8px);

  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 20px;

}

.hero-search .search-row { display: flex; background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }

.hero-search .search-row select {

  padding: 0 12px; border: none; background: var(--gray-50); font-size: 13px;

  color: var(--gray-700); outline: none; cursor: pointer; font-family: inherit;

  min-width: 80px; border-right: 1px solid var(--gray-200);

}

.hero-search .search-row input { flex: 1; padding: 14px; border: none; font-size: 14px; outline: none; font-family: inherit; }

.hero-search .search-row button {

  padding: 0 24px; background: linear-gradient(135deg, var(--orange), #d97706);

  color: #fff; border: none; font-size: 14px; font-weight: 600; cursor: pointer; transition: opacity 0.2s;

}

.hero-search .search-row button:hover { opacity: 0.9; }

.hero-search .quick-links { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

.hero-search .quick-links span { font-size: 12px; color: rgba(255,255,255,0.4); }

.hero-search .quick-links a { font-size: 12px; color: rgba(255,255,255,0.7); padding: 2px 10px; border: 1px solid rgba(255,255,255,0.15); border-radius: 100px; transition: all 0.2s; }

.hero-search .quick-links a:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); color: #fff; }





/* ===== Hero (New Two-Button) ===== */
.hero-new { padding: 64px 0 56px; }
.hero-new .hero-content { text-align: center; }
.hero-badge {
  display: inline-block;
  background: rgba(212,160,74,0.15);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  border: 1px solid rgba(212,160,74,0.2);
}
.hero-new h1 {
  font-size: 40px; font-weight: 900; color: #fff;
  font-family: "Noto Serif SC", serif;
  line-height: 1.15; margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.hero-desc {
  font-size: 16px; color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
}
.hero-buttons {
  display: flex; gap: 20px; justify-content: center;
  margin-bottom: 24px;
}
.hero-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 32px;
  border-radius: var(--radius-lg);
  font-size: 15px;
  transition: all 0.25s;
  text-align: left;
  min-width: 220px;
  border: none; cursor: pointer;
}
.hero-btn-sell {
  background: linear-gradient(135deg, #d97014, #e8872a);
  color: #fff;
  box-shadow: 0 6px 24px rgba(217,112,20,0.3);
}
.hero-btn-sell:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(217,112,20,0.4);
}
.hero-btn-buy {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
}
.hero-btn-buy:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}
.btn-icon { font-size: 28px; flex-shrink: 0; }
.btn-text { display: flex; flex-direction: column; }
.btn-text strong { font-size: 17px; font-weight: 700; line-height: 1.3; }
.btn-text small { font-size: 12px; opacity: 0.7; margin-top: 2px; font-weight: 400; }
.hero-trust {
  font-size: 13px; color: rgba(255,255,255,0.35);
}
.hero-trust span { color: var(--gold-light); font-weight: 600; }

@media (max-width: 768px) {
  .hero-new { padding: 36px 0 32px; }
  .hero-new h1 { font-size: 26px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-btn { min-width: 0; width: 100%; max-width: 300px; padding: 14px 24px; }
  .btn-icon { font-size: 24px; }
  .btn-text strong { font-size: 15px; }
}

/* ===== Stats ===== */

.hero-stats { display: flex; gap: 32px; }

.hero-stats .stat { text-align: center; }

.hero-stats .num { font-family: "Inter", sans-serif; font-size: 26px; font-weight: 800; color: #fff; line-height: 1; }

.hero-stats .num span { color: var(--gold); }

.hero-stats .label { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 4px; }



/* ===== Section common ===== */

.section { padding: 40px 0; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }

.section-head h2 { font-size: 20px; font-weight: 700; color: var(--gray-900); display: flex; align-items: center; gap: 10px; font-family: "Noto Serif SC", serif; }

.section-head h2 .sub { font-size: 13px; font-weight: 400; color: var(--gray-400); font-family: "Noto Sans SC", sans-serif; }

.section-head .more { font-size: 13px; color: var(--gray-400); display: flex; align-items: center; gap: 4px; transition: color 0.2s; padding: 6px 12px; border-radius: 8px; }

.section-head .more:hover { color: var(--green-700); background: var(--green-50); }



/* ===== Categories ===== */

.cat-section { background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 24px 0; }

.cat-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0; }

.cat-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px; border-right: 1px solid var(--gray-100); transition: all 0.2s; cursor: pointer; }

.cat-item:last-child { border-right: none; }

.cat-item:hover { background: var(--green-50); }

.cat-item .icon-wrap { width: 48px; height: 48px; border-radius: 14px; background: var(--green-50); display: flex; align-items: center; justify-content: center; transition: all 0.3s; font-size: 22px; }

.cat-item:hover .icon-wrap { background: var(--green-700); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(45,106,79,0.2); }

.cat-item .label { font-size: 13px; font-weight: 500; color: var(--gray-700); transition: color 0.2s; }

.cat-item:hover .label { color: var(--green-700); }

.cat-item .count { font-size: 11px; color: var(--gray-400); }



/* ===== Layout ===== */

.content-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }



/* ===== Supply Grid ===== */

.supply-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.supply-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); overflow: hidden; transition: all var(--transition); position: relative; }

.supply-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: transparent; }

.supply-img { height: 150px; position: relative; overflow: hidden; background: var(--gray-100); display: flex; align-items: center; justify-content: center; font-size: 36px; }

.supply-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }

.supply-card:hover .supply-img img { transform: scale(1.08); }

.supply-img .badge { position: absolute; top: 8px; left: 8px; font-size: 11px; padding: 3px 10px; border-radius: 100px; font-weight: 600; }

.badge-new { background: var(--green-600); color: #fff; }

.badge-hot { background: var(--red); color: #fff; }

.supply-img .fav { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; background: rgba(255,255,255,0.85); backdrop-filter: blur(4px); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; opacity: 0; transition: opacity 0.2s; cursor: pointer; }

.supply-card:hover .fav { opacity: 1; }

.supply-body { padding: 12px 14px 14px; }

.supply-body h3 { font-size: 14px; font-weight: 600; color: var(--gray-900); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 2px; }

.supply-meta { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--gray-400); margin-bottom: 6px; }

.supply-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--gray-100); }

.supply-price { font-family: "Inter", sans-serif; font-size: 18px; font-weight: 700; color: var(--orange); line-height: 1; }

.supply-price .unit { font-size: 11px; font-weight: 400; color: var(--gray-400); }

.supply-orders { font-size: 11px; color: var(--gray-400); }



/* ===== Demand Panel ===== */

.demand-panel { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); overflow: hidden; position: sticky; top: 92px; }

.demand-panel .panel-head { padding: 16px 18px; border-bottom: 1px solid var(--gray-100); display: flex; justify-content: space-between; align-items: center; }

.demand-panel .panel-head h3 { font-size: 15px; font-weight: 700; color: var(--gray-900); display: flex; align-items: center; gap: 8px; }

.demand-panel .panel-head h3 .count { font-size: 12px; font-weight: 400; color: var(--gray-400); background: var(--gray-100); padding: 1px 8px; border-radius: 100px; }

.demand-panel .panel-head .action { font-size: 12px; color: var(--green-600); font-weight: 600; transition: color 0.2s; }

.demand-panel .panel-head .action:hover { color: var(--green-800); }

.demand-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; transition: all 0.15s; border-bottom: 1px solid var(--gray-100); cursor: pointer; }

.demand-item:last-child { border-bottom: none; }

.demand-item:hover { background: var(--green-50); }

.demand-info { flex: 1; min-width: 0; }

.demand-title { font-size: 13px; font-weight: 500; color: var(--gray-800); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 6px; }

.demand-title .time { font-size: 11px; color: var(--gray-400); font-weight: 400; white-space: nowrap; }

.demand-meta { font-size: 12px; color: var(--gray-400); margin-top: 2px; display: flex; align-items: center; gap: 6px; }

.demand-price { font-family: "Inter", sans-serif; font-size: 16px; font-weight: 700; color: var(--orange); white-space: nowrap; margin-left: 12px; }



/* ===== Suppliers ===== */

.suppliers-section { background: var(--white); margin-top: 20px; padding: 28px 0; }

.suppliers-scroll { display: flex; gap: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; scrollbar-width: thin; }

.suppliers-scroll::-webkit-scrollbar { height: 4px; }

.suppliers-scroll::-webkit-scrollbar-track { background: transparent; }

.suppliers-scroll::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 4px; }

.supplier-card { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: 100px; flex-shrink: 0; font-size: 13px; color: var(--gray-700); transition: all var(--transition); }

.supplier-card:hover { border-color: var(--green-500); background: var(--green-50); color: var(--green-700); box-shadow: 0 2px 8px rgba(45,106,79,0.08); transform: translateY(-1px); }

.supplier-card .avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; font-size: 14px; box-shadow: var(--shadow-soft); }



/* ===== CTA ===== */

.cta-section { padding: 56px 0; background: linear-gradient(135deg, var(--green-900), var(--green-800)); position: relative; overflow: hidden; }

.cta-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 30% 50%, rgba(212,160,74,0.06) 0%, transparent 70%), radial-gradient(ellipse 40% 50% at 70% 30%, rgba(82,183,136,0.05) 0%, transparent 70%); }

.cta-section .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }

.cta-text h2 { font-size: 26px; font-weight: 900; color: #fff; font-family: "Noto Serif SC", serif; line-height: 1.3; margin-bottom: 6px; }

.cta-text p { font-size: 14px; color: rgba(255,255,255,0.55); }

.cta-buttons { display: flex; gap: 12px; flex-shrink: 0; }

.cta-btn-primary { padding: 14px 32px; background: #fff; color: var(--green-800); border-radius: 100px; font-size: 15px; font-weight: 700; transition: all var(--transition); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }

.cta-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

.cta-btn-secondary { padding: 14px 28px; border: 1.5px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.8); border-radius: 100px; font-size: 14px; font-weight: 600; transition: all var(--transition); }

.cta-btn-secondary:hover { border-color: rgba(255,255,255,0.5); color: #fff; background: rgba(255,255,255,0.06); }



/* ===== Footer ===== */

.footer { background: var(--gray-900); color: rgba(255,255,255,0.45); padding: 48px 0 0; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.05); }

.footer-brand .logo { color: #fff; margin-bottom: 14px; }

.footer-brand p { font-size: 13px; line-height: 1.8; max-width: 260px; color: rgba(255,255,255,0.35); }

.footer h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: 0.5px; text-transform: uppercase; }

.footer a { display: block; font-size: 13px; color: rgba(255,255,255,0.35); margin-bottom: 8px; transition: all 0.15s; }

.footer a:hover { color: rgba(255,255,255,0.8); padding-left: 4px; }

.footer-btm { text-align: center; padding: 18px 0; font-size: 12px; color: rgba(255,255,255,0.15); line-height: 1.8; }



/* ===== Responsive ===== */

@media (max-width: 1024px) {

  .content-layout { grid-template-columns: 1fr; }

  .hero-top { flex-direction: column; }

  .hero-search { flex: 1; width: 100%; }

  .hero-text h1 { font-size: 28px; }

  .cat-grid { grid-template-columns: repeat(4, 1fr); }

  .cat-item:nth-child(4) { border-right: none; }

  .supply-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: repeat(3, 1fr); }

}

@media (max-width: 768px) {

  .topbar { display: none; }

  .cat-nav { display: none; }

  .search-bar { display: none; }

  .header-actions .btn-link { display: none; }

  .mobile-toggle { display: block; }

  .hero { padding: 32px 0; }

  .hero-text h1 { font-size: 24px; }

  .hero-stats { gap: 20px; }

  .hero-stats .num { font-size: 20px; }

  .hero-search .search-row { flex-wrap: wrap; }

  .hero-search .search-row select { width: 100%; border-right: none; border-bottom: 1px solid var(--gray-200); padding: 12px; }

  .hero-search .search-row button { flex: 1; padding: 12px; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  .cat-item { border-right: none; padding: 10px; border-bottom: 1px solid var(--gray-100); }

  .cta-section .container { flex-direction: column; text-align: center; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

}

@media (max-width: 480px) {

  .hero-text h1 { font-size: 20px; }

  .hero-stats { gap: 12px; }

  .hero-stats .num { font-size: 17px; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); }

  .supply-grid { grid-template-columns: 1fr; }

  .supply-img { height: 180px; }

  .footer-grid { grid-template-columns: 1fr; }

}



/* ===== Auth Pages (Login / Register) ===== */

.auth-page {

  min-height: calc(100vh - 180px);

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 60px 20px;

  background: linear-gradient(135deg, #f5f7f0 0%, #e8efe6 50%, #f0f3ec 100%);

}

.auth-card {

  background: #fff;

  border-radius: 20px;

  box-shadow: 0 8px 32px rgba(45,106,79,0.08), 0 2px 8px rgba(0,0,0,0.04);

  padding: 48px 40px 40px;

  width: 100%;

  max-width: 420px;

  transition: box-shadow 0.3s;

}

.auth-card:hover {

  box-shadow: 0 12px 40px rgba(45,106,79,0.12);

}

.auth-header { text-align: center; margin-bottom: 32px; }

.auth-logo {

  width: 56px; height: 56px; border-radius: 16px;

  background: linear-gradient(135deg, var(--green-700), var(--green-800));

  display: inline-flex; align-items: center; justify-content: center;

  margin-bottom: 16px;

}

.auth-logo-mark {

  font-size: 24px; font-weight: 900; color: #fff; font-family: Noto Serif SC, serif;

}

.auth-header h2 {

  font-size: 22px; font-weight: 700; color: var(--gray-800); margin: 0 0 6px;

}

.auth-header p {

  font-size: 14px; color: var(--gray-500); margin: 0;

}

.auth-form { display: flex; flex-direction: column; gap: 18px; }

.auth-field { display: flex; flex-direction: column; gap: 6px; }

.auth-label {

  font-size: 13px; font-weight: 600; color: var(--gray-700);

}

.auth-label .required { color: #e74c3c; margin-left: 2px; }

.auth-input {

  width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200);

  border-radius: 10px; font-size: 14px; font-family: inherit;

  transition: border-color 0.2s, box-shadow 0.2s; outline: none;

  box-sizing: border-box; background: var(--gray-50);

}

.auth-input:focus {

  border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(45,106,79,0.1);

  background: #fff;

}

.auth-input::placeholder { color: var(--gray-400); }

.auth-error {

  background: #fef2f2; color: #dc2626; font-size: 13px; padding: 10px 14px;

  border-radius: 8px; border: 1px solid #fecaca;

}

.auth-btn {

  width: 100%; padding: 14px; border: none; border-radius: 10px;

  background: linear-gradient(135deg, var(--green-700), var(--green-800));

  color: #fff; font-size: 15px; font-weight: 700; cursor: pointer;

  transition: all 0.2s; letter-spacing: 1px;

}

.auth-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(45,106,79,0.3); }

.auth-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.auth-footer {

  text-align: center; margin-top: 24px; font-size: 14px; color: var(--gray-500);

}

.auth-footer a { color: var(--green-700); font-weight: 600; text-decoration: none; }

.auth-footer a:hover { text-decoration: underline; }

.auth-back { text-align: center; margin-top: 12px; }

.auth-back a { font-size: 13px; color: var(--gray-400); text-decoration: none; }

.auth-back a:hover { color: var(--gray-600); }



/* ===== Member System ===== */

.member-hero { text-align:center; padding:32px 0 24px; border-bottom:1px solid var(--gray-100); margin-bottom:28px; }

.member-badge-lg { font-size:64px; line-height:1; margin-bottom:12px; }

.member-level-name { font-size:20px; font-weight:700; color:var(--gray-800); margin-bottom:4px; }

.member-score { font-size:28px; font-weight:800; color:var(--green-700); font-family:'Inter',sans-serif; }

.member-remaining { font-size:13px; color:var(--gray-500); margin-top:4px; }

.member-progress-section { margin-bottom:28px; }

.member-progress-section h3, .member-levels-grid h3, .member-posts-section h3 {

  font-size:14px; font-weight:700; color:var(--gray-700); margin:0 0 12px;

}

.member-progress-bar { height:8px; background:var(--gray-100); border-radius:100px; overflow:hidden; }

.member-progress-fill { height:100%; background:linear-gradient(90deg,var(--green-500),var(--green-700)); border-radius:100px; transition:width 0.5s; }

.member-progress-text { font-size:12px; color:var(--gray-500); margin-top:6px; }



.levels-table { display:flex; flex-direction:column; gap:8px; }

.level-row { display:flex; align-items:center; gap:14px; padding:12px 16px; border-radius:12px; border:1px solid var(--gray-100); transition:all 0.2s; }

.level-row:hover { border-color:var(--gray-200); box-shadow:0 2px 8px rgba(0,0,0,0.04); }

.level-row-active { border-color:var(--green-300); background:rgba(45,106,79,0.04); }

.level-row-icon { font-size:28px; flex-shrink:0; }

.level-row-info { flex:1; }

.level-row-name { font-size:14px; font-weight:700; color:var(--gray-800); }

.level-row-detail { font-size:12px; color:var(--gray-500); margin-top:2px; }

.level-row-status { flex-shrink:0; }

.level-current-tag { font-size:11px; padding:2px 8px; border-radius:100px; background:var(--green-700); color:#fff; font-weight:600; }



.member-posts-section { margin-top:28px; padding-top:24px; border-top:1px solid var(--gray-100); }

.member-post-list { display:flex; flex-direction:column; gap:6px; }

.member-post-item { display:flex; justify-content:space-between; align-items:center; padding:10px 14px; border-radius:8px; text-decoration:none; transition:background 0.2s; }

.member-post-item:hover { background:var(--gray-50); }

.member-post-title { font-size:14px; color:var(--green-700); font-weight:500; }

.member-post-date { font-size:12px; color:var(--gray-400); }

.member-empty { text-align:center; padding:24px; color:var(--gray-400); font-size:13px; }



.publish-member-info { padding:10px 16px; background:var(--green-50); border-radius:10px; font-size:13px; color:var(--green-700); margin-bottom:16px; display:flex; align-items:center; gap:8px; }

.publish-member-info .sep { color:var(--green-200); }



/* ===== 首页行情板块 ===== */

.section.market-section{background:var(--green-50);padding:48px 0;position:relative}

.market-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}

@media(max-width:768px){.market-grid{grid-template-columns:1fr}}

.market-card{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;background:var(--white);border:1px solid var(--gray-200);border-radius:var(--radius-md);transition:all var(--transition);box-shadow:var(--shadow-soft)}

.market-card:hover{border-color:var(--green-200);box-shadow:var(--shadow-hover);transform:translateY(-3px);background:var(--green-50);text-decoration:none}

.market-card .left{display:flex;flex-direction:column;gap:4px}

.market-card .left .product{font-size:15px;font-weight:600;color:var(--gray-900)}

.market-card .left .meta{font-size:11px;color:var(--gray-400)}

.market-card .right{text-align:right}

.market-card .right .price{font-size:20px;font-weight:800;color:var(--orange);font-family:"Inter",sans-serif;line-height:1.2}

.market-card .right .price .unit{font-size:11px;font-weight:500;color:var(--gray-400);margin-left:2px}

.market-card .right .trend{font-size:14px;margin-left:6px;font-weight:700}

.trend-up{color:#e53935}.trend-down{color:#43a047;}.trend-flat{color:var(--gray-300)}

.market-card .right .market{font-size:11px;color:var(--gray-300);margin-top:4px;font-weight:400}



/* ===== 首页资讯板块 V4 ===== */

.section.news-section{background:var(--bg);padding:48px 0;position:relative}

.news-index-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}

@media(max-width:768px){.news-index-grid{grid-template-columns:1fr}}

.news-index-card{background:var(--white);border:1px solid var(--gray-200);border-radius:var(--radius-md);padding:24px;transition:all var(--transition);display:flex;flex-direction:column;box-shadow:var(--shadow-card)}

.news-index-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover);border-color:transparent;text-decoration:none}

.news-index-card [class^="cat-tag-"]{display:inline-block;padding:3px 12px;border-radius:100px;font-size:11px;font-weight:600;color:#fff;margin-bottom:10px;align-self:flex-start}

.news-index-card h3{font-size:17px;font-weight:700;color:var(--gray-900);margin:0 0 10px;line-height:1.45;font-family:"Noto Serif SC",serif}
.news-index-card .summary{font-size:13px;color:var(--gray-600);line-height:1.6;margin-bottom:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex:1}
.news-index-card .meta{font-size:12px;color:var(--gray-400);margin-top:auto;display:flex;gap:16px}
.news-index-card .meta span{display:flex;align-items:center;gap:4px}

.cat-tag-政策{background:#1565c0}
.cat-tag-技术{background:#2e7d32}
.cat-tag-市场{background:#e65100}
.cat-tag-综合{background:#6a1b9a}

/* Counter */
.footer-counter { text-align: center; padding: 12px 0 8px; font-size: 13px; color: var(--green-300, #6ee7b7); }
.footer-counter .counter-sep { margin: 0 16px; opacity: 0.4; }
.footer-counter strong { font-weight: 700; font-size: 15px; }

/* ===== Price Page (V4) ===== */
.price-page { padding: 40px 0 60px; background: var(--bg); min-height: 60vh; }

.price-header { text-align: center; margin-bottom: 32px; }
.price-header h1 { font-family: Inter,Noto Sans SC,sans-serif; font-size: 28px; font-weight: 800; color: var(--green-900); margin: 0 0 8px; }
.price-header p { font-size: 14px; color: var(--gray-400); margin: 0; }

.price-stats { display: flex; justify-content: center; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.price-stat { background: #fff; border-radius: 12px; padding: 20px 32px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06); min-width: 120px; }
.price-stat-num { font-family: Inter,sans-serif; font-size: 28px; font-weight: 800; color: var(--green-700); line-height: 1.2; }
.price-stat-label { font-size: 12px; color: var(--gray-400); margin-top: 4px; }

.price-cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; justify-content: center; }
.price-cat-tab { display: inline-block; padding: 8px 18px; border-radius: 20px; font-size: 13px; font-weight: 500; color: var(--gray-500); background: #fff; border: 1px solid var(--gray-200); text-decoration: none; transition: all 0.2s; }
.price-cat-tab:hover { border-color: var(--green-400); color: var(--green-700); }
.price-cat-tab.active { background: var(--green-600); color: #fff; border-color: var(--green-600); }

.price-empty { text-align: center; padding: 60px 20px; color: var(--gray-300); font-size: 16px; }
.price-empty p { margin-top: 12px; }

.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 28px; }

.price-card { background: #fff; border-radius: 12px; padding: 18px 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); border: 1px solid var(--gray-100); transition: all 0.25s; cursor: default; }
.price-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }

.price-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.price-name { font-size: 15px; font-weight: 600; color: var(--green-900); }
.price-badge { font-size: 11px; padding: 2px 10px; border-radius: 10px; font-weight: 500; white-space: nowrap; }
.price-badge.up { background: #fef2f2; color: #dc2626; }
.price-badge.down { background: #eff6ff; color: #0284c7; }
.price-badge.stable { background: #f0fdf4; color: #16a34a; }

.price-value { font-family: Inter,sans-serif; font-size: 24px; font-weight: 800; color: var(--orange); line-height: 1.2; margin-bottom: 10px; }
.price-value small { font-size: 12px; font-weight: 500; color: var(--gray-400); margin-left: 2px; }

.price-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--gray-400); }

/* Category section header */
.price-section-title { display: flex; align-items: center; gap: 8px; margin: 24px 0 14px; }
.price-section-title .bar { width: 4px; height: 18px; background: var(--green-500); border-radius: 2px; flex-shrink: 0; }
.price-section-title span { font-size: 15px; font-weight: 600; color: var(--green-800); }
.price-section-title .count { font-size: 12px; color: var(--gray-400); font-weight: 400; }

/* 友情链接 */
.footer-links { text-align: center; padding: 20px 0 16px; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 10px; }
.footer-links-title { font-size: 12px; color: rgba(255,255,255,0.25); margin-bottom: 10px; letter-spacing: 1px; }
.footer-links-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.footer-links-list a { font-size: 13px; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.15s; display: inline; margin: 0; }
.footer-links-list a:hover { color: var(--green-400, #34d399); padding-left: 0; }
