/* 艺人资源页面样式 */

.celebrity-page {
    background: url('../images/home/bg.png') center top no-repeat;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    
}


/* 导航栏 */
.celebrity-page .header {
    background: #5D81FC;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.celebrity-page .header.scrolled {
    background: rgba(60, 60, 60, 0.85);
    backdrop-filter: blur(10px);
}

/* 艺人展示区 */
.celebrity-section {
    padding: 100px 0 60px;
    min-height: calc(100vh - 200px);
    overflow-x: hidden;
    width: 100%;
}

.celebrity-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 60px;
    /*overflow-x: hidden;*/
    width: 100%;
}

/* 标题 */
.celebrity-title {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.celebrity-title img {
    max-width: 500px;
    width: 100%;
    height: auto;
}

/* 艺人展示主体 */
.celebrity-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
}

/* 左侧缩略图轮播 */
.celebrity-thumbnails {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    overflow: hidden;
    height: auto;
    max-height: none;
}

/* 分界线 */
.thumbnail-divider {
    width: 120px;
    height: auto;
}

.thumbnail-divider img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnail-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 464px;
    flex-shrink: 0;
    will-change: scroll-position;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* 隐藏滚动条 */
.thumbnail-list::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.thumbnail-item {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    clip-path: polygon(20% 0%, 100% 0%, 100% 80%, 80% 100%, 0% 100%, 0% 20%);
    overflow: visible;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    background: #FFFFFF;
    position: relative;
    padding: 5px;
}

.thumbnail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    clip-path: polygon(20% 0%, 100% 0%, 100% 80%, 80% 100%, 0% 100%, 0% 20%);
    background: #B4B4B4;
    z-index: -1;
}

.thumbnail-item::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    clip-path: polygon(20% 0%, 100% 0%, 100% 80%, 80% 100%, 0% 100%, 0% 20%);
    background: #FFFFFF;
    z-index: 0;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    position: relative;
    z-index: 1;
    clip-path: polygon(20% 0%, 100% 0%, 100% 80%, 80% 100%, 0% 100%, 0% 20%);
}

.thumbnail-item:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.thumbnail-item.active {
    box-shadow: 0 6px 24px rgba(91, 159, 255, 0.5);
    transform: scale(1.05);
}

.thumbnail-item.active::before {
    background: #5B9FFF;
}

/* 向下按钮 */
.thumbnail-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    color: #333333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.thumbnail-nav-btn:hover {
    background: #FFFFFF;
    transform: translateY(3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.thumbnail-nav-btn:active {
    transform: translateY(5px);
}

/* 中间主图区域 */
.celebrity-main {
    position: relative;
    width: 700px;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: -300px; /* 向左移动更多 */
}

.celebrity-main-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
}

.celebrity-main-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.celebrity-main-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
}

.celebrity-main-image img {
    max-width: 85%;
    max-height: 95%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

/* 右侧信息区域 */
.celebrity-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 450px;
    flex-shrink: 0;
    position: relative;
    left: -200px;
}

/* 装饰圆点 */
.celebrity-info::after {
    content: '';
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 400px;
    background-size: 30px 30px, 20px 20px, 15px 15px;
    background-position: 0 0, 10px 10px, 5px 5px;
    pointer-events: none;
}

/* 艺人名字 */
.celebrity-name {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 10px;
    background: url('../images/celebrity/huashi_bg.png') no-repeat left calc(100% + 40px);
    background-size: 120%;
    padding: 20px 30px 20px 0;
    position: relative;
    font-family: 'YouSheFont';
}

.name-cn {
    font-size: 83px;
    font-weight: normal;
    color: #000000;
    margin: 0;
    
    line-height: 1;
    letter-spacing: 4px;
    font-style: italic;
    white-space: nowrap;
}

.name-en {
    font-size: 62px;
    font-weight: normal;
    color: #000000;
    margin: 0;
    letter-spacing: 6px;
    text-transform: uppercase;
    font-style: italic;
}

