:root {
  --gold: #D4AF37;           /* 核心：高奢哑光纯金 */
  --gold-dim: #8b7324;       /* 暗金色，用于边框 */
  --black: #000000;          /* 纯正黑 */
  --gray-dark: #111111;      /* 极深灰卡片背景 */
  --text-main: #ffffff;      /* 纯白文字 */
  --text-muted: #999999;
}

body.theme-luxury {
  background-color: var(--black);
  color: var(--text-main);
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  letter-spacing: 0.5px;
}

a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}

a:hover, .gold-text {
  color: var(--gold);
}

/* ================= Header ================= */
.header {
  background: var(--black);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.logo {
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-main);
}
.logo:hover {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0; height: 1px;
  bottom: -4px; left: 0;
  background-color: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
}

.tag-link { border: 1px solid var(--gold-dim); padding: 2px 8px; }
.tag-link::after { display: none; }

/* ================= Main ================= */
.main-container, .article-wrap {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.ad-banner { display: block; margin-bottom: 40px; border: 1px solid #222; }
.ad-banner img { width: 100%; display: block; opacity: 0.8; transition: opacity 0.3s; }
.ad-banner:hover img { opacity: 1; }

.section-header { text-align: center; margin-bottom: 40px; }
.section-title { 
  font-size: 18px; 
  letter-spacing: 3px; 
  font-weight: 400; 
  color: var(--gold); 
  margin: 0 0 15px; 
}
.title-divider { width: 1px; height: 30px; background: var(--gold); margin: 0 auto; }

/* 网格卡片 */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background: var(--gray-dark);
  border: 1px solid transparent;
  transition: all 0.4s ease;
}

.card:hover {
  border-color: var(--gold-dim);
}

.img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  display: block;
}

.card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(110%);
  transition: filter 0.5s, transform 0.8s;
}

.card:hover .card-img {
  filter: grayscale(0%) contrast(100%);
  transform: scale(1.03);
}

.card-info { padding: 18px 15px; text-align: center; }
.card-info h3 { 
  margin: 0 0 10px; 
  font-size: 14px; 
  font-weight: 400; 
  letter-spacing: 1px;
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis; 
}
.card-meta { display: flex; justify-content: center; gap: 15px; font-size: 11px; color: var(--text-muted); text-transform: uppercase; }
.badge { color: var(--gold); }

/* ================= 详情页相关 ================= */
.article-title { 
  font-size: 26px; 
  text-align: center; 
  font-weight: 300; 
  letter-spacing: 2px;
  margin-bottom: 20px; 
}
.article-meta { 
  text-align: center; 
  margin-bottom: 40px; 
  font-size: 12px; 
  color: var(--text-muted); 
  display: flex; 
  justify-content: center; 
  gap: 25px; 
  letter-spacing: 1px;
}

.luxury-viewer {
  margin: 0 auto;
  border: 1px solid var(--gray-dark);
  padding: 0;
  line-height: 0;
}
.luxury-viewer img { max-width: 100%; display: block; margin: 0 auto; }

/* 翻页按钮 */
.page-controls { display: flex; justify-content: center; gap: 30px; margin: 50px 0; }
.btn-outline {
  display: inline-block;
  color: var(--text-main);
  border: 1px solid var(--text-muted);
  padding: 12px 40px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: 0.3s;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* 面板通用类 (SEO与推荐区) */
.seo-box, .text-recommend {
  border-top: 1px solid #222;
  padding: 40px 0;
}

.seo-box-title, .seo-matrix-title, .text-recommend h3 {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 400;
}

.seo-content-wrap { position: relative; max-height: 120px; overflow: hidden; transition: max-height 0.8s ease; color: #888; font-size: 14px; }
.seo-content-wrap.is-open { max-height: 5000px; }
.seo-mask-luxury {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 80px;
  background: linear-gradient(to bottom, rgba(0,0,0,0), var(--black));
}

.seo-btn-wrap { text-align: center; margin-top: 20px; }
.seo-btn-luxury {
  display: inline-block; cursor: pointer;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 2px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.seo-btn-luxury:hover { color: #fff; border-color: #fff; }

.matrix-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.matrix-grid ul { list-style: none; padding: 0; margin: 0; }
.matrix-grid li { margin-bottom: 15px; font-size: 12px; letter-spacing: 1px; }
.matrix-grid li a { color: var(--text-muted); }
.matrix-grid li a:hover { color: var(--gold); }

.text-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 15px; }
.text-grid a {
  display: block;
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px solid #111;
  color: var(--text-muted);
}
.text-grid a:hover { color: var(--gold); border-bottom-color: var(--gold-dim); padding-left: 5px; }

/* ================= Footer ================= */
.footer { background: var(--black); border-top: 1px solid #222; padding: 60px 20px 30px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-bottom: 50px; }
.footer-col h4 { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 25px; font-weight: 400; }
.footer-col p { font-size: 13px; color: #666; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: #777; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.footer-links a:hover { color: var(--gold); }

.footer-center, .footer-bottom { text-align: center; font-size: 11px; letter-spacing: 2px; color: #555; max-width: 1200px; margin: 0 auto; }
.footer-links-inline { margin-bottom: 20px; }
.footer-links-inline a { margin: 0 20px; color: #777; }
.footer-links-inline a:hover { color: var(--gold); }

/* 响应式 */
@media (max-width: 768px) {
  .nav-container { flex-direction: column; gap: 20px; text-align: center; }
  .grid-cards { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 15px; }
  .article-title { font-size: 20px; }
  .article-meta { flex-direction: column; gap: 10px; }
}