.xxmh-popular-layout {
  background: linear-gradient(135deg, #f3e8ff 0%, #e0e7ff 30%, #dbeafe 100%);
}

.xxmh-ranking-card {
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(251, 146, 60, 0.2);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.xxmh-ranking-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.xxmh-ranking-card:hover::before {
  opacity: 1;
}

.xxmh-ranking-card:hover {
  transform: translateY(-5px);
  border-color: rgba(251, 146, 60, 0.4);
  box-shadow: 0 20px 40px rgba(251, 146, 60, 0.3);
}

.xxmh-rank-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  color: white;
  box-shadow: 0 10px 20px rgba(251, 191, 36, 0.3);
  z-index: 10;
  animation: pulse 2s infinite;
}

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

.xxmh-rank-badge.top-1 {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: scale(1.2) rotate(5deg);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.xxmh-vote-btn {
  transition: all 0.3s ease;
}

.xxmh-vote-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(251, 146, 60, 0.3);
}

@media (max-width: 768px) {
  .xxmh-ranking-card {
    padding: 1.5rem;
  }
  
  .xxmh-rank-item {
    flex-direction: column;
    text-align: center;
  }
}