/* 全局样式 */
body {
    background: #111;
    color: #eee;
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 40px;
}

/* 设备卡片容器（默认电脑横排） */
.devices {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: nowrap;
}

/* 单个设备卡片（电脑端固定宽度） */
.device {
    display: block;
    width: 260px;
    padding: 20px;
    background: #222;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    transition: 0.2s;
}

/* 轻微 hover 效果 */
.device:hover {
    background: #2a2a2a;
    transform: translateY(-4px);
}

.device img {
    width: 100%;
    border-radius: 12px;
}

.device h3 {
    margin-top: 15px;
    font-size: 18px;
}

/* 📱 手机模式：竖排 + 宽度拉大 */
@media (max-width: 768px) {
    .devices {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .device {
        width: 80%;
        max-width: 340px;
    }
}
