/* ============================================
   云梦艺术平台 - 水墨云梦风格
   Ink & Cloud: A Distinctive Chinese Aesthetic
   ============================================ */

/* 🎨 设计理念：
   - 摒弃通用的紫色渐变
   - 采用水墨蓝 + 琥珀金的配色
   - 加入宣纸纹理和云雾效果
   - 优雅克制，留白呼吸
*/

:root {
  /* 主色调 - 水墨蓝系 */
  --ink-deep: #1a1f3a;
  --ink: #2d3a5c;
  --ink-light: #4a5568;
  
  /* 强调色 - 琥珀金系 */
  --amber: #d4a574;
  --amber-light: #e8c9a0;
  --amber-dark: #b8956a;
  
  /* 背景色 - 宣纸白系 */
  --paper: #faf7f2;
  --paper-warm: #f5f0e8;
  --paper-cool: #f0f4f8;
  
  /* 功能色 */
  --success: #5a9a6e;
  --warning: #d4a574;
  --danger: #c45c5c;
  --info: #5a8a9a;
  
  /* 中性色 */
  --text: #2d3748;
  --text-light: #718096;
  --text-lighter: #a0aec0;
  --white: #ffffff;
  
  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(26, 31, 58, 0.08);
  --shadow-md: 0 4px 16px rgba(26, 31, 58, 0.12);
  --shadow-lg: 0 8px 32px rgba(26, 31, 58, 0.16);
  --shadow-amber: 0 4px 20px rgba(212, 165, 116, 0.25);
  
  /* 圆角 */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  
  /* 过渡 */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   基础样式
   ============================================ */

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

body { 
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: var(--paper);
  color: var(--text);
  line-height: 1.7;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(212, 165, 116, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(26, 31, 58, 0.03) 0%, transparent 50%);
}

/* 纸张纹理效果 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
  z-index: -1;
}

/* ============================================
   导航栏 - 优雅固定
   ============================================ */

.navbar { 
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  border-bottom: 1px solid rgba(26, 31, 58, 0.06);
}

.nav-container { 
  max-width: 1280px; 
  margin: 0 auto; 
  padding: 0 24px; 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  height: 72px;
}

.nav-logo { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  text-decoration: none;
  transition: var(--transition);
}

.nav-logo:hover {
  transform: scale(1.02);
}

.nav-logo-icon { 
  width: 44px; 
  height: 44px; 
  background: linear-gradient(135deg, var(--ink-deep) 0%, var(--ink) 100%);
  border-radius: 12px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.nav-logo-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(212, 165, 116, 0.3) 50%, transparent 60%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.nav-logo-title { 
  font-size: 20px; 
  font-weight: 700; 
  color: var(--ink-deep);
  letter-spacing: 0.5px;
}

.nav-menu { 
  display: flex; 
  gap: 6px;
  align-items: center;
}

.nav-link { 
  padding: 10px 18px; 
  border-radius: var(--radius-sm); 
  color: var(--text-light); 
  text-decoration: none; 
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover { 
  background: var(--paper-warm);
  color: var(--ink);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav-link:hover::after {
  width: 24px;
}

.nav-link.active { 
  background: var(--ink-deep);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.nav-link.active::after {
  display: none;
}

.nav-auth { 
  display: flex; 
  gap: 12px; 
  align-items: center;
}

/* ============================================
   按钮系统
   ============================================ */

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

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.btn-primary { 
  background: linear-gradient(135deg, var(--ink-deep) 0%, var(--ink) 100%);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover { 
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary { 
  background: var(--white);
  color: var(--ink-deep);
  border: 2px solid rgba(26, 31, 58, 0.15);
}

.btn-secondary:hover { 
  background: var(--paper-warm);
  border-color: var(--amber);
  color: var(--ink-deep);
}

.btn-amber {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-amber);
}

.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 165, 116, 0.35);
}

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

.btn-block { 
  width: 100%; 
  justify-content: center;
}

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

/* ============================================
   Hero 区域 - 水墨云雾
   ============================================ */

.hero { 
  padding: 160px 24px 100px;
  background: linear-gradient(180deg, var(--ink-deep) 0%, var(--ink) 60%, var(--ink-light) 100%);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* 云雾效果 */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(212, 165, 116, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
  animation: cloudDrift 20s ease-in-out infinite;
}

@keyframes cloudDrift {
  0%, 100% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(-20px) translateY(10px); }
}

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

.hero-content h1 { 
  font-size: 56px; 
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -1px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 span {
  color: var(--amber);
}

.hero-content p { 
  font-size: 20px; 
  margin-bottom: 40px; 
  opacity: 0.85;
  font-weight: 400;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-btns { 
  display: flex; 
  gap: 16px; 
  justify-content: center; 
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-btns .btn-secondary { 
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.hero-btns .btn-secondary:hover { 
  background: var(--white);
  color: var(--ink-deep);
  border-color: var(--white);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   作品区域
   ============================================ */

.works-section { 
  max-width: 1280px; 
  margin: 0 auto; 
  padding: 80px 24px;
}

.section-title { 
  text-align: center; 
  font-size: 36px; 
  margin-bottom: 48px;
  font-weight: 700;
  color: var(--ink-deep);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-light));
  margin: 16px auto 0;
  border-radius: 2px;
}

.works-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
  gap: 28px;
}

/* ============================================
   作品卡片 - 优雅悬停
   ============================================ */

.work-card { 
  background: var(--white);
  border-radius: var(--radius); 
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.work-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 31, 58, 0.02) 100%);
  pointer-events: none;
  opacity: 0;
  transition: var(--transition);
}

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

.work-card:hover::before {
  opacity: 1;
}

.work-card img { 
  width: 100%; 
  height: 200px; 
  object-fit: cover;
  transition: var(--transition);
}

.work-card:hover img {
  transform: scale(1.05);
}

.work-card-image {
  position: relative;
  overflow: hidden;
}

.work-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.badge-free {
  background: rgba(90, 154, 110, 0.9);
  color: white;
}

.badge-paid {
  background: rgba(212, 165, 116, 0.95);
  color: white;
}

.work-card-body { 
  padding: 20px;
}

.work-card-title { 
  font-size: 17px; 
  font-weight: 600; 
  margin-bottom: 10px;
  color: var(--ink-deep);
}

.work-card-meta { 
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  color: var(--text-light); 
  font-size: 13px;
}

.work-card-author {
  display: flex;
  align-items: center;
  gap: 6px;
}

.work-card-author img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.work-card-stats {
  display: flex;
  gap: 12px;
}

.work-card-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   功能区域
   ============================================ */

.features { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
  gap: 24px;
  max-width: 1280px; 
  margin: 0 auto; 
  padding: 40px 24px 100px;
}

.feature-card { 
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--ink-deep), var(--amber));
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card i { 
  font-size: 44px;
  color: var(--amber);
  margin-bottom: 20px;
  display: block;
}

.feature-card h3 { 
  margin-bottom: 12px;
  font-size: 18px;
  color: var(--ink-deep);
}

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

/* ============================================
   页脚
   ============================================ */

.footer { 
  background: var(--ink-deep);
  color: var(--white);
  padding: 60px 24px 40px;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   表单样式
   ============================================ */

.form-group { 
  margin-bottom: 24px;
}

.form-label { 
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.form-input { 
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(26, 31, 58, 0.1);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: var(--transition);
  background: var(--white);
}

.form-input:focus { 
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.1);
}

.form-input::placeholder {
  color: var(--text-lighter);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ============================================
   认证页面
   ============================================ */

.auth-page { 
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
  position: relative;
}

.auth-page::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.auth-page::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(26, 31, 58, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

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

.auth-box { 
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.auth-title { 
  text-align: center;
  margin-bottom: 36px;
}

.auth-title h1 { 
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--ink-deep);
  font-weight: 700;
}

.auth-title p { 
  color: var(--text-light);
  font-size: 14px;
}

/* ============================================
   个人中心页面
   ============================================ */

.profile-page { 
  padding: 110px 24px 60px;
  max-width: 860px;
  margin: 0 auto;
}

.user-card { 
  background: linear-gradient(135deg, var(--ink-deep) 0%, var(--ink) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.user-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.user-info { 
  display: flex; 
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.user-avatar { 
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  border: 3px solid rgba(255,255,255,0.2);
}

.user-name { 
  font-size: 26px;
  font-weight: 700;
}

.user-role { 
  font-size: 14px;
  opacity: 0.85;
  margin-top: 4px;
}

.user-stats { 
  display: flex;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.user-stat { 
  text-align: center;
}

.user-stat-value { 
  font-size: 28px;
  font-weight: 700;
  color: var(--amber);
}

.user-stat-label { 
  font-size: 13px;
  opacity: 0.8;
  margin-top: 4px;
}

/* ============================================
   菜单部分
   ============================================ */

.menu-section { 
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.menu-title { 
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--paper-warm);
  color: var(--ink-deep);
}

.menu-grid { 
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.menu-item { 
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: var(--paper);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text);
  position: relative;
}

.menu-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--amber);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-item:hover { 
  background: var(--paper-warm);
  transform: translateX(4px);
}

.menu-item:hover::before {
  height: 60%;
}

.menu-icon { 
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
}

.menu-icon.amber { background: linear-gradient(135deg, var(--amber), var(--amber-dark)); }
.menu-icon.ink { background: linear-gradient(135deg, var(--ink-deep), var(--ink)); }
.menu-icon.success { background: linear-gradient(135deg, #5a9a6e, #4a8a5e); }
.menu-icon.info { background: linear-gradient(135deg, #5a8a9a, #4a7a8a); }
.menu-icon.danger { background: linear-gradient(135deg, #c45c5c, #b44c4c); }

.menu-text { 
  font-weight: 500;
  font-size: 15px;
}

/* ============================================
   管理后台
   ============================================ */

.admin-page { 
  padding: 110px 24px 60px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.admin-title { 
  font-size: 32px;
  font-weight: 700;
  color: var(--ink-deep);
}

/* ============================================
   审核列表
   ============================================ */

.review-list { 
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-item { 
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--warning);
  transition: var(--transition);
}

.review-item:hover {
  box-shadow: var(--shadow-md);
}

.review-item.approved { 
  border-left-color: var(--success);
}

.review-item.rejected { 
  border-left-color: var(--danger);
}

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

.review-title { 
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-deep);
}

.review-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.review-status.pending {
  background: rgba(212, 165, 116, 0.15);
  color: var(--amber-dark);
}

.review-status.approved {
  background: rgba(90, 154, 110, 0.15);
  color: var(--success);
}

.review-status.rejected {
  background: rgba(196, 92, 92, 0.15);
  color: var(--danger);
}

.review-desc { 
  color: var(--text-light);
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.7;
}

.review-actions { 
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============================================
   标签页
   ============================================ */

.tabs { 
  display: flex;
  margin-bottom: 28px;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 6px;
  gap: 4px;
}

.tab { 
  flex: 1;
  padding: 14px;
  text-align: center;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition);
  font-size: 14px;
}

.tab:hover {
  color: var(--ink);
}

.tab.active { 
  background: var(--white);
  color: var(--ink-deep);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   Toast 提示框
   ============================================ */

.toast { 
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  padding: 16px 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 9999;
  animation: toastSlide 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast.success { 
  border-left: 4px solid var(--success);
}

.toast.error { 
  border-left: 4px solid var(--danger);
}

.toast.warning {
  border-left: 4px solid var(--warning);
}

@keyframes toastSlide { 
  from { 
    opacity: 0;
    transform: translate(-50%, -20px) scale(0.95);
  }
  to { 
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

.toast i {
  font-size: 20px;
}

.toast.success i { color: var(--success); }
.toast.error i { color: var(--danger); }
.toast.warning i { color: var(--warning); }

/* ============================================
   空状态
   ============================================ */

.empty { 
  text-align: center;
  padding: 80px 20px;
  color: var(--text-light);
}

.empty i { 
  font-size: 72px;
  margin-bottom: 20px;
  opacity: 0.4;
  color: var(--text-lighter);
}

.empty p {
  font-size: 16px;
}

/* ============================================
   作者链接样式
   ============================================ */

a[href*="author.html"] { 
  transition: var(--transition);
  color: var(--text-light);
}

a[href*="author.html"]:hover { 
  color: var(--amber);
  text-decoration: none;
}

/* ============================================
   打赏选项样式
   ============================================ */

.tip-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.tip-option {
  padding: 16px 8px;
  background: var(--paper);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.tip-option:hover {
  background: var(--paper-warm);
  border-color: var(--amber-light);
}

.tip-option.selected {
  background: linear-gradient(135deg, var(--ink-deep), var(--ink));
  color: var(--white);
  border-color: var(--ink-deep);
}

.tip-option div:first-child {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.tip-option div:last-child {
  font-size: 12px;
  opacity: 0.8;
}

/* ============================================
   响应式设计
   ============================================ */

@media (max-width: 768px) {
  .nav-menu { 
    display: none;
  }
  
  .hero-content h1 { 
    font-size: 36px;
  }
  
  .hero-content p {
    font-size: 16px;
  }
  
  .user-stats { 
    flex-wrap: wrap;
    gap: 24px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .tip-options {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .works-grid {
    grid-template-columns: 1fr;
  }
  
  .auth-box {
    padding: 32px 24px;
  }
  
  .admin-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ============================================
   淡入动画辅助类
   ============================================ */

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

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

/* 延迟淡入 */
.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
.fade-in-delay-4 { animation-delay: 0.4s; }

/* ============================================
   管理员菜单特殊样式
   ============================================ */

.menu-item[href*="admin.html"] {
  background: linear-gradient(135deg, rgba(26, 31, 58, 0.05), rgba(212, 165, 116, 0.05));
}

.menu-item[href*="admin.html"]:hover {
  background: linear-gradient(135deg, rgba(26, 31, 58, 0.1), rgba(212, 165, 116, 0.1));
}
