/* ============================================================
   哔哩终端 X 官网 v3 - 毛玻璃质感
   ============================================================ */

/* ---- 变量 ---- */
:root {
  --primary: #00a1d6;
  --primary-dark: #0088b9;
  --primary-light: rgba(0, 161, 214, 0.12);
  --primary-glow: rgba(0, 161, 214, 0.2);
  --accent: #fb7299;
  --accent-light: rgba(251, 114, 153, 0.12);
  --bg-deep: #0b0e17;
  --bg-surface: rgba(255, 255, 255, 0.04);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --text: #e8ecf1;
  --text-secondary: #8892a4;
  --text-muted: #555e70;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 60px rgba(0, 161, 214, 0.15);
  --radius: 20px;
  --radius-sm: 12px;
  --max-width: 1140px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* 全局渐变背景 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(0, 161, 214, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(251, 114, 153, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(0, 100, 200, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* 网格纹理 */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: #33c3f7; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ---- 入场动画 ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 161, 214, 0.2); }
  50% { box-shadow: 0 0 40px rgba(0, 161, 214, 0.35); }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- 毛玻璃卡片通用 ---- */
.glass {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.glass-strong {
  background: var(--glass-strong);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

/* ---- 导航栏 ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 14, 23, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  height: 64px;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(11, 14, 23, 0.85);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.3);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.3px;
}

.logo img {
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 161, 214, 0.3);
}

.logo .logo-x { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a.github-link {
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--transition);
}

.menu-toggle:hover { background: rgba(255, 255, 255, 0.06); }

/* ---- 按钮 ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0088b9 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 161, 214, 0.35);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 161, 214, 0.5);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0, 161, 214, 0.1);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 40px;
  font-size: 17px;
  border-radius: var(--radius);
}

.btn-sm {
  padding: 6px 16px;
  font-size: 13px;
}

.btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---- Hero ---- */
.hero {
  padding: 160px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 161, 214, 0.15) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(251, 114, 153, 0.1) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  animation: fadeInUp 0.8s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 161, 214, 0.1);
  color: var(--primary);
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 161, 214, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px var(--primary);
}

.hero-text h1 {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
  color: #fff;
}

.hero-text .accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-weight: 400;
}

.hero-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  flex-shrink: 0;
  animation: fadeIn 1s ease 0.3s both;
}

/* 手机模型 */
.phone-mockup {
  width: 260px;
  height: 520px;
  background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 0 0 2px rgba(255,255,255,0.08),
    0 0 80px rgba(0, 161, 214, 0.1);
  animation: float 6s ease-in-out infinite;
  position: relative;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #111;
  border-radius: 12px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 28px;
  padding: 48px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.phone-header {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-header::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.phone-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.phone-item {
  height: 60px;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf0 100%);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.phone-item::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  border-radius: 8px;
}

.phone-item.short { width: 75%; }

/* ---- 功能特性 ---- */
.features {
  padding: 120px 0;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}

.section-title {
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  color: #fff;
}

.section-desc {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 60px;
  font-size: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: left;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(circle at 50% 0%, rgba(0, 161, 214, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 161, 214, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 30px rgba(0, 161, 214, 0.08);
}

.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after { opacity: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 161, 214, 0.1);
  border: 1px solid rgba(0, 161, 214, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: all var(--transition);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: transparent;
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 161, 214, 0.3);
}

.feature-card:hover .feature-icon span {
  filter: brightness(10);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- 下载 ---- */
.download {
  padding: 120px 0;
}

.download-card {
  max-width: 640px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.2), 0 0 60px rgba(0, 161, 214, 0.06);
}

.download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% 100%;
  animation: shimmer 4s infinite linear;
}

.download-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 161, 214, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.download-info { margin-bottom: 28px; position: relative; z-index: 1; }

.download-version {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}

.version-tag {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.version-name {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}

.download-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 14px;
}

.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.badge.release { background: rgba(56, 158, 13, 0.15); color: #52c41a; border: 1px solid rgba(56, 158, 13, 0.2); }
.badge.beta { background: rgba(212, 107, 8, 0.15); color: #faad14; border: 1px solid rgba(212, 107, 8, 0.2); }

.download-log {
  text-align: left;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 1;
}

.download-log p { margin: 0; white-space: pre-wrap; }

.download-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.download-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(0, 161, 214, 0.1);
  border: 1px solid rgba(0, 161, 214, 0.15);
  border-radius: 16px;
  margin: 0 auto 24px;
  font-size: 28px;
  position: relative;
  z-index: 1;
}

/* ---- 历史版本 ---- */
.versions {
  padding: 120px 0;
}

.versions-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.version-item {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.version-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 161, 214, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.version-item-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.version-item-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.version-item-time {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: auto;
}

.version-item-log {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
  white-space: pre-wrap;
}

.version-item-actions {
  display: flex;
  justify-content: flex-end;
}

.text-muted {
  color: var(--text-muted);
  font-size: 13px;
}

/* ---- 公告 ---- */
.announcements {
  padding: 120px 0;
  position: relative;
}

.announcements::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}

.announcements-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.announcement-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--primary);
}

.announcement-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 161, 214, 0.2);
  border-left-color: var(--primary);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.announcement-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.announcement-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.announcement-time {
  font-size: 13px;
  color: var(--text-muted);
}

.announcement-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.announcement-body p { margin-bottom: 8px; }
.announcement-body p:last-child { margin-bottom: 0; }

/* ---- 赞助者 ---- */
.sponsors {
  padding: 120px 0;
  position: relative;
}

.sponsors::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.sponsor-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sponsor-card:hover {
  transform: translateY(-3px);
  border-color: rgba(251, 114, 153, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.sponsor-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 161, 214, 0.15) 0%, rgba(251, 114, 153, 0.15) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  overflow: hidden;
}

.sponsor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sponsor-info { flex: 1; min-width: 0; }

.sponsor-name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sponsor-amount {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

/* ---- CTA ---- */
.cta {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0, 161, 214, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: #fff;
}

.cta p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* ---- 页脚 ---- */
.footer {
  padding: 56px 0 40px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-brand {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.footer-brand .logo-x { color: var(--primary); }

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 280px;
  line-height: 1.6;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-copy a { color: var(--primary); }

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ---- 加载占位 ---- */
.loading-placeholder {
  text-align: center;
  padding: 48px;
  color: var(--text-muted);
  font-size: 14px;
}

.loading-placeholder::before {
  content: '';
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto 16px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.empty-placeholder {
  text-align: center;
  padding: 48px;
  color: var(--text-muted);
  font-size: 14px;
}

/* ---- 响应式 ---- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(11, 14, 23, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }

  .hero { padding: 120px 0 60px; }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 48px;
  }

  .hero-text h1 { font-size: 38px; }
  .hero-desc { font-size: 17px; }
  .hero-actions { justify-content: center; }
  .hero-image { order: -1; }
  .phone-mockup {
    width: 200px;
    height: 400px;
    border-radius: 32px;
    padding: 10px;
  }

  .phone-screen { border-radius: 22px; padding-top: 40px; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 28px; }

  .download-card { padding: 32px 24px; }
  .version-name { font-size: 24px; }

  .footer-content { flex-direction: column; gap: 32px; }
  .footer-links { gap: 32px; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 32px; }
  .sponsors-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 24px; }
  .btn-large { padding: 14px 28px; font-size: 15px; }
}
