/*
 * 完全模仿原网站的应用卡片样式
 * 基于 zjapp.net 原网站截图还原
 */

/* 应用卡片容器 */
.app-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    margin-bottom: 10px;
    transition: all 0.2s;
    position: relative;
}

.app-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* 应用图标 */
.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
}

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

/* 应用信息区域 */
.app-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* 应用名称 */
.app-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 应用描述 */
.app-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 应用标签容器 */
.app-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 2px;
}

/* 标签样式 */
.app-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

/* iOS专区标签 */
.app-tag.ios {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* 安卓专区标签 */
.app-tag.android {
    background: linear-gradient(135deg, #3ddc84 0%, #00c853 100%);
    color: white;
}

/* 免费标签 */
.app-tag.free {
    background: #ff6b6b;
    color: white;
}

/* 热门标签 */
.app-tag.hot {
    background: #ff8c00;
    color: white;
}

/* VIP标签 */
.app-tag.vip {
    background: #ffd700;
    color: #333;
}

/* 新品标签 */
.app-tag.new {
    background: #00bcd4;
    color: white;
}

/* 破解标签 */
.app-tag.crack {
    background: #9c27b0;
    color: white;
}

/* 下载按钮 */
.app-download-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(255, 140, 0, 0.3);
    transition: all 0.2s;
    white-space: nowrap;
}

.app-download-btn:hover {
    background: linear-gradient(135deg, #ff9900 0%, #ff7700 100%);
    box-shadow: 0 3px 10px rgba(255, 140, 0, 0.4);
    transform: translateY(-1px);
}

.app-download-btn:active {
    transform: translateY(0);
}

/* 移动端优化 */
@media (max-width: 768px) {
    .app-card {
        padding: 10px 12px;
        gap: 10px;
    }

    .app-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }

    .app-name {
        font-size: 15px;
    }

    .app-desc {
        font-size: 12px;
    }

    .app-download-btn {
        padding: 7px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .app-card {
        gap: 8px;
    }

    .app-icon {
        width: 48px;
        height: 48px;
    }

    .app-download-btn {
        padding: 6px 14px;
        font-size: 12px;
    }

    .app-tags {
        gap: 4px;
    }

    .app-tag {
        padding: 2px 6px;
        font-size: 10px;
    }
}

/* 应用列表容器 */
.apps-list {
    display: flex;
    flex-direction: column;
}

/* 分类容器 */
.category-section {
    margin-bottom: 24px;
}

/* 分类标题 */
.category-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    padding-left: 4px;
}
