/* 玄天八字封面页面 - 固定高度设计 */

:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --accent-color: #667eea;
  --accent-light: #8b9cff;
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --text-light: #718096;
  --bg-white: #ffffff;
  --bg-light: #f7fafc;
  --bg-lighter: #edf2f7;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  background: var(--primary-gradient);
  min-height: 100vh;
  color: var(--text-primary);
  line-height: 1.6;
  padding: 20px;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  animation: backgroundShift 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes backgroundShift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-5%, -5%); }
}

.landing-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ========== 移动端切换按钮 ========== */
.mobile-toggle {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.toggle-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.toggle-btn.active {
  background: white;
  color: var(--accent-color);
  border-color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.toggle-btn i {
  font-size: 1.1rem;
}

/* ========== 头部 ========== */
.landing-header {
  text-align: center;
  color: white;
  margin-bottom: 30px;
  animation: fadeInDown 0.6s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.logo i {
  font-size: 2.5rem;
  animation: rotate 20s linear infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo h1 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.subtitle {
  font-size: 1rem;
  opacity: 0.95;
  font-weight: 300;
}

/* ========== 主卡片 ========== */
.main-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.1);
  padding: 35px;
  display: grid;
  grid-template-columns: 2fr auto 1fr;
  gap: 35px;
  animation: fadeInUp 0.6s ease;
  position: relative;
  overflow: hidden;
}

.main-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  opacity: 0.8;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== 左侧：网站介绍 + 功能模块 ========== */
.left-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 上部：网站介绍 */
.intro-area {
  text-align: center;
  background: white;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 0 0 1px rgba(102, 126, 234, 0.05);
  position: relative;
  overflow: hidden;
}

.intro-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.intro-title {
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  font-weight: 600;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  z-index: 1;
}

.intro-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.intro-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  position: relative;
  z-index: 1;
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  border-radius: 8px;
  transition: var(--transition);
  border: 1px solid rgba(102, 126, 234, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
  transition: left 0.5s ease;
}

.feature-badge:hover::before {
  left: 100%;
}

.feature-badge:hover {
  background: linear-gradient(135deg, #e8eaf6 0%, #f3e5f5 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
  border-color: var(--accent-light);
}

.feature-badge i {
  font-size: 1.4rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.feature-badge div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
}

.feature-badge strong {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 600;
}

.feature-badge span {
  font-size: 0.7rem;
  color: var(--text-light);
}

/* 水平分隔线 */
.horizontal-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-color), transparent);
  margin: 0;
}

/* 下部：功能模块 */
.modules-area {
  flex: 1;
}

.modules-card {
  background: white;
  border-radius: 12px;
  padding: 0;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 0 0 1px rgba(102, 126, 234, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.modules-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.modules-card-header {
  background: var(--primary-gradient);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.modules-card-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: headerGlow 8s ease-in-out infinite;
}

@keyframes headerGlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10%, 10%); }
}

.modules-card-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
}

.modules-card-header i {
  font-size: 1.4rem;
  color: white;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.modules-card-header h3 {
  font-size: 1.2rem;
  color: white;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.modules-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
  background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
}

.module-section {
  background: white;
  border-radius: 10px;
  padding: 15px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: var(--transition);
}

.module-section:hover {
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.12);
  border-color: var(--accent-light);
  transform: translateY(-2px);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg-light);
  position: relative;
}

.section-label::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-gradient);
}

.section-label i {
  font-size: 1.1rem;
  color: white;
  background: var(--primary-gradient);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.section-label span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.module-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: default;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.module-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent-color);
  transform: scaleY(0);
  transition: var(--transition);
}

.module-tag:hover::before {
  transform: scaleY(1);
}

.module-tag:hover {
  background: white;
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateX(3px);
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.15);
}

.module-tag i {
  font-size: 0.85rem;
  color: var(--accent-color);
}

