/* 设计师列表页面样式 */
.designer-filters {
    padding: 40px 0 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.search-bar {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.search-bar button {
    padding: 12px 24px;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    background: #1976d2;
    transform: translateY(-2px);
}

.filter-tags {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.filter-label {
    font-weight: 500;
    color: #666;
    white-space: nowrap;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    background: #fff;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tag.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* 设计师列表样式 */
.designer-list {
    padding: 40px 0;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.total-count {
    font-size: 16px;
    color: #666;
}

.total-count .count {
    color: var(--primary-color);
    font-weight: 600;
}

.sort-options {
    display: flex;
    gap: 15px;
}

.sort-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.sort-btn:hover {
    color: var(--primary-color);
    background: rgba(33, 150, 243, 0.05);
}

.sort-btn.active {
    color: var(--primary-color);
    font-weight: 500;
    background: rgba(33, 150, 243, 0.1);
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.page-number {
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-number:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.page-number:hover {
    &:not(:disabled) {
        border-color: var(--primary-color);
        color: var(--primary-color);
    }
}

.page-number.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .designer-filters {
        padding: 40px 0 20px;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .list-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .sort-options {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .sort-btn {
        white-space: nowrap;
    }

    .tag-list {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 5px;
        display: flex;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        white-space: nowrap;
        padding: 5px 0;
        margin: 0 -15px;
        padding: 5px 15px;
    }

    /* 隐藏滚动条但保持可滚动 */
    .tag-list::-webkit-scrollbar {
        display: none;
    }

    .tag {
        flex: 0 0 auto;
        margin-right: 10px;
        padding: 6px 14px;
        font-size: 13px;
    }

    .tag:last-child {
        margin-right: 0;
    }

    .filter-group {
        margin-bottom: 15px;
    }

    .filter-label {
        margin-bottom: 8px;
        font-size: 14px;
        color: #555;
    }
}

/* 设计师卡片样式 */
.designers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 16px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.02);
}

.designer-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.designer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: 0.5s;
}

.designer-card:hover::before {
    left: 100%;
}

.designer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.designer-card .avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(33, 150, 243, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.designer-card:hover .avatar {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.designer-card .name {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}
/* 在你的 CSS 文件中添加 */
.title-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.title-wrapper .title {
    margin: 0;
    padding: 2px 8px;
    background-color: #f5f5f5;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}
.designer-card .title {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 500;
    /* margin-bottom: 8px; */
    /* padding: 4px 12px; */
    background: linear-gradient(45deg, rgba(33, 150, 243, 0.1), rgba(0, 188, 212, 0.1));
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    box-shadow: 0 2px 6px rgba(33, 150, 243, 0.1);
}

.designer-card .title::before {
    content: '\f0b1';  /* 工作图标 */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
}

.designer-card .rating {
    display: flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(45deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.1));
    padding: 4px 12px;
    border-radius: 20px;
    width: fit-content;
    box-shadow: 0 2px 6px rgba(255, 193, 7, 0.1);
}

.designer-card .stars {
    color: #ffc107;
    display: inline-block;
    animation: starTwinkle 2s infinite;
    font-size: 14px;
    line-height: 1;
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.designer-card .score {
    color: #666;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
}

.designer-card .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 12px;
}

.designer-card .stat {
    text-align: center;
}

.designer-card .stat .value {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.designer-card .stat .label {
    font-size: 11px;
    color: #666;
}

.designer-card .contact-btn {
    width: 100%;
    padding: 10px 20px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

/* 忙碌状态按钮 */
.designer-card .contact-btn.busy {
    background: #ff9800;
    cursor: not-allowed;
}

.designer-card .contact-btn.busy:hover {
    background: #f57c00;
    transform: none;
}

/* 休息状态按钮 */
.designer-card .contact-btn.rest {
    background: #9e9e9e;
    cursor: not-allowed;
}

.designer-card .contact-btn.rest:hover {
    background: #757575;
    transform: none;
}

/* 禁用忙碌和休息状态的光效 */
.designer-card .contact-btn.busy::before,
.designer-card .contact-btn.rest::before {
    display: none;
}

.designer-card .contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: 0.5s;
}

.designer-card .contact-btn:hover::before {
    left: 100%;
}

.designer-card .contact-btn:hover {
    background: #1976d2;
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

/* Banner样式 */
.designer-banner {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: #fff;
    overflow: hidden;
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.1;
    animation: patternFloat 20s linear infinite;
}

@keyframes patternFloat {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, 10px);
    }
    100% {
        transform: translate(0, 0);
    }
}

.banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.banner-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    color: transparent;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.banner-desc {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.banner-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item:hover .stat-value {
    animation: numberPulse 0.5s ease;
}

@keyframes numberPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
    position: relative;
    color: transparent;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .designer-banner {
        padding: 100px 0 60px;
    }

    .banner-title {
        font-size: 36px;
    }

    .banner-desc {
        font-size: 16px;
        padding: 0 20px;
    }

    .banner-stats {
        gap: 20px;
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 0 15px;
    }

    .stat-value {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
        white-space: nowrap;
    }
}

/* 添加响应式调整 */
@media screen and (max-width: 1200px) {
    .designers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 25px;
    }
}

@media screen and (max-width: 576px) {
    .designers-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
        margin-top: 20px;
    }
    
    .designer-card {
        padding: 20px 15px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    
    .designer-card .avatar {
        width: 80px;
        height: 80px;
        border-width: 2px;
    }

    .designer-card .header,
    .designer-card .info,
    .designer-card .contact-btn {
        width: 100%;
    }

    .designer-card .name {
        font-size: 18px;
    }

    .designer-card .title {
        font-size: 12px;
        padding: 3px 10px;
        margin-bottom: 6px;
    }

    .designer-card .rating {
        font-size: 12px;
        padding: 3px 10px;
    }

    .designer-card .title::before {
        font-size: 11px;
    }
}

.designer-card .header {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(33, 150, 243, 0.1);
    width: 100%;
}

.designer-card .info {
    width: 100%;
}

.designer-card .info-header {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 加载更多样式 */
.loading-more {
    text-align: center;
    padding: 20px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.loading-more .spinner {
    font-size: 20px;
    color: var(--primary-color);
}

.loading-more span {
    font-size: 14px;
}

/* 没有更多数据的提示样式 */
.no-more {
    text-align: center;
    padding: 30px 20px;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.02));
    border-radius: 0 0 12px 12px;
}

.no-more i {
    color: #4CAF50;
    font-size: 16px;
}

/* PC端分页样式 */
.desktop-only {
    display: flex;
}

@media screen and (max-width: 768px) {
    .desktop-only {
        display: none;
    }
}

/* 认证标签样式 */
.designer-card .verified-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(45deg, #00c853, #64dd17);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(100, 221, 23, 0.4);
    z-index: 1;
    transform: translate(0, 0);
    animation: badgePulse 2s infinite;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.designer-card .verified-badge span {
    font-family: "Microsoft YaHei", sans-serif;
    position: relative;
    z-index: 2;
    display: block;
}

.designer-card .verified-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    transform-origin: center;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shine 2s linear infinite, badgeRotate 8s linear infinite;
}

/* 认证标签动画效果 */
@keyframes badgePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(100, 221, 23, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(100, 221, 23, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(100, 221, 23, 0);
    }
}

@keyframes badgeRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.designer-card:hover .verified-badge {
    transform: scale(1.15);
    background: linear-gradient(45deg, #00e676, #76ff03);
    box-shadow: 0 6px 16px rgba(100, 221, 23, 0.5);
}

@media screen and (max-width: 576px) {
    .designer-card .verified-badge {
        width: 24px;
        height: 24px;
        border-width: 2px;
        font-size: 10px;
    }
}

/* 设计师简介样式 */
.designer-bio {
    margin: 0 0 15px 0;
    padding: 15px;
    background: rgba(33, 150, 243, 0.03);
    border-radius: 8px;
    text-align: left;
}

.designer-bio p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* 技能专长样式 */
.designer-skills {
    margin: 0 0 15px 0;
    text-align: left;
    width: 100%;
}

.designer-skills h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    padding: 4px 12px;
    background: linear-gradient(45deg, rgba(33, 150, 243, 0.1), rgba(0, 188, 212, 0.1));
    border-radius: 15px;
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: translateY(-2px);
    background: linear-gradient(45deg, rgba(33, 150, 243, 0.15), rgba(0, 188, 212, 0.15));
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
}

@media screen and (max-width: 576px) {
    .designer-skills {
        margin: 0 0 12px 0;
    }

    .designer-skills h4 {
        font-size: 13px;
    }

    .skill-tag {
        font-size: 11px;
        padding: 3px 10px;
    }

    .designer-bio {
        padding: 12px;
        margin: 0 0 12px 0;
    }

    .designer-bio p {
        font-size: 13px;
    }
}

/* 添加卡片顶部装饰 */
.designer-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #00bcd4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.designer-card:hover::after {
    opacity: 1;
}

@media screen and (max-width: 576px) {
    .designer-card .header {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
}

/* 设计师等级样式 */
.designer-level {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 12px;
    height: 24px;
    padding: 0 12px;
    border-radius: 0;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    z-index: 2;
    letter-spacing: 1px;
    transform: scale(1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}

.level-diamond {
    background: #4F46E5;
    color: #fff;
}

.level-gold {
    background: #F59E0B;
    color: #fff;
}

.level-silver {
    background: #64748B;
    color: #fff;
}
.level-silver2 {
    background: #ea32bc;;
    color: #fff;
}

.level-normal {
    background: #94A3B8;
    color: #fff;
}

.designer-level::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    pointer-events: none;
}

.designer-card:hover .designer-level {
    transform: translateX(2px);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 576px) {
    .designer-level {
        font-size: 11px;
        height: 20px;
        padding: 0 10px;
        top: 12px;
        right: 15px;
    }
}

/* 专业领域部分样式 */
.categories-section {
    padding: 60px 0;
    background: #fff;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
}

.section-description {
    font-size: 16px;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .categories-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .section-description {
        font-size: 14px;
        margin-bottom: 30px;
        padding: 0 20px;
    }
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    /* 防止水平滚动 */
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
    }

    /* 调整顶部导航 */
    .designer-header {
        padding: 20px 0;
    }

    .filter-wrapper {
        padding: 15px;
        margin: 0 -15px;
        border-radius: 0;
    }

    /* 调整设计师网格 */
    .designers-grid {
        margin: 0 -15px;
        padding: 15px;
    }
} 