/* 列表页面样式 */

/* 分类筛选 */
.filter-section {
    background: white;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.filter-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
}

.filter-tab {
    background: #f8f9fa;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-tabs:not(.expanded) .filter-tab:nth-child(n+4) {
    display: none;
}

.filter-tab.active {
    background: #1abc9c;
    color: white;
}

.filter-dropdown {
    background: none;
    border: none;
    color: #1abc9c;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
}

.filter-dropdown.expanded {
    transform: rotate(180deg);
}

/* 应用列表 */
.app-list-section {
    background: #f5f5f5;
    min-height: 60vh;
    padding: 20px;
}

.app-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.app-item {
    background: white;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.app-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-info {
    flex: 1;
    min-width: 0;
}

.app-title {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.2;
}

.app-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.app-size, .app-date {
    font-size: 12px;
    color: #999;
}

.app-action {
    flex-shrink: 0;
}

.app-detail-btn {
    display: inline-block;
    background: #1abc9c;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.app-detail-btn:hover {
    background: #16a085;
    transform: scale(1.05);
}

/* 分页器 */
.pagination-section {
    background: white;
    padding: 20px 10px;
    display: flex;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
}

.page-btn {
    display: inline-block;
    background: #f8f9fa;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    color: #666;
    font-size: 13px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.page-btn:hover {
    background: #e9ecef;
}

.page-btn.current {
    background: #1abc9c;
    color: white;
    min-width: 50px;
}

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

/* 底部页脚 */
.footer {
    background: #2c2c2c;
    color: #999;
    padding: 30px 20px;
    text-align: center;
    margin-top: 30px;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-brand {
    text-align: left;
}

.brand-name {
    color: white;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
}

.brand-domain {
    color: #999;
    font-size: 14px;
    line-height: 1.2;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
}

.copyright, .icp, .contact {
    color: #999;
}