}

.yymh-rankings-layout {
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 30%, #16213e 100%);
}

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

.yymh-ranking-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

.yymh-ranking-card:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 20px 40px rgba(168, 85, 247, 0.4);
}

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

.yymh-rank-badge.top-3 {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
}

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

.yymh-chart-container {
  position: relative;
  height: 300px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 15px;
  padding: 20px;
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.yymh-chart-container canvas {
  border-radius: 10px;
}

.yymh-chart-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.yymh-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  font-size: 12px;
}

.yymh-legend-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(45deg, #a855f7, #3b82f6);
}

.yymh-voting-section {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);