.yjdm-epic-layout {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fed7aa 100%);
}

.yjdm-ranking-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.rank-1 {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
}

.rank-2 {
  background: linear-gradient(135deg, #d1d5db, #9ca3af);
  color: white;
}

.rank-3 {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
}

.yjdm-rank-badge {
  background: rgba(255, 255, 255, 0.9);
  color: #1f2937;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: rankPulse 2s infinite alternate;
}

@keyframes rankPulse {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.1) rotate(5deg); }
}

.yjdm-ranking-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.yjdm-vote-btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.yjdm-vote-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.yjdm-vote-btn:hover::before {
  width: 100%;
  height: 100%;
}

.yjdm-tab-btn {
  transition: all 0.3s ease;
  position: relative;
}

.yjdm-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #f97316);
  border-radius: 2px;
}