﻿:root {
  --bg: #120917;
  --panel: #1e1028;
  --text: #f6f0ff;
  --muted: #c8bbd9;
  --accent: #ff4fa0;
  --accent2: #7b61ff;
}
* { box-sizing: border-box; }
body { margin:0; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; background: radial-gradient(circle at top right,#2a1637,#120917 45%); color: var(--text); line-height:1.8; }
a { color:#ff8ac2; text-decoration:none; }
a:hover { color:#ffd1e8; }
.container { width:min(1120px,92vw); margin:0 auto; }
.site-header { position:sticky; top:0; z-index:50; background:rgba(15,8,22,.9); backdrop-filter: blur(10px); border-bottom:1px solid rgba(255,255,255,.1); }
.nav-wrap { display:flex; justify-content:space-between; align-items:center; min-height:68px; }
.brand { display:flex; gap:10px; align-items:center; color:#fff; font-weight:700; }
.brand img { width:40px; height:40px; border-radius:10px; }
.menu-toggle { display:none; border:1px solid rgba(255,255,255,.2); background:rgba(255,255,255,.06); color:#fff; font-size:22px; line-height:1; width:42px; height:42px; border-radius:10px; cursor:pointer; }
.site-nav { display:flex; gap:18px; flex-wrap:wrap; align-items:center; }
.site-nav a { color:#eadcff; font-size:14px; }
.download-strip { position:sticky; top:68px; z-index:40; background:rgba(19,10,27,.95); border-bottom:1px solid rgba(255,255,255,.08); padding:8px 0; }
.download-strip { width:100%; }
.download-strip a { display:flex; flex-direction:column; align-items:center; padding:6px 2px; border-radius:12px; background:rgba(255,255,255,.04); color:var(--text); font-size:11px; }
.download-strip-inner { width:min(1120px,92vw); margin:0 auto; display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:8px; }
.download-strip img { width:40px; height:40px; border-radius:10px; object-fit:cover; margin-bottom:4px; }
.top-ad { padding:14px 0 4px; }
#ads { width:min(1120px,92vw); margin:0 auto; display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:10px; }
#ads figure { margin:0; text-align:center; }
#ads img { width:56px; height:56px; border-radius:14px; object-fit:cover; box-shadow:0 8px 22px rgba(0,0,0,.32); }
#ads .caption { display:block; color:#cfbfdf; font-size:11px; margin-top:6px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hero { display:grid; grid-template-columns:3fr 7fr; gap:24px; padding:26px 0 10px; align-items:start; }
.hero-image img { width:100%; border-radius:18px; border:1px solid rgba(255,255,255,.12); }
.btn { display:inline-block; background:linear-gradient(135deg,var(--accent),var(--accent2)); color:#fff; padding:11px 18px; border-radius:999px; font-weight:700; }
.intro-grid, .mixed-layout, .text-block, .feature-gallery, .sub-page { padding:22px 0; }
.card, .mini-card, .sub-page article, .error-page { background:var(--panel); border:1px solid rgba(255,255,255,.08); border-radius:18px; padding:18px; }
.intro-grid { display:grid; gap:16px; }
.image-card { display:grid; grid-template-columns:3fr 7fr; gap:16px; }
.image-card img { width:100%; border-radius:12px; }
.gallery-item { display:grid; grid-template-columns:3fr 7fr; gap:18px; margin:16px 0; align-items:center; }
.gallery-item.reverse { grid-template-columns:7fr 3fr; }
.gallery-item img { width:100%; border-radius:16px; border:1px solid rgba(255,255,255,.1); }
.cards-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.breadcrumb { margin:10px 0 14px; color:var(--muted); }
.site-footer { margin-top:20px; border-top:1px solid rgba(255,255,255,.08); padding:18px 0 30px; color:var(--muted); }
.footer-links { display:flex; gap:14px; flex-wrap:wrap; }
@media (max-width: 900px) {
  .hero, .image-card, .gallery-item, .gallery-item.reverse { grid-template-columns:1fr; }
  #ads { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .download-strip { top:64px; padding:8px 10px; }
  .download-strip-inner { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .menu-toggle { display:inline-flex; align-items:center; justify-content:center; }
  .site-nav { display:none; position:absolute; top:68px; left:0; right:0; padding:10px 4vw 14px; background:rgba(15,8,22,.98); border-bottom:1px solid rgba(255,255,255,.1); gap:10px; }
  .site-nav.is-open { display:flex; flex-direction:column; align-items:flex-start; }
  .site-nav a { width:100%; background:rgba(255,255,255,.05); border-radius:10px; padding:8px 10px; }
}
