/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 12px 0;
    font-size: 14px;
    color: #888;
}

.breadcrumb a {
    color: #d87a7e;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #c05558;
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #ccc;
}

/* 搜索结果信息 */
.search-result-info {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid #d87a7e;
}

.search-result-info p {
    margin: 0;
    color: #495057;
    font-size: 16px;
}

/* 无搜索结果样式 */
.no-results {
    text-align: center;
    padding: 40px 20px;
    grid-column: 1 / -1;
    color: #6c757d;
}

.no-results i {
    margin-bottom: 20px;
    color: #dee2e6;
}

.no-results h3 {
    margin-bottom: 10px;
    color: #495057;
}

.no-results p {
    margin-bottom: 20px;
}

.back-to-home {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.back-to-home:hover {
    background-color: #0056b3;
    color: white;
    text-decoration: none;
}

/* 导航链接样式 */
.navigation a {
    text-decoration: none;
    color: inherit;
}

.navigation a:hover {
    color: #007bff;
}

/* 热门明星链接样式 */
.star-list a {
    text-decoration: none;
    color: inherit;
}

.star-list a:hover {
    color: #007bff;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .search-result-info {
        padding: 10px;
    }

    .no-results {
        padding: 20px 10px;
    }
}

body {
    background-color: #f8e8e8;
    color: #555;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    flex: 1;
}

/* 主体内容样式 - 深粉色系 */
.page-title {
    text-align: center;
    margin: 30px 0;
    color: #d45d5d;
    font-size: 32px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.page-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #d87a7e, #e8b4b4, #e69ac9);
    border-radius: 2px;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

/* 艺人卡片优化样式 - 修改为左右布局 */
.artist-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(180, 80, 80, 0.2);
    transition: all 0.3s ease;
    display: flex;
    height: 350px;
    border: 1px solid #e8c8c8;
    position: relative;
}

.artist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(180, 80, 80, 0.3);
}

.artist-image {
    width: 45%;
    height: 350px;
    overflow: hidden;
    position: relative;
    background-color: #f0e0e0;
    flex-shrink: 0;
}

.artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.artist-card:hover .artist-image img {
    transform: scale(1.05);
}

.artist-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #d87a7e, #de6288);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.artist-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px;
    width: 55%;
}

.artist-header {
    text-align: left;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0e0e0;
}

.artist-name {
    font-size: 22px;
    font-weight: 700;
    color: #d45d5d;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.artist-basic {
    font-size: 14px;
    color: #777;
    display: flex;
    justify-content: left;
    gap: 8px;
    flex-wrap: wrap;
}

.artist-basic span {
    white-space: nowrap;     /* 禁止文本换行 */
    overflow: hidden;        /* 隐藏溢出 */
    text-overflow: ellipsis; /* 超出显示省略号 */
    flex-shrink: 1;          /* 允许缩小 */
    min-width: 0;            /* 重要：允许flex项目缩小到0 */
}

.artist-basic i {
    color: #d45d5d;
    font-size: 12px;
}

.artist-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.artist-price-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
    border-top: 1px solid #f0d5d5;
    border-bottom: 1px solid #f0d5d5;
}

.price-label {
    color: #d45d5d;
    font-weight: 600;
    margin-right: 10px;
}

.price-value {
    color: #e67272;
    font-weight: bold;
    font-size: 18px;
}

/*.artist-price-container {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    background: linear-gradient(to right, #f8e8e8, #f5dfdf);*/
/*    padding: 15px;*/
/*    border-radius: 10px;*/
/*    border-left: 3px solid #d45d5d;*/
/*    margin-top: 10px;*/
/*}*/

/*.price-label {*/
/*    font-size: 13px;*/
/*    font-weight: 600;*/
/*    color: #d45d5d;*/
/*}*/

/*.price-value {*/
/*    font-size: 16px;*/
/*    font-weight: 700;*/
/*    color: #d45d5d;*/
/*    letter-spacing: 0.5px;*/
/*}*/


.artist-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    gap: 10px;
}

