/* theme5 暗金经典 — 基于 moban5.html */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --xl-gold: #c9a961;
  --xl-gold-dark: #a08040;
  --xl-gold-muted: #d4c4a8;
  --xl-black: #1a1a1a;
  --xl-dark: #252525;
  --xl-brown: #2c2416;
  --xl-brown-dark: #1a1510;
  --xl-text: #333;
  --xl-muted: #666;
  --xl-muted-light: #888;
  --xl-border: #e8e0d0;
  --xl-bg: #faf8f3;
  --xl-max: 1200px;
}

html { scroll-behavior: smooth; }

body.xl-site.theme-skin-dark-classic {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.8;
  color: var(--xl-text);
  background: var(--xl-bg);
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; display: block; }

.xl-preview-bar {
  background: #b45309;
  color: #fff;
  text-align: center;
  padding: 8px;
  font-size: 13px;
}

/* —— 导航 —— */
.xl-navbar {
  background: linear-gradient(135deg, var(--xl-black) 0%, #2d2d2d 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border-bottom: 3px solid var(--xl-gold);
}

.xl-nav-container {
  max-width: var(--xl-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  min-height: 70px;
  gap: 16px;
  flex-wrap: wrap;
}

.xl-logo {
  color: var(--xl-gold);
  font-size: clamp(18px, 3.5vw, 28px);
  font-weight: bold;
  padding: 15px 0;
  letter-spacing: clamp(2px, 0.5vw, 4px);
  flex-shrink: 0;
}

.xl-nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.xl-nav-menu a {
  display: block;
  color: #fff;
  padding: clamp(10px, 2vw, 20px) clamp(12px, 2vw, 25px);
  font-size: 15px;
  position: relative;
  white-space: nowrap;
}

.xl-nav-menu a:hover,
.xl-nav-menu a.active {
  color: var(--xl-gold);
  background: rgba(201, 169, 97, 0.1);
}

.xl-nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--xl-gold);
  transition: all 0.3s;
  transform: translateX(-50%);
}

.xl-nav-menu a:hover::after,
.xl-nav-menu a.active::after { width: 60%; }

.xl-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201, 169, 97, 0.4);
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.xl-nav-toggle span {
  display: block;
  height: 2px;
  background: var(--xl-gold);
  transition: transform 0.3s, opacity 0.3s;
}

.xl-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.xl-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.xl-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* —— Banner —— */
.xl-banner {
  background: linear-gradient(135deg, var(--xl-brown) 0%, var(--xl-brown-dark) 100%);
  color: #fff;
  text-align: center;
  padding: clamp(72px, 12vw, 120px) 20px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.xl-banner--img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44, 36, 22, 0.82) 0%, rgba(26, 21, 16, 0.88) 100%);
  z-index: 0;
}

.xl-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23c9a961" stroke-width="0.5" opacity="0.1"/></svg>') repeat;
  background-size: 100px;
  opacity: 0.3;
  z-index: 0;
}

.xl-banner-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.xl-banner h1 {
  font-size: clamp(28px, 6vw, 48px);
  margin-bottom: 20px;
  color: var(--xl-gold);
  letter-spacing: clamp(2px, 1.2vw, 8px);
  font-weight: 300;
}

.xl-banner p {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--xl-gold-muted);
  margin-bottom: 36px;
  letter-spacing: clamp(1px, 0.5vw, 2px);
}

.xl-banner-btn {
  display: inline-block;
  padding: 15px 50px;
  background: transparent;
  color: var(--xl-gold);
  border: 2px solid var(--xl-gold);
  font-size: 16px;
  letter-spacing: clamp(2px, 0.8vw, 4px);
}

.xl-banner-btn:hover {
  background: var(--xl-gold);
  color: var(--xl-black);
}

/* —— 通用 —— */
.xl-section { padding: clamp(48px, 8vw, 80px) 20px; }
.xl-section-inner { max-width: var(--xl-max); margin: 0 auto; }

.xl-section-title {
  text-align: center;
  margin-bottom: clamp(36px, 6vw, 60px);
}

.xl-section-title h2 {
  font-size: clamp(26px, 4vw, 36px);
  color: var(--xl-black);
  margin-bottom: 15px;
  font-weight: 400;
  letter-spacing: clamp(2px, 0.8vw, 6px);
}

