/* 贵金属交易中心 PC端 全局样式规范 (金融商务风) */
:root {
  --primary: #102a45;       /* 主色调：交易中心深蓝 */
  --primary-dark: #091a2c;  /* 顶栏深黑蓝 */
  --accent: #d99a26;        /* 金融金色 */
  --accent-hover: #b87f19;  /* 金色hover */
  --accent-light: #fdf8ed;  /* 淡金底色 */
  --text-main: #333333;     /* 主要文字 */
  --text-muted: #777777;    /* 弱化文字/日期 */
  --border-color: #e5e5e5;  /* 边框分割线 */
  --bg-light: #f7f9fa;      /* 模块背景灰 */
  --table-head-bg: #293d52; /* 表格头部深蓝灰 */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.6;
  min-width: 1200px;
}

a { color: inherit; text-decoration: none; transition: all 0.25s ease; }
a:hover { color: var(--accent); }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* 容器与版心 */
.container { width: 1200px; margin: 0 auto; }
.clearfix::after { content: ""; display: table; clear: both; }

/* 头部导航栏 */
.site-header {
  background: #172b43;
  border-bottom: 2px solid var(--accent);
  position: relative;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}
.site-header-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
  display: block;
  flex-shrink: 0;
}
.logo-icon {
  width: 50px;
  height: 50px;
  background: radial-gradient(circle, #fbd268 0%, #d89614 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(216,150,20,0.3);
}
.logo-icon svg { width: 32px; height: 32px; fill: #102a45; }
.logo-text h1 {
  font-size: 22px;
  color: #fbd268;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0;
  line-height: 1.2;
}
.logo-text p {
  font-size: 11px;
  color: #c9d5e3;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0;
}

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  color: #ffffff;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 4px;
  position: relative;
  font-weight: 500;
}
.site-nav a:hover, .site-nav a.active {
  color: #fbd268;
  background: rgba(255,255,255,0.06);
}
.site-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 3px;
  background: #fbd268;
  border-radius: 2px;
}

/* 顶部大Banner (摩天大楼金融全屏视觉) */
.hero-banner {
  width: 100%;
  height: 380px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #102a45 0%, #1a4269 100%);
}
.hero-banner .banner-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}
.hero-banner .banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(16, 42, 69, 0.4) 0%, rgba(16, 42, 69, 0.2) 60%, rgba(16, 42, 69, 0.8) 100%);
}

/* 首页主体区块 */
.home-section {
  padding: 40px 0 30px;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 22px;
  padding-bottom: 8px;
  border-left: 4px solid var(--accent);
  padding-left: 12px;
}
.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #222222;
}
.section-title span.sub-en {
  font-size: 14px;
  color: var(--accent);
  margin-left: 8px;
  font-weight: normal;
}
.section-more {
  font-size: 13px;
  color: #d89614;
}
.section-more:hover { text-decoration: underline; color: #b87f19; }

/* 资讯图文模块布局 (行业资讯 & 中心动向) */
.news-layout {
  display: flex;
  gap: 30px;
}
.news-featured {
  width: 460px;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  height: 270px;
}
.news-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-featured:hover img {
  transform: scale(1.05);
}
.news-featured-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(16, 42, 69, 0.85);
  color: #ffffff;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.5;
  backdrop-filter: blur(2px);
}
.news-featured:hover .news-featured-caption {
  background: rgba(216, 150, 20, 0.9);
}

.news-list {
  flex: 1;
}
.news-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed #e8e8e8;
  font-size: 14px;
}
.news-item:first-child { padding-top: 0; }
.news-item a {
  display: flex;
  align-items: center;
  color: #333333;
  max-width: 580px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-item a::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #d89614;
  margin-right: 12px;
  flex-shrink: 0;
}
.news-item a:hover { color: #d89614; }
.news-item .date {
  color: #999999;
  font-size: 13px;
  margin-left: 20px;
  flex-shrink: 0;
}

/* 交收产品展示 (深色金融商务轮播) */
.section-goods {
  background: linear-gradient(180deg, #3d4e60 0%, #293848 100%);
  padding: 40px 0 50px;
  color: #ffffff;
  position: relative;
}
.section-goods .section-title {
  color: #ffffff;
}

.goods-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 25px;
}
.goods-carousel-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
}
.goods-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.goods-card {
  flex: 0 0 calc((100% - 60px) / 4);
  background: #202e3d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.goods-card:hover {
  transform: translateY(-6px);
  border-color: #fbd268;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 15px rgba(251, 210, 104, 0.2);
}
.goods-img-box {
  width: 100%;
  height: 190px;
  background: #111a24;
  overflow: hidden;
  position: relative;
}
.goods-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.goods-card:hover .goods-img-box img {
  transform: scale(1.08);
}
.goods-info {
  padding: 16px 12px;
  background: #202e3d;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.goods-name {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.goods-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 10px;
  background: rgba(251, 210, 104, 0.15);
  color: #fbd268;
  border: 1px solid rgba(251, 210, 104, 0.3);
}