/* BASE 信息 */
.celebrity-base {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    margin-bottom: 20px;
}

.base-label {
    font-size: 26px;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
}

.base-value {
    font-size: 26px;
    font-weight: 400;
    color: #000000;
}

/* 社交媒体链接 */
.celebrity-social {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 8px;
    margin-bottom: 30px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-link:hover {
    transform: scale(1.15);
}

/* 统计信息 */
.celebrity-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 0;
    position: relative;
    padding-top: 30px;
    z-index: auto;
}

/* 全屏蓝色背景 */
.celebrity-stats::before {
    content: '';
    position: absolute;
    left: -200vw;
    right: -200vw;
    top: 0;
    bottom: -110px;
    background: linear-gradient(90deg, rgba(157, 186, 255, 0.6) 0%, rgba(157, 186, 255, 0.3) 50%, rgba(157, 186, 255, 0) 100%);
    z-index: -1;
    pointer-events: none;
}

.stat-item {
    font-family: 'YouSheFont';
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 39px;
    font-weight: normal;
    color: #000000;
  white-space: pre-line; 
 line-height: 1.7em;
}

.stat-label {
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
}

/* 艺人详情按钮 */
.celebrity-detail-btn {
    padding: 18px 50px;
    background: linear-gradient(135deg, #6B8FFF 0%, #5B7FFF 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 40px;
    font-size: 32px;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(91, 127, 255, 0.4);
    align-self: flex-start;
}

.celebrity-detail-btn:hover {
    background: linear-gradient(135deg, #6B8FFF 0%, #4B6FFF 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(91, 127, 255, 0.5);
}

.celebrity-detail-btn:active {
    transform: translateY(0);
}

/* 艺人数量分隔区 */
.celebrity-divider {
    padding: 10px 0 0;
    background: transparent;
    position: relative;
}

.divider-content {
    text-align: center;
    margin-bottom: 30px;
}

.divider-title {
    font-size: 48px;
    font-weight: 900;
    color: #000000;
    margin: 0 0 15px 0;
    font-style: italic;
    letter-spacing: 4px;
}

.divider-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
}

.divider-arrow svg {
    width: 32px;
    height: 32px;
}

.divider-line {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.divider-line img {
    width: 100%;
    height: auto;
    display: block;
}

/* 艺人筛选区 */
.celebrity-filter {
    padding: 50px 0;
    background: transparent;
}

.filter-row {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.filter-label {
    font-size: 18px;
    font-weight: 400;
    color: #333333;
    min-width: 100px;
    flex-shrink: 0;
}

.filter-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-btn {
    padding: 10px 30px;
    background: #FFFFFF;
    border: 2px solid #5B9FFF;
    border-radius: 6px;
    font-size: 16px;
    color: #333333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
    position: relative;
}

.filter-btn:hover {
    background: #F0F7FF;
}

.filter-btn.active {
    background: #FFFFFF;
    color: #333333;
}

.filter-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 20px 20px;
    border-color: transparent transparent #5B9FFF transparent;
}

.filter-select {
    padding: 10px 40px 10px 20px;
    background: #FFFFFF;
    border: 2px solid #E0E0E0;
    border-radius: 6px;
    font-size: 16px;
    color: #333333;
    cursor: pointer;
    min-width: 200px;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.filter-select:hover,
.filter-select:focus {
    border-color: #5B9FFF;
}

.filter-search {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 663px;
    background: #FFFFFF;
    border-radius: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    padding: 0 25px;
    height: 56px;
}

.search-icon-main {
    color: #FFD700;
    margin-right: 12px;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333333;
    background: transparent;
}

.search-input::placeholder {
    color: #AAAAAA;
}

/* 艺人列表 */
.celebrity-list {
    padding: 60px 0;
    background: transparent;
}

.celebrity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.celebrity-card {
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.celebrity-card>img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 10;
}
.celebrity-card .celebrity-names{
  font-family: 'YouSheFont';
    position: absolute;
    font-size: 28px;
    left: 25px;
    top: 12px;
    z-index: 12;
    
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}
.celebrity-imgs{
    position: absolute;

    z-index: 12;
    left: 20px;
    right: 20px;
    top: 70px;
    bottom: 63px;
}
.celebrity-imgs img{
   width: 100%;
   height: 100%;
   object-fit: contain;
}
.celebrity-bases{
    font-size: 18px;
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 11;
    display: flex;
    align-items: center;
    margin: 0;
}
.celebrity-fans{
    position: absolute;
    bottom: 20px;
    font-size: 18px;
    right: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    margin: 0;
}
.celebrity-card:hover {
    transform: translateY(-5px);
}
/* 分页 */
.pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    font-size: 14px;
    color: #666666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover:not(.page-ellipsis) {
    background: #F0F7FF;
    border-color: #5B9FFF;
    color: #5B9FFF;
}

.page-btn.page-ellipsis {
    cursor: default;
    pointer-events: none;
    opacity: 0.6;
}

.page-btn.page-active {
    background: #5B9FFF;
    border-color: #5B9FFF;
    color: #FFFFFF;
}

.page-prev,
.page-next {
    font-weight: 700;
}

.team-name{
    position: absolute;
  
    width: 90%;
    left: 18px;
    top: 60px;
    z-index: 16;
      font-family: 'YouSheFont';
      color: #fff;
      font-size:30px;
    padding: 12px 29px 12px;
}
.team-name span{
    position: relative;
    z-index: 17;
}
.team-name img{
    width: unset;
    position: absolute;
    left: 0;
bottom: 0;
    max-width: 100%;

}
/* 响应式布局 */
@media (max-width: 1600px) {
    .celebrity-content {
        gap: 40px;
    }
    
    .celebrity-main {
        width: 600px;
        height: 600px;
    }
    
    .name-cn {
        font-size: 48px;
    }
    
    .name-en {
        font-size: 24px;
    }
    
    .celebrity-info::after {
        right: -60px;
        width: 150px;
        height: 350px;
    }
}

@media (max-width: 1400px) {
    .celebrity-content {
        gap: 30px;
    }
    
    .celebrity-main {
        width: 500px;
        height: 500px;
    }
    
    .name-cn {
        font-size: 42px;
    }
    
    .name-en {
        font-size: 22px;
    }
}

@media (max-width: 1200px) {
    .celebrity-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .celebrity-thumbnails {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }
    
    .thumbnail-list {
        flex-direction: row;
        width: auto;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        height: auto;
        scroll-snap-type: x mandatory;
        padding: 0 10px 0 60px; /* 左侧增加60px padding，让第一个缩略图往右移 */
    }
    
    .thumbnail-item {
        scroll-snap-align: start;
    }
    
    .thumbnail-nav-btn {
        transform: rotate(90deg);
    }
    
    .celebrity-info {
        max-width: 600px;
        align-items: center;
        text-align: center;
    }
    
    .celebrity-info::after {
        display: none;
    }
    
    .celebrity-base,
    .stat-item {
        justify-content: center;
    }
    
    .celebrity-detail-btn {
        align-self: center;
    }
}

@media (max-width: 768px) {
    #linkage_multi_3_wrap{
        display: flex;
        gap: 10px;
    }
    .celebrity-card .celebrity-names{
        
    font-size: 22px;
    left: 15px;
    top: 2px;
    line-height: 1;
    }
    .team-name{
        
    left: 15px;
    top: 20px;
    padding: 12px 12px 8px;
    font-size: 12px;
    }
    .celebrity-imgs{
        
    left: 15px;
    right: 15px;
    top: 30px;
    bottom: 30px;
    }
    .celebrity-fans{
    bottom: 7px;
        
    right: 15px;
        font-size: 12px;
    }
    .celebrity-bases{
    bottom: 7px;
    left: 15px;
        font-size: 12px;
    }
    .celebrity-base{
        margin-top: 0;
    }
    .celebrity-stats::before{
        display: none;
    }
    .stat-item{
        font-size:16px;
    }
    .celebrity-section {
        padding: 90px 0 50px;
    }
    .celebrity-stats{
        padding-top: 0;
        margin: 0;
    }
    
    .celebrity-container {
        padding: 0 20px;
    }
    
    .celebrity-title img {
        max-width: 350px;
    }
    
    .celebrity-content {
        gap: 10px;
    }
    .celebrity-social{
        margin-bottom: 0;
    }
    .celebrity-main {
        width: 100%;
        max-width: 400px;
        height: 400px;
        margin-left: 0;
    }
    
    .celebrity-info {
        gap: 10px;
        left: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .celebrity-info::after {
        display: none;
    }
    
    .celebrity-stats::before {
        left: -100vw;
        right: -100vw;
    }
    
    .thumbnail-item {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }
    
    .thumbnail-list {
        height: auto;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        padding: 0 10px;
        gap: 12px;
    }
    
    .name-cn {
        font-size: 36px;
        letter-spacing: 2px;
    }
    
    .name-en {
        font-size: 20px;
        letter-spacing: 3px;
    }
    
    .celebrity-name {
        background-size: 150%;
        padding: 15px 20px 15px 0;
        gap: 15px;
        overflow: hidden;
    }
    
    .base-label,
    .base-value {
        font-size: 18px;
    }
    
    .stat-label {
        font-size: 16px;
    }
    
    .stat-value {
        font-size: 18px;
    }
    
    .celebrity-detail-btn {
        padding: 14px 50px;
        font-size: 18px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
    }
    
    /* 筛选区域 */
    .celebrity-filter {
        padding: 30px 0;
        overflow-x: hidden;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .filter-label {
        min-width: auto;
    }
    
    .filter-options {
        width: 100%;
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    .filter-select {
        width: 100%;
        min-width: auto;
    }
    
    .search-box {
        height: 50px;
        padding: 0 20px;
        max-width: 100%;
    }
    
    .search-input {
        font-size: 15px;
    }
    
    /* 艺人列表 */
    .celebrity-list {
        padding: 40px 0;
        overflow-x: hidden;
    }
    
    .celebrity-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .divider-title {
        font-size: 36px;
    }
    .celebrity-base{
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .celebrity-section {
        padding: 60px 0 40px;
    }
    
    .celebrity-container {
        padding: 0 15px;
    }
    
    .celebrity-title img {
        max-width: 280px;
    }
    
    .celebrity-main {
        max-width: 320px;
        height: 320px;
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }
    
    .thumbnail-nav-btn {
        width: 36px;
        display: none;
        height: 36px;
    }
    
    .name-cn {
        font-size: 28px;
        letter-spacing: 1px;
    }
    
    .name-en {
        font-size: 16px;
        letter-spacing: 2px;
    }
    
    .celebrity-name {
        gap: 10px;
        padding: 10px 15px 10px 0;
    }
    
    .base-label,
    .base-value {
        font-size: 16px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .stat-value {
        font-size: 16px;
    }
    
    .celebrity-detail-btn {
        padding: 12px 40px;
        font-size: 16px;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
    }
    
    .celebrity-social {
        gap: 12px;
    }
    
    /* 筛选区域 */
    .filter-btn {
        padding: 6px 15px;
        font-size: 13px;
    }
    
    .filter-select {
        padding: 8px 35px 8px 15px;
        font-size: 14px;
    }
    
    .search-box {
        height: 44px;
        padding: 0 15px;
    }
    
    .search-input {
        font-size: 14px;
    }
    
    .search-icon-main {
        width: 18px;
        height: 18px;
    }
    
    /* 艺人列表 */
    .celebrity-grid {
        gap: 15px;
    }
    
    .divider-title {
        font-size: 28px;
        letter-spacing: 2px;
    }
    
    /* 分页 */
    .pagination {
        gap: 5px;
        justify-content: center;
    }
    
    .page-btn {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
}