.xl-section-title--light h2 { color: #fff; }
.xl-section-title--light p { color: var(--xl-muted-light); }

.xl-line {
  width: 60px;
  height: 3px;
  background: var(--xl-gold);
  margin: 0 auto;
}

.xl-section-title p {
  color: var(--xl-muted-light);
  margin-top: 15px;
  font-size: 14px;
  letter-spacing: 2px;
}

.xl-section-cta { text-align: center; margin-top: 40px; }
.xl-section-cta--link { margin-top: 30px; }

.xl-read-more {
  display: inline-block;
  color: var(--xl-gold);
  font-size: 14px;
  letter-spacing: 2px;
}

.xl-read-more:hover { color: var(--xl-gold-dark); }
.xl-read-more--light { color: var(--xl-gold); }

/* —— 关于 —— */
.xl-about-preview {
  background: #fff;
  border: 1px solid var(--xl-border);
  padding: clamp(28px, 5vw, 60px);
  display: flex;
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.xl-about-text { flex: 1; min-width: 0; }

.xl-about-text h3 {
  font-size: clamp(20px, 3vw, 24px);
  color: var(--xl-black);
  margin-bottom: 20px;
  font-weight: 400;
}

.xl-about-text p {
  color: var(--xl-muted);
  margin-bottom: 15px;
  text-align: justify;
}

.xl-highlight {
  color: var(--xl-gold);
  font-size: 18px;
  margin: 20px 0;
  padding-left: 20px;
  border-left: 3px solid var(--xl-gold);
}

.xl-about-img {
  flex: 0 0 clamp(240px, 38vw, 400px);
  height: clamp(220px, 32vw, 300px);
  background: #f5f0e8;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--xl-gold);
  font-size: 16px;
  border: 1px solid var(--xl-border);
}

/* —— 产品（深色区） —— */
.xl-products-section {
  background: var(--xl-black);
  padding: clamp(48px, 8vw, 80px) 20px;
}

.xl-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 30px);
  max-width: var(--xl-max);
  margin: 0 auto;
}