.action-btn {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-detail {
    background: #f0e0e0;
    color: #d45d5d;
}

.btn-detail:hover {
    background: #e8c8c8;
}

.btn-contact {
    background: linear-gradient(135deg, #d87a7e, #e69ac9);
    color: white;
}

.btn-contact:hover {
    background: linear-gradient(135deg, #d45d5d, #e672b4);
}

.more-button {
    display: block;
    width: 200px;
    margin: 40px auto;
    padding: 15px;
    text-align: center;
    background: linear-gradient(135deg, #d87a7e, #e69ac9);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(180, 80, 80, 0.3);
}

.more-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(180, 80, 80, 0.4);
    background: linear-gradient(135deg, #c76a6e, #d58ab5);
}



@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        text-align: center;
        margin: 15px 0;
    }

    .navigation {
        gap: 3px;
    }

    .nav-item {
        padding: 8px 10px;
        font-size: 14px;
    }

    .star-list {
        justify-content: center;
    }

    .artists-grid {
        grid-template-columns: 1fr;
    }

    .artist-card {
        height: auto;
        flex-direction: column;
    }

    .artist-image {
        width: 100%;
        height: 550px;
    }

    .artist-header {
        margin-bottom: 0;
        padding-bottom: 0;
        text-align: center;
    }

    .artist-info {
        width: 100%;
    }

    .artist-actions {
        flex-direction: column;
    }

    .qrcode-row {
        flex-direction: column;
        gap: 15px;
    }
    .copyright{
        padding-bottom: 40px
    }
}

/* 成功案例区域样式 */
.success-cases-container {
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.success-cases-scroll {
    display: flex;
    gap: 25px;
    animation: scroll 30s linear infinite;
    padding: 10px 0;
}

.success-cases-container:hover .success-cases-scroll {
    animation-play-state: paused;
}

.case-item {
    flex: 0 0 350px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(180, 80, 80, 0.15);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #e8c8c8;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(180, 80, 80, 0.25);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-item:hover .case-image img {
    transform: scale(1.05);
}

.case-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-title {
    font-size: 18px;
    font-weight: 700;
    color: #d45d5d;
    margin-bottom: 10px;
}

.case-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
    font-size: 14px;
}

.case-date {
    font-size: 12px;
    color: #999;
    text-align: right;
}

/* 滚动动画 */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-350px * 5 - 25px * 5)); /* 根据案例数量和间距计算 */
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .case-item {
        flex: 0 0 300px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-300px * 5 - 25px * 5));
        }
    }
    /* 隐藏不需要的元素 */
    .artist-price-container,
    .artist-desc,
    .artist-basic {
        display: none;
    }
}

/* 标语区域样式 */
.slogan-section {
    background: linear-gradient(135deg, rgba(255, 245, 245, 0.9), rgba(255, 235, 235, 0.9));
    border-radius: 15px;
    padding: 40px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(216, 122, 126, 0.15);
    border: 1px solid #f8d7da;
    position: relative;
    overflow: hidden;
}

