

/* Tab导航 */
.tab-nav {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
}

.tab-nav .tab-item {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    width:110px;
    height: 67px;
    background: url(../images/seeHearDetail-title.png) center no-repeat;
    background-position-x: 0;
}

.tab-nav .tab-item:nth-child(2) {
    background-position-x: -110px;
}

.tab-nav .tab-item:nth-child(3) {
    background-position-x: -235px;
}

.tab-nav .tab-item:hover {

    filter: brightness(120%);
}

.tab-nav .tab-item.active {
    background: url(../images/seeHearDetail-title-active.png) center no-repeat;
    background-position-x: 0;
}
.tab-nav .tab-item:nth-child(2).active {
    background-position-x: -110px;
}
.tab-nav .tab-item:nth-child(3).active {
    background-position-x: -222px;
}

.tab-nav .tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 38px;
    height: 17px;
    background: url(../images/news-tab-tip.png) no-repeat;
}

/* Tab内容区域 */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 从左到右渐入动画 */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 竖状时间轴 */
.timeline {
    position: fixed;
    top: 350px;
    left: 50px;
    z-index: 5;
    /*background: url(../images/seeHearDetail-timeline.png) no-repeat;*/
    padding-left: 12px;
    opacity: 0;
    animation: slideInFromLeft 0.8s ease-out forwards;
}

.timeline-item {
margin-top: -37px;
    margin-bottom:60px;
    padding-top: 18px;
    cursor: pointer;
    transition: all 0.3s
ease;
    font-size: 24px;
    position: relative;
    color: #c3b39e;
    z-index: 10;
}

/* 小圆点 */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 130%;
    transform: translateY(-50%);
    width: 7px;
    height: 68px;
    background: url(../images/seeHearDetail-dot-lint.png) no-repeat;
    background-size: contain;
    transition: all 0.3s ease;
    z-index: 15;
}
.timeline-item:last-child::before{
    background: url(../images/seeHearDetail-dot.png) top no-repeat;
    margin-top: -8px;
    /*height: 7px !important;*/
}
.timeline-item:last-child.active::before {
    background: url(../images/seeHearDetail-dot-active.png) top no-repeat;
    background-size: contain;
    margin-top: -16px;
}
.timeline-item.active {
    color: #9c825e;
    font-weight: bold;
    font-size: 30px;
}

.timeline-item.active::before {
    background: url(../images/seeHearDetail-dot-lint-active.png) no-repeat;
    background-size: contain;

}

/* 壁纸区域 */
.wallpaper-section {
    margin-bottom: 40px;
    position: relative;
}

.year-title {
    font-size: 36px;
    color: #9c825e;
    margin-bottom: 20px;
}
.year-title span{
    font-size: 20px;
    border: 1px solid #9c825e;
    border-radius: 15px;
    padding: 2px 5px;
    margin-bottom: 5px;
}
/* 图片网格 */
.wallpaper-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

/* 大图片样式（占4个位置） */
.wallpaper-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.wallpaper-item {
    overflow: hidden;
}

.wallpaper-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wallpaper-item:hover img {
    cursor: pointer;
    transform: scale(1.05);
}

/* 折叠的图片隐藏 */
.wallpaper-item.collapsed {
    display: none;
}

.wallpaper-section.expanded .wallpaper-item.collapsed {
    display: block;
}

/* 展开按钮 */
.expand-btn {
    width: 100%;
    text-align: right;
    /* height: 36px;*/
    background: transparent !important;
    color: #9c825e;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* .expand-btn:hover {
    background: #8a7354;
} */

.wallpaper-section.expanded .expand-btn {
    /* background: #666; */
}

.wallpaper-section.expanded .expand-btn:hover {
    /* background: #555; */
}

/* ========== 游戏视频页面样式 ========== */

.video-container {
    min-height: 600px;
}

.video-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    height: 596px;
}

.video-item {

    display: none;
    background: #fff;
    height: 288px;
}

.video-item.active {
    display: block;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
        background: transparent;
}


.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 3;
}

.video-info {
    margin: 10px 0;
    padding: 0 15px;
}

.video-desc {
    font-size:20px;
    color: #979797;
    height: 60px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #979797;
}

.views {
    display: flex;
    align-items: center;
    gap: 5px;
}

.views img {
    object-fit: cover;
}

/* 分页按钮 */
.pagination-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.prev-page-btn{
        width: 85px;
    height: 31px;
    background: url(../images/news-page1.png) no-repeat;
    cursor: pointer;
    transition: all 0.3s ease;
}
.next-page-btn {
    width: 85px;
    height: 31px;
    background: url(../images/news-page1.png) no-repeat;
    background-position-x: -100px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-page-btn:hover:not(:disabled){
    background: url(../images/news-page2.png) no-repeat;
    /*  */
}
.next-page-btn:hover:not(:disabled) {
    background: url(../images/news-page2.png) no-repeat;
    background-position-x: -100px;
}

.prev-page-btn:disabled,.next-page-btn:disabled{
     opacity: 0.3;
    cursor: not-allowed;
}


/* 视频弹窗 */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16/9;
}

.video-modal video {
    width: 100%;
    height: 100%;
}

.video-modal-close {
    position: absolute;
    top: 10px;
    right: -20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(156, 130, 94, 0.8);
    border-radius: 50%;
    transition: background 0.3s ease;
    z-index: 1100;
}

.video-modal-close:hover {
    background: #9c825e;
}

/* ========== 原声带页面样式 ========== */

.music-container {
    min-height: 800px;
}

.music-list {
display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 40px;
    column-gap: 15px;
    /*min-height: 720px;*/
}

.music-item {
    max-height: 213px;
    display: none;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.music-item.active {
    display: block;
}



.music-cover {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
}

.music-cover img {
    object-fit: cover;
}

.music-content-wrapper {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.music-controls {
    display: inline-block;
    vertical-align: top;
    width: 80px;
    text-align: left;
}

.play-pause-btn {

    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.play-pause-btn:hover {
    transform: scale(1.1);
}

.play-pause-btn img {
    object-fit: cover;
}

.music-player {
    display: inline-block;
    vertical-align: top;
    flex: 1;
}

.music-info {
    margin-bottom:5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.music-title {
    font-size: 20px;
    color: #979797;
    margin-right: 8px;
    width: 178px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-type {
    font-size: 12px;
    color: #ffac53;
    border: 1px solid #ffac53;
    padding: 2px 6px;
    border-radius: 4px;
}

.music-artist {
    font-size: 16px;
    color: #979797;
    margin-bottom: 5px;
}

.music-progress {
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: #d9d9d9;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    background: #ffa03a;
    transition: width 0.3s ease;
}

.time-display {
    font-size: 18px;
    color: #979797;
    white-space: nowrap;
}

/* 音乐分页按钮 */

.music-prev-btn{
        width: 85px;
    height: 31px;
    background: url(../images/news-page1.png) no-repeat;
    cursor: pointer;
    transition: all 0.3s
ease;
}
.music-next-btn {
    width: 85px;
    height: 31px;
    background: url(../images/news-page1.png) no-repeat;
    background-position-x: -100px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.music-prev-btn:hover:not(:disabled){
    background: url(../images/news-page2.png) no-repeat;
    /*  */
}
.music-next-btn:hover:not(:disabled){
    background: url(../images/news-page2.png) no-repeat;
    background-position-x: -100px;
}

.music-prev-btn:disabled,.music-next-btn:disabled{

    opacity: 0.5;
    cursor: not-allowed;
}
