/* 基本样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.4;
}

header {
    background-color: #1985fe;
    color: white;
    padding: 0.8rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 35px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

header h1 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 1rem;
}

header h1::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.3);
}

main {
    max-width: 900px;
    margin: 1.5rem auto;
    padding: 0 1rem;
}

.download-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.download-item {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    gap: 0.8rem;
}

.app-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.4rem;
}

.item-info {
    flex-grow: 1;
}

.item-header {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.item-name {
    margin: 0;
    color: #1985fe;
    font-size: 1.2rem;
}

.item-details {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.3rem;
}

.item-details span {
    margin-right: 0.5rem;
}

.item-description {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.item-action {
    margin-top: 0.5rem;
}

.download-button {
    display: inline-block;
    background-color: #1985fe;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: #006edc;
}

footer {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    color: #777;
    font-size: 0.85rem;
    border-top: 1px solid #e0e0e0;
}

/* 平板 & 电脑端适配 (例如，最小宽度 768px) */
@media (min-width: 768px) {
    .download-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.2rem;
    }

    .app-icon {
        width: 60px;
        height: 60px;
    }

    .item-header {
        display: block;
    }

    .item-info {
        flex: 1;
        margin-right: 1.2rem;
    }

    .item-description {
        margin: 0;
    }

    .item-action {
        margin: 0;
        white-space: nowrap;
        align-self: center;
    }
}

/* 电脑端可以稍微调整布局 */
@media (min-width: 992px) {
    .app-icon {
        width: 65px;
        height: 65px;
    }

    .item-name {
        font-size: 1.3rem;
    }

    .download-item {
        padding: 1.2rem;
    }
} 