.slogan-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(232, 180, 180, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.slogan-section::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: rgba(230, 154, 201, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.slogan-content {
    flex: 2;
    position: relative;
    z-index: 1;
}

.slogan-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.slogan-title {
    font-size: 32px;
    font-weight: 700;
    color: #d45d5d;
    margin-bottom: 15px;
    line-height: 1.3;
}

.slogan-desc {
    font-size: 18px;
    color: #e67272;
    margin-bottom: 30px;
    font-weight: 500;
}

.slogan-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(180, 80, 80, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(180, 80, 80, 0.15);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d87a7e, #e69ac9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-icon i {
    color: white;
    font-size: 20px;
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: #d45d5d;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 14px;
    color: #777;
    margin: 0;
}

.slogan-cta {
    display: flex;
    gap: 15px;
}

.cta-button {
    padding: 12px 25px;
    background: linear-gradient(135deg, #d87a7e, #e69ac9);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(216, 122, 126, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(216, 122, 126, 0.4);
    color: white;
    text-decoration: none;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #d87a7e;
    color: #d87a7e;
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: rgba(216, 122, 126, 0.1);
}

.visual-element {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #f8e8e8, #f5dfdf);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 10px rgba(216, 122, 126, 0.1),
    0 0 0 20px rgba(216, 122, 126, 0.05);
    animation: pulse 3s infinite;
}

.visual-element i {
    font-size: 60px;
    color: #d87a7e;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(216, 122, 126, 0.2),
        0 0 0 0 rgba(216, 122, 126, 0.1);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(216, 122, 126, 0),
        0 0 0 40px rgba(216, 122, 126, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(216, 122, 126, 0),
        0 0 0 0 rgba(216, 122, 126, 0);
    }
}

/* 响应式设计 */
@media (max-width: 968px) {
    .slogan-section {
        flex-direction: column;
        text-align: center;
    }

    .slogan-visual {
        margin-top: 30px;
    }

    .slogan-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-item {
        justify-content: center;
        text-align: left;
    }

    .slogan-cta {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .slogan-section {
        padding: 25px;
    }

    .slogan-title {
        font-size: 26px;
    }

    .slogan-desc {
        font-size: 16px;
    }

    .visual-element {
        width: 120px;
        height: 120px;
    }

    .visual-element i {
        font-size: 50px;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}



/* ===== 标语区域优化 ===== */
.slogan-section {
    margin: 20px 0 40px; /* 调整上下间距 */
}

/* ===== 页面标题优化 ===== */
.page-title {
    margin: 20px 0 30px; /* 减少顶部间距 */
}

/* ===== 艺人卡片区域优化 ===== */
.artists-grid {
    margin: 30px 0;
}

/* ===== 成功案例区域优化 ===== */
.success-cases-container {
    margin: 40px 0 30px;
}

/* ===== 更多按钮优化 ===== */
.more-button {
    margin: 30px auto 40px;
}

/* ===== 添加分隔线元素 ===== */
.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e8b4b4, transparent);
    margin: 40px 0;
    border: none;
}

/* ===== 添加视觉装饰元素 ===== */
.decorative-element {
    position: absolute;
    z-index: -1;
    opacity: 0.1;
}

.deco-1 {
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23d87a7e' d='M50 0 L100 50 L50 100 L0 50 Z'/%3E%3C/svg%3E") no-repeat;
}

.deco-2 {
    bottom: 15%;
    right: 5%;
    width: 80px;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle fill='%23e69ac9' cx='50' cy='50' r='50'/%3E%3C/svg%3E") no-repeat;
}

/* ===== 统一卡片悬停效果 ===== */
.artist-card, .case-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ===== 优化按钮样式统一 ===== */
.action-btn, .cta-button, .more-button {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-btn:after, .cta-button:after, .more-button:after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.action-btn:hover:after, .cta-button:hover:after, .more-button:hover:after {
    left: 100%;
}

/* ===== 添加微动效提升页面活力 ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

/* ===== 优化响应式设计 ===== */
@media (max-width: 968px) {

    .slogan-section, .page-title, .artists-grid, .success-cases-container {
        margin: 15px 0 25px;
    }
}

@media (max-width: 768px) {
    .section-divider {
        margin: 30px 0;
    }

    .deco-1, .deco-2 {
        display: none; /* 在移动端隐藏装饰元素 */
    }
}

/* ===== 添加页面加载动画 ===== */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* ========== 移动端全局安全规则 ========== */

/* 图片自适应 - 防止溢出 */
img {
    max-width: 100%;
    height: auto;
}

/* 手机端底部预留咨询栏空间 */
@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }

    /* 防止横向滚动 */
    html, body {
        overflow-x: hidden;
    }

    /* 分页按钮增大触摸目标 */
    .page-link,
    .pagination a,
    .pagination span {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
    }

    /* 筛选按钮增大触摸目标 */
    .filter-option {
        min-height: 44px;
        padding: 8px 14px;
        font-size: 14px;
    }

    /* 操作按钮增大触摸目标 */
    .action-btn {
        min-height: 44px;
        padding: 10px 18px;
    }

    /* 详情页顶部图片自适应 */
    .fixed-image img,
    .top-image-section img {
        max-width: 100%;
        height: auto;
    }

    /* 导航链接自适应换行 */
    .navigation {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }

    .nav-item {
        padding: 8px 12px;
        font-size: 13px;
        white-space: nowrap;
    }
}

/* 超小屏幕进一步适配 */
@media (max-width: 480px) {
    .nav-item {
        padding: 6px 10px;
        font-size: 12px;
    }

    .filter-option {
        min-height: 40px;
        padding: 6px 10px;
        font-size: 13px;
    }
}