/* 基础样式设置 */
.app-collect-archive {
    position: relative;
    overflow: hidden;
}

/* 页面顶部区域 */
.archive-header {
    background: linear-gradient(135deg, #4481eb 0%, #04befe 100%);
    padding: 4rem 0 6rem;
    position: relative;
    color: #fff;
    overflow: hidden;
}

.archive-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E") repeat;
    opacity: 0.5;
}

/* 装饰形状 */
.header-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    background: #fff;
}

.shape-1 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -50px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: 10%;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 10%;
    right: 20%;
    opacity: 0.15;
}

.header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-description {
    font-size: 1.15rem;
    max-width: 700px;
    line-height: 1.6;
    margin: 0 auto 1.5rem;
    opacity: 0.9;
}

.breadcrumb-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    margin-top: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumb-item {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
}

.breadcrumb-item:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.breadcrumb-item.active {
    color: #fff;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.15);
}

.breadcrumb-item i {
    font-size: 0.875rem;
}

.separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

/* 内容区域 */
.archive-content {
    position: relative;
    background-color: #f8f9fa;
    padding: 0 0 4rem;
    z-index: 1;
}

.category-nav-section {
    background-color: #fff;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-top: -3.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

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

.category-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.category-item {
    text-decoration: none;
    color: #212529;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    padding: 1.25rem 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background-color: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.03);
}

.category-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    background-color: #fff;
    border-color: rgba(68, 129, 235, 0.2);
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(68, 129, 235, 0.1) 0%, rgba(4, 190, 254, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(68, 129, 235, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.category-item:hover .category-icon::before {
    left: 100%;
}

.category-item:hover .category-icon {
    background: linear-gradient(135deg, rgba(68, 129, 235, 0.2) 0%, rgba(4, 190, 254, 0.2) 100%);
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 8px 25px rgba(68, 129, 235, 0.3);
}

.category-icon i {
    font-size: 1.5rem;
    color: #4481eb;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.category-item:hover .category-icon i {
    transform: scale(1.2);
    color: #2d5cb8;
}

.category-info {
    flex-grow: 1;
}

.category-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    color: #333;
    transition: color 0.3s ease;
}

.category-item:hover .category-name {
    color: #4481eb;
}

.category-count {
    font-size: 0.8rem;
    color: #6c757d;
    display: inline-flex;
    align-items: center;
    background-color: rgba(0,0,0,0.03);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    transition: all 0.3s ease;
}

.category-item:hover .category-count {
    background-color: rgba(68, 129, 235, 0.08);
    color: #4481eb;
}

.collections-wrapper {
    margin-top: 2.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.view-more-link {
    text-decoration: none;
    color: #4481eb;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background-color: rgba(68, 129, 235, 0.1);
    border: 1px solid rgba(68, 129, 235, 0.2);
}

.view-more-link:hover {
    background-color: #4481eb;
    color: #fff;
    box-shadow: 0 5px 15px rgba(68, 129, 235, 0.3);
}

.collections-filter {
    display: flex;
    gap: 0.75rem;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #f8f9fa;
    color: #6c757d;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
    background-color: #4481eb;
    color: #fff;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.collection-card {
    background-color: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.collection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4481eb, #04befe);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 1rem 1rem 0 0;
}

.collection-card:hover::before {
    transform: scaleX(1);
}

.card-inner {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.collection-header {
    display: flex;
    margin-bottom: 1.25rem;
}

.collection-icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    margin-right: 1rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    position: relative;
}

.collection-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collection-card:hover .collection-icon img {
    transform: scale(1.1);
}

.placeholder-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4481eb 0%, #04befe 100%);
    color: #fff;
}

.placeholder-icon i {
    font-size: 2rem;
    transition: all 0.3s ease;
}

.collection-info {
    flex-grow: 1;
}

.collection-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.collection-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
    display: inline;
    background: linear-gradient(to right, #4481eb, #4481eb);
    background-size: 0% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.collection-title a:hover {
    color: #4481eb;
    background-size: 100% 2px;
}

.collection-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8rem;
}

.meta-item {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 0.25rem 0.6rem;
    border-radius: 2rem;
    border: 1px solid rgba(0,0,0,0.03);
}

.meta-item i {
    margin-right: 0.35rem;
    font-size: 0.875rem;
    color: #4481eb;
}

.collection-desc {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    margin-top: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.collection-apps {
    margin-top: 1.25rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1.25rem;
}

.apps-wrapper {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.app-preview {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.app-preview:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    border-color: rgba(68, 129, 235, 0.3);
}

.app-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.app-preview:hover img {
    transform: scale(1.1);
}

.placeholder-app-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.placeholder-app-icon i {
    font-size: 1.25rem;
    color: #adb5bd;
}

.more-apps {
    width: 42px;
    height: 42px;
}

.more-apps a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(68, 129, 235, 0.1);
    border-radius: 10px;
    color: #4481eb;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px dashed rgba(68, 129, 235, 0.3);
    transition: all 0.3s ease;
}

.more-apps a:hover {
    background-color: #4481eb;
    color: #fff;
    border-style: solid;
}

.card-footer {
    background-color: #f8f9fa;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 1rem;
    text-align: center;
}

.view-collection-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4481eb;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background-color: rgba(68, 129, 235, 0.1);
    border: 1px solid rgba(68, 129, 235, 0.2);
}

.view-collection-btn:hover {
    background-color: #4481eb;
    color: #fff;
    box-shadow: 0 5px 15px rgba(68, 129, 235, 0.3);
}

.view-collection-btn i {
    margin-left: 0.25rem;
    transition: transform 0.3s;
}

.view-collection-btn:hover i {
    transform: translateX(4px);
}

/* 页脚区域样式 */
.collections-footer {
    margin-top: 4rem;
    padding: 3rem 0;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
}

.collections-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #4481eb, #04befe);
    border-radius: 1rem 1rem 0 0;
}

.collections-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4481eb 0%, #04befe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(68, 129, 235, 0.3);
}

