:root {
  --bg: #0d0a06;
  --bg-2: #17120a;
  --card: #1c150c;
  --card-hover: #241b10;
  --border: #3a2a14;
  --primary: #c0392b;
  --primary-2: #e07b3c;
  --accent: #d98a3c;
  --text: #f0e0c0;
  --text-dim: #b8a07a;
  --grad: linear-gradient(135deg, #c0392b, #e07b3c);
}

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

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

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* 公告栏 */
.announcement-bar {
  background: var(--grad); color: #fff; text-align: center;
  padding: 8px 20px; font-size: 14px; font-weight: 600; letter-spacing: 1px;
}

/* 导航栏 */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 10, 6, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
  padding: 0 24px; height: 64px;
}
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 20px; }
.logo-icon { color: var(--primary-2); font-size: 22px; }
.nav-links { display: flex; gap: 24px; flex: 1; }
.nav-links a {
  color: var(--text-dim); font-size: 15px; padding: 6px 2px;
  position: relative; transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--primary-2); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--grad); border-radius: 2px;
}
.nav-cta {
  background: var(--grad); color: #fff; border: none;
  padding: 9px 20px; border-radius: 8px; font-weight: 600; font-size: 14px;
  transition: transform .15s, box-shadow .15s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(59,130,246,.4); }
.menu-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; }

