/* 调整期次内容层级 */
.playlist-period {
    padding: 2.5rem;
    margin: 2.5rem 0;
    background: rgba(10, 25, 41, 0.7); /* 更深的背景 */
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s var(--transition-timing);
    background-clip: padding-box;
    border: 1px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* 添加阴影 */
    transition: box-shadow 0.3s var(--transition-timing);
}

/* 渐变边框效果 - 伪元素 */
.playlist-period::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    margin: -1px;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(0, 225, 255, 0.6), /* 调整渐变颜色和透明度 */
        transparent 40%,
        rgba(170, 255, 236, 0.6) /* 调整渐变颜色和透明度 */
    );
    opacity: 0.5; /* 调整透明度控制强度 */
    transition: opacity 0.3s var(--transition-timing);
}

.playlist-period:hover::before {
    opacity: 0.8; /* 悬停时提高透明度 */
}

/* 期次标题样式 */
.period-title {
    font-size: 1.6rem;
    position: relative;
    padding-bottom: 0.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    color: var(--primary); /* 使用主色调 */
    text-shadow: 0 0 10px rgba(0, 225, 255, 0.4); /* 添加文本阴影 */
}

/* 期次标题后的装饰线 */
.period-title::after {
    content: '';
    flex: 1;
    height: 2px; /* 加粗装饰线 */
    background: linear-gradient(90deg,
        var(--primary),
        transparent);
    margin-left: 1rem;
}

/* 期次编号样式 */
.period-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px; /* 稍微增大 */
    height: 45px; /* 稍微增大 */
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    text-align: center;
    margin-right: 1.5rem; /* 调整间距 */
    box-shadow: 0 0 20px var(--shadow-color); /* 增强阴影 */
    font-size: 1.2rem; /* 稍微增大字体 */
    font-weight: bold;
    color: white;
    transition: transform 0.3s var(--transition-timing),
                box-shadow 0.3s var(--transition-timing);
    flex-shrink: 0;
}

/* 添加期次编号悬停效果 */
.period-number:hover {
    transform: scale(1.15); /* 增强悬停放大效果 */
    box-shadow: 0 0 30px var(--shadow-color); /* 增强悬停阴影 */
}


/* 播放列表区域 */
.playlist-section {
    margin-top: 2rem;
    display: grid;
    gap: 2rem; /* 调整间距 */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 调整最小宽度 */
}

/* 时间块样式 */
.time-block {
    background: rgba(0, 0, 0, 0.3); /* 调整背景透明度 */
    border-radius: 15px; /* 调整圆角 */
    padding: 1.5rem; /* 调整内边距 */
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--transition-timing);
    border: 1px solid var(--border-color);
    margin: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* 添加阴影 */
}

/* 动态时间线 - 垂直流光 */
.time-block::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px; /* 加粗流光线 */
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--secondary) 50%, /* 使用次要颜色 */
        transparent 100%
    );
    animation: lineFlow 4s infinite linear; /* 调整动画速度 */
}

/* 时间块光效 - 水平顶部流光 */
.time-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px; /* 加粗流光线 */
    background: linear-gradient(90deg, transparent, var(--secondary), transparent); /* 使用次要颜色 */
    animation: lightFlow 3s linear infinite; /* 调整动画速度 */
}

.time-block:hover {
    transform: translateY(-8px); /* 增强悬停效果 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* 增强阴影 */
    border-color: var(--primary); /* 悬停时改变边框颜色 */
}

.time-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.time-icon {
    font-size: 1.6rem; /* 调整图标尺寸 */
    margin-right: 0.8rem; /* 调整间距 */
    color: var(--secondary); /* 使用次要颜色 */
}

/* 歌曲列表容器样式 - 如果需要特定容器 */
.song-list-container {
    margin-top: 1rem;
}

/* 歌曲列表样式 */
.song-list {
    list-style: none;
    padding: 0;
}

.song-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem; /* 调整内边距 */
    margin: 0.6rem 0; /* 调整外边距 */
    background: rgba(255,255,255,0.05); /* 调整背景 */
    border-radius: 12px; /* 调整圆角 */
    transition: transform 0.3s var(--transition-timing),
                box-shadow 0.3s var(--transition-timing),
                background-color 0.3s var(--transition-timing);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent; /* 默认透明边框 */
}

