/* 基础样式和内联关键CSS */
:root {
  --primary: #1a365d;
  --primary-light: #2d4a80;
  --secondary: #2b6cb0;
  --accent: #3182ce;
  --success: #38a169;
  --warning: #d69e2e;
  --error: #e53e3e;
  --dark: #0f1419;
  --light: #f7fafc;
  --gray: #718096;
  --gray-light: #e2e8f0;
  --gray-lighter: #f7fafc;
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --text-light: #f7fafc;
  --bg-primary: #ffffff;
  --bg-secondary: #f7fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --header-bg: rgba(255, 255, 255, 0.95);
  --header-border: var(--gray-light);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

/* 容器 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* 导航栏关键样式 */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--header-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 0.5rem 0;
  background: var(--header-bg);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  transition: padding 0.3s ease;
}

.header.scrolled .header-container {
  padding: 0.5rem 1.5rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  width: 3.75rem;
  height: 3.75rem;
  background-color: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: var(--shadow-md);
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
}

@media (min-width: 768px) {
  .logo-text {
    font-size: 1.75rem;
  }
}

/* 桌面导航 */
.desktop-nav {
  display: none;
  gap: 1rem;
  align-items: center;
  margin-left: auto;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover {
  color: var(--secondary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* 用户区域 */
.user-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.user-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
}

.user-avatar-default {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--secondary);
}

.avatar-text {
  color: white;
  font-weight: 600;
  font-size: 0.75rem;
}

.user-name {
  font-weight: 500;
  color: var(--text-primary);
}

/* 按钮样式 */
.nav-button, .btn {
  background-color: var(--secondary);
  color: white;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
}

.nav-button:hover, .btn:hover {
  background-color: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background-color: var(--secondary);
}

.btn-secondary {
  background-color: var(--gray);
}

.btn-block {
  width: 100%;
  display: block;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* 主题切换按钮已移除 */

/* 移动端菜单按钮 */
.mobile-nav-btn {
  display: block;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.mobile-nav-btn:hover {
  background-color: var(--gray-light);
}

@media (min-width: 768px) {
  .mobile-nav-btn {
    display: none;
  }
}

/* 移动端菜单 */
.mobile-menu {
  display: none;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.active {
  display: block;
  max-height: 500px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  align-items: center;
}

.mobile-user-area {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-theme-toggle {
  margin-top: 1rem;
  align-self: flex-start;
}

/* 英雄区域 */
.hero {
  position: relative;
  padding: 6rem 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  overflow: hidden;
  color: white;
}

@media (min-width: 768px) {
  .hero {
    padding: 8rem 1rem;
  }
}

.hero-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-left {
  text-align: left;
  margin-left: 0;
}

.hero-title {
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 36rem;
}

.hero-left .hero-subtitle {
  margin-left: 0;
  margin-right: 0;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.hero-left .hero-buttons {
  justify-content: flex-start;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.125rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.button-primary {
  background-color: white;
  color: var(--primary);
}

.button-primary:hover {
  background-color: var(--gray-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.button-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  backdrop-filter: blur(8px);
}

.button-secondary:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.button-icon {
  margin-right: 0.5rem;
}

/* 装饰性元素 */
.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* 内容区域 */
.section {
  padding: 5rem 1rem;
}

.section-light {
  background-color: var(--bg-primary);
}

.section-gray {
  background-color: var(--bg-secondary);
}

.section-dark {
  background-color: var(--primary);
  color: var(--text-light);
}

.section-title {
  font-weight: 700;
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary);
}

.section-dark .section-title {
  color: white;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* 卡片样式 */
.card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.card-center {
  text-align: center;
}

/* 统计卡片 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

/* 格式网格 */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .formats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .formats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .formats-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.format-card {
  transition: all 0.3s ease;
  background: var(--bg-card);
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.format-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin: 0 auto 1rem;
  background-color: rgba(43, 108, 176, 0.1);
  color: var(--secondary);
}

/* 功能网格 */
.features-grid {
  display: grid;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-list {
  list-style: none;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.feature-check {
  color: var(--success);
  margin-right: 0.75rem;
  font-weight: bold;
}

/* 下载网格 */
.downloads-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .downloads-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.download-card {
  transition: all 0.3s ease;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.download-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.download-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.download-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.download-button {
  background-color: var(--secondary);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease;
}

.download-button:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.download-button.disabled {
  background-color: var(--gray);
  cursor: not-allowed;
}

.download-button.disabled:hover {
  background-color: var(--gray);
  transform: none;
  box-shadow: none;
}

/* 教程网格 */
.tutorial-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .tutorial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tutorial-item {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.tutorial-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.tutorial-icon {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.tutorial-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.tutorial-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* 致谢网格 */
.thanks-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .thanks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.thanks-list {
  list-style: none;
  text-align: center;
}

.thanks-item {
  padding: 0.75rem 0;
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 500;
}

/* 赞助网格 */
.sponsor-grid {
  display: grid;
  gap: 2rem;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .sponsor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sponsor-option {
  text-align: center;
}

.sponsor-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.qr-container {
  background: white;
  padding: 1rem;
  display: inline-block;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.qr-image {
  width: 12rem;
  height: 12rem;
  object-fit: cover;
  border-radius: 4px;
}

.qr-placeholder {
  width: 12rem;
  height: 12rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: 4px;
  padding: 1rem;
}

.qr-icon {
  font-size: 3rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

.qr-text {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  text-align: center;
}

.qr-hint {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
}

.fab.fa-weixin {
  color: #07c160;
}

.fab.fa-alipay {
  color: #1677ff;
}

/* 版本信息 */
.version-info {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  background: var(--gray-light);
  border-radius: 8px;
  color: var(--text-primary);
}

/* 安全提示 */
.security-note {
  text-align: center;
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(56, 161, 105, 0.1);
  border-radius: 8px;
  color: var(--success);
  border: 1px solid rgba(56, 161, 105, 0.2);
}

/* 页脚 */
footer {
  background: var(--primary);
  color: white;
  padding: 3rem 1rem;
}

.footer-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .footer-logo {
    margin-bottom: 0;
  }
}

.footer-logo-icon {
  width: 2rem;
  height: 2rem;
  background-color: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--primary);
}

.footer-logo-text {
  font-weight: 700;
  font-size: 1.125rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
}

.footer-copyright {
  text-align: center;
}

@media (min-width: 768px) {
  .footer-copyright {
    text-align: right;
  }
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
}

.footer-note {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* 模态框 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  z-index: 1001;
  background: var(--bg-card);
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.modal-close:hover {
  background-color: var(--gray-light);
}

.modal-body {
  padding: 1.5rem;
}

/* 认证表单 */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.875rem;
}

.form-group input {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

.form-group input::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

.verification-group {
  position: relative;
}

.verification-input {
  display: flex;
  gap: 0.5rem;
}

.verification-input input {
  flex: 1;
}

.countdown {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: right;
}

.auth-switch {
  text-align: center;
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.auth-switch a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* 文本样式 */
.text-lg {
  font-size: 1.125rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.leading-relaxed {
  line-height: 1.625;
}

.text-gray-400 {
  color: var(--text-secondary);
}

.text-gray-500 {
  color: #6b7280;
}

.text-xs {
  font-size: 0.75rem;
}

.flex {
  display: flex;
}

.items-start {
  align-items: flex-start;
}

.text-xl {
  font-size: 1.25rem;
}

.font-bold {
  font-weight: 700;
}

/* 响应式调整 */
@media (max-width: 767px) {
  .section {
    padding: 3rem 1rem;
  }
  
  .hero {
    padding: 4rem 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .formats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .downloads-grid {
    grid-template-columns: 1fr;
  }
  
  .sponsor-grid {
    grid-template-columns: 1fr;
  }
  
  .qr-image {
    width: 10rem;
    height: 10rem;
  }
}

/* 公告样式 */
.announcements-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.announcement-item {
  background-color: var(--light);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.2s;
}

.announcement-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.announcement-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.announcement-item-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
}

.announcement-item-date {
  font-size: 0.875rem;
  color: var(--gray);
}

.announcement-item-content {
  color: var(--dark);
  line-height: 1.6;
  white-space: pre-wrap;
}

.view-all-announcements {
  text-align: center;
  margin-top: 1.5rem;
}

/* 公告弹出窗口样式 */
.announcement-popup .modal-content {
  max-width: 800px;
  width: 90%;
}

.announcement-popup-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.announcement-popup-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.announcement-popup-date {
  font-size: 0.875rem;
  color: var(--gray);
}

.announcement-popup-body {
  color: var(--dark);
  line-height: 1.8;
  white-space: pre-wrap;
  max-height: 400px;
  overflow-y: auto;
}

/* 用户中心样式 */
.user-center {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.user-avatar-section {
  display: flex;
  justify-content: center;
  padding: 1rem;
  background-color: var(--light);
  border-radius: 0.5rem;
}

.avatar-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.avatar-preview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary);
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.default-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.user-info-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background-color: var(--light);
  border-radius: 0.375rem;
}

.info-item label {
  font-weight: 600;
  color: var(--gray);
  min-width: 80px;
}

.info-item span {
  color: var(--dark);
}

.user-actions-section {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.btn-icon {
  background: none;
  border: none;
  color: var(--gray);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: all 0.2s;
}

.btn-icon:hover {
  background-color: var(--light);
  color: var(--primary);
}