
<!-- 优化后的自定义CSS -->

/* 基础样式调整 */
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.bg-transparent { background-color: transparent !important; }

/* 标签云样式优化 */
.tag-cloud {
    max-height: 120px;
    overflow-y: auto;
    padding-right: 8px;
}
/* 排行榜奖牌样式 */
.badge-gold {
    background-color: #ffd700;
    color: #8b6f00;
    border: 1px solid #e6c200;
}
.badge-silver {
    background-color: #c0c0c0;
    color: #5a5a5a;
    border: 1px solid #a8a8a8;
}
.badge-bronze {
    background-color: #cd7f32;
    color: #6b3e14;
    border: 1px solid #b46a2a;
}

/* 响应式调整：小屏幕下双栏变单栏 */
@media (max-width: 767px) {
    .sidebar-container .row > div {
        margin-bottom: 1rem;
    }
}


/* 列表项悬浮浮动效果 */
.hover-float {
    transition: all 0.3s ease;
    cursor: pointer;
}

.hover-float:hover {
    transform: translateY(-3px);
    background-color: rgba(0, 123, 255, 0.05);
    border-color: rgba(0, 123, 255, 0.2);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.1);
}

/* 可选项：添加图标和文本的同步动画 */
.hover-float:hover i {
    transform: translateX(-2px);
    color: #007bff;
}

.hover-float:hover span.text-truncate {
    color: #007bff;
}

.hover-float i,
.hover-float span.text-truncate {
    transition: all 0.3s ease;
}


/* 表格行悬浮浮动效果 */
.hover-float-row {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 4px;
}
/* 图标和文字同步动画 */
.hover-float-row:hover .badge {
    transform: scale(1.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hover-float-row:hover a.text-dark {
    color: #007bff !important;
    padding-left: 4px;
}

.hover-float-row .badge,
.hover-float-row a.text-dark {
    transition: all 0.3s ease;
}

/* 针对排行榜前三名的特殊效果 */
.hover-float-row:hover .badge-gold {
    background-color: #ffed4e;
    color: #856404;
    transform: scale(1.2) rotate(5deg);
}

.hover-float-row:hover .badge-silver {
    background-color: #e0e0e0;
    color: #424242;
    transform: scale(1.15) rotate(-3deg);
}

.hover-float-row:hover .badge-bronze {
    background-color: #d7b067;
    color: #5d4037;
    transform: scale(1.1) rotate(2deg);
}


/* 歌曲列表项基础样式 */
.song-item-link {
    text-decoration: none;
    color: inherit;
}

.song-title {
    color: #343a40; /* 默认黑色 */
    font-weight: bold;
    transition: color 0.3s ease;
}

.song-quality {
    color: #6c757d; /* 灰色表示音质 */
}

.song-date {
    color: #6c757d; /* 灰色表示日期 */
}

/* 浮动动画效果 */
.hover-float-item {
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 8px 0;
    border-radius: 4px;
}

.hover-float-item:hover {
    transform: translateY(-2px); /* 向上浮动效果 */
    background-color: rgba(0, 123, 255, 0.05);
    box-shadow: 0 3px 6px rgba(0, 123, 255, 0.1);
}

/* 鼠标经过时的颜色变化 */
.hover-float-item:hover .song-title {
    color: #007bff; /* 蓝色 */
}

.hover-float-item:hover .song-quality,
.hover-float-item:hover .song-date {
    color: #495057; /* 稍深的灰色 */
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hover-float-item:hover {
        transform: translateX(5px);
    }
}

.song-item-link {
  color: #000000; 
  text-decoration: none;
  transition: all 0.3s ease; 
}

.song-item-link:hover {
  color: #165DFF;
  transform: translateY(-2px);
}

.song-item-link .song-title,
.song-item-link .song-quality,
.song-item-link .song-date {
  color: inherit;
}

.song-item-link:hover .hover-float-item {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}