.stat-data {
    text-align: left;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.2;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
}

.collections-message {
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.collections-tips {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 1.5rem;
}

.social-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #f8f9fa;
    color: #6c757d;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.share-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.share-button[title="分享到微信"]:hover {
    background-color: #07c160;
    color: #fff;
}

.share-button[title="分享到微博"]:hover {
    background-color: #e6162d;
    color: #fff;
}

.share-button[title="分享到QQ"]:hover {
    background-color: #12b7f5;
    color: #fff;
}

.share-button[title="复制链接"]:hover {
    background-color: #6c757d;
    color: #fff;
}

/* 响应式调整 */
@media (max-width: 1199px) {
    .category-nav-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .archive-header {
        padding: 3rem 0 5rem;
    }
    
    .page-title {
        font-size: 2.25rem;
    }
    
    .collections-stats {
        gap: 2.5rem;
    }
    
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .archive-header {
        padding: 2.5rem 0 4rem;
    }
    
    .header-icon {
        width: 80px;
        height: 80px;
        font-size: 2.25rem;
        animation: float 2s ease-in-out infinite;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-description {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
    
    .breadcrumb-nav {
        padding: 0.5rem 1.5rem;
        font-size: 0.85rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .breadcrumb-item {
        padding: 0.2rem 0.4rem;
        font-size: 0.8rem;
    }
    
    .category-nav-section {
        margin-top: -3rem;
        padding: 1.5rem;
    }
    
    .category-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .category-item {
        padding: 1rem 0.75rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .category-icon {
        width: 44px;
        height: 44px;
        margin: 0 auto;
    }
    
    .category-icon i {
        font-size: 1.3rem;
    }
    
    .category-name {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }
    
    .category-count {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
    
    .collections-wrapper {
        margin-top: 2rem;
    }
    
    .collections-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .collection-card {
        margin: 0 0.5rem;
    }
    
    .collection-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .collection-icon {
        margin: 0 auto;
        width: 60px;
        height: 60px;
    }
    
    .collection-info {
        text-align: center;
    }
    
    .collection-meta {
        justify-content: center;
    }
    
    .collections-stats {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 575px) {
    .archive-header {
        padding: 2rem 0 3.5rem;
    }
    
    .header-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .page-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .page-description {
        font-size: 0.9rem;
        padding: 0 1.5rem;
    }
    
    .breadcrumb-nav {
        padding: 0.4rem 1.25rem;
        font-size: 0.8rem;
        margin-top: 1rem;
    }
    
    .breadcrumb-item {
        padding: 0.15rem 0.3rem;
        font-size: 0.75rem;
        gap: 0.3rem;
    }
    
    .breadcrumb-item i {
        font-size: 0.7rem;
    }
    
    .category-nav-section {
        margin-top: -2.5rem;
        padding: 1.25rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .category-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .category-item {
        padding: 0.85rem 0.65rem;
    }
    
    .category-icon {
        width: 36px;
        height: 36px;
    }
    
    .category-icon i {
        font-size: 1.1rem;
    }
    
    .category-name {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .category-count {
        font-size: 0.7rem;
        padding: 0.15rem 0.5rem;
    }
    
    .collections-filter {
        margin-top: 0.75rem;
        width: 100%;
        justify-content: space-between;
    }
    
    .collections-wrapper {
        margin-top: 1.5rem;
    }
    
    .collection-card {
        margin: 0;
    }
    
    .card-inner {
        padding: 1.25rem;
    }
    
    .collection-icon {
        width: 55px;
        height: 55px;
    }
    
    .collection-title {
        font-size: 1.1rem;
    }
    
    .apps-wrapper {
        gap: 0.5rem;
    }
    
    .app-preview {
        width: 36px;
        height: 36px;
    }
    
    .more-apps {
        width: 36px;
        height: 36px;
    }
    
    .collections-footer {
        margin-top: 2.5rem;
        padding: 2rem 1rem;
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .stat-value {
        font-size: 1.75rem;
    }
    
    .stat-data {
        text-align: center;
    }
    
    .view-collection-btn {
        font-size: 0.85rem;
        padding: 0.5rem 1.25rem;
    }
}

/* 添加动效 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInFromLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInFromRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(68, 129, 235, 0.3); }
    50% { box-shadow: 0 0 20px rgba(68, 129, 235, 0.6); }
}

.fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.category-item, .collection-card, .collections-footer {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-item.in-view, .collection-card.in-view, .collections-footer.in-view {
    opacity: 1;
    transform: translateY(0);
}

.header-icon {
    animation: float 3s ease-in-out infinite;
}

.view-collection-btn:hover {
    animation: glow 1.5s ease-in-out infinite;
}

.category-item:nth-child(1) { transition-delay: 0.1s; }
.category-item:nth-child(2) { transition-delay: 0.15s; }
.category-item:nth-child(3) { transition-delay: 0.2s; }
.category-item:nth-child(4) { transition-delay: 0.25s; }
.category-item:nth-child(5) { transition-delay: 0.3s; }
.category-item:nth-child(6) { transition-delay: 0.35s; }
.category-item:nth-child(7) { transition-delay: 0.4s; }
.category-item:nth-child(8) { transition-delay: 0.45s; }
.category-item:nth-child(9) { transition-delay: 0.5s; }
.category-item:nth-child(10) { transition-delay: 0.55s; }
.category-item:nth-child(11) { transition-delay: 0.6s; }
.category-item:nth-child(12) { transition-delay: 0.65s; }

.collection-card:nth-child(1) { transition-delay: 0.1s; }
.collection-card:nth-child(2) { transition-delay: 0.15s; }
.collection-card:nth-child(3) { transition-delay: 0.2s; }
.collection-card:nth-child(4) { transition-delay: 0.25s; }
.collection-card:nth-child(5) { transition-delay: 0.3s; }
.collection-card:nth-child(6) { transition-delay: 0.35s; }
.collection-card:nth-child(7) { transition-delay: 0.4s; }
.collection-card:nth-child(8) { transition-delay: 0.45s; }
.collection-card:nth-child(9) { transition-delay: 0.5s; }
.collection-card:nth-child(10) { transition-delay: 0.55s; }
.collection-card:nth-child(11) { transition-delay: 0.6s; }
.collection-card:nth-child(12) { transition-delay: 0.65s; }

.share-active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.4s ease;
    animation: shareAnimation 0.5s forwards;
}

@keyframes shareAnimation {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* RemixIcon 样式优化 */
.ri-folders-line,
.ri-apps-line,
.ri-hashtag,
.ri-arrow-right-s-line,
.ri-home-4-line,
.ri-code-box-line {
    font-size: 1.25em;
    line-height: 1;
    vertical-align: middle;
    display: inline-block;
}