/* 深色艺术风主题样式 */
:root {
  --bg: #0b0b0c;
  --bg-soft: #121214;
  --panel: rgba(22,22,24,0.65);
  --text: #e8e8ea;
  --text-dim: #a7a7ad;
  --accent: #e3b04b;       /* 金色点缀 */
  --accent-2: #7a5cff;     /* 次级色 */
  --border: rgba(255,255,255,0.08);
  --shadow: 0 10px 30px rgba(0,0,0,.45);
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--text); text-decoration: none; }
.container { width: min(1100px, 92vw); margin: 0 auto; }
.section { padding: 64px 0; }
.section h3 { margin: 0 0 16px; font-size: 28px; letter-spacing: .5px; }
.subtle { color: var(--text-dim); font-size: 14px; }

.glass {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

/* 顶部 */
.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; background: rgba(11,11,12,.6); border-bottom: 1px solid var(--border); backdrop-filter: blur(6px); }
.brand { display: flex; align-items: center; gap: 12px; }
.logo { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #1a1a1c, #2b2b30); color: var(--accent); font-weight: 700; border: 1px solid var(--border); }
.name { margin: 0; font-size: 18px; }
.role { font-size: 12px; color: var(--text-dim); }
.nav a { margin-left: 18px; padding: 8px 12px; border-radius: 10px; color: var(--text-dim); transition: .2s ease; }
.nav a:hover { color: var(--text); background: rgba(255,255,255,.04); }

/* 英雄横幅 */
.hero { position: relative; height: 72vh; min-height: 420px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(.9) contrast(1.02) brightness(.9); transform: scale(1.02); }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 40%, transparent 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.88) 100%), linear-gradient(to bottom, rgba(0,0,0,.1), rgba(0,0,0,.75)); }
.hero-content { position: relative; z-index: 1; width: min(680px, 90vw); margin: 18vh auto 0; padding: 24px 28px; }
.hero h2 { margin: 0 0 10px; font-size: clamp(28px, 5vw, 44px); letter-spacing: .6px; }
.hero p { margin: 0 0 16px; color: var(--text-dim); line-height: 1.6; }
.btn-primary { display: inline-block; padding: 10px 16px; border-radius: 12px; color: #111; background: linear-gradient(135deg, var(--accent), #ffdd8a); font-weight: 600; box-shadow: 0 8px 20px rgba(227,176,75,.25); }
.btn-primary:hover { filter: brightness(.95); }

/* 关于 */
.about .about-card { padding: 22px; }
.about .facts { display: grid; gap: 8px; margin: 14px 0 0; padding: 0 0 0 18px; color: var(--text-dim); }

/* 过滤器 */
.filters { display: flex; gap: 8px; margin: 18px 0 10px; flex-wrap: wrap; }
.chip { padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--text-dim); cursor: pointer; transition: .2s; }
.chip:hover { color: var(--text); }
.chip.is-active { color: #111; background: var(--accent); border-color: transparent; }

/* 瀑布流 Masonry */
.masonry { column-count: 1; column-gap: 12px; }
@media (min-width: 640px) { .masonry { column-count: 2; } }
@media (min-width: 980px) { .masonry { column-count: 3; } }
.card { display: inline-block; margin: 0 0 12px; width: 100%; background: #131316; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; position: relative; }
.card img { width: 100%; height: auto; display: block; opacity: 0; transform: translateY(8px) scale(0.995); transition: opacity .4s ease, transform .4s ease; }
.card img.loaded { opacity: 1; transform: translateY(0) scale(1); }
.card .meta { padding: 10px 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.card .title { font-size: 14px; }
.card .sub { font-size: 12px; color: var(--text-dim); }

/* 联系 */
.contact .contact-card { padding: 22px; }
.links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.link { padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--border); }
.link:hover { background: rgba(255,255,255,.08); }

/* 底部 */
.site-footer { border-top: 1px solid var(--border); padding: 18px 0 28px; color: var(--text-dim); }

/* 灯箱 */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.84); display: none; align-items: center; justify-content: center; gap: 12px; z-index: 20; }
.lightbox.is-open { display: flex; }
.lb-stage { max-width: 92vw; max-height: 86vh; margin: 0; }
.lb-stage img { max-width: 100%; max-height: 72vh; border-radius: 12px; box-shadow: var(--shadow); }
.lb-stage figcaption { text-align: center; color: var(--text-dim); margin-top: 8px; font-size: 14px; }
.lb-close, .lb-prev, .lb-next { position: relative; border: 1px solid var(--border); background: rgba(255,255,255,.06); color: var(--text); width: 40px; height: 40px; border-radius: 10px; cursor: pointer; }
.lb-close { position: absolute; top: 16px; right: 16px; }
.lb-prev, .lb-next { font-size: 22px; display: grid; place-items: center; }
.lb-prev:hover, .lb-next:hover, .lb-close:hover { background: rgba(255,255,255,.1); }
