/* ============================================
   明星设计师模块样式
   ============================================ */

.featured-designers-section {
    background: var(--bg-secondary);
    padding: 60px 0;
}

/* 横向滚动容器 */
.designers-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 10px 30px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.designers-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.designers-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.designers-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.designers-scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 设计师卡片 */
.designer-card {
    position: relative;
    flex: 0 0 280px;
    width: 280px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 30px 20px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.designer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
    border-color: rgba(88, 166, 255, 0.4);
}

/* 头像容器 */
.designer-avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.designer-card:hover .designer-avatar-wrapper {
    transform: scale(1.1);
}

.designer-avatar-large {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--border-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.designer-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    border: 4px solid var(--border-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* 设计师信息 */
.designer-card-info {
    position: relative;
    z-index: 2;
}

.designer-card-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

/* 分类标签 */
.designer-category-badge {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.8) 0%, rgba(102, 126, 234, 0.8) 100%);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(88, 166, 255, 0.3);
    transition: all 0.3s ease;
}

.designer-card:hover .designer-category-badge {
    background: linear-gradient(135deg, rgba(88, 166, 255, 1) 0%, rgba(102, 126, 234, 1) 100%);
    box-shadow: 0 4px 12px rgba(88, 166, 255, 0.5);
    transform: translateY(-2px);
}

.designer-card-desc {
    font-size: 13px;
    color: #8b949e;
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.designer-card-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 13px;
    color: #7d8590;
}

.work-count-item {
    display: flex;
    align-items: center;
    font-weight: 500;
}

/* 悬停按钮 - 极简图标风格 */
.designer-card-hover {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.designer-card:hover .designer-card-hover {
    bottom: 20px;
    opacity: 1;
}

/* 极简图标按钮 */
.designer-icon-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.designer-icon-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.designer-icon-btn:active {
    transform: scale(0.95);
}

/* 空间图库按钮 - 蓝色 */
.designer-icon-btn-space {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.designer-icon-btn-space:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
}

/* 产品图库按钮 - 绿色 */
.designer-icon-btn-product {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.designer-icon-btn-product:hover {
    background: linear-gradient(135deg, #0e8678 0%, #2dd46a 100%);
}

/* 移动端优化 */
@media (max-width: 768px) {
    .designer-card {
        flex: 0 0 220px;
        width: 220px;
        padding: 20px 15px 15px;
    }
    
    .designer-avatar-wrapper {
        width: 90px;
        height: 90px;
    }
    
    .designer-card-name {
        font-size: 16px;
    }
    
    .designer-card-desc {
        font-size: 12px;
    }
    
    .designer-card-meta {
        font-size: 12px;
        gap: 10px;
    }
    
    .designer-icon-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ============================================
   图库页面设计师筛选样式
   ============================================ */

/* 设计师筛选项 */
.designer-filter-item {
    padding: 12px 14px !important;
}

.designer-filter-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.designer-filter-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.designer-filter-item:hover .designer-filter-avatar,
.designer-filter-item:hover .designer-filter-avatar-placeholder {
    transform: scale(1.1);
}

.designer-filter-item .flex-grow-1 {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.designer-filter-item .flex-grow-1 > div {
    font-size: 14px;
    font-weight: 500;
}

.designer-filter-item .flex-grow-1 > small {
    font-size: 12px;
    opacity: 0.8;
}

