/* 藏金阁 · 黑金主题 */
:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1c1c1c;
  --gold: #c9a96e;
  --gold-bright: #e6c98a;
  --text: #f0ebe0;
  --text-dim: #9a938a;
  --border: rgba(201, 169, 110, 0.2);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

/* 导航 */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 16px 32px;
  display: flex; align-items: center; gap: 40px;
}
.logo {
  font-size: 22px; font-weight: 700; color: var(--gold);
  letter-spacing: 4px; font-family: "Songti SC", "SimSun", serif;
}
.nav-links { display: flex; gap: 32px; flex: 1; }
.nav-links a {
  font-size: 14px; color: var(--text-dim); transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.btn-outline {
  padding: 8px 20px; border: 1px solid var(--gold);
  border-radius: 20px; color: var(--gold); font-size: 13px;
  transition: all .2s;
}
.btn-outline:hover { background: var(--gold); color: #000; }

/* Hero */
.hero {
  position: relative; height: 720px; overflow: hidden;
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(201,169,110,0.15), transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(120,30,30,0.2), transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #1a1410 100%);
}
/* 如果你把凤凰图命名为 hero-bg.jpg 放到根目录，会自动覆盖上面的渐变 */
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: url('hero-bg.jpg') center right / cover no-repeat;
  opacity: 0.9;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  padding: 0 32px; width: 100%;
}
.hero-text { max-width: 560px; }
.hero-text h1 {
  font-size: 64px; font-weight: 800; line-height: 1.15;
  letter-spacing: 2px; margin-bottom: 24px;
}
.hero-sub {
  font-size: 16px; color: var(--text-dim); margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; }

.btn-gold {
  padding: 14px 36px; background: var(--gold); color: #000;
  border-radius: 30px; font-weight: 600; font-size: 15px;
  transition: all .2s;
}
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn-ghost {
  padding: 14px 36px; border: 1px solid var(--gold);
  border-radius: 30px; color: var(--gold); font-size: 15px;
  transition: all .2s;
}
.btn-ghost:hover { background: rgba(201,169,110,0.1); }

/* 模特区 */
.models {
  max-width: 1280px; margin: 0 auto;
  padding: 80px 32px;
}
.models-head {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px; margin-bottom: 40px;
}
.models-head h2 {
  font-size: 32px; font-weight: 700; letter-spacing: 2px;
}
.filters { display: flex; gap: 12px; flex-wrap: wrap; }
.filters select, .filters input {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text); padding: 10px 16px; border-radius: 8px;
  font-size: 14px; outline: none;
}
.filters select:focus, .filters input:focus { border-color: var(--gold); }

/* 卡片网格 */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border-radius: 16px; overflow: hidden;
  transition: all .3s;
  cursor: pointer;
}
.card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.card-photo {
  width: 100%; aspect-ratio: 3/4;
  background: #1a1a1a;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 14px;
  overflow: hidden;
}
.card-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.card:hover .card-photo img { transform: scale(1.05); }
.card-info { padding: 16px 20px 20px; }
.card-name {
  font-size: 20px; font-weight: 700; margin-bottom: 8px;
}
.card-tag {
  font-size: 13px; color: var(--gold);
}
.card-meta {
  font-size: 12px; color: var(--text-dim); margin-top: 6px;
}

.empty {
  text-align: center; padding: 80px 0;
  color: var(--text-dim); font-size: 15px;
}

/* 底部 */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 32px 40px;
  text-align: center;
}
.footer-logo {
  font-size: 24px; color: var(--gold); letter-spacing: 4px;
  font-family: "Songti SC", "SimSun", serif; margin-bottom: 12px;
}
.footer-desc { color: var(--text-dim); font-size: 14px; margin-bottom: 8px; }
.footer-copy { color: #555; font-size: 12px; }

/* 响应式 */
@media (max-width: 768px) {
  .nav-inner { padding: 12px 16px; gap: 16px; }
  .nav-links { display: none; }
  .hero { height: 520px; }
  .hero-text h1 { font-size: 40px; }
  .models { padding: 40px 16px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
}

/* 详情弹窗 */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.modal-mask { position: absolute; inset: 0; background: rgba(0,0,0,0.85); }
.modal-body {
  position: relative; max-width: 480px; width: 92%;
  max-height: 90vh; overflow-y: auto;
  background: var(--bg-card); border-radius: 20px;
  border: 1px solid var(--border);
}
.modal-close {
  position: absolute; top: 12px; right: 16px;
  font-size: 28px; color: var(--text-dim); cursor: pointer; z-index: 2;
}
.modal-close:hover { color: var(--gold); }
.modal-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 20px 20px 0 0; }
.modal-info { padding: 24px; }
.modal-name { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.modal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.modal-tag {
  padding: 4px 12px; border: 1px solid var(--gold);
  border-radius: 14px; font-size: 13px; color: var(--gold);
}
.modal-bio { font-size: 14px; color: var(--text-dim); line-height: 1.8; margin-top: 12px; }