/* 轮播切换按钮 */
.goods-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background: rgba(16, 26, 36, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  font-size: 24px;
  line-height: 38px;
  text-align: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.goods-arrow:hover {
  background: #d89614;
  border-color: #d89614;
  box-shadow: 0 0 12px rgba(216, 150, 20, 0.5);
}
.goods-arrow.prev { left: -22px; }
.goods-arrow.next { right: -22px; }

.goods-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
}
.goods-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.25s ease;
}
.goods-dots span.active {
  background: #fbd268;
  width: 24px;
  border-radius: 4px;
}

/* 内页二级页面布局 (左侧菜单 + 右侧内容) */
.page-layout {
  padding: 50px 0 80px;
  display: flex;
  gap: 40px;
}
.sidebar-nav {
  width: 240px;
  flex-shrink: 0;
  border-right: 1px solid #e2e7ec;
  padding-right: 30px;
}
.sidebar-title {
  font-size: 22px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}
.sidebar-title::before {
  content: "——";
  color: #333;
  margin-right: 8px;
}
.sidebar-menu a {
  display: block;
  padding: 12px 15px;
  font-size: 15px;
  color: #444444;
  border-bottom: 1px dashed #f0f0f0;
  border-radius: 4px;
  transition: all 0.2s;
}
.sidebar-menu a:hover, .sidebar-menu a.active {
  color: #d89614;
  font-weight: 600;
  padding-left: 22px;
}

.content-main {
  flex: 1;
  min-height: 480px;
}

/* 会员专区：会员查询 (还原截图1) */
.query-box-wrap {
  margin-bottom: 40px;
}
.query-title {
  font-size: 18px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 20px;
}
.query-form {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.query-input-group {
  position: relative;
  width: 440px;
}
.query-input {
  width: 100%;
  height: 42px;
  border: 1px solid #c4cbd4;
  border-radius: 4px;
  padding: 0 36px 0 14px;
  font-size: 14px;
  color: #1a202c;
  outline: none;
  background: #ffffff;
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}
.query-input:focus {
  border-color: #172b43;
  box-shadow: 0 0 0 3px rgba(23, 43, 67, 0.12);
}
.query-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: none;
  background: #e2e8f0;
  color: #64748b;
  border-radius: 50%;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}
.query-clear-btn:hover {
  background: #cbd5e1;
  color: #1e293b;
}
.query-btn {
  height: 42px;
  padding: 0 28px;
  background: #172b43;
  border: 1px solid #172b43;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
  letter-spacing: 2px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(23, 43, 67, 0.15);
}
.query-btn:hover {
  background: #254266;
  border-color: #254266;
  box-shadow: 0 4px 8px rgba(23, 43, 67, 0.2);
}

/* 快捷检索标签 */
.query-quick-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
  font-size: 13px;
  color: #64748b;
}
.quick-title {
  color: #475569;
  font-weight: 500;
}
.quick-tag-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 2px 10px;
  font-size: 12px;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}
.quick-tag-btn:hover {
  background: #172b43;
  border-color: #172b43;
  color: #ffffff;
}

/* 提示条与统计栏 */
.query-hint-bar {
  padding: 10px 14px;
  background: #f8fafc;
  border-left: 3px solid #172b43;
  border-radius: 2px;
  font-size: 13px;
  color: #475569;
  margin-bottom: 20px;
}
.hint-badge {
  background: #e2e8f0;
  color: #1e293b;
  padding: 1px 6px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  margin-right: 6px;
}
.query-summary-bar {
  padding: 10px 0;
  font-size: 14px;
  color: #334155;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 15px;
}

/* 旋转动画 */
.query-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #172b43;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: -2px;
  margin-right: 6px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 会员结果卡片 */
