/* =========================
   [03] PÁGINA: HOME (Preview dos top mangás, trilhas/carrosséis e estrutura da página inicial)
========================= */
.dt-ranking-row {
  display: flex;
  align-items: center;
  gap: 28px; 
  overflow-x: auto;
  margin: 0 -10px; 
  padding: 32px 10px 30px 10px; 
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.dt-ranking-row::-webkit-scrollbar { display: none; }

.dt-rank-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.dt-rank-item:hover {
  transform: translateY(-8px);
}

/* Top 1 Sempre Ativo (Destaque) */
.dt-rank-item:first-child {
  transform: translateY(-8px);
}

.dt-rank-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid #1e1e24;
  object-fit: cover;
  background: #262627;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.dt-rank-item:hover .dt-rank-avatar,
.dt-rank-item:first-child .dt-rank-avatar {
  border-color: #8520D2;
  box-shadow: 0 10px 20px rgba(133, 32, 210, 0.25);
}

.dt-rank-num {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #1e1e24;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 12px;
  border: 3px solid var(--bg);
  transition: background 0.3s ease, color 0.3s ease;
}

.dt-rank-item:hover .dt-rank-num,
.dt-rank-item:first-child .dt-rank-num {
  background: #8520D2;
  color: #ffffff;
}

.dt-rank-crown {
  position: absolute;
  top: -22px; 
  left: 50%;
  transform: translateX(-50%) rotate(-12deg); 
  font-size: 32px;
  z-index: 2;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4));
  pointer-events: none;
}

.dt-rank-more {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #262627, #141414);
  border: 3px solid #262627;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 36px;
  flex-shrink: 0;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.dt-rank-more:hover {
  transform: translateY(-8px);
  border-color: #8520D2;
  color: #ffffff;
}

@media (max-width: 500px) {
  .dt-ranking-row {
    gap: 10px; 
    padding: 26px 10px 26px 10px;
  }
  .dt-rank-avatar, .dt-rank-more {
    width: 68px; 
    height: 68px;
  }
  .dt-rank-more { font-size: 28px; }
  .dt-rank-crown { font-size: 26px; top: -18px; }
  .dt-rank-num { font-size: 11px; padding: 3px 10px; bottom: -8px; }
}