.song-list li:hover {
    background: rgba(255,255,255,0.08); /* 调整悬停背景色 */
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3); /* 增强阴影 */
    transform: translateX(5px) scale(1.01); /* 调整悬停效果 */
    border-color: rgba(170, 255, 236, 0.4); /* 悬停时改变边框颜色 */
}

.song-title {
    flex: 1;
    margin-right: 1rem;
    color: var(--text-primary);
    font-size: 1rem; /* 调整字体大小 */
}

.duration {
    color: var(--text-primary); /* 使用主要文本颜色或白色 */
    font-size: 0.85rem; /* 调整字体大小 */
    font-weight: 500;
    flex-shrink: 0;
    opacity: 1; /* 保持不透明 */
    background: rgba(170, 255, 236, 0.15); /* 添加半透明背景，使用次要颜色变体 */
    padding: 0.3rem 0.6rem; /* 调整内边距 */
    border-radius: 10px; /* 调整圆角 */
    border: 1px solid rgba(170, 255, 236, 0.3); /* 添加柔和边框 */
    box-shadow: 0 2px 8px rgba(170, 255, 236, 0.2); /* 添加柔和阴影 */
}

/* 推荐标签样式 */
.recommend-tag {
    background: linear-gradient(135deg, rgba(0, 225, 255, 0.3), rgba(170, 255, 236, 0.3)); /* 调整渐变颜色和透明度 */
    color: white;
    padding: 0.2rem 0.6rem; /* 调整内边距 */
    border-radius: 15px; /* 调整圆角 */
    font-size: 0.8rem; /* 调整字体大小 */
    font-weight: 500;
    margin-left: 1rem;
    box-shadow: 0 2px 10px rgba(0, 225, 255, 0.15); /* 调整阴影透明度 */
    flex-shrink: 0;
    opacity: 1; /* 保持不透明 */
    border: 1px solid rgba(0, 225, 255, 0.2); /* 添加柔和边框 */
}

/* 增加分隔线样式 */
.period-separator {
    height: 3px; /* 加粗分隔线 */
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 225, 255, 0.5) 50%, /* 调整颜色和透明度 */
        transparent
    );
    margin: 3rem 0;
    opacity: 0.5; /* 调整透明度 */
}

/* 未播出样式 */
.playlist-period.upcoming .period-title {
  position: relative;
  opacity: 0.6; /* 降低透明度 */
  filter: grayscale(0.5); /* 增加灰度 */
}

.playlist-period.upcoming .period-title::after {
  content: 'Coming Soon';
  position: absolute;
  top: -8px; /* 调整位置 */
  right: -10px; /* 调整位置 */
  background: linear-gradient(135deg, var(--primary), var(--secondary)); /* 渐变背景 */
  color: white;
  padding: 3px 6px; /* 调整内边距 */
  border-radius: 3px; /* 调整圆角 */
  font-size: 0.7rem; /* 调整字体大小 */
  transform: rotate(10deg); /* 调整旋转角度 */
  box-shadow: 0 2px 8px var(--shadow-color);
}

.jump-button {
    display: block;
    margin: 1.5rem auto; /* 调整外边距 */
    padding: 1rem 2rem; /* 调整内边距 */
    background: rgba(0, 225, 255, 0.2); /* 使用半透明的主色调背景 */
    color: white;
    border: 1px solid rgba(0, 225, 255, 0.4); /* 添加边框 */
    border-radius: 30px; /* 调整圆角 */
    font-size: 1.1rem; /* 调整字体大小 */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--transition-timing);
    box-shadow: 0 6px 20px rgba(0, 225, 255, 0.15); /* 调整阴影 */
    text-transform: uppercase; /* 文本大写 */
    letter-spacing: 1px; /* 增加字间距 */
}

.jump-button:hover {
    transform: translateY(-5px); /* 增强悬停效果 */
    box-shadow: 0 10px 30px var(--shadow-color); /* 增强悬停阴影 */
    filter: brightness(1.1); /* 提亮 */
} 