/* =============================================
   IT小郭软件站 - 全局样式
   设计风格: 深色科技感 + 渐变霓虹
   ============================================= */

:root {
  --bg: #0d0d12;
  --bg2: #12121a;
  --bg3: #1a1a26;
  --surface: #16161f;
  --surface2: #1e1e2e;
  --border: #2a2a3d;
  --border2: #353550;
  --text: #e8e8f0;
  --text2: #a0a0c0;
  --text3: #6060a0;
  --accent: #00d4ff;
  --accent2: #7c3aed;
  --green: #00e599;
  --red: #ff4d6d;
  --yellow: #ffd700;
  --orange: #ff6b35;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.6);
  --glow: 0 0 20px rgba(0,212,255,0.15);
  --transition: 0.2s ease;
  --font: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ============ 重置 ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { opacity: 0.85; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============ 容器 ============ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============ 头部 ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,13,18,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex; align-items: center; gap: 20px;
  height: 60px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  color: var(--text); font-weight: 900; font-size: 18px; white-space: nowrap;
}
.logo-icon { font-size: 22px; }
.logo-text { background: linear-gradient(135deg,#00d4ff,#7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links {
  display: flex; gap: 4px; flex: 1; justify-content: center;
}
.nav-links a {
  color: var(--text2); padding: 6px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 500; transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text); background: var(--surface2);
}
.header-right { display: flex; align-items: center; gap: 10px; }

/* 搜索框 */
.search-box { position: relative; }
.search-box input {
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--text); padding: 8px 36px 8px 12px;
  border-radius: 8px; font-size: 14px; width: 200px; transition: var(--transition);
  outline: none;
}
.search-box input:focus { border-color: var(--accent); width: 240px; box-shadow: var(--glow); }
.btn-search {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--text3); display: flex; align-items: center;
}
.btn-search:hover { color: var(--accent); }
.search-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  max-height: 360px; overflow-y: auto; display: none; z-index: 200;
}
.search-dropdown.show { display: block; }
.search-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  cursor: pointer; transition: var(--transition);
}
.search-item:hover { background: var(--bg3); }
.search-item img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.search-item-name { font-size: 14px; color: var(--text); }
.search-item-price { font-size: 12px; color: var(--text3); }
.search-overlay {
  position: fixed; inset: 0; z-index: 99; display: none;
}
.search-overlay.show { display: block; }

