/* 页面背景色 */
body.creator-page {
    background-color: #f6f6f6; 
}

/* 通用section样式 */
.creator-section {
    padding: 0 0 0 0;
    margin: 0 auto;
    max-width: 1200px;
    background-color: #f6f6f6; /* 半透明白色背景确保内容可读 */
}

/* 图片section */
.image-section {
    padding-top: 0px; 
}

/* 图片样式 */
.creator-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* 视频section */
.video-section {
    padding-bottom: 40px;
    max-width: 770px;
}

/* 视频样式 */
.creator-video {
    display: block;
    width: 100%; /* 确保视频宽度100% */
    height: auto;
    margin: 0 auto;
    position: relative;
    z-index: 0;
}

/* 确保视频控制条在最上层 */
.creator-video::-webkit-media-controls-panel {
    z-index: 1000;
    position: relative;
}

/* 资源section样式 */
.resources-section {
    width: 80%;
    margin: 0 auto;
    padding-top: 80px;
    background-color: #f6f6f6;
}

.resources-section .container {
    max-width: 770px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    padding-bottom: 15px;
    position: relative;
}

.resources-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.resources-title-image {
    display: block;
    max-width: 162px;
    max-height: 60px;
    margin: 0 auto 10px auto;
}
.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-family: "SourceHanSansSC-Light", sans-serif;
    font-size: 20px;
    font-weight: normal;
    color: #353535;
}


.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.resource-item {
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    background-color: #fff;
}

.resource-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #bdbdbd;
}

.resource-icon {
    width: auto;
    height: auto;
    max-width: 44px;
    max-height: 80px;
    margin-bottom: 10px;
}

.resource-item h3 {
    font-family: "SourceHanSansSC-Light", sans-serif;
    font-size: 16px;
    letter-spacing: 0;
    /* margin-bottom: 1rem; */
    color: #353535;

}

.resource-item p {
    font-family: "SourceHanSansSC-Light", sans-serif;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 18px;
    color: #999999;
    margin-bottom: 0;
    text-align: left;
}

/* CTA Section样式 */
.cta-section {
    padding: 50px 0;
    text-align: center;
}

.cta-section .container {
    max-width: 470px;
    margin: 0 auto;
    background-color: #f6f6f6;
}

.cta-section h2 {
    font-family: "SourceHanSansSC-Light", sans-serif;
    font-size: 20px;
    letter-spacing: 0;
    font-weight: normal;
    color: #353535;
}

.cta-text {
    font-family: "SourceHanSansSC-Light", sans-serif;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 18px;
    font-weight: normal;
    color: #999999;
}

.cta-button {
    display: inline-block;
    padding: 8px 30px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-family: "SourceHanSansSC-Light", sans-serif;
    font-size: 14px;
    letter-spacing: 0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #333;
    transform: translateY(-2px);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .section-title {
        width: 80%;
        margin: 0 auto;
    }
    .resources-section .section-subtitle {
        font-size: 18px;
        color: #000000;
        margin-bottom: 1rem;
        font-family: "SourceHanSansSC-Light", sans-serif;
        /* font-size: 28px; */
        font-weight: normal;
    }
    .resource-grid {
        /* grid-template-columns: 1fr; */
        grid-template-columns: repeat(2, 1fr); /* 创建两列，每列宽度相等 */
        gap: 10px; /* 可选，设置列与列之间的间隙 */
    }
    
    .resources-section {
        padding: 40px 0;
        width: 100%;
    }
    
    .resource-item {
        padding: 1rem;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 18px;
    }
    
    .cta-text {
        font-size: 14px;
    }
    
    .image-section {
        padding-top: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .creator-image {
        /* display: block; */
        /* max-width: 100%; */
        /* height: auto; */
        /* margin: 0 auto; */
        max-width: 160%;
        /* max-height: 100%; */
        width: auto;
        height: auto;
    }    
    .resources-title-image {
        display: block;
        max-width: 70%;
        /* max-height: 60px; */
        margin: 0 auto 0.5rem;
    }
    .creator-section {
        padding: 25px 0 0 0;
    }
}