.tx-dashboard-item {
  transition: all 0.4s ease;
  cursor: pointer;
}

.tx-dashboard-item:hover {
  transform: translateY(-10px) scale(1.05);
}

.tx-dashboard-icon {
  transition: all 0.4s ease;
}

.tx-dashboard-item:hover .tx-dashboard-icon {
  transform: scale(1.2) rotate(10deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 统计卡片特效 */
.tx-stat-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.tx-stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: transform 0.6s ease;
  opacity: 0;
}

.tx-stat-card:hover::before {
  opacity: 1;
  transform: translate(50%, 50%) rotate(45deg);
}

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

/* 统计图标动画 */
.tx-stat-icon {
  transition: all 0.4s ease;
}

.tx-stat-card:hover .tx-stat-icon {
  transform: scale(1.15) rotate(15deg);
}

/* 统计数字动画 */
.tx-stat-number {
  transition: all 0.5s ease;
}

.tx-stat-card:hover .tx-stat-number {
  transform: scale(1.1);
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* 增长指示器动画 */
.tx-stat-change {
  transition: all 0.3s ease;
}

.tx-stat-card:hover .tx-stat-change {
  transform: scale(1.1);
  font-weight: bold;
}

/* 上传按钮特效 */
.tx-upload-btn {
  position: relative;
  overflow: hidden;
  animation: tx-upload-glow 3s ease-in-out infinite;
}

@keyframes tx-upload-glow {
  0%, 100% { 
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
  }
  50% { 
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.6);
  }
}

.tx-upload-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.tx-upload-btn:hover::before {
  left: 100%;
}

/* 仪表板网格动画 */
.tx-creator-dashboard .tx-dashboard-item {
  animation: tx-dashboard-pop 0.6s ease forwards;
  opacity: 0;
  transform: scale(0.8);
}

.tx-dashboard-item:nth-child(1) { animation-delay: 0.1s; }
.tx-dashboard-item:nth-child(2) { animation-delay: 0.2s; }
.tx-dashboard-item:nth-child(3) { animation-delay: 0.3s; }
.tx-dashboard-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes tx-dashboard-pop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 统计卡片网格动画 */
.tx-stats-grid .tx-stat-card {
  animation: tx-stat-slide-in 0.6s ease forwards;
  opacity: 0;
  transform: translateX(-50px);
}

.tx-stat-card:nth-child(1) { animation-delay: 0.1s; }
.tx-stat-card:nth-child(2) { animation-delay: 0.2s; }
.tx-stat-card:nth-child(3) { animation-delay: 0.3s; }
.tx-stat-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes tx-stat-slide-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .tx-creator-dashboard {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tx-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .tx-creator-dashboard {
    grid-template-columns: 1fr;
  }
  
  .tx-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .tx-hero-title {
    font-size: 2.5rem;
  }
}