.member-result-card {
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  margin-bottom: 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}
.member-result-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.member-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.member-result-name {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.auth-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
.auth-valid {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.member-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}
.member-info-row {
  font-size: 14px;
  color: #334155;
  display: flex;
  align-items: baseline;
}
.member-info-row.full-width {
  grid-column: span 2;
}
.member-info-row span.label {
  color: #64748b;
  font-weight: 500;
  display: inline-block;
  min-width: 84px;
  flex-shrink: 0;
}
.member-info-row span.val {
  color: #1e293b;
}
.highlight-no {
  font-family: Consolas, monospace;
  font-weight: 700;
  color: #172b43 !important;
  font-size: 15px;
}
.link-site {
  color: #0284c7;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.link-site:hover {
  text-decoration: underline;
  color: #0369a1;
}
.app-name-badge {
  background: #eff6ff;
  color: #1d4ed8;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
}

/* 查无结果警告框 */
.query-empty-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: 6px;
  color: #92400e;
  margin-top: 15px;
}
.query-empty-card .empty-icon {
  flex-shrink: 0;
  margin-top: 4px;
}
.query-empty-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 8px;
}
.query-empty-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
}
.empty-notice {
  font-size: 13px !important;
  color: #78350f !important;
  background: rgba(255, 255, 255, 0.6);
  padding: 10px 12px;
  border-radius: 4px;
  margin-top: 10px;
  border-left: 3px solid #f59e0b;
}

/* 交易系统下载专区 (100% 还原截图3) */
.download-table-wrap {
  margin-top: 10px;
}
.client-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #4a5c6e;
}
.client-table th {
  background: #273747;
  color: #ffffff;
  font-size: 16px;
  padding: 16px 20px;
  font-weight: 600;
  border: 1px solid #4a5c6e;
}
.client-table td {
  padding: 22px 25px;
  border: 1px solid #b8c4ce;
  vertical-align: middle;
}
.client-table .col-name {
  width: 180px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #222222;
}
.download-link-btn {
  color: #d89614;
  font-size: 18px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 6px;
}
.download-link-btn:hover { color: #b87f19; text-decoration: underline; }
.download-subtext {
  font-size: 13px;
  color: #555555;
}

.download-tips-box {
  border: 1px solid #b8c4ce;
  border-top: none;
  padding: 20px 25px;
  font-size: 13px;
  color: #333333;
  line-height: 1.8;
  background: #ffffff;
}
.download-tips-title {
  font-weight: 700;
  margin-bottom: 6px;
}

/* 文档下载表格 */
.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}
.doc-table th {
  background: #f4f6f8;
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  color: #333;
  border-bottom: 2px solid #ddd;
}
.doc-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}
.doc-btn {
  display: inline-block;
  padding: 4px 14px;
  background: #172b43;
  color: #fff;
  border-radius: 3px;
  font-size: 12px;
}
.doc-btn:hover { background: #d89614; color: #fff; }

/* 文章详情页 */
.article-detail-wrap { padding: 10px 0; }
.article-header {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 25px;
}
.article-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 15px;
}
.article-meta {
  font-size: 13px;
  color: #888888;
  display: flex;
  justify-content: center;
  gap: 25px;
}
.article-body {
  font-size: 15px;
  line-height: 1.9;
  color: #333333;
  min-height: 260px;
}
.article-body p { margin-bottom: 18px; text-indent: 2em; }
.article-nav-page {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px dashed #e0e0e0;
  font-size: 14px;
  color: #666;
}
.article-nav-page p { margin-bottom: 8px; }

/* 页脚 Footer */
.site-footer {
  background: #102a45;
  color: #a4b7cc;
  padding: 45px 0 25px;
  font-size: 13px;
  line-height: 1.8;
  border-top: 4px solid var(--accent);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}
.footer-col h4 {
  color: #fbd268;
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 600;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  color: #7e95ad;
  font-size: 12px;
}

/* 公告通知模块 (左列表 + 右大图，完全还原截图) */
.notice-layout {
  display: flex;
  gap: 30px;
}
.notice-layout .news-list {
  flex: 1;
}
.notice-layout .news-featured {
  width: 480px;
  height: 250px;
  flex-shrink: 0;
}

/* 友情链接网格 (两行4列，完全还原截图) */
.links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px 35px;
  margin-top: 25px;
  padding-bottom: 20px;
}
.link-item {
  height: 75px;
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.link-item:hover {
  transform: translateY(-3px);
  border-color: #d99a26;
  box-shadow: 0 4px 12px rgba(217,154,38,0.15);
}
.link-item img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
}