/* 用户菜单 */
.btn-user {
  display: flex; align-items: center; gap: 6px;
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--text); padding: 6px 12px; border-radius: 8px; font-size: 14px;
  transition: var(--transition);
}
.btn-user:hover { border-color: var(--accent); }
.avatar-circle {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg,var(--accent),var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
}
.user-menu { position: relative; }
.user-dropdown {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 160px; display: none; overflow: hidden; z-index: 200;
}
.user-dropdown.show { display: block; }
.ud-header { padding: 12px 14px; background: var(--bg3); border-bottom: 1px solid var(--border); }
.ud-name { font-weight: 700; font-size: 14px; }
.ud-points { font-size: 12px; color: var(--accent); margin-top: 2px; }
.user-dropdown a {
  display: block; padding: 10px 14px; color: var(--text2); font-size: 14px;
}
.user-dropdown a:hover { background: var(--bg3); color: var(--text); }
.user-dropdown hr { border: none; border-top: 1px solid var(--border); }
.vip-badge {
  background: linear-gradient(135deg,#ffd700,#ff8c00);
  color: #000; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 4px;
}

/* 汉堡菜单 */
.btn-menu {
  display: none; flex-direction: column; gap: 4px;
  background: none; border: none; padding: 6px;
}
.btn-menu span { display: block; width: 20px; height: 2px; background: var(--text2); transition: var(--transition); border-radius: 2px; }
.mobile-menu {
  display: none; background: var(--bg2); border-top: 1px solid var(--border); padding: 10px 20px 16px;
}
.mobile-menu a { display: block; padding: 10px 0; color: var(--text2); border-bottom: 1px solid var(--border); font-size: 15px; }
.mobile-menu.show { display: block; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 18px; border-radius: 8px; font-size: 14px; font-weight: 600;
  border: none; transition: var(--transition); white-space: nowrap; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg,var(--accent),var(--accent2));
  color: #fff; box-shadow: 0 4px 15px rgba(0,212,255,0.25);
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,212,255,0.35); }
.btn-outline { background: transparent; border: 1px solid var(--border2); color: var(--text2); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 12px 24px; font-size: 15px; border-radius: 10px; }
.btn-sm { padding: 5px 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ============ Hero ============ */
.hero {
  position: relative; padding: 120px 0 80px; overflow: hidden;
  margin-top: 60px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4;
}
.orb1 { width: 400px; height: 400px; background: radial-gradient(circle,#00d4ff,transparent); top: -100px; left: -100px; }
.orb2 { width: 300px; height: 300px; background: radial-gradient(circle,#7c3aed,transparent); top: 50px; right: 10%; }
.orb3 { width: 200px; height: 200px; background: radial-gradient(circle,#00e599,transparent); bottom: 0; left: 40%; }
.grid-pattern {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,0.02) 1px,transparent 1px);
  background-size: 40px 40px;
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 700px; margin: 0 auto; }
.hero-badge {
  display: inline-block; background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.3);
  color: var(--accent); padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 500; margin-bottom: 20px;
}
.hero-title { font-size: clamp(42px,8vw,72px); font-weight: 900; line-height: 1.1; margin-bottom: 16px; color: var(--text); }
.gradient-text { background: linear-gradient(135deg,var(--accent),var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { color: var(--text2); font-size: 16px; margin-bottom: 32px; }
.hero-desc strong { color: var(--accent); }
.hero-search {
  display: flex; max-width: 520px; margin: 0 auto 32px; gap: 8px;
  background: var(--surface2); padding: 6px 6px 6px 16px;
  border: 1px solid var(--border2); border-radius: 12px;
}
.hero-search input {
  flex: 1; background: none; border: none; color: var(--text); font-size: 15px; outline: none;
}
.hero-stats { display: flex; gap: 40px; justify-content: center; }
.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 28px; font-weight: 900; color: var(--accent); }
.stat-item span { font-size: 13px; color: var(--text3); }

/* ============ 分类 ============ */
.categories-section { padding: 40px 0; }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(120px,1fr)); gap: 12px; }
.cat-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 20px 12px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); transition: var(--transition); text-decoration: none;
}
.cat-card:hover { border-color: var(--accent); background: var(--surface2); transform: translateY(-2px); box-shadow: var(--glow); }
.cat-icon { font-size: 28px; margin-bottom: 8px; }
.cat-name { font-size: 13px; font-weight: 600; color: var(--text); }
.cat-count { font-size: 11px; color: var(--text3); margin-top: 2px; }

/* ============ section ============ */
.section { padding: 40px 0; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.section-title { font-size: 22px; font-weight: 800; color: var(--text); }
.see-all { font-size: 14px; color: var(--text3); }
.see-all:hover { color: var(--accent); }

/* ============ 软件卡片 ============ */
.sw-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 16px; }
.sw-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: var(--transition);
  display: block; color: var(--text);
}
.sw-card:hover { border-color: var(--border2); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.sw-cover { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg3); }
.sw-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.sw-card:hover .sw-cover img { transform: scale(1.05); }
.sw-badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; }
.badge { font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.badge-hot { background: rgba(255,77,109,0.9); color: #fff; }
.badge-new { background: rgba(0,229,153,0.9); color: #000; }
.badge-os { background: rgba(0,212,255,0.15); border: 1px solid rgba(0,212,255,0.3); color: var(--accent); }
.sw-os { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.7); color: var(--text2); font-size: 11px; padding: 2px 6px; border-radius: 4px; }
.sw-info { padding: 12px; }
.sw-name { font-size: 14px; font-weight: 700; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-desc { font-size: 12px; color: var(--text3); margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sw-meta { display: flex; align-items: center; justify-content: space-between; }
.price-free { color: var(--green); font-size: 13px; font-weight: 700; }
.price-points { color: var(--accent); font-size: 13px; font-weight: 700; }
.sw-downloads { color: var(--text3); font-size: 12px; }

/* ============ 引流banner ============ */
.follow-banner {
  background: linear-gradient(135deg,var(--surface2),var(--bg3));
  border: 1px solid var(--border2); border-radius: var(--radius-lg);
  padding: 32px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.follow-content h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.follow-content p { color: var(--text2); margin-bottom: 16px; }
.follow-content strong { color: var(--accent); }
.follow-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.platform-badge {
  padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
}
.platform-badge.tiktok { background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.3); color: var(--accent); }
.platform-badge.kuaishou { background: rgba(255,107,53,0.1); border: 1px solid rgba(255,107,53,0.3); color: var(--orange); }
.platform-badge.wechat { background: rgba(0,229,153,0.1); border: 1px solid rgba(0,229,153,0.3); color: var(--green); }
.follow-qr .qr-placeholder {
  width: 100px; height: 100px; background: var(--bg3); border: 1px dashed var(--border2);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text3); font-size: 13px;
}

/* ============ 页脚 ============ */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 48px 0 24px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-logo { font-size: 18px; font-weight: 900; margin-bottom: 8px; }
.footer-brand p { color: var(--text3); font-size: 14px; line-height: 1.7; }
.footer-links h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.footer-links a { display: block; color: var(--text3); font-size: 14px; margin-bottom: 8px; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; }
.footer-bottom p { color: var(--text3); font-size: 13px; }
.footer-tip { margin-top: 4px; }

/* ============ 认证页面 ============ */
.auth-page { background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; }
.auth-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.auth-container { position: relative; z-index: 1; width: 100%; max-width: 420px; padding: 20px; }
.auth-logo { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 24px; font-size: 22px; font-weight: 900; color: var(--text); }
.auth-card { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.auth-title { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.auth-sub { color: var(--text3); font-size: 14px; margin-bottom: 24px; }
.text-accent { color: var(--accent); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text2); margin-bottom: 6px; }
.form-group input {
  width: 100%; background: var(--bg3); border: 1px solid var(--border2); color: var(--text);
  padding: 10px 14px; border-radius: 8px; font-size: 15px; outline: none; transition: var(--transition);
}
.form-group input:focus { border-color: var(--accent); box-shadow: var(--glow); }
.captcha-row { display: flex; gap: 10px; }
.captcha-row input { flex: 1; }
.captcha-img { height: 40px; border-radius: 8px; cursor: pointer; border: 1px solid var(--border); object-fit: cover; }
.form-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.checkbox-label { display: flex; align-items: center; gap: 6px; color: var(--text3); font-size: 14px; cursor: pointer; }
.password-strength { font-size: 12px; margin-top: 4px; height: 16px; }
.ps-weak { color: var(--red); }
.ps-medium { color: var(--yellow); }
.ps-strong { color: var(--green); }
.auth-footer { text-align: center; color: var(--text3); font-size: 14px; margin-top: 20px; }
.auth-benefits { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.benefit-item { font-size: 13px; color: var(--text3); margin-bottom: 6px; }

/* ============ 软件详情 ============ */
.detail-page { padding-top: 80px; padding-bottom: 60px; }
.breadcrumb { color: var(--text3); font-size: 13px; margin-bottom: 24px; }
.breadcrumb a { color: var(--text3); }
.breadcrumb a:hover { color: var(--accent); }
.detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.detail-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.detail-top { display: grid; grid-template-columns: 240px 1fr; gap: 0; }
.detail-cover { background: var(--bg3); aspect-ratio: 4/3; overflow: hidden; }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { padding: 24px; }
.detail-badges { display: flex; gap: 6px; margin-bottom: 12px; }
.detail-title { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.detail-desc { color: var(--text2); font-size: 14px; margin-bottom: 16px; }
.detail-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
.meta-item { display: flex; gap: 8px; font-size: 13px; }
.meta-label { color: var(--text3); }
.download-box { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.price-display { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.price-display.free { color: var(--green); }
.price-display.points { color: var(--accent); }
.price-display.vip { display: flex; flex-direction: column; gap: 4px; }
.price-original { font-size: 13px; color: var(--text3); text-decoration: line-through; }
.price-now { font-size: 20px; color: var(--yellow); }
.download-tip { color: var(--text3); font-size: 14px; margin-bottom: 10px; }
.download-actions { display: flex; gap: 10px; }
.vip-tip { text-align: center; font-size: 13px; }
.vip-tip a { color: var(--yellow); }
.detail-content { padding: 24px; border-top: 1px solid var(--border); }
.detail-content h2 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.content-body { color: var(--text2); font-size: 14px; line-height: 1.8; }
.content-body img { max-width: 100%; border-radius: 8px; margin: 10px 0; }
.sidebar-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; }
.sidebar-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.related-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--text); }
.related-item:last-child { border-bottom: none; }
.related-item img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.related-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.related-price { font-size: 12px; color: var(--accent); }

/* ============ 弹窗 ============ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
}
.modal { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-lg); width: 90%; max-width: 480px; overflow: hidden; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.modal-header h3 { font-size: 16px; font-weight: 700; }
.btn-close { background: none; border: none; color: var(--text3); font-size: 18px; padding: 4px; }
.btn-close:hover { color: var(--text); }
.modal-body { padding: 20px; }
.dl-url-box { background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 12px; word-break: break-all; font-size: 13px; margin-bottom: 16px; }
.dl-type-badge { display: inline-block; margin-bottom: 8px; font-size: 12px; background: rgba(0,212,255,0.1); color: var(--accent); border: 1px solid rgba(0,212,255,0.3); padding: 2px 8px; border-radius: 4px; }
.dl-password { background: rgba(255,215,0,0.1); border: 1px solid rgba(255,215,0,0.3); border-radius: 8px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dl-pass-label { font-size: 13px; color: var(--text3); }
.dl-pass-val { font-size: 16px; font-weight: 700; color: var(--yellow); letter-spacing: 2px; }

/* ============ 个人中心 ============ */
.user-center { padding-top: 80px; padding-bottom: 60px; }
.uc-hero { display: flex; align-items: center; gap: 20px; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; }
.uc-avatar { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg,var(--accent),var(--accent2)); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 900; color: #fff; flex-shrink: 0; }
.uc-info h2 { font-size: 22px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.vip-expire, .uc-join { color: var(--text3); font-size: 13px; margin-top: 4px; }
.uc-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 24px; }
.uc-stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; }
.stat-val { font-size: 28px; font-weight: 900; margin-bottom: 4px; }
.stat-label { color: var(--text3); font-size: 13px; margin-bottom: 8px; }
.stat-action { font-size: 12px; color: var(--accent); }
.uc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.uc-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.panel-header h3 { font-size: 16px; font-weight: 700; }
.empty-state { text-align: center; color: var(--text3); padding: 30px; font-size: 14px; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { color: var(--text3); padding: 8px; text-align: left; border-bottom: 1px solid var(--border); font-weight: 600; }
.data-table td { padding: 8px; border-bottom: 1px solid var(--border); color: var(--text2); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.dl-logs { }
.dl-log-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.dl-log-item:last-child { border-bottom: none; }
.dl-log-item img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.dl-log-name { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.dl-log-meta { font-size: 12px; color: var(--text3); }
.quick-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.qa-btn { padding: 12px 24px; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 14px; font-weight: 600; transition: var(--transition); }
.qa-btn:hover { border-color: var(--accent); color: var(--accent); }
.qa-logout:hover { border-color: var(--red); color: var(--red); }

/* ============ 充值页 ============ */
.recharge-page { padding-top: 80px; padding-bottom: 60px; }
.page-title { font-size: 28px; font-weight: 800; margin-bottom: 24px; }
.tab-nav { display: flex; gap: 8px; margin-bottom: 32px; }
.tab-btn { padding: 10px 24px; background: var(--surface); border: 1px solid var(--border); color: var(--text2); border-radius: 8px; font-size: 15px; font-weight: 600; transition: var(--transition); }
.tab-btn.active { background: linear-gradient(135deg,var(--accent),var(--accent2)); color: #fff; border-color: transparent; }
.pkg-desc { color: var(--text3); font-size: 14px; margin-bottom: 16px; }
.current-points { font-size: 15px; margin-bottom: 20px; }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 16px; }
.pkg-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 20px; text-align: center; transition: var(--transition);
}
.pkg-card:hover { border-color: var(--border2); transform: translateY(-2px); box-shadow: var(--shadow); }
.pkg-card.popular { border-color: var(--accent); box-shadow: var(--glow); }
.pkg-popular-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg,var(--accent),var(--accent2)); color: #fff;
  font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 12px; white-space: nowrap;
}
.pkg-name { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.pkg-price { font-size: 13px; color: var(--text3); margin-bottom: 4px; }
.pkg-price span { font-size: 32px; font-weight: 900; color: var(--accent); }
.pkg-points-main { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.pkg-bonus { font-size: 13px; color: var(--green); margin-bottom: 4px; }
.pkg-rate { font-size: 12px; color: var(--text3); margin-bottom: 16px; }
.vip-card .pkg-name { font-size: 17px; }
.vip-crown { margin-right: 4px; }
.pkg-days { font-size: 14px; color: var(--text3); margin-bottom: 12px; }
.pkg-benefits { list-style: none; text-align: left; margin-bottom: 16px; }
.pkg-benefits li { font-size: 13px; color: var(--text2); padding: 3px 0; }
.vip-name { color: var(--yellow); }
.pay-tips { margin-top: 40px; padding: 24px; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.pay-tips h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.pay-methods { display: flex; gap: 12px; margin-bottom: 14px; }
.pay-method { padding: 10px 20px; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; font-size: 14px; }
.tip-text { color: var(--text3); font-size: 13px; }

/* ============ Toast ============ */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--surface2); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 20px; font-size: 14px; min-width: 200px; max-width: 320px;
  box-shadow: var(--shadow); animation: slideIn 0.3s ease;
}
.toast.success { border-left: 3px solid var(--green); color: var(--green); }
.toast.error { border-left: 3px solid var(--red); color: var(--red); }
.toast.info { border-left: 3px solid var(--accent); color: var(--accent); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-menu { display: flex; }
  .search-box input { width: 140px; }
  .search-box input:focus { width: 180px; }
  .hero { padding: 100px 0 60px; }
  .hero-stats { gap: 20px; }
  .hero-search { flex-direction: column; }
  .detail-top { grid-template-columns: 1fr; }
  .detail-cover { aspect-ratio: 16/9; }
  .uc-stats { grid-template-columns: repeat(3,1fr); }
  .uc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .follow-banner { flex-direction: column; text-align: center; }
  .sw-grid { grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); }
  .detail-meta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero-title { font-size: 38px; }
  .categories-grid { grid-template-columns: repeat(4,1fr); }
  .uc-stats { grid-template-columns: 1fr; }
  .pkg-grid { grid-template-columns: 1fr 1fr; }
  .header-right .btn { display: none; }
  .detail-layout { gap: 16px; }
}

/* ============ 软件列表页 ============ */
.list-page { padding-top: 80px; padding-bottom: 60px; }
.list-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-btn { padding: 6px 14px; background: var(--surface); border: 1px solid var(--border); color: var(--text2); border-radius: 8px; font-size: 13px; cursor: pointer; transition: var(--transition); }
.filter-btn.active, .filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.page-btn { padding: 8px 14px; background: var(--surface); border: 1px solid var(--border); color: var(--text2); border-radius: 8px; cursor: pointer; font-size: 14px; transition: var(--transition); }
.page-btn.active, .page-btn:hover { border-color: var(--accent); color: var(--accent); }

/* 滚动条美化 */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text3); }

/* 选中文字样式 */
::selection { background: rgba(0,212,255,0.2); color: var(--text); }
