
      
        
/* 面包屑导航 */
.breadcrumb {
    margin-top: 85px;
    padding: 15px 0;
    color: #666;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #6b5ce7;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #ff7f50;
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
    color: #999;
}

/* 用户信息区域 */
.user-profile {
    display: grid;
    grid-template-columns: 3fr 7fr;
    gap: 30px;
    margin-bottom: 40px;
}

.user-info {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.user-header {
    background: #6b5ce7;
    color: white;
    padding: 20px;
    text-align: center;
}

.user-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.user-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.user-age {
    font-size: 1rem;
    opacity: 0.9;
}

.user-content {
    padding: 20px;
}

.user-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
}

.user-bio {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #444;
}

.user-actions {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.action-button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 10px;
}

.primary-btn {
    background: #6b5ce7;
    color: white;
}

.primary-btn:hover {
    background: #5a4cce;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

.secondary-btn {
    background: #f0f3f8;
    color: #6b5ce7;
}

.secondary-btn:hover {
    background: #e8ecf5;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
}

.button-icon {
    margin-right: 8px;
}

/* 用户作品区域 */
.user-works {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.works-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.works-title {
    font-size: 1.3rem;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.works-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #6b5ce7, #ff7f50);
    border-radius: 3px;
}

.works-tabs {
    display: flex;
    gap: 20px;
}

.tab {
    cursor: pointer;
    color: #666;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.tab.active {
    color: #6b5ce7;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #6b5ce7;
    border-radius: 2px;
}

.tab:hover {
    color: #6b5ce7;
}

.works-content {
    padding: 20px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.work-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.work-image {
    height: 0;
    padding-top: 65%;
    position: relative;
    overflow: hidden;
}

.work-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(107, 92, 231, 0.9);
    color: white;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 12px;
    z-index: 1;
}

.work-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.05);
}

.work-content {
    padding: 15px;
}

.work-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    font-size: 1rem;
}

.work-date {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.work-stats {
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 0.85rem;
}

/* 页脚 */
footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-logo span {
    color: #ffde59;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #ffde59;
    color: #333;
    transform: translateY(-3px);
}

.copyright {
    margin-top: 20px;
    color: #999;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .user-profile {
        grid-template-columns: 1fr;
    }
    
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-left .nav-links {
        display: none;
    }
    
    .nav-right {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .mobile-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #6b5ce7;
        padding: 20px;
        transition: 0.5s ease-in-out;
        display: flex;
        flex-direction: column;
        z-index: 999;
    }
    
    .mobile-nav.active {
        left: 0;
    }
    
    .mobile-nav .nav-links {
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }
    
    .mobile-nav .nav-links li {
        margin: 15px 0;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .breadcrumb {
        margin-top: 70px;
    }
    
    .user-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

   /* 显示更多按钮样式 */
.more-works {
    text-align: center;
    margin-top: 20px;
}

.more-btn {
    background: #6b5ce7;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.more-btn:hover {
    background: #5a4cce;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

.more-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