.xl-product-grid--page {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.xl-product-item {
  background: var(--xl-dark);
  border: 1px solid #333;
  transition: all 0.3s;
  display: block;
}

.xl-product-item:hover {
  transform: translateY(-5px);
  border-color: var(--xl-gold);
  box-shadow: 0 10px 30px rgba(201, 169, 97, 0.2);
}

.xl-product-img {
  height: clamp(180px, 28vw, 280px);
  background: #1f1f1f;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #333;
}

.xl-product-img .product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xl-product-img .product-img--placeholder {
  object-fit: contain;
  padding: 24px;
  opacity: 0.45;
}

.xl-product-info {
  padding: 25px 20px;
  text-align: center;
}

.xl-product-info h4 {
  color: var(--xl-gold);
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 400;
  letter-spacing: 2px;
}

.xl-product-info p {
  color: var(--xl-muted-light);
  font-size: 13px;
  margin-bottom: 12px;
}

.xl-contact-tip {
  color: var(--xl-gold) !important;
  font-size: 12px !important;
  letter-spacing: 1px;
  margin-bottom: 0 !important;
}

.xl-product-note {
  text-align: center;
  color: var(--xl-muted-light);
  font-size: 14px;
  margin-bottom: 28px;
}

.xl-products-section .xl-product-note { color: #888; margin-top: 0; margin-bottom: 28px; }

.xl-product-hint {
  text-align: center;
  color: var(--xl-muted-light);
  font-size: 14px;
  margin: 16px 0 24px;
}
.xl-product-hint--top { margin-top: 0; margin-bottom: 28px; }
.xl-product-hint--inline { margin: 16px 0 24px; text-align: center; }

/* —— 招商 —— */
.xl-join-section {
  background: linear-gradient(135deg, var(--xl-brown) 0%, var(--xl-brown-dark) 100%);
  padding: clamp(48px, 8vw, 80px) 20px;
  text-align: center;
  color: #fff;
}

.xl-join-content {
  max-width: 800px;
  margin: 0 auto;
}

.xl-join-content > h2 {
  font-size: clamp(26px, 4vw, 36px);
  color: var(--xl-gold);
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: clamp(2px, 0.8vw, 6px);
}

.xl-join-content > p {
  color: var(--xl-gold-muted);
  font-size: clamp(16px, 2.5vw, 18px);
  margin-bottom: 36px;
}

.xl-join-features {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 60px);
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.xl-join-feature { text-align: center; max-width: 160px; }

.xl-join-feature .icon {
  width: 80px;
  height: 80px;
  border: 2px solid var(--xl-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  color: var(--xl-gold);
}

.xl-join-feature h4 {
  color: var(--xl-gold);
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 400;
}

.xl-join-feature p {
  color: var(--xl-muted-light);
  font-size: 14px;
}

.xl-join-btn {
  display: inline-block;
  padding: 15px 60px;
  background: var(--xl-gold);
  color: var(--xl-black);
  font-size: 16px;
  letter-spacing: 4px;
  font-weight: bold;
}

.xl-join-btn:hover {
  background: var(--xl-gold-dark);
  transform: scale(1.05);
}

/* —— 资讯 —— */
.xl-news-list {
  max-width: 900px;
  margin: 0 auto;
}

.xl-news-item {
  display: flex;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid var(--xl-border);
  transition: all 0.3s;
  color: inherit;
  gap: 16px;
}

.xl-news-item:hover {
  padding-left: 10px;
  background: rgba(201, 169, 97, 0.04);
}

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

.xl-news-date {
  flex: 0 0 80px;
  text-align: center;
  margin-right: 14px;
}

.xl-news-date .day {
  font-size: clamp(28px, 4vw, 36px);
  color: var(--xl-gold);
  font-weight: 300;
  line-height: 1;
}

.xl-news-date .month {
  font-size: 14px;
  color: var(--xl-muted-light);
  margin-top: 5px;
}

.xl-news-content { flex: 1; min-width: 0; }

.xl-news-content h4 {
  font-size: 18px;
  color: var(--xl-black);
  margin-bottom: 8px;
  font-weight: 400;
  transition: color 0.3s;
}

.xl-news-item:hover .xl-news-content h4 { color: var(--xl-gold); }

.xl-news-content p {
  color: var(--xl-muted-light);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.xl-news-arrow {
  color: var(--xl-gold);
  font-size: 20px;
  flex-shrink: 0;
}

/* —— 联系（深色） —— */
.xl-contact-section {
  background: var(--xl-black);
  padding: clamp(48px, 8vw, 80px) 20px;
}

.xl-contact-info {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  text-align: center;
}

.xl-contact-card {
  padding: 40px 24px;
  border: 1px solid #333;
  transition: all 0.3s;
}

.xl-contact-card:hover {
  border-color: var(--xl-gold);
  background: rgba(201, 169, 97, 0.05);
}

.xl-contact-card .icon {
  font-size: 36px;
  color: var(--xl-gold);
  margin-bottom: 20px;
}

.xl-contact-card h4 {
  color: var(--xl-gold);
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 400;
  letter-spacing: 2px;
}

.xl-contact-card p {
  color: #aaa;
  font-size: 15px;
  line-height: 2;
  word-break: break-word;
}

.xl-contact-extra { margin-top: 40px; color: #ccc; }

/* —— 友商 —— */
.xl-peers { background: #fff; border-top: 1px solid var(--xl-border); }

.xl-peer-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.xl-peer-list a {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--xl-border);
  font-size: 14px;
  color: var(--xl-muted);
}

.xl-peer-list a:hover {
  border-color: var(--xl-gold);
  color: var(--xl-gold);
}

/* —— 页脚 —— */
.xl-footer {
  background: #111;
  padding: 30px 20px;
  text-align: center;
  border-top: 1px solid #222;
}

.xl-footer-links {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}

.xl-footer-links a { color: #555; font-size: 14px; }
.xl-footer-links a:hover { color: var(--xl-gold); }

.xl-footer p {
  color: #555;
  font-size: 14px;
  margin: 5px 0;
}

.xl-footer a { color: var(--xl-gold); }
.xl-footer-tip { margin-top: 10px !important; font-size: 12px !important; }

/* —— 内页 —— */
.xl-page-banner {
  background: linear-gradient(135deg, var(--xl-black) 0%, #2d2d2d 100%);
  color: #fff;
  padding: clamp(40px, 7vw, 64px) 20px clamp(32px, 5vw, 48px);
  text-align: center;
  border-bottom: 3px solid var(--xl-gold);
}

.xl-page-banner--compact { text-align: left; padding: 32px 20px 28px; }

.xl-page-tag {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--xl-gold);
  margin-bottom: 10px;
}

.xl-page-banner h1 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--xl-gold);
}

.xl-breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 12px;
}

.xl-breadcrumb a:hover { color: var(--xl-gold); }
.xl-breadcrumb span { margin: 0 6px; opacity: 0.5; }

.xl-back {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.xl-back:hover { color: var(--xl-gold); }

.xl-page-body { padding-top: 0; }

.xl-prose {
  max-width: 860px;
  margin: 0 auto;
  color: var(--xl-muted);
  line-height: 1.9;
  font-size: 16px;
}

.xl-prose p { margin-bottom: 1em; }
.xl-prose img { max-width: 100%; height: auto; margin: 1em auto; }
.xl-prose h2, .xl-prose h3 { color: var(--xl-black); margin: 1.4em 0 0.6em; }

.xl-empty { text-align: center; color: var(--xl-muted-light); padding: 40px 0; }

.xl-product-detail .xl-product-hero {
  max-width: 480px;
  margin: 0 auto 24px;
  border: 1px solid var(--xl-border);
  overflow: hidden;
  background: #1f1f1f;
}

.xl-product-detail .xl-product-hero .product-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.xl-product-detail .xl-product-hero .product-img--placeholder {
  object-fit: contain;
  padding: 40px;
  opacity: 0.5;
}

.xl-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 15px;
}

.xl-product-meta span { color: var(--xl-muted-light); margin-right: 8px; }
.xl-product-meta strong { color: var(--xl-gold-dark); }

.xl-article-meta {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.xl-article-related {
  max-width: 860px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--xl-border);
}

.xl-article-related h3 {
  font-size: 18px;
  color: var(--xl-black);
  margin-bottom: 16px;
}

.xl-article-related ul { list-style: none; }

.xl-article-related li {
  padding: 12px 0;
  border-bottom: 1px solid var(--xl-border);
}

.xl-article-related a { color: var(--xl-muted); }
.xl-article-related a:hover { color: var(--xl-gold); }

.xl-pagination {
  margin-top: 32px;
  text-align: center;
}

.xl-pagination ul {
  list-style: none;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.xl-pagination a,
.xl-pagination span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--xl-border);
  font-size: 14px;
  color: var(--xl-muted);
  background: #fff;
}

.xl-products-section .xl-pagination a,
.xl-products-section .xl-pagination span {
  background: var(--xl-dark);
  border-color: #333;
  color: #aaa;
}

.xl-pagination a:hover,
.xl-pagination .active span {
  background: var(--xl-gold);
  border-color: var(--xl-gold);
  color: var(--xl-black);
}

/* —— 响应式 —— */
@media (max-width: 992px) {
  .xl-product-grid { grid-template-columns: repeat(2, 1fr); }
  .xl-contact-info { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .xl-nav-toggle { display: flex; }

  .xl-nav-wrap {
    width: 100%;
    order: 3;
    display: none;
  }

  .xl-nav-wrap.is-open { display: block; }

  .xl-nav-menu {
    flex-direction: column;
    width: 100%;
    margin: 0 -20px;
    width: calc(100% + 40px);
    background: #2d2d2d;
    padding-bottom: 8px;
    display: none;
  }

  .xl-nav-menu.open { display: flex; }

  .xl-nav-menu a::after { display: none; }

  .xl-about-preview {
    flex-direction: column;
  }

  .xl-about-img {
    flex: none;
    width: 100%;
  }

  .xl-join-features { flex-direction: column; align-items: center; gap: 24px; }

  .xl-news-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .xl-news-date { margin-right: 0; margin-bottom: 8px; }

  .xl-news-item:hover { padding-left: 0; }

  .xl-contact-info { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
  .xl-product-grid { grid-template-columns: 1fr; }
}