/* ========== 垂直分隔线 ========== */
.vertical-divider {
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border-color), transparent);
  align-self: stretch;
}

/* ========== 右侧：登录注册 ========== */
.right-section {
  display: flex;
  flex-direction: column;
}

.auth-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: white;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 0 0 1px rgba(102, 126, 234, 0.05);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.auth-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

/* 认证头部 */
.auth-header {
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--bg-light);
  position: relative;
  z-index: 1;
}

.auth-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.auth-icon {
  width: 55px;
  height: 55px;
  margin: 0 auto 10px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md), 0 0 20px rgba(102, 126, 234, 0.3);
  position: relative;
  animation: iconPulse 3s ease-in-out infinite;
  z-index: 1;
}

.auth-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: iconGlow 4s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { box-shadow: var(--shadow-md), 0 0 20px rgba(102, 126, 234, 0.3); }
  50% { box-shadow: var(--shadow-md), 0 0 30px rgba(102, 126, 234, 0.5); }
}

@keyframes iconGlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(5%, 5%) rotate(180deg); }
}

.auth-icon i {
  font-size: 1.7rem;
  color: white;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.auth-title {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 5px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.auth-subtitle {
  font-size: 0.8rem;
  color: var(--text-light);
  position: relative;
  z-index: 1;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.auth-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px;
  background: var(--bg-light);
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.auth-tab:hover {
  background: var(--bg-lighter);
  color: var(--accent-color);
  border-color: var(--accent-light);
}

.auth-tab.active {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.auth-tab i {
  font-size: 0.9rem;
}

/* 表单 */
.auth-form {
  display: none;
}

.auth-form.active {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.form-group {
  margin: 0;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-group label i {
  margin-right: 4px;
  color: var(--accent-color);
  font-size: 0.75rem;
}

.form-group input {
  width: 100%;
  padding: 9px 11px;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.85rem;
  transition: var(--transition);
  background: var(--bg-white);
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  background: white;
}

.form-group input::placeholder {
  color: var(--text-light);
}

.auth-btn {
  width: 100%;
  padding: 11px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.auth-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.auth-btn:hover::before {
  width: 300px;
  height: 300px;
}

.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.auth-btn:active {
  transform: translateY(0);
}

.auth-btn i,
.auth-btn span {
  position: relative;
  z-index: 1;
}

.auth-btn i {
  font-size: 0.9rem;
}

.form-tip {
  text-align: center;
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-light);
}

.form-tip a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.form-tip a:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

/* 用户权益说明 */
.auth-benefits {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(102, 126, 234, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.auth-benefits::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-gradient);
  box-shadow: 2px 0 6px rgba(102, 126, 234, 0.3);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: var(--transition);
  padding-left: 4px;
}

.benefit-item:hover {
  color: var(--accent-color);
  transform: translateX(4px);
}

.benefit-item i {
  font-size: 0.9rem;
  color: #48bb78;
  flex-shrink: 0;
}

/* 安全提示 */
.security-note {
  background: linear-gradient(135deg, #e8eaf6 0%, #f3e5f5 100%);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(102, 126, 234, 0.15);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.security-note::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
  animation: securityGlow 6s ease-in-out infinite;
  z-index: 0;
}

@keyframes securityGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5%, 5%) scale(1.1); }
}

.security-note i {
  font-size: 1.4rem;
  color: var(--accent-color);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
}

.security-note p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ========== 底部 ========== */
.landing-footer {
  text-align: center;
  color: white;
  margin-top: 30px;
  padding: 20px;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ========== 消息提示 ========== */
#messageContainer {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.message {
  background: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  animation: slideIn 0.3s ease;
}

.message.success {
  border-left: 4px solid #48bb78;
}

.message.error {
  border-left: 4px solid #f56565;
}

.message.info {
  border-left: 4px solid #4299e1;
}

.message i {
  font-size: 1.2rem;
}

.message.success i {
  color: #48bb78;
}

.message.error i {
  color: #f56565;
}

.message.info i {
  color: #4299e1;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ========== 加载动画 ========== */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  backdrop-filter: blur(4px);
}

.loading-spinner {
  background: white;
  padding: 35px 60px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.loading-spinner i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.loading-spinner p {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1200px) {
  .main-card {
    padding: 30px;
    gap: 30px;
  }

  .intro-title {
    font-size: 1.5rem;
  }

  .features-row {
    gap: 8px;
  }

  .feature-badge {
    padding: 9px;
  }

  .modules-card-header {
    padding: 16px 18px;
  }

  .modules-card-header i {
    font-size: 1.2rem;
  }

  .modules-card-header h3 {
    font-size: 1.1rem;
  }

  .modules-content {
    padding: 18px;
    gap: 15px;
  }

  .module-section {
    padding: 13px;
  }

  .section-label {
    margin-bottom: 10px;
    padding-bottom: 8px;
  }

  .section-label i {
    width: 26px;
    height: 26px;
    font-size: 1rem;
  }

  .section-label span {
    font-size: 0.9rem;
  }

  .module-tags {
    gap: 6px;
  }

  .module-tag {
    padding: 5px 10px;
    font-size: 0.75rem;
  }

  .module-tag i {
    font-size: 0.8rem;
  }
}

@media (max-width: 992px) {
  .main-card {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 25px;
  }

  .vertical-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
  }
}

@media (max-width: 768px) {
  /* 显示移动端切换按钮 */
  .mobile-toggle {
    display: grid;
  }

  /* 默认隐藏右侧用户中心 */
  .right-section {
    display: none;
  }

  /* 当显示用户中心时 */
  .right-section.mobile-active {
    display: flex;
  }

  /* 当显示用户中心时隐藏左侧 */
  .left-section.mobile-hidden {
    display: none;
  }

  /* 隐藏垂直分隔线 */
  .vertical-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .logo h1 {
    font-size: 1.6rem;
  }

  .logo i {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  .landing-header {
    margin-bottom: 20px;
  }

  .main-card {
    padding: 20px;
    gap: 0;
  }

  .intro-title {
    font-size: 1.4rem;
  }

  .intro-desc {
    font-size: 0.9rem;
  }

  .features-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .feature-badge {
    padding: 10px;
  }

  .feature-badge i {
    font-size: 1.4rem;
  }

  .modules-title {
    font-size: 1.1rem;
  }

  .modules-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .module-category {
    padding: 12px;
  }

  .modules-card-header {
    padding: 14px 16px;
  }

  .modules-card-header i {
    font-size: 1.1rem;
  }

  .modules-card-header h3 {
    font-size: 1rem;
  }

  .modules-content {
    padding: 15px;
    gap: 12px;
  }

  .module-section {
    padding: 12px;
  }

  .section-label {
    margin-bottom: 8px;
    padding-bottom: 6px;
  }

  .section-label i {
    width: 24px;
    height: 24px;
    font-size: 0.9rem;
  }

  .section-label span {
    font-size: 0.85rem;
  }

  .module-tags {
    gap: 5px;
  }

  .module-tag {
    padding: 4px 8px;
    font-size: 0.7rem;
  }

  .module-tag i {
    font-size: 0.75rem;
  }

  .auth-icon {
    width: 55px;
    height: 55px;
  }

  .auth-icon i {
    font-size: 1.7rem;
  }

  .auth-title {
    font-size: 1.2rem;
  }

  .message {
    min-width: auto;
    max-width: calc(100vw - 40px);
  }
}

@media (max-width: 480px) {
  .logo {
    flex-direction: column;
    gap: 10px;
  }

  .logo h1 {
    font-size: 1.4rem;
  }

  .intro-title {
    font-size: 1.2rem;
  }

  .feature-badge {
    flex-direction: column;
    text-align: center;
  }

  .feature-badge div {
    align-items: center;
  }
}
