/* 作品集页面 - 孟菲斯风格补充样式 */

/* 页面头部 */
.page-header {
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    background: var(--cream);
    overflow: hidden;
}

.page-header .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.page-label {
    display: inline-block;
    font-family: var(--font-hand);
    font-size: 1.5rem;
    color: var(--orange);
    margin-bottom: 1rem;
    transform: rotate(-3deg);
}

.page-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--black);
    margin-bottom: 1rem;
}

.page-title .highlight {
    position: relative;
    display: inline-block;
    color: var(--purple);
}

.page-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: -10px;
    right: -10px;
    height: 20px;
    background: var(--yellow);
    z-index: -1;
    transform: rotate(-2deg);
}

.page-desc {
    font-family: var(--font-hand);
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* 头部装饰角色 */
.header-characters {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.header-character {
    position: absolute;
    transform: scale(0.7);
    opacity: 0.6;
}

.header-character.character-purple {
    animation: float 4s ease-in-out infinite;
}

.header-character.character-orange {
    animation: float 5s ease-in-out infinite 0.5s;
}

.header-character.character-yellow {
    animation: float 4.5s ease-in-out infinite 1s;
}

/* 分类筛选标签 */
.filter-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.filter-tag {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 3px solid var(--black);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.filter-tag:hover {
    transform: translateY(-3px);
    box-shadow: 4px 4px 0 var(--black);
}

.filter-tag.active {
    background: var(--purple);
    color: var(--white);
    box-shadow: 4px 4px 0 var(--black);
}

/* 作品卡片角色探头 */
.character-peek {
    position: absolute;
    bottom: -80px;
    right: 20px;
    z-index: 10;
}

.character-peek-purple {
    right: 15px;
}

.character-peek-orange {
    right: 80px;
}

.character-peek-black {
    right: 145px;
}

.character-peek-yellow {
    right: 210px;
}

/* 空状态 */
.empty-state-memphis {
    grid-column: 1 / -1;
    text-align: center;
    padding: 6rem 2rem;
    background: var(--white);
    border: 4px solid var(--black);
    border-radius: 30px;
    position: relative;
}

.empty-state-memphis .empty-icon {
    font-size: 6rem;
    margin-bottom: 1.5rem;
}

.empty-state-memphis h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.empty-state-memphis p {
    font-family: var(--font-hand);
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.empty-state-memphis::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: var(--orange);
    border: 3px solid var(--black);
    border-radius: 50%;
}

.empty-state-memphis::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 40px;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid var(--cyan);
}

/* 加载动画 */
.loading-memphis {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem;
}

.loading-characters {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 2rem;
}

.loading-characters .character {
    transform: scale(0.8);
}

.loading-characters .character-purple {
    animation: bounce 0.6s ease-in-out infinite;
}

.loading-characters .character-orange {
    animation: bounce 0.6s ease-in-out infinite 0.15s;
}

.loading-characters .character-black {
    animation: bounce 0.6s ease-in-out infinite 0.3s;
}

.loading-characters .character-yellow {
    animation: bounce 0.6s ease-in-out infinite 0.45s;
}

@keyframes bounce {
    0%, 100% { transform: scale(0.8) translateY(0); }
    50% { transform: scale(0.8) translateY(-20px); }
}

.loading-text {
    font-family: var(--font-hand);
    font-size: 1.5rem;
    color: var(--text-secondary);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .header-character {
        transform: scale(0.4);
        opacity: 0.4;
    }
    
    .filter-tags {
        gap: 0.5rem;
    }
    
    .filter-tag {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
