:root {
  --bg-primary: #0d1117;
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --text-muted: #6e7681;
  --accent: #58a6ff;
  --accent-hover: #79c0ff;
  --border: #30363d;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-primary);
  padding: 10px 0;
}

.announcement-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.announcement-viewport {
  height: 48px;
  overflow: hidden;
  position: relative;
}

.announcement-slide {
  position: relative;
  transition: transform 0.5s ease;
}

.announcement-item {
  height: 24px;
  line-height: 24px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.announcement-item:hover {
  color: var(--accent);
}

.announcement-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.announcement-modal-content {
  background: #1c2128;
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.announcement-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.announcement-modal-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.announcement-modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.announcement-modal-close:hover {
  color: var(--text-primary);
}

.announcement-modal-body {
  padding: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  overflow-y: auto;
  white-space: pre-wrap;
}

.home-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
}

.home-content {
  text-align: center;
  max-width: 800px;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.home-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}
.home-title .title-dot {
  color: var(--text-primary);
}

.home-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.home-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.home-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
  font-size: 14px;
}

.contact-label {
  color: var(--text-muted);
}

.contact-value {
  color: var(--accent);
  font-weight: 600;
}

.contact-sep {
  color: var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 8px;
}

.stat-card {
  padding: 0;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  display: inline;
  line-height: 1;
}

.stat-unit {
  font-size: 14px;
  color: var(--text-muted);
  display: inline;
  margin-left: 2px;
}

.stat-name {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

.home-footer {
  margin-top: auto;
  padding-top: 60px;
  padding-bottom: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-link {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-link span {
  color: var(--accent);
}

.footer-link-sep {
  color: var(--border);
  font-size: 12px;
}

.footer-beian {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-beian a {
  color: var(--text-muted);
}

.footer-beian a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .home-title {
    font-size: 28px;
  }
  .home-subtitle {
    font-size: 15px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .stat-number {
    font-size: 28px;
  }
  .home-contact {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 13px;
  }
  .home-desc {
    font-size: 14px;
    margin-bottom: 28px;
  }
  .home-footer {
    padding-top: 40px;
    padding-bottom: 24px;
  }
  .footer-links {
    gap: 12px;
  }
  .footer-link {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
