

/* Hero del Ranking */
#ranking-hero {
  background: linear-gradient(135deg, var(--bg-cream) 0%, #ebe8e3 100%);
  padding: 140px 60px 80px;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ranking-hero-content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.ranking-hero-content h1 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-dark);
}

.ranking-hero-content h1 span {
  color: var(--accent-red);
}

.ranking-hero-content p {
  font-size: 18px;
  color: var(--text-medium);
  max-width: 600px;
  line-height: 1.6;
}

/* Sección de Ranking */
#ranking-section {
  background-color: var(--bg-white);
  padding: 120px 60px;
}

/* Podio Top 3 */
.podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto 80px;
}

.podium-item {
  background-color: var(--bg-white);
  border: 2px solid var(--border-light);
  border-radius: 20px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  transition: all 0.4s ease;
  flex: 1;
  max-width: 280px;
}

.podium-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

/* Primer lugar - más alto */
.podium-item.first {
  padding-top: 48px;
  padding-bottom: 48px;
  border-color: #ffd700;
  background: linear-gradient(135deg, #fff9e6 0%, var(--bg-white) 100%);
}

/* Segundo lugar - altura media */
.podium-item.second {
  padding-top: 40px;
  padding-bottom: 40px;
  border-color: #c0c0c0;
  background: linear-gradient(135deg, #f5f5f5 0%, var(--bg-white) 100%);
}

/* Tercer lugar - más bajo */
.podium-item.third {
  padding-top: 32px;
  padding-bottom: 32px;
  border-color: #cd7f32;
  background: linear-gradient(135deg, #fff4e6 0%, var(--bg-white) 100%);
}

.podium-rank {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: var(--text-dark);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.podium-item.first .podium-rank {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  width: 48px;
  height: 48px;
  font-size: 20px;
}

.podium-item.second .podium-rank {
  background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%);
}

.podium-item.third .podium-rank {
  background: linear-gradient(135deg, #cd7f32 0%, #b8732d 100%);
}

.podium-avatar {
  width: 80px;
  height: 80px;
  background-color: var(--bg-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--border-light);
}

.podium-item.first .podium-avatar {
  width: 96px;
  height: 96px;
  border-color: #ffd700;
}

.podium-avatar svg {
  width: 40px;
  height: 40px;
  color: var(--text-medium);
}

.podium-item.first .podium-avatar svg {
  width: 48px;
  height: 48px;
}

.podium-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  letter-spacing: -0.01em;
}

.podium-item.first h3 {
  font-size: 24px;
}

.podium-stats {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  width: 100%;
  justify-content: center;
}

.podium-stats .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-red);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12px;
  color: var(--text-medium);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.podium-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}

.podium-badge.gold {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
}

.podium-badge.silver {
  background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%);
}

.podium-badge.bronze {
  background: linear-gradient(135deg, #cd7f32 0%, #b8732d 100%);
}

.podium-badge svg {
  width: 24px;
  height: 24px;
  color: var(--bg-white);
}

/* Lista de Rankings 4-10 */
.ranking-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ranking-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: all 0.3s ease;
}

.ranking-item:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--text-dark);
}

.ranking-position {
  width: 48px;
  height: 48px;
  background-color: var(--text-dark);
  color: var(--bg-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.ranking-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.ranking-avatar {
  width: 56px;
  height: 56px;
  background-color: var(--bg-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-light);
  flex-shrink: 0;
}

.ranking-avatar svg {
  width: 28px;
  height: 28px;
  color: var(--text-medium);
}

.ranking-details h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.ranking-details p {
  font-size: 14px;
  color: var(--text-medium);
  font-weight: 500;
}

.ranking-total {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-red);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

/* Sección de Beneficios */
.benefits-section {
  margin-top: 120px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  transition: all 0.4s ease;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon.gold {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
}

.benefit-icon.silver {
  background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%);
}

.benefit-icon.bronze {
  background: linear-gradient(135deg, #cd7f32 0%, #b8732d 100%);
}

.benefit-icon svg {
  width: 36px;
  height: 36px;
  color: var(--bg-white);
}

.benefit-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.benefit-card p {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.6;
}

.benefit-requirement {
  padding: 8px 20px;
  background-color: var(--bg-cream);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  #ranking-hero {
    padding: 120px 40px 60px;
  }

  .ranking-hero-content h1 {
    font-size: 52px;
  }

  #ranking-section {
    padding: 100px 40px;
  }

  .podium {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  #ranking-hero {
    padding: 100px 20px 40px;
  }

  .ranking-hero-content h1 {
    font-size: 40px;
  }

  .ranking-hero-content p {
    font-size: 16px;
  }

  #ranking-section {
    padding: 80px 20px;
  }

  .podium {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .podium-item {
    max-width: 100%;
    width: 100%;
  }

  .podium-item.first,
  .podium-item.second,
  .podium-item.third {
    padding: 32px 24px;
  }

  .ranking-list {
    gap: 12px;
  }

  .ranking-item {
    padding: 20px;
    flex-wrap: wrap;
  }

  .ranking-position {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .ranking-avatar {
    width: 48px;
    height: 48px;
  }

  .ranking-avatar svg {
    width: 24px;
    height: 24px;
  }

  .ranking-details h4 {
    font-size: 16px;
  }

  .ranking-total {
    font-size: 20px;
    width: 100%;
    text-align: right;
  }

  .benefits-section {
    margin-top: 80px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .ranking-hero-content h1 {
    font-size: 32px;
  }

  .podium-item h3 {
    font-size: 18px;
  }

  .podium-item.first h3 {
    font-size: 20px;
  }

  .stat-value {
    font-size: 20px;
  }

  .benefit-card h3 {
    font-size: 20px;
  }
}