/* 页面切换 */
.page { display: none; padding: 0 24px; max-width: 1200px; margin: 0 auto; }
.page.active { display: block; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* 主页 Hero */
.hero { position: relative; overflow: hidden; padding: 80px 0 60px; }
.hero-bg {
  position: absolute; inset: -50% -20%;
  background:
    radial-gradient(circle at 30% 40%, rgba(59,130,246,.25), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(139,92,246,.22), transparent 45%);
  filter: blur(40px); z-index: 0;
}

/* ===== 传奇世界主题（主页） ===== */
.legend-hero { padding: 0; min-height: 640px; display: flex; align-items: center; }
.hero-bg-img {
  position: absolute; inset: 0;
  background: url('../images/legend-world-bg.jpg') center/cover no-repeat;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(10,8,5,.92) 0%, rgba(10,8,5,.55) 45%, rgba(10,8,5,.25) 100%),
    linear-gradient(0deg, rgba(10,8,5,.9) 0%, rgba(10,8,5,.3) 40%, rgba(10,8,5,.55) 100%);
}
.legend-hero .hero-content { position: relative; z-index: 2; max-width: 720px; padding: 100px 0; }
.legend-badge {
  background: linear-gradient(135deg, rgba(180,30,20,.4), rgba(120,10,5,.5));
  border: 1px solid rgba(220,90,40,.7); color: #ffd08a;
  padding: 7px 18px; border-radius: 4px; font-size: 14px; letter-spacing: 2px;
  margin-bottom: 24px; text-shadow: 0 0 8px rgba(255,120,30,.6);
}
.legend-title {
  font-size: 64px; line-height: 1.15; font-weight: 900; margin-bottom: 20px;
  color: #f5e6c8; letter-spacing: 4px;
  text-shadow: 0 2px 12px rgba(0,0,0,.8), 0 0 40px rgba(180,60,20,.35);
  font-family: "SimSun", "STSong", serif;
}
.legend-accent {
  background: linear-gradient(180deg, #ffd88a 0%, #ff9d3c 50%, #c0392b 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;
}
.legend-sub {
  color: #d8c9a8; font-size: 18px; max-width: 560px; margin-bottom: 36px;
  text-shadow: 0 1px 6px rgba(0,0,0,.7);
}
.btn-legend {
  background: linear-gradient(135deg, #c0392b, #8e1f14); color: #ffe9c0;
  border: 1px solid #e07b3c; letter-spacing: 2px;
  box-shadow: 0 4px 20px rgba(180,40,20,.5), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn-legend:hover {
  background: linear-gradient(135deg, #d94f3d, #a5281a);
  box-shadow: 0 6px 28px rgba(200,60,25,.65); transform: translateY(-2px);
}
.btn-legend-ghost {
  background: rgba(20,12,6,.5); color: #e8d5ae; border: 1px solid #8a6a3a; letter-spacing: 2px;
}
.btn-legend-ghost:hover { border-color: #ffd08a; color: #ffd08a; }
.legend-stats .stat strong {
  background: linear-gradient(180deg, #ffd88a, #e07b3c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.legend-stats .stat span { color: #b8a07a; }
.legend-features { padding: 50px 0 60px; }
.legend-features .hf-card {
  background: linear-gradient(180deg, #1a140c, #120d07);
  border: 1px solid #3a2a14;
}
.legend-features .hf-card:hover { border-color: #d98a3c; box-shadow: 0 8px 24px rgba(180,80,20,.25); }
.legend-features .hf-icon { color: #e07b3c; }
.legend-features .hf-card h3 { color: #f0d9a8; }
.legend-features .hf-card p { color: #b8a07a; }

.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-badge {
  display: inline-block; background: rgba(59,130,246,.15);
  border: 1px solid rgba(59,130,246,.4); color: var(--primary-2);
  padding: 6px 14px; border-radius: 20px; font-size: 13px; margin-bottom: 20px;
}
.hero h1 { font-size: 52px; line-height: 1.2; font-weight: 800; margin-bottom: 20px; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--text-dim); font-size: 18px; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 48px; }

.btn { border: none; border-radius: 10px; padding: 13px 28px; font-size: 16px; font-weight: 600; transition: all .2s; }
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(59,130,246,.45); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--primary-2); color: var(--primary-2); }
.btn-outline { background: transparent; color: var(--primary-2); border: 1px solid var(--primary-2); width: 100%; }
.btn-outline:hover { background: rgba(59,130,246,.1); }

.hero-stats { display: flex; gap: 48px; }
.stat strong { display: block; font-size: 28px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--text-dim); font-size: 14px; }

.home-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 40px 0 60px; }
.hf-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 28px; transition: all .25s;
}
.hf-card:hover { transform: translateY(-4px); border-color: var(--primary); background: var(--card-hover); }
.hf-icon { font-size: 32px; margin-bottom: 16px; }
.hf-card h3 { margin-bottom: 8px; }
.hf-card p { color: var(--text-dim); font-size: 14px; }

/* 页面头 */
.page-head { text-align: center; padding: 60px 0 40px; }
.page-head h2 { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.page-head p { color: var(--text-dim); font-size: 16px; }

/* 功能介绍 */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 60px; }
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 32px; transition: all .25s;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.fc-icon { font-size: 36px; margin-bottom: 16px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--text-dim); font-size: 15px; }

/* 购买 */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 20px; }
.price-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 36px 28px; text-align: center; position: relative; transition: all .25s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured { border-color: var(--primary); background: linear-gradient(180deg, rgba(59,130,246,.12), var(--card)); }
.badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 12px; padding: 4px 14px; border-radius: 20px; font-weight: 600;
}
.price-card h3 { font-size: 20px; margin-bottom: 16px; }
.price { font-size: 48px; font-weight: 800; margin-bottom: 24px; }
.price span { font-size: 22px; }
.price .per { font-size: 15px; color: var(--text-dim); font-weight: 400; }
.price-card ul { list-style: none; text-align: left; margin-bottom: 28px; }
.price-card li { padding: 8px 0; color: var(--text-dim); font-size: 14px; border-bottom: 1px solid var(--border); }
.pricing-note { text-align: center; color: var(--text-dim); font-size: 14px; padding-bottom: 60px; }

/* 视频 */
.videos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding-bottom: 60px; }
.video-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; transition: all .25s; cursor: pointer;
}
.video-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.video-thumb {
  height: 200px; background: linear-gradient(135deg, #3a1f0d, #2a1206);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.play {
  width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff;
  transition: all .2s;
}
.video-card:hover .play { background: var(--grad); transform: scale(1.1); }
.duration {
  position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,.7);
  padding: 2px 8px; border-radius: 6px; font-size: 12px;
}
.video-card h3 { padding: 16px 20px 4px; font-size: 17px; }
.video-card p { padding: 0 20px 20px; color: var(--text-dim); font-size: 14px; }

/* 视频弹窗 */
.video-modal { display: none; position: fixed; inset: 0; z-index: 200; align-items: center; justify-content: center; padding: 24px; }
.video-modal.open { display: flex; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(4px); }
.video-modal-content {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px; width: 100%; max-width: 860px;
  z-index: 1; animation: fadeIn .25s ease;
}
.video-modal-close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 50%;
  color: var(--text); font-size: 18px; line-height: 1; transition: all .2s;
}
.video-modal-close:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.video-modal-title { font-size: 20px; margin-bottom: 16px; padding-right: 40px; }
.video-modal-content video { width: 100%; border-radius: 10px; background: #000; display: block; }
.video-modal-hint { color: var(--text-dim); font-size: 13px; margin-top: 14px; }
.video-modal-hint code { background: var(--bg-2); padding: 2px 6px; border-radius: 4px; color: var(--primary-2); }

/* 聊天室 */
.chat-container {
  display: grid; grid-template-columns: 260px 1fr; gap: 0;
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; height: 560px; margin-bottom: 60px;
}
.chat-sidebar { border-right: 1px solid var(--border); background: var(--bg-2); display: flex; flex-direction: column; }
.chat-search { padding: 16px; }
.chat-search input {
  width: 100%; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-size: 14px;
}
.channel-list { flex: 1; overflow-y: auto; }
.channel {
  padding: 12px 16px; color: var(--text-dim); font-size: 14px; cursor: pointer;
  transition: all .15s; display: flex; align-items: center; gap: 8px;
}
.channel span { color: var(--primary-2); }
.channel:hover { background: var(--card-hover); color: var(--text); }
.channel.active { background: rgba(59,130,246,.12); color: var(--text); border-left: 3px solid var(--primary); }
.chat-main { display: flex; flex-direction: column; }
.chat-header {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.ch-title { font-weight: 700; }
.ch-title span { color: var(--primary-2); }
.ch-meta { color: var(--text-dim); font-size: 13px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.msg { display: flex; gap: 12px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--grad);
  display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0;
}
.msg-name { font-weight: 600; font-size: 14px; }
.msg-name .time { color: var(--text-dim); font-weight: 400; font-size: 12px; margin-left: 8px; }
.msg-text { color: var(--text-dim); font-size: 14px; margin-top: 2px; }
.chat-input { padding: 16px 20px; border-top: 1px solid var(--border); position: relative; display: flex; gap: 12px; }
.chat-input input {
  flex: 1; padding: 12px 16px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-size: 14px;
}
.chat-input button {
  background: var(--grad); color: #fff; border: none; padding: 0 24px; border-radius: 8px; font-weight: 600;
}
.chat-input input:disabled, .chat-input button:disabled { opacity: .5; cursor: not-allowed; }
.chat-placeholder {
  position: absolute; top: -28px; left: 20px; background: var(--bg-2);
  border: 1px solid var(--border); padding: 4px 12px; border-radius: 8px;
  font-size: 12px; color: var(--text-dim);
}

/* 留言板 */
.forum-container { max-width: 860px; margin: 0 auto; padding-bottom: 60px; }
.forum-compose {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 20px; margin-bottom: 20px;
}
.compose-row { margin-bottom: 12px; }
.compose-nick {
  width: 260px; max-width: 100%; padding: 10px 14px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text); font-size: 14px;
}
.compose-text {
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-size: 15px; resize: vertical;
  font-family: inherit; min-height: 90px;
}
.compose-toolbar { display: flex; align-items: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.upload-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-size: 14px; cursor: pointer; transition: all .2s;
}
.upload-btn:hover { border-color: var(--primary-2); color: var(--primary-2); }
.upload-hint { color: var(--text-dim); font-size: 12px; }
.compose-actions { margin-left: auto; }
.image-preview { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.image-preview .preview-item { position: relative; width: 90px; height: 90px; }
.image-preview .preview-item img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 8px; border: 1px solid var(--border);
}
.image-preview .preview-remove {
  position: absolute; top: -6px; right: -6px; width: 22px; height: 22px;
  background: #e11d48; color: #fff; border: none; border-radius: 50%; font-size: 12px;
  line-height: 1; cursor: pointer;
}

.forum-admin-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.admin-toggle {
  background: var(--bg-2); border: 1px solid var(--border); color: var(--text-dim);
  padding: 8px 14px; border-radius: 8px; font-size: 13px; cursor: pointer;
}
.admin-toggle:hover { color: var(--text); border-color: var(--primary-2); }
.admin-panel { display: flex; gap: 8px; align-items: center; }
.admin-panel input {
  padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-size: 13px;
}
.admin-panel .btn { padding: 8px 16px; font-size: 13px; }

.forum-list { display: flex; flex-direction: column; gap: 16px; }
.forum-empty { text-align: center; color: var(--text-dim); padding: 40px 0; }
.forum-post {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px;
  transition: border-color .2s;
}
.forum-post:hover { border-color: var(--primary); }
.post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.post-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--grad);
  display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0;
  color: #fff;
}
.post-name { font-weight: 600; font-size: 15px; }
.post-time { color: var(--text-dim); font-size: 12px; margin-left: auto; }
.post-content { color: var(--text); font-size: 15px; white-space: pre-wrap; word-break: break-word; }
.post-images { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.post-images img {
  width: 120px; height: 120px; object-fit: cover; border-radius: 8px;
  border: 1px solid var(--border); cursor: pointer; transition: transform .15s;
}
.post-images img:hover { transform: scale(1.03); }
.post-delete {
  margin-top: 12px; background: transparent; border: 1px solid #7f1d1d; color: #f87171;
  padding: 4px 12px; border-radius: 6px; font-size: 12px; cursor: pointer;
}
.post-delete:hover { background: rgba(225,29,72,.15); }

/* 管理员后台 */
.admin-dashboard {
  background: var(--card); border: 1px solid var(--primary); border-radius: 14px;
  padding: 20px; margin-bottom: 20px;
}
.admin-dashboard-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.admin-dashboard-head span { font-weight: 700; color: var(--primary-2); }
.admin-change-pwd h4 { margin-bottom: 12px; font-size: 15px; color: var(--text); }
.change-pwd-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.change-pwd-row input {
  padding: 10px 14px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-size: 14px; flex: 1; min-width: 160px;
}

/* 管理员后台 - 待审核 */
.admin-section { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.admin-section h4 { margin-bottom: 12px; font-size: 15px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.badge-count {
  background: #e11d48; color: #fff; font-size: 12px; padding: 1px 8px;
  border-radius: 10px; font-weight: 600;
}
.pending-list { display: flex; flex-direction: column; gap: 10px; }
.pending-item {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px;
}
.pending-item .pi-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.pending-item .pi-name { font-weight: 600; font-size: 14px; }
.pending-item .pi-time { color: var(--text-dim); font-size: 12px; margin-left: auto; }
.pending-item .pi-content { color: var(--text); font-size: 14px; margin-bottom: 8px; word-break: break-word; }
.pending-item .pi-images { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.pending-item .pi-images img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; cursor: pointer; }
.pending-item .pi-actions { display: flex; gap: 8px; }
.pending-item .pi-actions button { padding: 5px 14px; border-radius: 6px; font-size: 13px; cursor: pointer; border: 1px solid transparent; }
.btn-approve { background: #16a34a; color: #fff; }
.btn-approve:hover { background: #15803d; }
.btn-reject { background: transparent; color: #f87171; border-color: #7f1d1d; }
.btn-reject:hover { background: rgba(225,29,72,.15); }

/* 置顶标记 */
.post-pinned {
  display: inline-block; background: linear-gradient(135deg, #e07b3c, #c0392b);
  color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 4px; margin-left: 8px;
  font-weight: 600; vertical-align: middle;
}

/* 回复区 */
.post-replies { margin-top: 12px; padding-left: 14px; border-left: 2px solid var(--border); }
.reply-item { margin-top: 10px; }
.reply-item .reply-head { display: flex; align-items: center; gap: 8px; }
.reply-item .reply-name { font-weight: 600; font-size: 13px; color: var(--primary-2); }
.reply-item .reply-time { color: var(--text-dim); font-size: 11px; }
.reply-item .reply-content { color: var(--text); font-size: 14px; margin-top: 3px; word-break: break-word; }
.reply-item .reply-delete { background: none; border: none; color: #f87171; font-size: 11px; cursor: pointer; margin-left: 8px; }
.post-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.post-actions button {
  background: transparent; border: 1px solid var(--border); color: var(--text-dim);
  padding: 5px 12px; border-radius: 6px; font-size: 12px; cursor: pointer; transition: all .15s;
}
.post-actions button:hover { border-color: var(--primary-2); color: var(--primary-2); }
.reply-input-area { display: flex; gap: 8px; margin-top: 10px; }
.reply-input-area input {
  flex: 1; padding: 8px 12px; border-radius: 6px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-size: 13px;
}
.reply-input-area button { padding: 8px 16px; border-radius: 6px; background: var(--grad); color: #fff; border: none; cursor: pointer; font-size: 13px; }

/* 图片大图查看 */
.lightbox { display: none; position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.85); align-items: center; justify-content: center; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 8px; }

/* 软件下载 */
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 20px; }
.download-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 32px 28px; text-align: center; transition: all .25s;
}
.download-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 8px 24px rgba(59,130,246,.15); }
.dl-icon { font-size: 44px; margin-bottom: 16px; }
.download-card h3 { font-size: 20px; margin-bottom: 8px; }
.dl-ver { color: var(--primary-2); font-size: 14px; margin-bottom: 12px; }
.dl-desc { color: var(--text-dim); font-size: 14px; margin-bottom: 16px; min-height: 40px; }
.dl-meta { display: flex; justify-content: center; gap: 16px; color: var(--text-dim); font-size: 12px; margin-bottom: 20px; }
.dl-btn { width: 100%; }
.download-note { text-align: center; color: var(--text-dim); font-size: 14px; padding-bottom: 60px; }

/* 页脚 */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); margin-top: 40px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 40px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer-brand { font-weight: 700; font-size: 18px; }
.footer-brand p { font-weight: 400; color: var(--text-dim); font-size: 13px; margin-top: 6px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-dim); font-size: 14px; cursor: pointer; transition: color .2s; }
.footer-links a:hover { color: var(--primary-2); }
.footer-copy { color: var(--text-dim); font-size: 13px; width: 100%; text-align: center; padding-top: 16px; border-top: 1px solid var(--border); }

/* 响应式 */
@media (max-width: 900px) {
  .home-features, .features-grid, .pricing-grid, .download-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg-2); padding: 16px 24px; border-bottom: 1px solid var(--border); }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .chat-container { grid-template-columns: 1fr; height: auto; }
  .chat-sidebar { display: none; }
}
